1 |
commit: fd4174ac6d8225bc771e3e9d3b9e41905f7256c2 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 11:42:37 2023 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 11:42:37 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd4174ac |
7 |
|
8 |
app-crypt/ccid: add 1.5.1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/843401 |
11 |
Closes: https://bugs.gentoo.org/892153 |
12 |
Closes: https://bugs.gentoo.org/892163 |
13 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
14 |
|
15 |
app-crypt/ccid/Manifest | 1 + |
16 |
app-crypt/ccid/ccid-1.5.1.ebuild | 45 ++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 46 insertions(+) |
18 |
|
19 |
diff --git a/app-crypt/ccid/Manifest b/app-crypt/ccid/Manifest |
20 |
index 75e73a659fb4..7200b326f38d 100644 |
21 |
--- a/app-crypt/ccid/Manifest |
22 |
+++ b/app-crypt/ccid/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST ccid-1.4.35.tar.bz2 676789 BLAKE2B d1123c024a798a22906a5c2c2e35f5485b8d2252ddec28571af835bbf169bc5abeb26fea871ef70d67270cc1eb52f992c56f0abb74f6deed555f15e39dbf4756 SHA512 da990b5537ec35baa1b36b9c4be7f1bdccfc149cfa4ce024ddf59504f2a2044273057c1454f227fdad8f6b04fceaf48b88e70d4d0a5475384749b367529deaeb |
25 |
DIST ccid-1.4.36.tar.bz2 677047 BLAKE2B b3d48f1c51b64d260b7055251fb04aeea4a22cc5d4f024bb972a9a9874b1bdf4b75b9daf8cd7c9f26000b04e7d4c1779e20a26d4927aa1e403cd274f548b71b5 SHA512 e9ca3f5364c6cec988edad325c1ef1b35886e3ecb15d6e1409c989b9f669fbda3f0688e246e3976b58eacc0ed035cde36e65675abf12562e81c3630d4ce67773 |
26 |
DIST ccid-1.5.0.tar.bz2 689961 BLAKE2B e5621f9af647028787cddd1b5a0d674420b4bf0c532a8527b4e10773bbd8af6f6600e7c40039e27f1ae182504d4b69b5e1e4aae509154ebd9653a34bd085f820 SHA512 fa2eac306066255fd89e8220e2b8d82811ce9e284baa155ea968b7afe0f113a94b1ee1898578d02fb8cde0634b6fe60ae8af956089ce5401c11bb90c3b334d5a |
27 |
+DIST ccid-1.5.1.tar.bz2 702586 BLAKE2B 7b9e3c6daf03c186f34ac9b13bd960293a6481f9237ee52937ece1040bd3a79b7dab318e1244205a7feae992261ab5e82292d80ae023a4f621e0e7af7cdb9df5 SHA512 492bde96f5752e2a5316693c44e35e2d041785a00d15e094905c0aafad392f5329009d12801899367276328a582936ee53a1c5239c1813c4536001cb8a608f2e |
28 |
|
29 |
diff --git a/app-crypt/ccid/ccid-1.5.1.ebuild b/app-crypt/ccid/ccid-1.5.1.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..91a7701ae0a7 |
32 |
--- /dev/null |
33 |
+++ b/app-crypt/ccid/ccid-1.5.1.ebuild |
34 |
@@ -0,0 +1,45 @@ |
35 |
+# Copyright 1999-2023 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit udev |
41 |
+ |
42 |
+DESCRIPTION="CCID free software driver" |
43 |
+HOMEPAGE="https://ccid.apdu.fr https://github.com/LudovicRousseau/CCID" |
44 |
+SRC_URI="https://ccid.apdu.fr/files/${P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="GPL-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
49 |
+IUSE="twinserial +usb" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=sys-apps/pcsc-lite-1.8.3 |
53 |
+ twinserial? ( dev-lang/perl ) |
54 |
+ usb? ( virtual/libusb:1 ) |
55 |
+" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+BDEPEND="virtual/pkgconfig" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf \ |
61 |
+ LEX=: \ |
62 |
+ $(use_enable twinserial) \ |
63 |
+ $(use_enable usb libusb) |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ default |
68 |
+ udev_newrules src/92_pcscd_ccid.rules 92-pcsc-ccid.rules |
69 |
+} |
70 |
+ |
71 |
+pkg_postinst() { |
72 |
+ udev_reload |
73 |
+ einfo "Check https://github.com/LudovicRousseau/CCID/blob/master/INSTALL" |
74 |
+ einfo "for more info about how to configure and use ccid" |
75 |
+} |
76 |
+ |
77 |
+pkg_postrm() { |
78 |
+ udev_reload |
79 |
+} |