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.4.ebuild ChangeLog pcsc-lite-1.7.2-r2.ebuild
Date: Tue, 26 Jun 2012 21:36:01
Message-Id: 20120626213546.449AF2004B@flycatcher.gentoo.org
1 flameeyes 12/06/26 21:35:46
2
3 Modified: ChangeLog
4 Added: pcsc-lite-1.8.4.ebuild
5 Removed: pcsc-lite-1.7.2-r2.ebuild
6 Log:
7 Version bump and remove old.
8
9 (Portage version: 2.2.0_alpha113/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.136 sys-apps/pcsc-lite/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.136&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.136&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.135&r2=1.136
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v
21 retrieving revision 1.135
22 retrieving revision 1.136
23 diff -u -r1.135 -r1.136
24 --- ChangeLog 24 May 2012 04:12:01 -0000 1.135
25 +++ ChangeLog 26 Jun 2012 21:35:46 -0000 1.136
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-apps/pcsc-lite
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.135 2012/05/24 04:12:01 vapier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.136 2012/06/26 21:35:46 flameeyes Exp $
31 +
32 +*pcsc-lite-1.8.4 (26 Jun 2012)
33 +
34 + 26 Jun 2012; Diego E. Pettenò <flameeyes@g.o> +pcsc-lite-1.8.4.ebuild,
35 + -files/pcscd-init.4, -pcsc-lite-1.7.2-r2.ebuild:
36 + Version bump and remove old.
37
38 24 May 2012; Mike Frysinger <vapier@g.o> pcsc-lite-1.6.6-r2.ebuild,
39 pcsc-lite-1.7.2-r2.ebuild, pcsc-lite-1.8.2.ebuild, pcsc-lite-1.8.3.ebuild:
40
41
42
43 1.1 sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pcsc-lite-1.8.4.ebuild
49 ===================================================================
50 # Copyright 1999-2012 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.4.ebuild,v 1.1 2012/06/26 21:35:46 flameeyes Exp $
53
54 EAPI="4"
55
56 inherit multilib eutils user
57
58 DESCRIPTION="PC/SC Architecture smartcard middleware library"
59 HOMEPAGE="http://pcsclite.alioth.debian.org/"
60
61 STUPID_NUM="3734"
62 MY_P="${PN}-${PV/_/-}"
63 SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.bz2"
64 S="${WORKDIR}/${MY_P}"
65
66 LICENSE="as-is"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
69
70 # This is called libusb so that it doesn't fool people in thinking that
71 # it is _required_ for USB support. Otherwise they'll disable udev and
72 # that's going to be worse.
73 IUSE="libusb +udev"
74
75 REQUIRED_USE="^^ ( udev libusb )"
76
77 CDEPEND="libusb? ( virtual/libusb:1 )
78 udev? ( sys-fs/udev )"
79 DEPEND="${CDEPEND}
80 virtual/pkgconfig"
81 RDEPEND="${CDEPEND}
82 !<app-crypt/ccid-1.4.1-r1"
83
84 pkg_setup() {
85 enewgroup openct # make sure it exists
86 enewgroup pcscd
87 enewuser pcscd -1 -1 /var/run/pcscd pcscd,openct
88 }
89
90 src_configure() {
91 econf \
92 --disable-maintainer-mode \
93 --disable-dependency-tracking \
94 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
95 --enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \
96 --without-systemdsystemunitdir \
97 $(use_enable udev libudev) \
98 $(use_enable libusb) \
99 ${myconf}
100 }
101
102 DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog )
103
104 src_install() {
105 default
106 find "${D}" -name '*.la' -delete
107
108 newinitd "${FILESDIR}/pcscd-init.5" pcscd
109
110 if use udev; then
111 insinto /lib/udev/rules.d
112 doins "${FILESDIR}"/99-pcscd-hotplug.rules
113 fi
114 }
115
116 pkg_postinst() {
117 elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in"
118 elog "the pcscd group, to avoid running as root."
119 elog ""
120 elog "This also means you need the newest drivers available so that the"
121 elog "devices get the proper owner."
122 elog ""
123 elog "Furthermore, a conf.d file is no longer installed by default, as"
124 elog "the default configuration does not require one. If you need to"
125 elog "pass further options to pcscd, create a file and set the"
126 elog "EXTRA_OPTS variable."
127 elog ""
128 if use udev; then
129 elog "Hotplug support is provided by udev rules; you only need to tell"
130 elog "the init system to hotplug it, by setting this variable in"
131 elog "/etc/rc.conf:"
132 elog ""
133 elog " rc_hotplug=\"pcscd\""
134 fi
135 }