From: | "Maxim Koltsov (maksbotan)" <maksbotan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-auth/fingerprint-gui: fingerprint-gui-1.07.ebuild ChangeLog |
Date: | Tue, 28 Jul 2015 11:52:41 |
Message-Id: | 20150728115233.8C779C1@oystercatcher.gentoo.org |
1 | maksbotan 15/07/28 11:52:33 |
2 | |
3 | Modified: ChangeLog |
4 | Added: fingerprint-gui-1.07.ebuild |
5 | Log: |
6 | Bump to 1.07 |
7 | |
8 | (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE) |
9 | |
10 | Revision Changes Path |
11 | 1.13 sys-auth/fingerprint-gui/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog?rev=1.13&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog?rev=1.13&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog?r1=1.12&r2=1.13 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v |
20 | retrieving revision 1.12 |
21 | retrieving revision 1.13 |
22 | diff -u -r1.12 -r1.13 |
23 | --- ChangeLog 9 Jun 2015 16:20:06 -0000 1.12 |
24 | +++ ChangeLog 28 Jul 2015 11:52:33 -0000 1.13 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-auth/fingerprint-gui |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v 1.12 2015/06/09 16:20:06 xmw Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/ChangeLog,v 1.13 2015/07/28 11:52:33 maksbotan Exp $ |
30 | + |
31 | +*fingerprint-gui-1.07 (28 Jul 2015) |
32 | + |
33 | + 28 Jul 2015; Maxim Koltsov <maksbotan@g.o> |
34 | + +fingerprint-gui-1.07.ebuild: |
35 | + Bump to 1.07 |
36 | |
37 | *fingerprint-gui-1.06 (09 Jun 2015) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: fingerprint-gui-1.07.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2015 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-auth/fingerprint-gui/fingerprint-gui-1.07.ebuild,v 1.1 2015/07/28 11:52:33 maksbotan Exp $ |
52 | |
53 | EAPI=5 |
54 | |
55 | inherit eutils multilib qt4-r2 readme.gentoo udev user |
56 | |
57 | DESCRIPTION="Use Fingerprint Devices with Linux" |
58 | HOMEPAGE="http://www.n-view.net/Appliance/fingerprint/" |
59 | HOMEPAGE="http://www.ullrich-online.cc/fingerprint/" |
60 | SRC_URI="http://www.ullrich-online.cc/${PN%-gui}/download/${P}.tar.gz" |
61 | |
62 | LICENSE="GPL-3" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="+upekbsapi" |
66 | |
67 | DEPEND="app-crypt/qca:2[openssl,qt4(+)] |
68 | sys-auth/libfprint |
69 | sys-auth/polkit-qt[qt4(+)] |
70 | sys-libs/pam |
71 | x11-libs/libfakekey |
72 | dev-qt/qtcore:4 |
73 | !sys-auth/thinkfinger" |
74 | RDEPEND="${DEPEND}" |
75 | |
76 | QA_SONAME="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*" |
77 | QA_PRESTRIPPED="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*" |
78 | QA_FLAGS_IGNORED="/usr/lib/libbsapi.so.* /usr/lib64/libbsapi.so.*" |
79 | |
80 | src_prepare() { |
81 | sed -e '/Icon=/s:=.*:=Fingerprint:' \ |
82 | -i bin/${PN}/${PN}.desktop || die |
83 | sed -e "s:/etc/udev/rules.d:\"$(get_udevdir)\"/rules.d:g" \ |
84 | -i bin/${PN%-gui}-helper/${PN%-gui}-helper.pro || die |
85 | sed -e 's:GROUP="plugdev":GROUP="fingerprint":' \ |
86 | -i bin/fingerprint-helper/92-fingerprint-gui-uinput.rules \ |
87 | -i upek/91-fingerprint-gui-upek.rules || die |
88 | } |
89 | |
90 | src_configure() { |
91 | eqmake4 \ |
92 | PREFIX="${EROOT}"usr \ |
93 | LIB="$(get_libdir)" \ |
94 | LIBEXEC=libexec \ |
95 | LIBPOLKIT_QT=LIBPOLKIT_QT_1_1 |
96 | } |
97 | |
98 | src_install() { |
99 | export INSTALL_ROOT="${D}" #submakes need it as well, re-install fails otherwise. |
100 | emake install |
101 | rm -r "${ED}"/usr/share/doc/${PN} || die |
102 | if use upekbsapi ; then |
103 | use amd64 && dolib.so upek/lib64/libbsapi.so* |
104 | use x86 && dolib.so upek/lib/libbsapi.so* |
105 | udev_dorules upek/91-fingerprint-gui-upek.rules |
106 | insinto /etc |
107 | doins upek/upek.cfg |
108 | #dodir /var/upek_data |
109 | #fowners root:plugdev /var/upek_data |
110 | #fperms 0775 /var/upek_data |
111 | fi |
112 | doicon src/res/Fingerprint.png |
113 | |
114 | dodoc CHANGELOG README |
115 | dohtml doc/* |
116 | |
117 | readme.gentoo_src_install |
118 | } |
119 | |
120 | pkg_preinst() { |
121 | enewgroup fingerprint |
122 | } |
123 | |
124 | pkg_postinst() { |
125 | einfo "Fixing permisisons of fingerprints..." |
126 | find "${EROOT}"/var/lib/fingerprint-gui -exec chown root:root {} + || die "chown root:root failed" |
127 | find "${EROOR}"/var/lib/fingerprint-gui -type d -exec chmod 755 {} + || die "chmod 755 failed" |
128 | find "${EROOT}"/var/lib/fingerprint-gui -type f -exec chmod 600 {} + || die "chmod 600 failed" |
129 | |
130 | readme.gentoo_pkg_postinst |
131 | } |
132 | |
133 | FORCE_PRINT_ELOG=1 |
134 | DISABLE_AUTOFORMATTING=1 |
135 | DOC_CONTENTS="Please take a thorough look a the Install-step-by-step.html |
136 | in /usr/share/doc/${PF} for integration with pam/polkit/... |
137 | Hint: You may want |
138 | auth sufficient pam_fingerprint-gui.so |
139 | in /etc/pam.d/system-auth |
140 | |
141 | There are udev rules to enforce group fingerprint on the reader device |
142 | Please put yourself in that group and re-trigger the udev rules." |