Merge pull request #2598 from blshkv/master

acsccid
This commit is contained in:
github-actions[bot] 2025-11-14 03:10:48 +00:00 committed by GitHub
commit 2a9fa64377
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 80 additions and 149 deletions

View file

@ -1 +1,2 @@
DIST acsccid-1.1.10.tar.bz2 486832 BLAKE2B 4e964d54219e2402fc864fb1e8701d5911098b5add042a840ba23f71c917dd15b6c293279f5713bc69cd7f913d3fa90f6f6c8f5ba37ffc8b4becd6c13b4a380d SHA512 64a62b9c0dbec94975ff771a4d53c97385a2e000bf641e4b844512bd8131f6456bc2cc9e49a8f980fd4f09c56ff7ca46fff343124389aa0323f2e9cb05181414
DIST acsccid-1.1.12.tar.bz2 493881 BLAKE2B a0dfbe9e93239214908a36a473f306d8750d3956162fb7efed7bc491a7dca38c45196e5d4c65d86658d8db18729823048cc4f7b93a2ba5461be7c954b9f73c82 SHA512 b18f7afd6fd3d7b3774c5069ac6e756f36bac65f2e90302bb1aa004d66b1d50c0b568ca265e85426e2f777c088e1ff8c738f3295b939f22ab46eadd61eec842c

View file

@ -11,7 +11,7 @@ SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
KEYWORDS="amd64 ~arm ~x86"
RDEPEND="
sys-apps/pcsc-lite[udev]

View file

@ -0,0 +1,43 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools udev
DESCRIPTION="Generic driver for ACS (CCID and non-CCID) Smart Card Reader"
HOMEPAGE="http://acsccid.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86"
RDEPEND="
sys-apps/pcsc-lite[udev]
virtual/libusb:1
!app-crypt/ccid
!app-crypt/acr38u"
DEPEND="${RDEPEND}
sys-devel/flex"
BDEPEND="virtual/pkgconfig"
src_prepare() {
eautoreconf
default
}
src_install() {
default
udev_newrules "${FILESDIR}"/92-pcsc-acsccid.rules 92-pcsc-acsccid.rules
}
pkg_postinst() {
udev_reload
}
pkg_postrm() {
udev_reload
}

View file

@ -1 +0,0 @@
DIST antlr4-4.13.1.gh.tar.gz 4164054 BLAKE2B a51b91ef93bd4b540a382f8d4eb2bcd1a2e47a29ab20a601a2fdc6ea3d17f9acb62a4bda1a9383ba1d40853a2346f68fe846d700c3f8ae6c9a0f940ad8c660be SHA512 79ac3cdfc8f2368c647d06aec85d87507629a75527205ff2cbf7d9802989b0c6e6a8fac76148ad101f539c9ef922e431e22ba489f899f847ccc3d3d889bb2b70

View file

@ -1,30 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
MY_P=antlr4-${PV}
DESCRIPTION="Python 3 runtime for ANTLR"
HOMEPAGE="
https://www.antlr.org/
https://github.com/antlr/antlr4/
https://pypi.org/project/antlr4-python3-runtime/
"
SRC_URI="
https://github.com/antlr/antlr4/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S="${WORKDIR}/${MY_P}/runtime/Python3"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
python_test() {
"${EPYTHON}" tests/run.py -v || die "Tests failed with ${EPYTHON}"
}

View file

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>java@gentoo.org</email>
<name>Java</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">antlr/antlr4</remote-id>
<remote-id type="pypi">antlr4-python3-runtime</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +0,0 @@
DIST fldigi-4.2.05.tar.gz 5127250 BLAKE2B 54a144e34da47c5379256c4ece67447815c29500331e29ccce884885daa96650d6ec098839eb97d13a641d8d0078a9656c9d443016a2acc98fbe7b78c98ca6f9 SHA512 46281e65dad24c57ea344182ed053ddea70281b1682d2fe6b40aa1f111c529328c7e1e4de86828ac265ed4523882d086f5213706159fc43b61f15989fdd9d407

View file

@ -1,23 +0,0 @@
# dropped code leeds to circular definition for >=sys-libs/musl-1.2.3 and
# is not needed as all our compilers support c++11
diff --git a/src/logbook/table.cxx b/src/logbook/table.cxx
index 6deee6d..8011d02 100644
--- a/src/logbook/table.cxx
+++ b/src/logbook/table.cxx
@@ -40,16 +40,6 @@
#define DAMAGE_HEADER FL_DAMAGE_ALL
#define DAMAGE_ROWS FL_DAMAGE_ALL
-/*
- * nullptr is not available in gcc < 4.6
- * Redefine to NULL for CentOS 6 and OSX Darwin
- */
-#ifndef __FreeBSD__
- #ifndef nullptr
- #define nullptr NULL
- #endif
-#endif
-
/*
* ======================================

View file

@ -1,64 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic
DESCRIPTION="Sound card based multimode software modem for Amateur Radio use"
HOMEPAGE="http://www.w1hkj.com"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="hamlib nls pulseaudio"
IUSE_CPU_FLAGS=" sse sse2 sse3"
IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}"
RDEPEND="x11-libs/fltk:1[threads,xft]
media-libs/libsamplerate
media-libs/libpng:0=
sys-apps/systemd-utils
x11-libs/libX11
x11-misc/xdg-utils
dev-perl/RPC-XML
dev-perl/Term-ReadLine-Perl
|| (
media-libs/portaudio[oss]
media-libs/portaudio[alsa]
)
hamlib? ( media-libs/hamlib:= )
pulseaudio? ( media-libs/libpulse )
>=media-libs/libsndfile-1.0.10"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
virtual/pkgconfig"
DOCS=( AUTHORS ChangeLog NEWS README )
PATCHES=( "${FILESDIR}/${PN}-drop-nullptr-definition.patch" )
src_prepare() {
eapply ${PATCHES[@]}
eapply_user
}
src_configure() {
#fails to compile with -flto (bug #860405)
filter-lto
append-cxxflags $(test-flags-CXX -std=c++14)
local myconf=""
use cpu_flags_x86_sse && myconf="${myconf} --enable-optimizations=sse"
use cpu_flags_x86_sse2 && myconf="${myconf} --enable-optimizations=sse2"
use cpu_flags_x86_sse3 && myconf="${myconf} --enable-optimizations=sse3"
econf ${myconf} \
--with-sndfile \
$(use_with hamlib) \
$(use_enable nls) \
$(use_with pulseaudio) \
--without-asciidoc
}

View file

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="hamlib">Enables support by the Hamlib amateur radio
rig control library to get/set frequency and mode of the
ham radio in use</flag>
</use>
<upstream>
<remote-id type="sourceforge">fldigi</remote-id>
<remote-id type="github">w1hkj/fldigi</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1 +1,2 @@
DIST polenum-1.6.1.tar.gz 16182 BLAKE2B a7e49af87ec4d215932e41b7e5e9eb01c5eca874ddaa2a87823b0baf37dee7842874ca69705fac44dcebe86b97300cfdca730791f9d6d60f7ad49adfd86db69d SHA512 adef8bd74d51e1b8e6bf79bb1acce3728ac6dd2480ced231a76633d5ecb18d791a2f1de39d6f21a07808c9e3314ea561239d9c4507206cbdaecf87318a1e34a3
DIST polenum-1.7.tar.gz 16608 BLAKE2B 5ae43bd977e37ef42f9f7d32e09c973b73ef48280c339427852df4da009592f064a21bbb13157f963e79951ddc999bd5ca912e91d01ada74d3673846479d722b SHA512 3d26d250ecb1385a70af00de9be319c270aaba6fe4682f529bafbbc37bb7320076b843aafc09d6992afe34f9e6a10950da32e78684a838bd9e03cea6a701bd16

View file

@ -5,4 +5,7 @@
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">Wh1t3Fox/polenum</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,31 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
inherit python-single-r1
DESCRIPTION="Extract password policy from a windows machine"
HOMEPAGE="https://github.com/Wh1t3Fox/polenum"
SRC_URI="https://github.com/Wh1t3Fox/polenum/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep 'dev-python/impacket[${PYTHON_USEDEP}]')"
DEPEND="${RDEPEND}"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
src_prepare() {
default
python_fix_shebang .
}
src_install() {
newbin ${PN}.py ${PN}
dodoc README.md
}