1 |
commit: 490ec56d3c8446df1752fbe0a661cfdd4470b316 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 2 03:53:03 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 2 03:53:03 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490ec56d |
7 |
|
8 |
sys-apps/pcsc-lite: drop 1.9.0, 1.9.1, 1.9.4, 1.9.5 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/pcsc-lite/Manifest | 4 - |
13 |
sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules | 6 -- |
14 |
.../files/pcsc-lite-1.9.5-no-libusb-udev.patch | 29 ------ |
15 |
sys-apps/pcsc-lite/pcsc-lite-1.9.0.ebuild | 104 -------------------- |
16 |
sys-apps/pcsc-lite/pcsc-lite-1.9.1.ebuild | 104 -------------------- |
17 |
sys-apps/pcsc-lite/pcsc-lite-1.9.4.ebuild | 104 -------------------- |
18 |
sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild | 105 --------------------- |
19 |
7 files changed, 456 deletions(-) |
20 |
|
21 |
diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest |
22 |
index 54241ee2c3af..f04c8fba3b43 100644 |
23 |
--- a/sys-apps/pcsc-lite/Manifest |
24 |
+++ b/sys-apps/pcsc-lite/Manifest |
25 |
@@ -1,5 +1 @@ |
26 |
-DIST pcsc-lite-1.9.0.tar.bz2 755963 BLAKE2B 30d027ac61aba1f57224c88ffc4ec8568dcc2747f3f7e24be07e7ce52bd23ad7a71b6a2f78d912f827a4c02a22c13ff16bc1450c02bafd92bc87ac0e34a2bbcb SHA512 35c85b15ab54c14403a080d6671b3d986910372651d46a5477111172d42c6d2cf58f4a3ce95427e7a84f6b4d3bee30ea57bf69b855f753160a3c6e72f93e34f3 |
27 |
-DIST pcsc-lite-1.9.1.tar.bz2 763525 BLAKE2B b85364f5e2a92450b020bfc28439774c6a6ffb9016ea4072d1925fbc1cef76cd370b298c0b414ba322205d859018308bd7101ef89c5b6f96b97e4f223035ac35 SHA512 4f59ea6acb5b258092018f10609987e12b8e601049e6ffed4b4b82abd3c4b35c38a60e1cda28fdc884202e694d1bc3a3b5d930c5b1e9c1b9c309bd17ef463e63 |
28 |
-DIST pcsc-lite-1.9.4.tar.bz2 776581 BLAKE2B fb870fab3bfc7ae372a62c678a0321445f14c36c84c4fff8b7bf4e17f14b64575128fdcf7c8642cd03cb3586d6846845196a93d02b037090f49b88bbee896caa SHA512 d812fd4c6e906f277a73863c4170d96c30245c5fd0a8329e78923533320d71c6591b3f282695bcd69823c8cc381d8d438736bb7ab2262ab24c9d89434368659e |
29 |
-DIST pcsc-lite-1.9.5.tar.bz2 775736 BLAKE2B 2e42fa3864ec68725f90338ae981c758328c3129278739bb7bd0e8d62f0cd984dfe2bc0268226614110833db7c0ba48f7c2cd3808a505d836e95cd9709938170 SHA512 0315c2cf97cc9da0f5faf115f24e523b5a1746cea250a4fe6c4d5d7b2fbfc7c3ea0f068611072ca84866c672eb679e8067101437573148ccd1ac5ad26b18cd78 |
30 |
DIST pcsc-lite-1.9.7.tar.bz2 784685 BLAKE2B 74848b06ce9e497287cc4a8f307a194d766091a35af46300bd1dcdbf730c3f86f14928ff2e576ac83c07a37234b866e0b2cb3afd3d963b8570051c5c4880f4b9 SHA512 0c7f6c0efcfd6f6996e9e751dd0dd9969590b19144099aa6003c089d95d5ffdfddf3a50b82ece31e0f22e8213317dd827e5fbb4cdde614818b81a80c434788dd |
31 |
|
32 |
diff --git a/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules b/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules |
33 |
deleted file mode 100644 |
34 |
index e6ee464344ff..000000000000 |
35 |
--- a/sys-apps/pcsc-lite/files/99-pcscd-hotplug.rules |
36 |
+++ /dev/null |
37 |
@@ -1,6 +0,0 @@ |
38 |
-# Copyright 1999-2010 Gentoo Foundation |
39 |
-# Distributed under the terms of the GNU General Public License v2 |
40 |
- |
41 |
-# We add this here so that it runs after ccid's and ifd-gempc's rules; |
42 |
-# if we just added a pcscd-owned device, we hotplug the pcscd service. |
43 |
-ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", RUN+="/bin/env IN_HOTPLUG=1 /etc/init.d/pcscd --quiet start" |
44 |
|
45 |
diff --git a/sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch b/sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch |
46 |
deleted file mode 100644 |
47 |
index 2f4793b03fb4..000000000000 |
48 |
--- a/sys-apps/pcsc-lite/files/pcsc-lite-1.9.5-no-libusb-udev.patch |
49 |
+++ /dev/null |
50 |
@@ -1,29 +0,0 @@ |
51 |
-https://github.com/LudovicRousseau/PCSC/commit/a4bdfd2eb6e908c8306fe421137a83573ba05d8c |
52 |
-https://bugs.gentoo.org/832593 |
53 |
- |
54 |
-From: Fabrice Fontaine <fontaine.fabrice@×××××.com> |
55 |
-Date: Tue, 14 Dec 2021 08:20:59 +0100 |
56 |
-Subject: [PATCH] src/hotplug_generic.c: fix build without lib{udev,usb} |
57 |
- |
58 |
-Fix the following build failure without lib{udev,usb} raised since |
59 |
-version 1.9.5 and |
60 |
-https://github.com/LudovicRousseau/PCSC/commit/6f8f170db3c88c59a5ddb5ae5319b921a901a6aa: |
61 |
- |
62 |
-/home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: pcscd-pcscdaemon.o: in function `signal_thread': |
63 |
-pcscdaemon.c:(.text+0x444): undefined reference to `HPReCheckSerialReaders' |
64 |
- |
65 |
-Fixes: |
66 |
- - http://autobuild.buildroot.org/results/6cf323229f32967aa554418410dc94b7094d09af |
67 |
- |
68 |
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@×××××.com> |
69 |
---- a/src/hotplug_generic.c |
70 |
-+++ b/src/hotplug_generic.c |
71 |
-@@ -48,7 +48,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
72 |
- #define FALSE 0 |
73 |
- #endif |
74 |
- |
75 |
--#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__) && !defined(HAVE_LIBUDEV) |
76 |
-+#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(HAVE_LIBUDEV) |
77 |
- |
78 |
- LONG HPSearchHotPluggables(void) |
79 |
- { |
80 |
|
81 |
diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.9.0.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.9.0.ebuild |
82 |
deleted file mode 100644 |
83 |
index 5d6b8904ec10..000000000000 |
84 |
--- a/sys-apps/pcsc-lite/pcsc-lite-1.9.0.ebuild |
85 |
+++ /dev/null |
86 |
@@ -1,104 +0,0 @@ |
87 |
-# Copyright 1999-2021 Gentoo Authors |
88 |
-# Distributed under the terms of the GNU General Public License v2 |
89 |
- |
90 |
-EAPI=7 |
91 |
- |
92 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
93 |
- |
94 |
-inherit python-single-r1 systemd udev multilib-minimal |
95 |
- |
96 |
-DESCRIPTION="PC/SC Architecture smartcard middleware library" |
97 |
-HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" |
98 |
- |
99 |
-SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2" |
100 |
- |
101 |
-# GPL-2 is there for the init script; everything else comes from |
102 |
-# upstream. |
103 |
-LICENSE="BSD ISC MIT GPL-3+ GPL-2" |
104 |
-SLOT="0" |
105 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
106 |
- |
107 |
-# This is called libusb so that it doesn't fool people in thinking that |
108 |
-# it is _required_ for USB support. Otherwise they'll disable udev and |
109 |
-# that's going to be worse. |
110 |
-IUSE="doc embedded libusb policykit selinux systemd +udev" |
111 |
- |
112 |
-REQUIRED_USE="^^ ( udev libusb ) ${PYTHON_REQUIRED_USE}" |
113 |
- |
114 |
-# No dependencies need the MULTILIB_DEPS because the libraries are actually |
115 |
-# standalone, the deps are only needed for the daemon itself. |
116 |
-DEPEND="libusb? ( virtual/libusb:1 ) |
117 |
- udev? ( virtual/libudev:= ) |
118 |
- policykit? ( >=sys-auth/polkit-0.111 ) |
119 |
- acct-group/openct |
120 |
- acct-group/pcscd |
121 |
- acct-user/pcscd |
122 |
- ${PYTHON_DEPS}" |
123 |
- |
124 |
-RDEPEND="${DEPEND} |
125 |
- selinux? ( sec-policy/selinux-pcscd )" |
126 |
- |
127 |
-BDEPEND="virtual/pkgconfig" |
128 |
- |
129 |
-PATCHES=( |
130 |
- "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch |
131 |
-) |
132 |
- |
133 |
-DOCS=( AUTHORS HELP README SECURITY ChangeLog ) |
134 |
- |
135 |
-pkg_setup() { |
136 |
- python-single-r1_pkg_setup |
137 |
-} |
138 |
- |
139 |
-multilib_src_configure() { |
140 |
- ECONF_SOURCE="${S}" econf \ |
141 |
- --disable-maintainer-mode \ |
142 |
- --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ |
143 |
- --enable-ipcdir=/run/pcscd \ |
144 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
145 |
- $(use_enable doc documentation) \ |
146 |
- $(multilib_native_use_enable embedded) \ |
147 |
- $(multilib_native_use_enable systemd libsystemd) \ |
148 |
- $(multilib_native_use_enable udev libudev) \ |
149 |
- $(multilib_native_use_enable libusb) \ |
150 |
- $(multilib_native_use_enable policykit polkit) |
151 |
-} |
152 |
- |
153 |
-multilib_src_install_all() { |
154 |
- einstalldocs |
155 |
- |
156 |
- newinitd "${FILESDIR}"/pcscd-init.7 pcscd |
157 |
- |
158 |
- if use udev; then |
159 |
- exeinto "$(get_udevdir)" |
160 |
- newexe "${FILESDIR}"/pcscd-udev pcscd.sh |
161 |
- |
162 |
- insinto "$(get_udevdir)"/rules.d |
163 |
- newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules |
164 |
- fi |
165 |
- |
166 |
- python_fix_shebang "${ED}"/usr/bin/pcsc-spy |
167 |
- |
168 |
- find "${ED}" -name '*.la' -delete || die |
169 |
-} |
170 |
- |
171 |
-pkg_postinst() { |
172 |
- elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" |
173 |
- elog "the pcscd group, to avoid running as root." |
174 |
- elog "" |
175 |
- elog "This also means you need the newest drivers available so that the" |
176 |
- elog "devices get the proper owner." |
177 |
- elog "" |
178 |
- elog "Furthermore, a conf.d file is no longer installed by default, as" |
179 |
- elog "the default configuration does not require one. If you need to" |
180 |
- elog "pass further options to pcscd, create a file and set the" |
181 |
- elog "EXTRA_OPTS variable." |
182 |
- elog "" |
183 |
- if use udev; then |
184 |
- elog "Hotplug support is provided by udev rules." |
185 |
- elog "When using OpenRC you additionally need to tell it to hotplug" |
186 |
- elog "pcscd by setting this variable in /etc/rc.conf:" |
187 |
- elog "" |
188 |
- elog " rc_hotplug=\"pcscd\"" |
189 |
- fi |
190 |
-} |
191 |
|
192 |
diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.9.1.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.9.1.ebuild |
193 |
deleted file mode 100644 |
194 |
index 5ad5f5d7b9f6..000000000000 |
195 |
--- a/sys-apps/pcsc-lite/pcsc-lite-1.9.1.ebuild |
196 |
+++ /dev/null |
197 |
@@ -1,104 +0,0 @@ |
198 |
-# Copyright 1999-2021 Gentoo Authors |
199 |
-# Distributed under the terms of the GNU General Public License v2 |
200 |
- |
201 |
-EAPI=7 |
202 |
- |
203 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
204 |
- |
205 |
-inherit python-single-r1 systemd udev multilib-minimal |
206 |
- |
207 |
-DESCRIPTION="PC/SC Architecture smartcard middleware library" |
208 |
-HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" |
209 |
- |
210 |
-SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2" |
211 |
- |
212 |
-# GPL-2 is there for the init script; everything else comes from |
213 |
-# upstream. |
214 |
-LICENSE="BSD ISC MIT GPL-3+ GPL-2" |
215 |
-SLOT="0" |
216 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
217 |
- |
218 |
-# This is called libusb so that it doesn't fool people in thinking that |
219 |
-# it is _required_ for USB support. Otherwise they'll disable udev and |
220 |
-# that's going to be worse. |
221 |
-IUSE="doc embedded libusb policykit selinux systemd +udev" |
222 |
- |
223 |
-REQUIRED_USE="^^ ( udev libusb ) ${PYTHON_REQUIRED_USE}" |
224 |
- |
225 |
-# No dependencies need the MULTILIB_DEPS because the libraries are actually |
226 |
-# standalone, the deps are only needed for the daemon itself. |
227 |
-DEPEND="libusb? ( virtual/libusb:1 ) |
228 |
- udev? ( virtual/libudev:= ) |
229 |
- policykit? ( >=sys-auth/polkit-0.111 ) |
230 |
- acct-group/openct |
231 |
- acct-group/pcscd |
232 |
- acct-user/pcscd |
233 |
- ${PYTHON_DEPS}" |
234 |
- |
235 |
-RDEPEND="${DEPEND} |
236 |
- selinux? ( sec-policy/selinux-pcscd )" |
237 |
- |
238 |
-BDEPEND="virtual/pkgconfig" |
239 |
- |
240 |
-PATCHES=( |
241 |
- "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch |
242 |
-) |
243 |
- |
244 |
-DOCS=( AUTHORS HELP README SECURITY ChangeLog ) |
245 |
- |
246 |
-pkg_setup() { |
247 |
- python-single-r1_pkg_setup |
248 |
-} |
249 |
- |
250 |
-multilib_src_configure() { |
251 |
- ECONF_SOURCE="${S}" econf \ |
252 |
- --disable-maintainer-mode \ |
253 |
- --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ |
254 |
- --enable-ipcdir=/run/pcscd \ |
255 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
256 |
- $(use_enable doc documentation) \ |
257 |
- $(multilib_native_use_enable embedded) \ |
258 |
- $(multilib_native_use_enable systemd libsystemd) \ |
259 |
- $(multilib_native_use_enable udev libudev) \ |
260 |
- $(multilib_native_use_enable libusb) \ |
261 |
- $(multilib_native_use_enable policykit polkit) |
262 |
-} |
263 |
- |
264 |
-multilib_src_install_all() { |
265 |
- einstalldocs |
266 |
- |
267 |
- newinitd "${FILESDIR}"/pcscd-init.7 pcscd |
268 |
- |
269 |
- if use udev; then |
270 |
- exeinto "$(get_udevdir)" |
271 |
- newexe "${FILESDIR}"/pcscd-udev pcscd.sh |
272 |
- |
273 |
- insinto "$(get_udevdir)"/rules.d |
274 |
- newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules |
275 |
- fi |
276 |
- |
277 |
- python_fix_shebang "${ED}"/usr/bin/pcsc-spy |
278 |
- |
279 |
- find "${ED}" -name '*.la' -delete || die |
280 |
-} |
281 |
- |
282 |
-pkg_postinst() { |
283 |
- elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" |
284 |
- elog "the pcscd group, to avoid running as root." |
285 |
- elog "" |
286 |
- elog "This also means you need the newest drivers available so that the" |
287 |
- elog "devices get the proper owner." |
288 |
- elog "" |
289 |
- elog "Furthermore, a conf.d file is no longer installed by default, as" |
290 |
- elog "the default configuration does not require one. If you need to" |
291 |
- elog "pass further options to pcscd, create a file and set the" |
292 |
- elog "EXTRA_OPTS variable." |
293 |
- elog "" |
294 |
- if use udev; then |
295 |
- elog "Hotplug support is provided by udev rules." |
296 |
- elog "When using OpenRC you additionally need to tell it to hotplug" |
297 |
- elog "pcscd by setting this variable in /etc/rc.conf:" |
298 |
- elog "" |
299 |
- elog " rc_hotplug=\"pcscd\"" |
300 |
- fi |
301 |
-} |
302 |
|
303 |
diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.9.4.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.9.4.ebuild |
304 |
deleted file mode 100644 |
305 |
index a282e00b2aa9..000000000000 |
306 |
--- a/sys-apps/pcsc-lite/pcsc-lite-1.9.4.ebuild |
307 |
+++ /dev/null |
308 |
@@ -1,104 +0,0 @@ |
309 |
-# Copyright 1999-2021 Gentoo Authors |
310 |
-# Distributed under the terms of the GNU General Public License v2 |
311 |
- |
312 |
-EAPI=8 |
313 |
- |
314 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
315 |
- |
316 |
-inherit python-single-r1 systemd udev multilib-minimal |
317 |
- |
318 |
-DESCRIPTION="PC/SC Architecture smartcard middleware library" |
319 |
-HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" |
320 |
- |
321 |
-SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2" |
322 |
- |
323 |
-# GPL-2 is there for the init script; everything else comes from |
324 |
-# upstream. |
325 |
-LICENSE="BSD ISC MIT GPL-3+ GPL-2" |
326 |
-SLOT="0" |
327 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
328 |
- |
329 |
-# This is called libusb so that it doesn't fool people in thinking that |
330 |
-# it is _required_ for USB support. Otherwise they'll disable udev and |
331 |
-# that's going to be worse. |
332 |
-IUSE="doc embedded libusb policykit selinux systemd +udev" |
333 |
- |
334 |
-REQUIRED_USE="^^ ( udev libusb ) ${PYTHON_REQUIRED_USE}" |
335 |
- |
336 |
-# No dependencies need the MULTILIB_DEPS because the libraries are actually |
337 |
-# standalone, the deps are only needed for the daemon itself. |
338 |
-DEPEND="libusb? ( virtual/libusb:1 ) |
339 |
- udev? ( virtual/libudev:= ) |
340 |
- policykit? ( >=sys-auth/polkit-0.111 ) |
341 |
- acct-group/openct |
342 |
- acct-group/pcscd |
343 |
- acct-user/pcscd |
344 |
- ${PYTHON_DEPS}" |
345 |
- |
346 |
-RDEPEND="${DEPEND} |
347 |
- selinux? ( sec-policy/selinux-pcscd )" |
348 |
- |
349 |
-BDEPEND="virtual/pkgconfig" |
350 |
- |
351 |
-PATCHES=( |
352 |
- "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch |
353 |
-) |
354 |
- |
355 |
-DOCS=( AUTHORS HELP README SECURITY ChangeLog ) |
356 |
- |
357 |
-pkg_setup() { |
358 |
- python-single-r1_pkg_setup |
359 |
-} |
360 |
- |
361 |
-multilib_src_configure() { |
362 |
- ECONF_SOURCE="${S}" econf \ |
363 |
- --disable-maintainer-mode \ |
364 |
- --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ |
365 |
- --enable-ipcdir=/run/pcscd \ |
366 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
367 |
- $(use_enable doc documentation) \ |
368 |
- $(multilib_native_use_enable embedded) \ |
369 |
- $(multilib_native_use_enable systemd libsystemd) \ |
370 |
- $(multilib_native_use_enable udev libudev) \ |
371 |
- $(multilib_native_use_enable libusb) \ |
372 |
- $(multilib_native_use_enable policykit polkit) |
373 |
-} |
374 |
- |
375 |
-multilib_src_install_all() { |
376 |
- einstalldocs |
377 |
- |
378 |
- newinitd "${FILESDIR}"/pcscd-init.7 pcscd |
379 |
- |
380 |
- if use udev; then |
381 |
- exeinto "$(get_udevdir)" |
382 |
- newexe "${FILESDIR}"/pcscd-udev pcscd.sh |
383 |
- |
384 |
- insinto "$(get_udevdir)"/rules.d |
385 |
- newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules |
386 |
- fi |
387 |
- |
388 |
- python_fix_shebang "${ED}"/usr/bin/pcsc-spy |
389 |
- |
390 |
- find "${ED}" -name '*.la' -delete || die |
391 |
-} |
392 |
- |
393 |
-pkg_postinst() { |
394 |
- elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" |
395 |
- elog "the pcscd group, to avoid running as root." |
396 |
- elog "" |
397 |
- elog "This also means you need the newest drivers available so that the" |
398 |
- elog "devices get the proper owner." |
399 |
- elog "" |
400 |
- elog "Furthermore, a conf.d file is no longer installed by default, as" |
401 |
- elog "the default configuration does not require one. If you need to" |
402 |
- elog "pass further options to pcscd, create a file and set the" |
403 |
- elog "EXTRA_OPTS variable." |
404 |
- elog "" |
405 |
- if use udev; then |
406 |
- elog "Hotplug support is provided by udev rules." |
407 |
- elog "When using OpenRC you additionally need to tell it to hotplug" |
408 |
- elog "pcscd by setting this variable in /etc/rc.conf:" |
409 |
- elog "" |
410 |
- elog " rc_hotplug=\"pcscd\"" |
411 |
- fi |
412 |
-} |
413 |
|
414 |
diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild |
415 |
deleted file mode 100644 |
416 |
index 3b34179b63c5..000000000000 |
417 |
--- a/sys-apps/pcsc-lite/pcsc-lite-1.9.5.ebuild |
418 |
+++ /dev/null |
419 |
@@ -1,105 +0,0 @@ |
420 |
-# Copyright 1999-2022 Gentoo Authors |
421 |
-# Distributed under the terms of the GNU General Public License v2 |
422 |
- |
423 |
-EAPI=8 |
424 |
- |
425 |
-PYTHON_COMPAT=( python{3_8,3_9,3_10} ) |
426 |
- |
427 |
-inherit python-single-r1 systemd udev multilib-minimal |
428 |
- |
429 |
-DESCRIPTION="PC/SC Architecture smartcard middleware library" |
430 |
-HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" |
431 |
- |
432 |
-SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2" |
433 |
- |
434 |
-# GPL-2 is there for the init script; everything else comes from |
435 |
-# upstream. |
436 |
-LICENSE="BSD ISC MIT GPL-3+ GPL-2" |
437 |
-SLOT="0" |
438 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
439 |
- |
440 |
-# This is called libusb so that it doesn't fool people in thinking that |
441 |
-# it is _required_ for USB support. Otherwise they'll disable udev and |
442 |
-# that's going to be worse. |
443 |
-IUSE="doc embedded libusb policykit selinux systemd +udev" |
444 |
- |
445 |
-REQUIRED_USE="^^ ( udev libusb ) ${PYTHON_REQUIRED_USE}" |
446 |
- |
447 |
-# No dependencies need the MULTILIB_DEPS because the libraries are actually |
448 |
-# standalone, the deps are only needed for the daemon itself. |
449 |
-DEPEND="libusb? ( virtual/libusb:1 ) |
450 |
- udev? ( virtual/libudev:= ) |
451 |
- policykit? ( >=sys-auth/polkit-0.111 ) |
452 |
- acct-group/openct |
453 |
- acct-group/pcscd |
454 |
- acct-user/pcscd |
455 |
- ${PYTHON_DEPS}" |
456 |
- |
457 |
-RDEPEND="${DEPEND} |
458 |
- selinux? ( sec-policy/selinux-pcscd )" |
459 |
- |
460 |
-BDEPEND="virtual/pkgconfig" |
461 |
- |
462 |
-PATCHES=( |
463 |
- "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch |
464 |
- "${FILESDIR}"/${P}-no-libusb-udev.patch |
465 |
-) |
466 |
- |
467 |
-DOCS=( AUTHORS HELP README SECURITY ChangeLog ) |
468 |
- |
469 |
-pkg_setup() { |
470 |
- python-single-r1_pkg_setup |
471 |
-} |
472 |
- |
473 |
-multilib_src_configure() { |
474 |
- ECONF_SOURCE="${S}" econf \ |
475 |
- --disable-maintainer-mode \ |
476 |
- --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ |
477 |
- --enable-ipcdir=/run/pcscd \ |
478 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ |
479 |
- $(use_enable doc documentation) \ |
480 |
- $(multilib_native_use_enable embedded) \ |
481 |
- $(multilib_native_use_enable systemd libsystemd) \ |
482 |
- $(multilib_native_use_enable udev libudev) \ |
483 |
- $(multilib_native_use_enable libusb) \ |
484 |
- $(multilib_native_use_enable policykit polkit) |
485 |
-} |
486 |
- |
487 |
-multilib_src_install_all() { |
488 |
- einstalldocs |
489 |
- |
490 |
- newinitd "${FILESDIR}"/pcscd-init.7 pcscd |
491 |
- |
492 |
- if use udev; then |
493 |
- exeinto "$(get_udevdir)" |
494 |
- newexe "${FILESDIR}"/pcscd-udev pcscd.sh |
495 |
- |
496 |
- insinto "$(get_udevdir)"/rules.d |
497 |
- newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules |
498 |
- fi |
499 |
- |
500 |
- python_fix_shebang "${ED}"/usr/bin/pcsc-spy |
501 |
- |
502 |
- find "${ED}" -name '*.la' -delete || die |
503 |
-} |
504 |
- |
505 |
-pkg_postinst() { |
506 |
- elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" |
507 |
- elog "the pcscd group, to avoid running as root." |
508 |
- elog "" |
509 |
- elog "This also means you need the newest drivers available so that the" |
510 |
- elog "devices get the proper owner." |
511 |
- elog "" |
512 |
- elog "Furthermore, a conf.d file is no longer installed by default, as" |
513 |
- elog "the default configuration does not require one. If you need to" |
514 |
- elog "pass further options to pcscd, create a file and set the" |
515 |
- elog "EXTRA_OPTS variable." |
516 |
- elog "" |
517 |
- if use udev; then |
518 |
- elog "Hotplug support is provided by udev rules." |
519 |
- elog "When using OpenRC you additionally need to tell it to hotplug" |
520 |
- elog "pcscd by setting this variable in /etc/rc.conf:" |
521 |
- elog "" |
522 |
- elog " rc_hotplug=\"pcscd\"" |
523 |
- fi |
524 |
-} |