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.4.ebuild
Date: Tue, 28 Sep 2010 23:37:18
Message-Id: 20100928233716.0D50220051@flycatcher.gentoo.org
1 flameeyes 10/09/28 23:37:16
2
3 Modified: ChangeLog
4 Added: pcsc-lite-1.6.4.ebuild
5 Log:
6 Version bump; the new version has an improved init script that takes less time to start (no process creation for depend calculation), and properly uses s-s-d to respect system limits; also upstream moved to libusb-1 rather than the previous libusb-0.
7
8 (Portage version: 2.2_rc88/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.87 sys-apps/pcsc-lite/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 5 Sep 2010 15:54:53 -0000 1.86
24 +++ ChangeLog 28 Sep 2010 23:37:15 -0000 1.87
25 @@ -1,6 +1,15 @@
26 # ChangeLog for sys-apps/pcsc-lite
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.86 2010/09/05 15:54:53 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.87 2010/09/28 23:37:15 flameeyes Exp $
30 +
31 +*pcsc-lite-1.6.4 (28 Sep 2010)
32 +
33 + 28 Sep 2010; Diego E. Pettenò <flameeyes@g.o>
34 + +pcsc-lite-1.6.4.ebuild, +files/pcscd-init.2:
35 + Version bump; the new version has an improved init script that takes less
36 + time to start (no process creation for depend calculation), and properly
37 + uses s-s-d to respect system limits; also upstream moved to libusb-1
38 + rather than the previous libusb-0.
39
40 05 Sep 2010; Raúl Porcel <armin76@g.o> pcsc-lite-1.6.1.ebuild:
41 ia64/m68k/s390/sh/sparc stable wrt #330601
42
43
44
45 1.1 sys-apps/pcsc-lite/pcsc-lite-1.6.4.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.4.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.6.4.ebuild?rev=1.1&content-type=text/plain
49
50 Index: pcsc-lite-1.6.4.ebuild
51 ===================================================================
52 # Copyright 1999-2010 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.4.ebuild,v 1.1 2010/09/28 23:37:15 flameeyes Exp $
55
56 EAPI="3"
57
58 inherit multilib
59
60 DESCRIPTION="PC/SC Architecture smartcard middleware library"
61 HOMEPAGE="http://pcsclite.alioth.debian.org/"
62
63 if [[ "${PV}" = "9999" ]]; then
64 inherit autotools subversion
65 ESVN_REPO_URI="svn://svn.debian.org/pcsclite/trunk"
66 S="${WORKDIR}/trunk"
67 else
68 STUPID_NUM="3337"
69 MY_P="${PN}-${PV/_/-}"
70 SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${MY_P}.tar.bz2"
71 S="${WORKDIR}/${MY_P}"
72 fi
73
74 LICENSE="as-is"
75 SLOT="0"
76 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
77 IUSE="hal static usb"
78
79 RDEPEND="usb? ( virtual/libusb:1 )
80 hal? ( sys-apps/hal )"
81 DEPEND="${RDEPEND}
82 dev-util/pkgconfig"
83
84 pkg_setup() {
85 if use hal && use usb; then
86 ewarn "The usb and hal USE flags cannot be enabled at the same time"
87 ewarn "Disabling the effect of USE=usb"
88 fi
89 }
90
91 if [[ "${PV}" == "9999" ]]; then
92 src_prepare() {
93 S="${WORKDIR}/trunk/PCSC"
94 cd "${S}"
95 AT_M4DIR="m4" eautoreconf
96 }
97 fi
98
99 src_configure() {
100 local myconf
101 if use hal; then
102 myconf="--enable-libhal --disable-libusb"
103 else
104 myconf="--disable-libhal $(use_enable usb libusb)"
105 fi
106
107 econf \
108 --docdir="/usr/share/doc/${PF}" \
109 --enable-usbdropdir="/usr/$(get_libdir)/readers/usb" \
110 ${myconf} \
111 $(use_enable static)
112 }
113
114 src_install() {
115 emake DESTDIR="${D}" install || die "emake install failed"
116 dodoc AUTHORS DRIVERS HELP README SECURITY ChangeLog || die
117
118 newinitd "${FILESDIR}/pcscd-init.2" pcscd || die
119 newconfd "${FILESDIR}/pcscd-confd" pcscd || die
120
121 if ! use hal; then
122 sed -i -e '/need hald/d' "${D}"/etc/init.d/pcscd || die
123 fi
124 }