1 |
alonbl 14/09/30 11:33:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pcsc-lite-1.8.12-r1.ebuild |
5 |
Removed: pcsc-lite-1.8.12.ebuild |
6 |
Log: |
7 |
Force python2, bug#524024 |
8 |
|
9 |
(Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
10 |
|
11 |
Revision Changes Path |
12 |
1.175 sys-apps/pcsc-lite/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.175&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?rev=1.175&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/ChangeLog?r1=1.174&r2=1.175 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v |
21 |
retrieving revision 1.174 |
22 |
retrieving revision 1.175 |
23 |
diff -u -r1.174 -r1.175 |
24 |
--- ChangeLog 30 Sep 2014 05:41:53 -0000 1.174 |
25 |
+++ ChangeLog 30 Sep 2014 11:33:39 -0000 1.175 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-apps/pcsc-lite |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.174 2014/09/30 05:41:53 alonbl Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-lite/ChangeLog,v 1.175 2014/09/30 11:33:39 alonbl Exp $ |
31 |
+ |
32 |
+*pcsc-lite-1.8.12-r1 (30 Sep 2014) |
33 |
+ |
34 |
+ 30 Sep 2014; Alon Bar-Lev <alonbl@g.o> +pcsc-lite-1.8.12-r1.ebuild, |
35 |
+ -pcsc-lite-1.8.12.ebuild: |
36 |
+ Force python2, bug#524024 |
37 |
|
38 |
30 Sep 2014; Alon Bar-Lev <alonbl@g.o> -pcsc-lite-1.8.2.ebuild: |
39 |
Cleanup |
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pcsc-lite/pcsc-lite-1.8.12-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: pcsc-lite-1.8.12-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 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.8.12-r1.ebuild,v 1.1 2014/09/30 11:33:39 alonbl Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
|
57 |
inherit autotools eutils python-single-r1 multilib systemd udev user |
58 |
|
59 |
DESCRIPTION="PC/SC Architecture smartcard middleware library" |
60 |
HOMEPAGE="http://pcsclite.alioth.debian.org/" |
61 |
|
62 |
STUPID_NUM="4115" |
63 |
MY_P="${PN}-${PV/_/-}" |
64 |
SRC_URI="http://alioth.debian.org/download.php/file/${STUPID_NUM}/${MY_P}.tar.bz2" |
65 |
S="${WORKDIR}/${MY_P}" |
66 |
|
67 |
# GPL-2 is there for the init script; everything else comes from |
68 |
# upstream. |
69 |
LICENSE="BSD ISC MIT GPL-3+ GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
72 |
|
73 |
# This is called libusb so that it doesn't fool people in thinking that |
74 |
# it is _required_ for USB support. Otherwise they'll disable udev and |
75 |
# that's going to be worse. |
76 |
IUSE="libusb policykit selinux +udev" |
77 |
|
78 |
REQUIRED_USE="^^ ( udev libusb )" |
79 |
|
80 |
CDEPEND="${PYTHON_DEPS} |
81 |
libusb? ( virtual/libusb:1 ) |
82 |
selinux? ( sec-policy/selinux-pcscd ) |
83 |
udev? ( virtual/udev ) |
84 |
policykit? ( >=sys-auth/polkit-0.111 )" |
85 |
DEPEND="${CDEPEND} |
86 |
virtual/pkgconfig" |
87 |
RDEPEND="${CDEPEND} |
88 |
!<app-crypt/ccid-1.4.1-r1 |
89 |
!<sys-apps/baselayout-2 |
90 |
!<sys-apps/openrc-0.11.8" |
91 |
|
92 |
pkg_setup() { |
93 |
python-single-r1_pkg_setup |
94 |
|
95 |
enewgroup openct # make sure it exists |
96 |
enewgroup pcscd |
97 |
enewuser pcscd -1 -1 /run/pcscd pcscd,openct |
98 |
} |
99 |
|
100 |
src_prepare() { |
101 |
epatch "${FILESDIR}"/${PN}-1.8.11-polkit-pcscd.patch |
102 |
|
103 |
eautoreconf |
104 |
} |
105 |
|
106 |
src_configure() { |
107 |
econf \ |
108 |
--disable-maintainer-mode \ |
109 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
110 |
--enable-usbdropdir="${EPREFIX}/usr/$(get_libdir)/readers/usb" \ |
111 |
--enable-ipcdir=/run/pcscd \ |
112 |
$(use_enable udev libudev) \ |
113 |
$(use_enable libusb) \ |
114 |
$(use_enable policykit polkit) \ |
115 |
"$(systemd_with_unitdir)" \ |
116 |
${myconf} |
117 |
} |
118 |
|
119 |
DOCS=( AUTHORS DRIVERS HELP README SECURITY ChangeLog ) |
120 |
|
121 |
src_install() { |
122 |
default |
123 |
prune_libtool_files |
124 |
|
125 |
newinitd "${FILESDIR}"/pcscd-init.7 pcscd |
126 |
|
127 |
if use udev; then |
128 |
insinto "$(get_udevdir)"/rules.d |
129 |
doins "${FILESDIR}"/99-pcscd-hotplug.rules |
130 |
fi |
131 |
|
132 |
python_fix_shebang "${ED}/usr/bin" |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
elog "Starting from version 1.6.5, pcsc-lite will start as user nobody in" |
137 |
elog "the pcscd group, to avoid running as root." |
138 |
elog "" |
139 |
elog "This also means you need the newest drivers available so that the" |
140 |
elog "devices get the proper owner." |
141 |
elog "" |
142 |
elog "Furthermore, a conf.d file is no longer installed by default, as" |
143 |
elog "the default configuration does not require one. If you need to" |
144 |
elog "pass further options to pcscd, create a file and set the" |
145 |
elog "EXTRA_OPTS variable." |
146 |
elog "" |
147 |
if use udev; then |
148 |
elog "Hotplug support is provided by udev rules; you only need to tell" |
149 |
elog "the init system to hotplug it, by setting this variable in" |
150 |
elog "/etc/rc.conf:" |
151 |
elog "" |
152 |
elog " rc_hotplug=\"pcscd\"" |
153 |
fi |
154 |
} |