1 |
vapier 14/05/04 15:51:25 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bioapi-1.2.4.ebuild |
5 |
Log: |
6 |
Version bump #450640 by Agostino Sarubbo. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key D2E96200) |
9 |
|
10 |
Revision Changes Path |
11 |
1.16 sys-auth/bioapi/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/bioapi/ChangeLog?rev=1.16&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/bioapi/ChangeLog?rev=1.16&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/bioapi/ChangeLog?r1=1.15&r2=1.16 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v |
20 |
retrieving revision 1.15 |
21 |
retrieving revision 1.16 |
22 |
diff -u -r1.15 -r1.16 |
23 |
--- ChangeLog 24 May 2012 05:03:44 -0000 1.15 |
24 |
+++ ChangeLog 4 May 2014 15:51:25 -0000 1.16 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-auth/bioapi |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.15 2012/05/24 05:03:44 vapier Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/ChangeLog,v 1.16 2014/05/04 15:51:25 vapier Exp $ |
31 |
+ |
32 |
+*bioapi-1.2.4 (04 May 2014) |
33 |
+ |
34 |
+ 04 May 2014; Mike Frysinger <vapier@g.o> +bioapi-1.2.4.ebuild, |
35 |
+ +files/bioapi-1.2.4-build.patch: |
36 |
+ Version bump #450640 by Agostino Sarubbo. |
37 |
|
38 |
24 May 2012; Mike Frysinger <vapier@g.o> bioapi-1.2.3-r2.ebuild: |
39 |
Inherit user for enewuser/etc... |
40 |
@@ -63,4 +69,3 @@ |
41 |
+bioapi-1.2.2.ebuild: |
42 |
Initial import. Ebuild by Jochen Maes <jochen.maes@××××.be> who will be |
43 |
maintaining this package. I will be his proxy maintainer. |
44 |
- |
45 |
|
46 |
|
47 |
|
48 |
1.1 sys-auth/bioapi/bioapi-1.2.4.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/bioapi/bioapi-1.2.4.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/bioapi/bioapi-1.2.4.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: bioapi-1.2.4.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2014 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/bioapi/bioapi-1.2.4.ebuild,v 1.1 2014/05/04 15:51:25 vapier Exp $ |
58 |
|
59 |
EAPI="4" |
60 |
|
61 |
inherit eutils multilib user |
62 |
|
63 |
DESCRIPTION="Framework for biometric-based authentication" |
64 |
HOMEPAGE="http://code.google.com/p/bioapi-linux/" |
65 |
SRC_URI="http://bioapi-linux.googlecode.com/files/${PN}_${PV}.tar.gz" |
66 |
|
67 |
LICENSE="bioapi" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="static-libs" |
71 |
|
72 |
S=${WORKDIR}/bioapi-linux |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${PN}-1.2.3-no-delete.patch |
76 |
epatch "${FILESDIR}"/${PN}-1.2.4-build.patch #336107 |
77 |
} |
78 |
|
79 |
src_configure() { |
80 |
econf \ |
81 |
$(use_enable static-libs static) \ |
82 |
--without-Qt-dir |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
SKIPCONFIG=true default |
87 |
use static-libs || find "${ED}" -name '*.la' -delete |
88 |
dohtml *.htm |
89 |
|
90 |
# rename generic binaries |
91 |
mv "${D}"/usr/bin/{,BioAPI}Sample || die |
92 |
} |
93 |
|
94 |
pkg_config() { |
95 |
mds_install -s /usr/$(get_libdir) |
96 |
mod_install -fi /usr/$(get_libdir)/libbioapi100.so |
97 |
mod_install -fi /usr/$(get_libdir)/libbioapi_dummy100.so |
98 |
mod_install -fi /usr/$(get_libdir)/libpwbsp.so |
99 |
} |
100 |
|
101 |
pkg_preinst() { |
102 |
if [[ -e ${EROOT}/var/bioapi ]] && [[ ! -e ${EROOT}/var/lib/bioapi ]] ; then |
103 |
einfo "Moving /var/bioapi to /var/lib/bioapi" |
104 |
dodir /var/lib |
105 |
mv "${ROOT}"/var/bioapi "${ROOT}"/var/lib/bioapi |
106 |
fi |
107 |
} |
108 |
|
109 |
pkg_postinst() { |
110 |
einfo "Some generic-named programs have been renamed:" |
111 |
einfo " Sample -> BioAPISample" |
112 |
|
113 |
if [[ ${EROOT} == "/" ]] ; then |
114 |
pkg_config |
115 |
else |
116 |
ewarn "You will need to run 'emerge --config bioapi' before" |
117 |
ewarn " you can use bioapi properly." |
118 |
fi |
119 |
|
120 |
# XXX: this can't be correct ... |
121 |
enewgroup bioapi |
122 |
chgrp bioapi "${EROOT}"/var/lib/bioapi -R |
123 |
chmod g+w,o= "${EROOT}"/var/lib/bioapi -R |
124 |
einfo "Note: users using bioapi must be in group bioapi." |
125 |
} |
126 |
|
127 |
pkg_prerm() { |
128 |
mod_install -fu libbioapi100.so |
129 |
mod_install -fu libbioapi_dummy100.so |
130 |
mod_install -fu libpwbsp.so |
131 |
} |