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.6.7.ebuild pcsc-lite-1.6.6-r1.ebuild
Date: Wed, 23 Feb 2011 00:19:48
Message-Id: 20110223001938.7C7B020054@flycatcher.gentoo.org
1 flameeyes 11/02/23 00:19:38
2
3 Modified: ChangeLog
4 Added: pcsc-lite-1.6.7.ebuild
5 Removed: pcsc-lite-1.6.6-r1.ebuild
6 Log:
7 Version bump; upstream merged my patch and made a new release. Also drop .la file.
8
9 (Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.105 sys-apps/pcsc-lite/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.105&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.105&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.104&r2=1.105
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v
21 retrieving revision 1.104
22 retrieving revision 1.105
23 diff -u -r1.104 -r1.105
24 --- ChangeLog 22 Feb 2011 11:55:59 -0000 1.104
25 +++ ChangeLog 23 Feb 2011 00:19:38 -0000 1.105
26 @@ -1,6 +1,14 @@
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.104 2011/02/22 11:55:59 flameeyes Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.105 2011/02/23 00:19:38 flameeyes Exp $
31 +
32 +*pcsc-lite-1.6.7 (23 Feb 2011)
33 +
34 + 23 Feb 2011; Diego E. Pettenò <flameeyes@g.o>
35 + -pcsc-lite-1.6.6-r1.ebuild,
36 + -files/pcsc-lite-1.6.6-libusb-multiinterface.patch, +pcsc-lite-1.6.7.ebuild:
37 + Version bump; upstream merged my patch and made a new release. Also drop .la
38 + file.
39
40 *pcsc-lite-1.6.6-r1 (22 Feb 2011)
41
42
43
44
45 1.1 sys-apps/pcsc-lite/pcsc-lite-1.6.7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.7.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.7.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pcsc-lite-1.6.7.ebuild
51 ===================================================================
52 # Copyright 1999-2011 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.7.ebuild,v 1.1 2011/02/23 00:19:38 flameeyes Exp $
55
56 EAPI="3"
57
58 inherit multilib eutils
59
60 DESCRIPTION="PC/SC Architecture smartcard middleware library"
61 HOMEPAGE="http://pcsclite.alioth.debian.org/"
62
63 STUPID_NUM="3516"
64 MY_P="${PN}-${PV/_/-}"
65 SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.bz2"
66 S="${WORKDIR}/${MY_P}"
67
68 LICENSE="as-is"
69 SLOT="0"
70 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
71 IUSE="usb kernel_linux"
72
73 RDEPEND="usb? ( virtual/libusb:1 )"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig"
76 RDEPEND="${RDEPEND}
77 !<app-crypt/ccid-1.4.1-r1
78 kernel_linux? ( sys-fs/udev )"
79
80 pkg_setup() {
81 enewgroup pcscd
82 }
83
84 src_configure() {
85 econf \
86 --disable-maintainer-mode \
87 --disable-dependency-tracking \
88 --docdir="/usr/share/doc/${PF}" \
89 --enable-usbdropdir="/usr/$(get_libdir)/readers/usb" \
90 $(use_enable usb libusb) \
91 --disable-libhal
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die "emake install failed"
96 find "${D}" -name '*.la' -delete
97
98 dodoc AUTHORS DRIVERS HELP README SECURITY ChangeLog || die
99
100 newinitd "${FILESDIR}/pcscd-init.3" pcscd || die
101
102 if use kernel_linux; then
103 insinto /lib/udev/rules.d
104 doins "${FILESDIR}"/99-pcscd-hotplug.rules || die
105 fi
106 }
107
108 pkg_postinst() {
109 elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in"
110 elog "the pcscd group, to avoid running as root."
111 elog ""
112 elog "This also means you need the newest drivers available so that the"
113 elog "devices get the proper owner."
114 elog ""
115 elog "Furthermore, a conf.d file is no longer installed by default, as"
116 elog "the default configuration does not require one. If you need to"
117 elog "pass further options to pcscd, create a file and set the"
118 elog "EXTRA_OPTS variable."
119 elog ""
120 if use kernel_linux; then
121 elog "HAL support has been dropped by the ebuild; if you want hotplug"
122 elog "support, that's provided already by UDEV rules; you only need to"
123 elog "tell the init system to hotplug it, by setting this variable in"
124 elog "/etc/rc.conf:"
125 elog ""
126 elog " rc_hotplug=\"pcscd\""
127 fi
128 }