Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/pcsc-lite/
Date: Sun, 10 Mar 2019 15:35:56
Message-Id: 1552232145.ce861dcb7c5f7d72a12c7b5e9f15f3f834ac5e9d.alonbl@gentoo
1 commit: ce861dcb7c5f7d72a12c7b5e9f15f3f834ac5e9d
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 10 15:34:57 2019 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 10 15:35:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce861dcb
7
8 sys-apps/pcsc-lite: cleanup old
9
10 Signed-off-by: Alon Bar-Lev <alonbl <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 sys-apps/pcsc-lite/Manifest | 1 -
14 sys-apps/pcsc-lite/pcsc-lite-1.8.23.ebuild | 104 -----------------------------
15 2 files changed, 105 deletions(-)
16
17 diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest
18 index 4843e3193c1..ce22791fc3b 100644
19 --- a/sys-apps/pcsc-lite/Manifest
20 +++ b/sys-apps/pcsc-lite/Manifest
21 @@ -1,2 +1 @@
22 -DIST pcsc-lite-1.8.23.tar.bz2 749922 BLAKE2B 62c7fb931735bf5fba55e75141a3e4216a126c56ae47833168b154abacd3294dba4afc47b74814a474ca9e52c7ca62a532a0e6ae9fb88b635592e8c545f68e76 SHA512 fef9f40376660bc9de938608cfdbf12ca764be1ebb59c7a1065cb74a21ecc7333f86add25028bd47ec55b2227a9e2d15e1afcb6d0aeb510636d2aadef254bec4
23 DIST pcsc-lite-1.8.24.tar.bz2 755670 BLAKE2B 22cc072978e221d455373e1fdeb21ae8f3dacdd188a4e8a69ef44202924e6c17c4282d424c88ac32b04c62af6e67787f2d2ba936bd3e3667452b32c40254de28 SHA512 df2e6a7a8179563a6dbf654ab75cf78a4b297b0562214a081d7d2b5d00fd4adf92fd892bd16aacf9d5e2867f3ad46c88a88e5834e311011f37556dd7e8936a0c
24
25 diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.8.23.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.8.23.ebuild
26 deleted file mode 100644
27 index c2ab8676d5b..00000000000
28 --- a/sys-apps/pcsc-lite/pcsc-lite-1.8.23.ebuild
29 +++ /dev/null
30 @@ -1,104 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
36 -
37 -inherit python-single-r1 systemd udev user multilib-minimal
38 -
39 -DESCRIPTION="PC/SC Architecture smartcard middleware library"
40 -HOMEPAGE="https://pcsclite.apdu.fr/"
41 -
42 -SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2"
43 -
44 -# GPL-2 is there for the init script; everything else comes from
45 -# upstream.
46 -LICENSE="BSD ISC MIT GPL-3+ GPL-2"
47 -SLOT="0"
48 -KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
49 -
50 -# This is called libusb so that it doesn't fool people in thinking that
51 -# it is _required_ for USB support. Otherwise they'll disable udev and
52 -# that's going to be worse.
53 -IUSE="python libusb policykit selinux systemd +udev"
54 -
55 -REQUIRED_USE="^^ ( udev libusb ) \
56 - python? ( ${PYTHON_REQUIRED_USE} )"
57 -
58 -# No dependencies need the MULTILIB_DEPS because the libraries are actually
59 -# standalone, the deps are only needed for the daemon itself.
60 -DEPEND="libusb? ( virtual/libusb:1 )
61 - udev? ( virtual/udev )
62 - policykit? ( >=sys-auth/polkit-0.111 )
63 - python? ( ${PYTHON_DEPS} )"
64 -RDEPEND="${DEPEND}
65 - !<app-crypt/ccid-1.4.1-r1
66 - !<sys-apps/baselayout-2
67 - !<sys-apps/openrc-0.11.8
68 - selinux? ( sec-policy/selinux-pcscd )"
69 -BDEPEND="virtual/pkgconfig"
70 -
71 -PATCHES=(
72 - "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch
73 -)
74 -
75 -DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog )
76 -
77 -pkg_setup() {
78 - use python && python-single-r1_pkg_setup
79 - enewgroup openct # make sure it exists
80 - enewgroup pcscd
81 - enewuser pcscd -1 -1 /run/pcscd pcscd,openct
82 -}
83 -
84 -multilib_src_configure() {
85 - ECONF_SOURCE="${S}" econf \
86 - --disable-maintainer-mode \
87 - --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \
88 - --enable-ipcdir=/run/pcscd \
89 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
90 - $(multilib_native_use_enable systemd libsystemd) \
91 - $(multilib_native_use_enable udev libudev) \
92 - $(multilib_native_use_enable libusb) \
93 - $(multilib_native_use_enable policykit polkit)
94 -}
95 -
96 -multilib_src_install_all() {
97 - einstalldocs
98 -
99 - newinitd "${FILESDIR}"/pcscd-init.7 pcscd
100 -
101 - if use udev; then
102 - insinto "$(get_udevdir)"/rules.d
103 - doins "${FILESDIR}"/99-pcscd-hotplug.rules
104 - fi
105 -
106 - for f in "${ED}/usr/bin/pcsc-spy"; do
107 - if use python; then
108 - python_fix_shebang "${f}"
109 - else
110 - rm "${f}"
111 - fi
112 - done
113 -}
114 -
115 -pkg_postinst() {
116 - elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in"
117 - elog "the pcscd group, to avoid running as root."
118 - elog ""
119 - elog "This also means you need the newest drivers available so that the"
120 - elog "devices get the proper owner."
121 - elog ""
122 - elog "Furthermore, a conf.d file is no longer installed by default, as"
123 - elog "the default configuration does not require one. If you need to"
124 - elog "pass further options to pcscd, create a file and set the"
125 - elog "EXTRA_OPTS variable."
126 - elog ""
127 - if use udev; then
128 - elog "Hotplug support is provided by udev rules; you only need to tell"
129 - elog "the init system to hotplug it, by setting this variable in"
130 - elog "/etc/rc.conf:"
131 - elog ""
132 - elog " rc_hotplug=\"pcscd\""
133 - fi
134 -}