1 |
dirtyepic 11/10/31 00:28:57 |
2 |
|
3 |
Modified: ChangeLog thinkfinger-0.3-r3.ebuild |
4 |
Log: |
5 |
Remove --strip-all from LDFLAGS (was causing build failure with GCC 4.6) |
6 |
(bug #371001). Clean up ebuild - EAPI 4, remove useless die calls, install |
7 |
udev scripts in /lib, not $(get_libdir), add static-libs USE and port to |
8 |
autotools-utils eclass. |
9 |
|
10 |
(Portage version: 2.2.0_alpha72/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.12 sys-auth/thinkfinger/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/thinkfinger/ChangeLog?rev=1.12&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/thinkfinger/ChangeLog?rev=1.12&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/thinkfinger/ChangeLog?r1=1.11&r2=1.12 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v |
22 |
retrieving revision 1.11 |
23 |
retrieving revision 1.12 |
24 |
diff -u -r1.11 -r1.12 |
25 |
--- ChangeLog 26 Aug 2011 18:25:53 -0000 1.11 |
26 |
+++ ChangeLog 31 Oct 2011 00:28:57 -0000 1.12 |
27 |
@@ -1,6 +1,13 @@ |
28 |
# ChangeLog for sys-auth/thinkfinger |
29 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.11 2011/08/26 18:25:53 flameeyes Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/ChangeLog,v 1.12 2011/10/31 00:28:57 dirtyepic Exp $ |
32 |
+ |
33 |
+ 31 Oct 2011; Ryan Hill <dirtyepic@g.o> +files/0.3-strip-strip.patch, |
34 |
+ thinkfinger-0.3-r3.ebuild: |
35 |
+ Remove --strip-all from LDFLAGS (was causing build failure with GCC 4.6) |
36 |
+ (bug #371001). Clean up ebuild - EAPI 4, remove useless die calls, install |
37 |
+ udev scripts in /lib, not $(get_libdir), add static-libs USE and port to |
38 |
+ autotools-utils eclass. |
39 |
|
40 |
26 Aug 2011; Diego E. Pettenò <flameeyes@g.o> |
41 |
thinkfinger-0.3-r3.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.3 sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild?rev=1.3&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild?rev=1.3&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild?r1=1.2&r2=1.3 |
50 |
|
51 |
Index: thinkfinger-0.3-r3.ebuild |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild,v |
54 |
retrieving revision 1.2 |
55 |
retrieving revision 1.3 |
56 |
diff -u -r1.2 -r1.3 |
57 |
--- thinkfinger-0.3-r3.ebuild 26 Aug 2011 18:25:53 -0000 1.2 |
58 |
+++ thinkfinger-0.3-r3.ebuild 31 Oct 2011 00:28:57 -0000 1.3 |
59 |
@@ -1,10 +1,10 @@ |
60 |
# Copyright 1999-2011 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild,v 1.2 2011/08/26 18:25:53 flameeyes Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/thinkfinger/thinkfinger-0.3-r3.ebuild,v 1.3 2011/10/31 00:28:57 dirtyepic Exp $ |
64 |
|
65 |
-EAPI=2 |
66 |
+EAPI="4" |
67 |
|
68 |
-inherit eutils linux-info multilib pam |
69 |
+inherit autotools-utils eutils linux-info pam |
70 |
|
71 |
DESCRIPTION="Support for the UPEK/SGS Thomson Microelectronics fingerprint reader, often seen in Thinkpads" |
72 |
HOMEPAGE="http://thinkfinger.sourceforge.net/" |
73 |
@@ -13,24 +13,21 @@ |
74 |
LICENSE="GPL-2" |
75 |
SLOT="0" |
76 |
KEYWORDS="~amd64 ~x86" |
77 |
-IUSE="debug pam" |
78 |
+IUSE="debug pam static-libs" |
79 |
|
80 |
-RDEPEND=">=dev-libs/libusb-0.1.12 |
81 |
+RDEPEND=">=dev-libs/libusb-0.1.12:0 |
82 |
pam? ( virtual/pam )" |
83 |
DEPEND="${RDEPEND} |
84 |
sys-devel/libtool |
85 |
>=dev-util/pkgconfig-0.9.0" |
86 |
|
87 |
-src_prepare() { |
88 |
- epatch "${FILESDIR}"/${PV}-direct_set_config_usb_hello.patch || die |
89 |
- epatch "${FILESDIR}"/${PV}-carriagereturn.patch || die |
90 |
- epatch "${FILESDIR}"/${PV}-send-sync-event.patch || die |
91 |
- epatch "${FILESDIR}"/${PV}-tftoolgroup.patch || die |
92 |
-} |
93 |
- |
94 |
-pkg_preinst() { |
95 |
- enewgroup fingerprint |
96 |
-} |
97 |
+PATCHES=( |
98 |
+ "${FILESDIR}"/${PV}-direct_set_config_usb_hello.patch |
99 |
+ "${FILESDIR}"/${PV}-carriagereturn.patch |
100 |
+ "${FILESDIR}"/${PV}-send-sync-event.patch |
101 |
+ "${FILESDIR}"/${PV}-tftoolgroup.patch |
102 |
+ "${FILESDIR}"/${PV}-strip-strip.patch |
103 |
+) |
104 |
|
105 |
pkg_setup() { |
106 |
if use pam ; then |
107 |
@@ -41,19 +38,25 @@ |
108 |
} |
109 |
|
110 |
src_configure() { |
111 |
- econf \ |
112 |
+ local myeconfargs=( |
113 |
$(use_enable pam) \ |
114 |
$(use_enable debug usb-debug) \ |
115 |
- "--with-securedir=$(getpam_mod_dir)" \ |
116 |
- || die |
117 |
+ "--with-securedir=$(getpam_mod_dir)" |
118 |
+ ) |
119 |
+ autotools-utils_src_configure |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
- emake DESTDIR="${D}" install || die |
124 |
+ DOCS=( AUTHORS ChangeLog NEWS README ) |
125 |
+ autotools-utils_src_install |
126 |
+ |
127 |
keepdir /etc/pam_thinkfinger |
128 |
- dodoc AUTHORS ChangeLog NEWS README || die |
129 |
- insinto /$(get_libdir)/udev/rules.d |
130 |
- doins "${FILESDIR}"/60-thinkfinger.rules || die |
131 |
+ insinto /lib/udev/rules.d |
132 |
+ doins "${FILESDIR}"/60-thinkfinger.rules |
133 |
+} |
134 |
+ |
135 |
+pkg_preinst() { |
136 |
+ enewgroup fingerprint |
137 |
} |
138 |
|
139 |
pkg_postinst() { |