1 |
flameeyes 12/11/30 16:29:52 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pcsc-lite-1.8.7.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342) |
9 |
|
10 |
Revision Changes Path |
11 |
1.150 sys-apps/pcsc-lite/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.150&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.150&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.149&r2=1.150 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v |
20 |
retrieving revision 1.149 |
21 |
retrieving revision 1.150 |
22 |
diff -u -r1.149 -r1.150 |
23 |
--- ChangeLog 28 Nov 2012 22:50:01 -0000 1.149 |
24 |
+++ ChangeLog 30 Nov 2012 16:29:52 -0000 1.150 |
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.149 2012/11/28 22:50:01 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.150 2012/11/30 16:29:52 flameeyes Exp $ |
30 |
+ |
31 |
+*pcsc-lite-1.8.7 (30 Nov 2012) |
32 |
+ |
33 |
+ 30 Nov 2012; Diego E. Pettenò <flameeyes@g.o> +pcsc-lite-1.8.7.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
28 Nov 2012; Samuli Suominen <ssuominen@g.o> |
37 |
pcsc-lite-1.6.6-r2.ebuild, pcsc-lite-1.8.2.ebuild, pcsc-lite-1.8.6.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/pcsc-lite/pcsc-lite-1.8.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pcsc-lite-1.8.7.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.7.ebuild,v 1.1 2012/11/30 16:29:52 flameeyes Exp $ |
51 |
|
52 |
EAPI="4" |
53 |
|
54 |
inherit eutils multilib udev user |
55 |
|
56 |
DESCRIPTION="PC/SC Architecture smartcard middleware library" |
57 |
HOMEPAGE="http://pcsclite.alioth.debian.org/" |
58 |
|
59 |
STUPID_NUM="3842" |
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="BSD ISC MIT GPL-3+" |
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? ( virtual/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-silent-rules \ |
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 |
prune_libtool_files |
105 |
|
106 |
newinitd "${FILESDIR}"/pcscd-init.5 pcscd |
107 |
|
108 |
if use udev; then |
109 |
insinto "$(udev_get_udevdir)"/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 |
} |