Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pcsc-lite: pcsc-lite-1.8.12.ebuild ChangeLog pcsc-lite-1.8.10.ebuild
Date: Sun, 28 Sep 2014 18:26:45
Message-Id: 20140928182641.4DB91643D@oystercatcher.gentoo.org
1 flameeyes 14/09/28 18:26:41
2
3 Modified: ChangeLog
4 Added: pcsc-lite-1.8.12.ebuild
5 Removed: pcsc-lite-1.8.10.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key D4301342)
10
11 Revision Changes Path
12 1.173 sys-apps/pcsc-lite/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.173&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.173&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.172&r2=1.173
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v
21 retrieving revision 1.172
22 retrieving revision 1.173
23 diff -u -r1.172 -r1.173
24 --- ChangeLog 30 Jul 2014 19:32:21 -0000 1.172
25 +++ ChangeLog 28 Sep 2014 18:26:41 -0000 1.173
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-apps/pcsc-lite
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.172 2014/07/30 19:32:21 ssuominen Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.173 2014/09/28 18:26:41 flameeyes Exp $
31 +
32 +*pcsc-lite-1.8.12 (28 Sep 2014)
33 +
34 + 28 Sep 2014; Diego E. Pettenò <flameeyes@g.o> +pcsc-lite-1.8.12.ebuild,
35 + -pcsc-lite-1.8.10.ebuild:
36 + Version bump.
37
38 30 Jul 2014; Samuli Suominen <ssuominen@g.o> pcsc-lite-1.8.10.ebuild,
39 pcsc-lite-1.8.11-r1.ebuild, pcsc-lite-1.8.2.ebuild, pcsc-lite-1.8.8-r1.ebuild:
40
41
42
43 1.1 sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pcsc-lite-1.8.12.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12.ebuild,v 1.1 2014/09/28 18:26:41 flameeyes Exp $
53
54 EAPI="5"
55
56 inherit eutils multilib systemd udev user autotools
57
58 DESCRIPTION="PC/SC Architecture smartcard middleware library"
59 HOMEPAGE="http://pcsclite.alioth.debian.org/"
60
61 STUPID_NUM="4115"
62 MY_P="${PN}-${PV/_/-}"
63 SRC_URI="http://alioth.debian.org/download.php/file/${STUPID_NUM}/${MY_P}.tar.bz2"
64 S="${WORKDIR}/${MY_P}"
65
66 # GPL-2 is there for the init script; everything else comes from
67 # upstream.
68 LICENSE="BSD ISC MIT GPL-3+ GPL-2"
69 SLOT="0"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
71
72 # This is called libusb so that it doesn't fool people in thinking that
73 # it is _required_ for USB support. Otherwise they'll disable udev and
74 # that's going to be worse.
75 IUSE="libusb policykit selinux +udev"
76
77 REQUIRED_USE="^^ ( udev libusb )"
78
79 CDEPEND="libusb? ( virtual/libusb:1 )
80 selinux? ( sec-policy/selinux-pcscd )
81 udev? ( virtual/udev )
82 policykit? ( >=sys-auth/polkit-0.111 )"
83 DEPEND="${CDEPEND}
84 virtual/pkgconfig"
85 RDEPEND="${CDEPEND}
86 !<app-crypt/ccid-1.4.1-r1
87 !<sys-apps/baselayout-2
88 !<sys-apps/openrc-0.11.8"
89
90 pkg_setup() {
91 enewgroup openct # make sure it exists
92 enewgroup pcscd
93 enewuser pcscd -1 -1 /run/pcscd pcscd,openct
94 }
95
96 src_prepare() {
97 epatch "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch
98
99 eautoreconf
100 }
101
102 src_configure() {
103 econf \
104 --disable-maintainer-mode \
105 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
106 --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \
107 --enable-ipcdir=/run/pcscd \
108 $(use_enable udev libudev) \
109 $(use_enable libusb) \
110 $(use_enable policykit polkit) \
111 "$(systemd_with_unitdir)" \
112 ${myconf}
113 }
114
115 DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog )
116
117 src_install() {
118 default
119 prune_libtool_files
120
121 newinitd "${FILESDIR}"/pcscd-init.7 pcscd
122
123 if use udev; then
124 insinto "$(get_udevdir)"/rules.d
125 doins "${FILESDIR}"/99-pcscd-hotplug.rules
126 fi
127 }
128
129 pkg_postinst() {
130 elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in"
131 elog "the pcscd group, to avoid running as root."
132 elog ""
133 elog "This also means you need the newest drivers available so that the"
134 elog "devices get the proper owner."
135 elog ""
136 elog "Furthermore, a conf.d file is no longer installed by default, as"
137 elog "the default configuration does not require one. If you need to"
138 elog "pass further options to pcscd, create a file and set the"
139 elog "EXTRA_OPTS variable."
140 elog ""
141 if use udev; then
142 elog "Hotplug support is provided by udev rules; you only need to tell"
143 elog "the init system to hotplug it, by setting this variable in"
144 elog "/etc/rc.conf:"
145 elog ""
146 elog " rc_hotplug=\"pcscd\""
147 fi
148 }