summaryrefslogtreecommitdiff
path: root/app-crypt/ccid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-20 14:08:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-20 14:08:57 +0000
commit6aa0d33a65c735f3148967b62316c2e71f43589a (patch)
tree4ddfb479a93b928f4ad0507a58e779e6de3eb403 /app-crypt/ccid
parenta332b8e207ac6a51fa349c699b486d870c9cdc70 (diff)
gentoo auto-resync : 20:01:2024 - 14:08:56
Diffstat (limited to 'app-crypt/ccid')
-rw-r--r--app-crypt/ccid/Manifest5
-rw-r--r--app-crypt/ccid/ccid-1.5.4.ebuild55
-rw-r--r--app-crypt/ccid/files/ccid-1.5.4-remove-flex-configure-dependency.patch16
-rw-r--r--app-crypt/ccid/metadata.xml9
4 files changed, 83 insertions, 2 deletions
diff --git a/app-crypt/ccid/Manifest b/app-crypt/ccid/Manifest
index d8ce17caf2fa..e486543fbf9a 100644
--- a/app-crypt/ccid/Manifest
+++ b/app-crypt/ccid/Manifest
@@ -1,3 +1,6 @@
+AUX ccid-1.5.4-remove-flex-configure-dependency.patch 318 BLAKE2B 3bdd4d48a01c919392dea0b64077069c03165f15c6965bb98d92154f2af6812c22d37a8146cc5ae7f98ee74c546854410f6ce6d6de05963dd2c25d6e199b9885 SHA512 12d4d547acd8bf05ac6fc261e1dcda0c0186db4dd808d892c63a904236fc66c4c839505bb9b5e42642e83d5f35e5d505514f879608be0f64dd5884de5d8c43c0
DIST ccid-1.5.1.tar.bz2 702586 BLAKE2B 7b9e3c6daf03c186f34ac9b13bd960293a6481f9237ee52937ece1040bd3a79b7dab318e1244205a7feae992261ab5e82292d80ae023a4f621e0e7af7cdb9df5 SHA512 492bde96f5752e2a5316693c44e35e2d041785a00d15e094905c0aafad392f5329009d12801899367276328a582936ee53a1c5239c1813c4536001cb8a608f2e
+DIST ccid-1.5.4.tar.bz2 706834 BLAKE2B 8b7f08145808ac94d085eef62c204f8146892cb11f2ce811e46e674272cab016d602afb945c6e808ce3957a80e847c0de2815fedaf15fc8c935cafaccf102762 SHA512 4b30f4768aebf49486a1b1e959615fa077bd393bfdd9e52c15bdc8d6ed63ce27fa7cf82a067d1f80d8b3534c66194036925d3fea5af64b6a775779d38267c757
EBUILD ccid-1.5.1.ebuild 940 BLAKE2B da6ac353e97b916126ef0990a80be03a92105c38e1ed4dc1893fad853df419188b10d381bc23d810a083427a0b35dea9066b705baf868ccb2d4bab1dfa39fec0 SHA512 e0264beda6138afc794d401cb2f0763820bce74047532063a113ebc072121e3e20221da74a633805a738a760272c38fc0e793456d115c97230d99e8e592791f7
-MISC metadata.xml 326 BLAKE2B de798cbfe01f7330b10609981582be2ddc70351f18de659bf5ed4f4fd3a8e73ab48dc6ea1a01ecf14f30c980e201dd101d201e760125bbee00ed9448cc806160 SHA512 d467f827be2f17fb219f7933705dd1b8679f8d6c8da8b8cfccd2a8f97372a814a9627f950abe6bb4e6af0115a53191c5307253ee89ea323428a815dd40a0f59f
+EBUILD ccid-1.5.4.ebuild 1067 BLAKE2B 58eb3b41f113ccbe7b400d58370f0ddbef22da2285fc4cff9c29172f8ae3bd782907491b4c4ccd191c1e44b9b1675f4a71cea2c910a698ae1103089bacc9edca SHA512 95e8f2be2c2308234454d07b8c364388a1d7fdcaa2520c495cfd89305324939ab319974554e291e992f08b1afa9cb1a702d18ba160cae9148c29637c4eab8cb2
+MISC metadata.xml 551 BLAKE2B 6290f9b5be875fb339b7414b02595a034946c7f612fc4f6b5f7edba4f88697181af0ed26231cd27ade41f5536aa62df26ee2bea002fc69cd716a648f45268cf5 SHA512 e7a7f47db4aba8712a7ea5c7efd63c76e0f5712588bca7dd9b8e7755f51cad0298a087ee7bedfcdc51b84866671f1436e2228359f1f2fbfe647f2e6a9f1e2ae5
diff --git a/app-crypt/ccid/ccid-1.5.4.ebuild b/app-crypt/ccid/ccid-1.5.4.ebuild
new file mode 100644
index 000000000000..f7a11ceca111
--- /dev/null
+++ b/app-crypt/ccid/ccid-1.5.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools udev
+
+DESCRIPTION="CCID free software driver"
+HOMEPAGE="https://ccid.apdu.fr https://github.com/LudovicRousseau/CCID"
+SRC_URI="https://ccid.apdu.fr/files/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="twinserial +usb"
+
+RDEPEND="
+ >=sys-apps/pcsc-lite-1.8.3
+ twinserial? ( dev-lang/perl )
+ usb? ( virtual/libusb:1 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-remove-flex-configure-dependency.patch
+)
+
+src_prepare() {
+ default
+
+ eautoconf
+}
+
+src_configure() {
+ econf \
+ LEX=: \
+ $(use_enable twinserial) \
+ $(use_enable usb libusb)
+}
+
+src_install() {
+ default
+ udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules
+}
+
+pkg_postinst() {
+ udev_reload
+ einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL"
+ einfo "for more info about how to configure and use ccid"
+}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/app-crypt/ccid/files/ccid-1.5.4-remove-flex-configure-dependency.patch b/app-crypt/ccid/files/ccid-1.5.4-remove-flex-configure-dependency.patch
new file mode 100644
index 000000000000..564532c9ab42
--- /dev/null
+++ b/app-crypt/ccid/files/ccid-1.5.4-remove-flex-configure-dependency.patch
@@ -0,0 +1,16 @@
+Bug: https://bugs.gentoo.org/221361
+Reverts upstream commit eec7cdf0
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -32,11 +32,6 @@ AC_PROG_CPP
+ AC_PROG_INSTALL
+ AC_PROG_MAKE_SET
+ AC_PROG_LN_S
+-AC_PROG_LEX([noyywrap])
+-if test $LEX = ":"
+-then
+- AC_MSG_ERROR([no lex or flex found])
+-fi
+ AM_PROG_AR
+ PKG_PROG_PKG_CONFIG
diff --git a/app-crypt/ccid/metadata.xml b/app-crypt/ccid/metadata.xml
index cb05a176c9b1..5e0f0fdc1d2a 100644
--- a/app-crypt/ccid/metadata.xml
+++ b/app-crypt/ccid/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>turret@turret.cyou</email>
+ <name>Mason Rocha</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<use>
<flag name="twinserial">Enable twinserial reader</flag>
</use>