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: Fri, 07 Sep 2018 21:08:47
Message-Id: 1536353220.5cce661a701a6a42dc3d0f0278ecab5c7ce35e10.alonbl@gentoo
1 commit: 5cce661a701a6a42dc3d0f0278ecab5c7ce35e10
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 7 20:44:51 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 7 20:47:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cce661a
7
8 sys-apps/pcsc-lite: cleanup old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 sys-apps/pcsc-lite/Manifest | 1 -
13 sys-apps/pcsc-lite/pcsc-lite-1.8.22.ebuild | 105 -----------------------------
14 2 files changed, 106 deletions(-)
15
16 diff --git a/sys-apps/pcsc-lite/Manifest b/sys-apps/pcsc-lite/Manifest
17 index b131363f8e4..151591b3162 100644
18 --- a/sys-apps/pcsc-lite/Manifest
19 +++ b/sys-apps/pcsc-lite/Manifest
20 @@ -1,2 +1 @@
21 -DIST pcsc-lite-1.8.22.tar.bz2 751724 BLAKE2B d11ca9588449ea8508550b60aad2d2bb6a140c02a86287f6d972ced97fdc8a5db80d542624cbaebdda564192217186c79c30b046cb7d6f6c7a450d91c0f1c9fb SHA512 762eccf6a25040653f563b93bf11262ddc015323d06d759a3472ba80af0489804410ba17c7e5330ccd4b5accc8b7314c80b5e99da278561d3818d8c381e6a025
22 DIST pcsc-lite-1.8.23.tar.bz2 749922 BLAKE2B 62c7fb931735bf5fba55e75141a3e4216a126c56ae47833168b154abacd3294dba4afc47b74814a474ca9e52c7ca62a532a0e6ae9fb88b635592e8c545f68e76 SHA512 fef9f40376660bc9de938608cfdbf12ca764be1ebb59c7a1065cb74a21ecc7333f86add25028bd47ec55b2227a9e2d15e1afcb6d0aeb510636d2aadef254bec4
23
24 diff --git a/sys-apps/pcsc-lite/pcsc-lite-1.8.22.ebuild b/sys-apps/pcsc-lite/pcsc-lite-1.8.22.ebuild
25 deleted file mode 100644
26 index 4d2ab52863b..00000000000
27 --- a/sys-apps/pcsc-lite/pcsc-lite-1.8.22.ebuild
28 +++ /dev/null
29 @@ -1,105 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="6"
34 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
35 -
36 -inherit python-single-r1 systemd udev user multilib-minimal
37 -
38 -DESCRIPTION="PC/SC Architecture smartcard middleware library"
39 -HOMEPAGE="https://pcsclite.apdu.fr/"
40 -
41 -SRC_URI="https://pcsclite.apdu.fr/files/${P}.tar.bz2"
42 -
43 -# GPL-2 is there for the init script; everything else comes from
44 -# upstream.
45 -LICENSE="BSD ISC MIT GPL-3+ GPL-2"
46 -SLOT="0"
47 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ppc ppc64 s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
48 -
49 -# This is called libusb so that it doesn't fool people in thinking that
50 -# it is _required_ for USB support. Otherwise they'll disable udev and
51 -# that's going to be worse.
52 -IUSE="python libusb policykit selinux +udev"
53 -
54 -REQUIRED_USE="^^ ( udev libusb ) \
55 - python? ( ${PYTHON_REQUIRED_USE} )"
56 -
57 -# No dependencies need the MULTILIB_DEPS because the libraries are actually
58 -# standalone, the deps are only needed for the daemon itself.
59 -CDEPEND="libusb? ( virtual/libusb:1 )
60 - udev? ( virtual/udev )
61 - policykit? ( >=sys-auth/polkit-0.111 )
62 - python? ( ${PYTHON_DEPS} )"
63 -DEPEND="${CDEPEND}
64 - virtual/pkgconfig"
65 -RDEPEND="${CDEPEND}
66 - !<app-crypt/ccid-1.4.1-r1
67 - !<sys-apps/baselayout-2
68 - !<sys-apps/openrc-0.11.8
69 - selinux? ( sec-policy/selinux-pcscd )
70 -"
71 -
72 -PATCHES=(
73 - "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch
74 -)
75 -
76 -DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog )
77 -
78 -pkg_setup() {
79 - use python && python-single-r1_pkg_setup
80 - enewgroup openct # make sure it exists
81 - enewgroup pcscd
82 - enewuser pcscd -1 -1 /run/pcscd pcscd,openct
83 -}
84 -
85 -multilib_src_configure() {
86 - ECONF_SOURCE="${S}" econf \
87 - --disable-maintainer-mode \
88 - --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \
89 - --enable-ipcdir=/run/pcscd \
90 - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
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 -}