diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-03 00:07:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-03 00:07:26 +0100 |
commit | a3bb28551df94028000fb72308a9e9baa01458b0 (patch) | |
tree | 33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /sys-apps/pcsc-lite | |
parent | 6657c680376cedf378fcf328e5fa03ed3b41d580 (diff) |
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'sys-apps/pcsc-lite')
-rw-r--r-- | sys-apps/pcsc-lite/Manifest | 6 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules (renamed from sys-apps/pcsc-lite/files/99-pcscd-hotplug-r1.rules) | 4 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild | 109 | ||||
-rw-r--r-- | sys-apps/pcsc-lite/pcsc-lite-2.0.1-r1.ebuild (renamed from sys-apps/pcsc-lite/pcsc-lite-2.0.1.ebuild) | 2 |
4 files changed, 5 insertions, 116 deletions
diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest index 237d044c6265..f863b99ed629 100644 --- a/sys-apps/pcsc-lite/Manifest +++ b/sys-apps/pcsc-lite/Manifest @@ -1,11 +1,9 @@ -AUX 99-pcscd-hotplug-r1.rules 363 BLAKE2B 65049122751de2d50f60449cebaa948ce276680d969ef1a13700a3fc7577c90e24b96b69f2285389361aeb6dfbdd7f0eb49faa953855ba39473270aa530c395f SHA512 45c1d50175844b4f46d0a5a15855bfb929d4848f9570e92c3327a95fce7aeb11fda7cecd1c24338aed96b696134baa1715ab59ac578af7c11e43bbc73b27a990 +AUX 99-pcscd-hotplug-r2.rules 377 BLAKE2B a7dcc09ec990eb7022d0622d4d480e39f72b754bc332ad388d8e73ef800d387ff5ad5f309d8d47baf8f9b5c178bc2c2dd8ad3a1f45536157f260e8a9a57decda SHA512 ca5435113cfebe64f05f05e16a53e7d7a3a733c765a69ee9d7d74a0185aa38acd9378e2c2c817b04e5e3c1f5a0dff8761935d55ed8d6768a080c6e7e2058ab2e AUX pcsc-lite-1.8.11-polkit-pcscd.patch 744 BLAKE2B b9a846a989d1708a30bb62e93ab19fbf5cfe4c2c601d435b53a8933117d919a4fbac8835e68b895507840a25a9aab85e35f6b4c2e7461ec3c7893d483e12f759 SHA512 4f8b774ec888d51c0ad82431cb9d041be6b69af0bfa2a535c6b7e47afb0056147c08ab9265d7da2259a74347ceba9dba320ad0892d3a25797efc64b79113f4a5 AUX pcsc-lite-1.9.8-systemd-user.patch 415 BLAKE2B dd29a0965167cde394e95bb751f6d193935234f15b2eb6ab03a1c70fb5c7fcf43d2c2b81be9c8c9e29d87affca68d1b236ea1db3fbb1ca7ddcd63e4e3da4c35c SHA512 8c1fde18596e1642aef08adb6a23be36930f0f1a6946c6e27b283cff6556afd75f54e6995ca0c62cbf86aa56157961637981cf046a04d17ede93518408ffe65a AUX pcscd-init.7 408 BLAKE2B 54e4995a169b7f816b0de9b409ae94a8328e792b50872d583988cc87ad20b5c2d20559f3702dc4525dcc46c4afabf817c1e76f4a080ca277f9ab01ebcf67441f SHA512 24fbd0fe2847f6c7bb961e4e0d9fa5197d408971fc33fa7652893ce9dbba958d19b02be7688afd4e9617520f93b6544af74968d6fcc3b31ad73b3ac585e87500 AUX pcscd-udev 330 BLAKE2B 50e99953aec238fe98c6aee5219d3978b44d37c90ce74c9cb8e19b37c8677001e9b1b3701df8246bf051c6cf8b5c971f86bf1f580bfcbff270b8937328ca887d SHA512 06b672135fda9f83af4f030ff8078f8e1194ced529334c17c1a93f81ee9a5d4448bcea5ffec398f01d957a6607fbde7f69fbc23d727bb3ffad48a305cefe5c26 AUX pcscd.conf 32 BLAKE2B 2407e00c654d7e259ebf69ab420800f5605cb3ead23eb4aa07317928c38b6328eae2e566fab84c8844fb80e8a165cd32982fee753498b20c7a750f52fbb1f995 SHA512 ae27cdab8a60201639b9d9aca2d7f760146a5c5238878a0ebb562740385bf58f04bbc37a19cd1a2c8c69ee463f10beecc6531dde733cb6a6d4b06816f54b1569 -DIST pcsc-lite-2.0.0.tar.bz2 799011 BLAKE2B d93fffebbe3daf389fcd8195c9fb3d76db64dbb98ac9c7ecd08338331389298e710ca71187cb73165868b0b5e66cb9735b60e22d508db1c1a81e04555103948a SHA512 4b34628d3269ae1859f19d2ab7eb74a76a55f3d76fbc9e4e420a081a065b1d0d7b98680552c7208f3265c684bed844afc6be1c2e5f103ad916ce7f38b52ee68c DIST pcsc-lite-2.0.1.tar.bz2 815103 BLAKE2B a9eea4a4da1a78fc22797b17c128889b2f7caf8c4aa02dd77f4ac79e4ec458fb0162578b5422552545cd39303750d5396f3687f8cfee7603fad8d60cb54ee1e8 SHA512 af007f00f43e8d897710580f6f27814c9e7d3ca489ff01edf2e3b979e46267915aa04d9c15f225a420fa681de936e42a1d4779d962717cf9a9f4a3d1ca31502b -EBUILD pcsc-lite-2.0.0.ebuild 3348 BLAKE2B e631a5f8290d238b99c12846c824c408f6f03e0326589d9c8485c59829d1aa7512e806b6760db8b23ffe113ba10dceb099f2b5454e536394c960ddc724a723e2 SHA512 a62dd910e493483c30d6b9c65b627aecf3e3ec1979a41e1c2696f28296eef80bdad1b25b6d7473b6bd498c0af442e562d050b476c9c756595de4039389035ed2 -EBUILD pcsc-lite-2.0.1.ebuild 3348 BLAKE2B ab4c779003df5c234b83dddf62ec045d032faef917427406064765c46f21a403412c12cc60a827cc67204084e741375f4b66183a2e9bd36f0713726b5149bc74 SHA512 e421f379dfcfc7353d1bcdc9f65d4705d838d73b4291cbafc5a5829b19fc08c32d8b176ea3ac8019e4e62420f4347c096ac78ff112099aa52fa799d4b552f61a +EBUILD pcsc-lite-2.0.1-r1.ebuild 3348 BLAKE2B 7383ca56e9a93ff11896c7610eb2ce8bdbac12154a9ed34bd0bcf10440c1ac96b992559b748f97e7209f3660af7c1170c4d9aca96c03facff867415360562548 SHA512 c3d29ebad8e80d54df5339b2860c0e560e8a5962abc16b8cbb28d6e6d6948eedb156171325e34cb04d4df3573515806f51ab7c0ba0ce3ee30076580e819951f4 MISC metadata.xml 1147 BLAKE2B c89b7f5443b81af35a0debe239b95ffa3dea06c4e86c1cb3bfe50dfc81e49d32939ae2eaaabcc5b4c5947c69c8ae90ce278efafc324ff6ab10a9ed514fa0a8b3 SHA512 96aea50c57df7bf05d5e05d7dd19f985193638592526a1357680f3e3489c0680b38f2f732714a0726097e40503bf1573b5458d4917fbcf1cbfeb56953d05293f diff --git a/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r1.rules b/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules index fc612d5e25f3..218417932aa2 100644 --- a/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r1.rules +++ b/sys-apps/pcsc-lite/files/99-pcscd-hotplug-r2.rules @@ -1,6 +1,6 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # We add this here so that it runs after ccid's and ifd-gempc's rules; # if we just added a pcscd-owned device, we hotplug the pcscd service. -ACTION=="add", ENV{PCSCD}=="1", GROUP="pcscd", TAG+="systemd", ENV{SYSTEMD_WANTS}+="pcscd.service", RUN+="pcscd.sh" +ACTION=="add", ENV{ID_SMARTCARD_READER}=="1", GROUP="pcscd", TAG+="systemd", ENV{SYSTEMD_WANTS}+="pcscd.service", RUN+="pcscd.sh" diff --git a/sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild b/sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild deleted file mode 100644 index 661385f197ba..000000000000 --- a/sys-apps/pcsc-lite/pcsc-lite-2.0.0.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) - -inherit python-single-r1 systemd tmpfiles udev multilib-minimal - -DESCRIPTION="PC/SC Architecture smartcard middleware library" -HOMEPAGE="https://pcsclite.apdu.fr https://github.com/LudovicRousseau/PCSC" -SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2" - -# GPL-2 is there for the init script; everything else comes from -# upstream. -LICENSE="BSD ISC MIT GPL-3+ GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -# This is called libusb so that it doesn't fool people in thinking that -# it is _required_ for USB support. Otherwise they'll disable udev and -# that's going to be worse. -IUSE="doc embedded libusb policykit selinux systemd +udev" -REQUIRED_USE="^^ ( udev libusb ) ${PYTHON_REQUIRED_USE}" - -# No dependencies need the MULTILIB_DEPS because the libraries are actually -# standalone, the deps are only needed for the daemon itself. -DEPEND=" - libusb? ( virtual/libusb:1 ) - udev? ( virtual/libudev:= ) - policykit? ( >=sys-auth/polkit-0.111 ) - acct-group/openct - acct-group/pcscd - acct-user/pcscd - ${PYTHON_DEPS}" -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-pcscd )" -BDEPEND=" - app-alternatives/lex - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch - "${FILESDIR}"/${PN}-1.9.8-systemd-user.patch -) - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - --disable-maintainer-mode \ - --disable-strict \ - --enable-usbdropdir="${EPREFIX}"/usr/$(get_libdir)/readers/usb \ - --enable-ipcdir=/run/pcscd \ - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \ - $(multilib_native_use_enable doc documentation) \ - $(multilib_native_use_enable embedded) \ - $(multilib_native_use_enable systemd libsystemd) \ - $(multilib_native_use_enable udev libudev) \ - $(multilib_native_use_enable libusb) \ - $(multilib_native_use_enable policykit polkit) -} - -multilib_src_install_all() { - einstalldocs - dodoc HELP SECURITY - - newinitd "${FILESDIR}"/pcscd-init.7 pcscd - dotmpfiles "${FILESDIR}"/pcscd.conf - - if use udev; then - exeinto "$(get_udevdir)" - newexe "${FILESDIR}"/pcscd-udev pcscd.sh - - insinto "$(get_udevdir)"/rules.d - newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules - fi - - python_fix_shebang "${ED}"/usr/bin/pcsc-spy - - find "${ED}" -name '*.la' -delete || die -} - -pkg_postinst() { - elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" - elog "the pcscd group, to avoid running as root." - elog - elog "This also means you need the newest drivers available so that the" - elog "devices get the proper owner." - elog - elog "Furthermore, a conf.d file is no longer installed by default, as" - elog "the default configuration does not require one. If you need to" - elog "pass further options to pcscd, create a file and set the" - elog "EXTRA_OPTS variable." - elog - - if use udev; then - elog "Hotplug support is provided by udev rules." - elog "When using OpenRC you additionally need to tell it to hotplug" - elog "pcscd by setting this variable in /etc/rc.conf:" - elog - elog " rc_hotplug=\"pcscd\"" - fi - - tmpfiles_process pcscd.conf - - use udev && udev_reload -} - -pkg_postrm() { - use udev && udev_reload -} diff --git a/sys-apps/pcsc-lite/pcsc-lite-2.0.1.ebuild b/sys-apps/pcsc-lite/pcsc-lite-2.0.1-r1.ebuild index 5d5823a7adbb..a3a1b872c2cd 100644 --- a/sys-apps/pcsc-lite/pcsc-lite-2.0.1.ebuild +++ b/sys-apps/pcsc-lite/pcsc-lite-2.0.1-r1.ebuild @@ -70,7 +70,7 @@ multilib_src_install_all() { newexe "${FILESDIR}"/pcscd-udev pcscd.sh insinto "$(get_udevdir)"/rules.d - newins "${FILESDIR}"/99-pcscd-hotplug-r1.rules 99-pcscd-hotplug.rules + newins "${FILESDIR}"/99-pcscd-hotplug-r2.rules 99-pcscd-hotplug.rules fi python_fix_shebang "${ED}"/usr/bin/pcsc-spy |