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: ChangeLog pcsc-lite-1.7.2.ebuild pcsc-lite-1.7.1.ebuild
Date: Thu, 31 Mar 2011 20:52:16
Message-Id: 20110331205206.6377F20054@flycatcher.gentoo.org
1 flameeyes 11/03/31 20:52:06
2
3 Modified: ChangeLog
4 Added: pcsc-lite-1.7.2.ebuild
5 Removed: pcsc-lite-1.7.1.ebuild
6 Log:
7 Version bump.
8
9 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.111 sys-apps/pcsc-lite/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.111&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.111&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.110&r2=1.111
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v
21 retrieving revision 1.110
22 retrieving revision 1.111
23 diff -u -r1.110 -r1.111
24 --- ChangeLog 30 Mar 2011 09:38:34 -0000 1.110
25 +++ ChangeLog 31 Mar 2011 20:52:06 -0000 1.111
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sys-apps/pcsc-lite
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.110 2011/03/30 09:38:34 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.111 2011/03/31 20:52:06 flameeyes Exp $
31 +
32 +*pcsc-lite-1.7.2 (31 Mar 2011)
33 +
34 + 31 Mar 2011; Diego E. Pettenò <flameeyes@g.o>
35 + -pcsc-lite-1.7.1.ebuild, +pcsc-lite-1.7.2.ebuild:
36 + Version bump.
37
38 *pcsc-lite-1.7.1 (30 Mar 2011)
39
40
41
42
43 1.1 sys-apps/pcsc-lite/pcsc-lite-1.7.2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.7.2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.7.2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pcsc-lite-1.7.2.ebuild
49 ===================================================================
50 # Copyright 1999-2011 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.7.2.ebuild,v 1.1 2011/03/31 20:52:06 flameeyes Exp $
53
54 EAPI="3"
55
56 inherit multilib eutils
57
58 DESCRIPTION="PC/SC Architecture smartcard middleware library"
59 HOMEPAGE="http://pcsclite.alioth.debian.org/"
60
61 STUPID_NUM="3533"
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"
69 IUSE="usb kernel_linux"
70
71 RDEPEND="!kernel_linux? ( usb? ( virtual/libusb:1 ) )
72 kernel_linux? ( sys-fs/udev )"
73 DEPEND="${RDEPEND}
74 dev-util/pkgconfig"
75 RDEPEND="${RDEPEND}
76 !<app-crypt/ccid-1.4.1-r1"
77
78 pkg_setup() {
79 enewgroup pcscd
80 }
81
82 src_configure() {
83 local myconf=
84
85 if use kernel_linux; then
86 myconf="${myconf} --enable-libudev --disable-libusb"
87 else
88 myconf="${myconf} --disable-libudev $(use_enable usb libusb)"
89 fi
90
91 econf \
92 --disable-maintainer-mode \
93 --disable-dependency-tracking \
94 --docdir="/usr/share/doc/${PF}" \
95 --enable-usbdropdir="/usr/$(get_libdir)/readers/usb" \
96 ${myconf}
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 find "${D}" -name '*.la' -delete
102
103 dodoc AUTHORS DRIVERS HELP README SECURITY ChangeLog || die
104
105 newinitd "${FILESDIR}/pcscd-init.3" pcscd || die
106
107 if use kernel_linux; then
108 insinto /lib/udev/rules.d
109 doins "${FILESDIR}"/99-pcscd-hotplug.rules || die
110 fi
111 }
112
113 pkg_postinst() {
114 elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in"
115 elog "the pcscd group, to avoid running as root."
116 elog ""
117 elog "This also means you need the newest drivers available so that the"
118 elog "devices get the proper owner."
119 elog ""
120 elog "Furthermore, a conf.d file is no longer installed by default, as"
121 elog "the default configuration does not require one. If you need to"
122 elog "pass further options to pcscd, create a file and set the"
123 elog "EXTRA_OPTS variable."
124 elog ""
125 if use kernel_linux; then
126 elog "HAL support has been dropped by the ebuild; if you want hotplug"
127 elog "support, that's provided already by UDEV rules; you only need to"
128 elog "tell 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 }