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