1 |
flameeyes 12/06/19 13:56:54 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: openct-0.6.20-r2.ebuild |
5 |
Removed: openct-0.6.20-r1.ebuild |
6 |
Log: |
7 |
Update init script to use checkpath instead of using keepdir in the ebuild; add an udev USE flag to not install the rules; use EAPI=4; use append-cppflags for -DDEBUG_IFDH. |
8 |
|
9 |
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.7 dev-libs/openct/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/metadata.xml?rev=1.7&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/metadata.xml?rev=1.7&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/metadata.xml?r1=1.6&r2=1.7 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/openct/metadata.xml,v |
21 |
retrieving revision 1.6 |
22 |
retrieving revision 1.7 |
23 |
diff -u -r1.6 -r1.7 |
24 |
--- metadata.xml 13 Apr 2011 18:07:51 -0000 1.6 |
25 |
+++ metadata.xml 19 Jun 2012 13:56:54 -0000 1.7 |
26 |
@@ -11,5 +11,9 @@ |
27 |
<flag name="debug"> |
28 |
Add debug output to the driver library for pcsc-lite. |
29 |
</flag> |
30 |
+ |
31 |
+ <flag name="udev"> |
32 |
+ Install rules for <pkg>sys-fs/udev</pkg> to auto-start openct. |
33 |
+ </flag> |
34 |
</use> |
35 |
</pkgmetadata> |
36 |
|
37 |
|
38 |
|
39 |
1.98 dev-libs/openct/ChangeLog |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/ChangeLog?rev=1.98&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/ChangeLog?rev=1.98&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/ChangeLog?r1=1.97&r2=1.98 |
44 |
|
45 |
Index: ChangeLog |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v |
48 |
retrieving revision 1.97 |
49 |
retrieving revision 1.98 |
50 |
diff -u -r1.97 -r1.98 |
51 |
--- ChangeLog 6 Jun 2012 03:45:11 -0000 1.97 |
52 |
+++ ChangeLog 19 Jun 2012 13:56:54 -0000 1.98 |
53 |
@@ -1,6 +1,14 @@ |
54 |
# ChangeLog for dev-libs/openct |
55 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.97 2012/06/06 03:45:11 zmedico Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/ChangeLog,v 1.98 2012/06/19 13:56:54 flameeyes Exp $ |
58 |
+ |
59 |
+*openct-0.6.20-r2 (19 Jun 2012) |
60 |
+ |
61 |
+ 19 Jun 2012; Diego E. Pettenò <flameeyes@g.o> +files/openct.rc.2, |
62 |
+ +openct-0.6.20-r2.ebuild, -openct-0.6.20-r1.ebuild, metadata.xml: |
63 |
+ Update init script to use checkpath instead of using keepdir in the ebuild; |
64 |
+ add an udev USE flag to not install the rules; use EAPI=4; use append-cppflags |
65 |
+ for -DDEBUG_IFDH. |
66 |
|
67 |
06 Jun 2012; Zac Medico <zmedico@g.o> openct-0.6.20-r1.ebuild, |
68 |
openct-0.6.20.ebuild: |
69 |
|
70 |
|
71 |
|
72 |
1.1 dev-libs/openct/openct-0.6.20-r2.ebuild |
73 |
|
74 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/openct-0.6.20-r2.ebuild?rev=1.1&view=markup |
75 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/openct/openct-0.6.20-r2.ebuild?rev=1.1&content-type=text/plain |
76 |
|
77 |
Index: openct-0.6.20-r2.ebuild |
78 |
=================================================================== |
79 |
# Copyright 1999-2012 Gentoo Foundation |
80 |
# Distributed under the terms of the GNU General Public License v2 |
81 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/openct/openct-0.6.20-r2.ebuild,v 1.1 2012/06/19 13:56:54 flameeyes Exp $ |
82 |
|
83 |
EAPI=4 |
84 |
|
85 |
inherit eutils flag-o-matic multilib user |
86 |
|
87 |
DESCRIPTION="library for accessing smart card terminals" |
88 |
HOMEPAGE="http://www.opensc-project.org/openct/" |
89 |
|
90 |
SRC_URI="http://www.opensc-project.org/files/${PN}/${P}.tar.gz" |
91 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
92 |
|
93 |
LICENSE="LGPL-2.1" |
94 |
SLOT="0" |
95 |
IUSE="doc pcsc-lite usb debug +udev" |
96 |
|
97 |
# libtool is required at runtime for libltdl |
98 |
RDEPEND="pcsc-lite? ( >=sys-apps/pcsc-lite-1.7.2-r1 ) |
99 |
usb? ( virtual/libusb:0 ) |
100 |
sys-devel/libtool" |
101 |
|
102 |
DEPEND="${RDEPEND} |
103 |
doc? ( app-doc/doxygen )" |
104 |
|
105 |
# udev is not required at all at build-time as it's only a matter of |
106 |
# installing the rules; add openrc for the checkpath used in the new |
107 |
# init script |
108 |
RDEPEND="${RDEPEND} |
109 |
udev? ( >=sys-fs/udev-096 ) |
110 |
sys-apps/openrc" |
111 |
|
112 |
pkg_setup() { |
113 |
enewgroup openct |
114 |
enewuser openctd |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
use debug && append-cppflags -DDEBUG_IFDH |
119 |
|
120 |
econf \ |
121 |
--docdir="/usr/share/doc/${PF}" \ |
122 |
--htmldir="/usr/share/doc/${PF}/html" \ |
123 |
--localstatedir=/var \ |
124 |
--with-udev="/$(get_libdir)/udev" \ |
125 |
--enable-non-privileged \ |
126 |
--with-daemon-user=openctd \ |
127 |
--with-daemon-groups=usb \ |
128 |
--enable-shared --disable-static \ |
129 |
$(use_enable doc) \ |
130 |
$(use_enable doc api-doc) \ |
131 |
$(use_enable pcsc-lite pcsc) \ |
132 |
$(use_with pcsc-lite bundle /usr/$(get_libdir)/readers/usb) \ |
133 |
$(use_enable usb) |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
emake DESTDIR="${D}" install |
138 |
find "${D}" -name '*.la' -delete |
139 |
rm "${D}"/usr/$(get_libdir)/openct-ifd.* |
140 |
|
141 |
if use udev; then |
142 |
insinto /lib/udev/rules.d/ |
143 |
newins etc/openct.udev 70-openct.rules |
144 |
fi |
145 |
|
146 |
newinitd "${FILESDIR}"/openct.rc.2 openct |
147 |
} |
148 |
|
149 |
pkg_postinst() { |
150 |
elog |
151 |
elog "You need to edit /etc/openct.conf to enable serial readers." |
152 |
elog |
153 |
elog "You should add \"openct\" to your default runlevel. To do so" |
154 |
elog "type \"rc-update add openct default\"." |
155 |
elog |
156 |
elog "You need to be a member of the (newly created) group openct to" |
157 |
elog "access smart card readers connected to this system. Set users'" |
158 |
elog "groups with usermod -G. root always has access." |
159 |
elog |
160 |
} |