1 |
flameeyes 12/09/01 10:05:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pcsc-lite-1.8.6.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.140 sys-apps/pcsc-lite/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.140&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.140&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.139&r2=1.140 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v |
20 |
retrieving revision 1.139 |
21 |
retrieving revision 1.140 |
22 |
diff -u -r1.139 -r1.140 |
23 |
--- ChangeLog 22 Aug 2012 12:05:45 -0000 1.139 |
24 |
+++ ChangeLog 1 Sep 2012 10:05:56 -0000 1.140 |
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.139 2012/08/22 12:05:45 xmw Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.140 2012/09/01 10:05:56 flameeyes Exp $ |
30 |
+ |
31 |
+*pcsc-lite-1.8.6 (01 Sep 2012) |
32 |
+ |
33 |
+ 01 Sep 2012; Diego E. Pettenò <flameeyes@g.o> +pcsc-lite-1.8.6.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
22 Aug 2012; Michael Weber <xmw@g.o> pcsc-lite-1.8.2.ebuild: |
37 |
ppc stable (bug 411059). |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/pcsc-lite/pcsc-lite-1.8.6.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.6.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.6.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pcsc-lite-1.8.6.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.6.ebuild,v 1.1 2012/09/01 10:05:56 flameeyes Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit multilib eutils user toolchain-funcs |
55 |
|
56 |
DESCRIPTION="PC/SC Architecture smartcard middleware library" |
57 |
HOMEPAGE="http://pcsclite.alioth.debian.org/" |
58 |
|
59 |
STUPID_NUM="3757" |
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 |
virtual/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 |
--disable-silent-rules \ |
93 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
94 |
--enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ |
95 |
--without-systemdsystemunitdir \ |
96 |
$(use_enable udev libudev) \ |
97 |
$(use_enable libusb) \ |
98 |
${myconf} |
99 |
} |
100 |
|
101 |
DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog ) |
102 |
|
103 |
src_install() { |
104 |
default |
105 |
prune_libtool_files |
106 |
|
107 |
newinitd "${FILESDIR}/pcscd-init.5" pcscd |
108 |
|
109 |
if use udev; then |
110 |
local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" |
111 |
insinto "${udevdir}"/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 |
} |