Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/bioapi/, sys-auth/bioapi/files/, profiles/
Date: Tue, 04 Dec 2018 16:57:55
Message-Id: 1543942250.4bc38fa4157575a8ddd1e49a73ab346b6a45d517.mgorny@gentoo
1 commit: 4bc38fa4157575a8ddd1e49a73ab346b6a45d517
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 4 16:50:50 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 4 16:50:50 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc38fa4
7
8 sys-auth/bioapi: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/596648
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/package.mask | 5 --
14 sys-auth/bioapi/Manifest | 1 -
15 sys-auth/bioapi/bioapi-1.2.4.ebuild | 76 ----------------------
16 sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch | 15 -----
17 sys-auth/bioapi/files/bioapi-1.2.4-build.patch | 42 ------------
18 sys-auth/bioapi/metadata.xml | 9 ---
19 6 files changed, 148 deletions(-)
20
21 diff --git a/profiles/package.mask b/profiles/package.mask
22 index 1d94e04c77f..01454212afb 100644
23 --- a/profiles/package.mask
24 +++ b/profiles/package.mask
25 @@ -385,11 +385,6 @@ net-misc/tlsdate
26 # in a month.
27 net-analyzer/w3af
28
29 -# Pacho Ramos <pacho@g.o> (04 Nov 2018)
30 -# pkg_postinst calls pkg_config (#596648), upstream dead for ages. Removal
31 -# in a month.
32 -sys-auth/bioapi
33 -
34 # Andreas Sturmlechner <asturm@g.o> (03 Nov 2018)
35 # Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
36 # See tracker: https://bugs.gentoo.org/670222
37
38 diff --git a/sys-auth/bioapi/Manifest b/sys-auth/bioapi/Manifest
39 deleted file mode 100644
40 index 7d40b0cbe18..00000000000
41 --- a/sys-auth/bioapi/Manifest
42 +++ /dev/null
43 @@ -1 +0,0 @@
44 -DIST bioapi_1.2.4.tar.gz 953136 BLAKE2B 2ce44892f740696ea264776a1e03c170415b26326ddd4b48c73732b9556349860139a62ed0bdfad5eb6b085ed45286cfe838287aac57bca4a9767aa2a06c707d SHA512 99c67fea34b73291dcaeb1590fac88b3196d3ca65f788b92d0afd6ba85036b2d85397e3faa66b872a68bffaeb7c2bf5c731306bf02a25a435ef06cea18da746f
45
46 diff --git a/sys-auth/bioapi/bioapi-1.2.4.ebuild b/sys-auth/bioapi/bioapi-1.2.4.ebuild
47 deleted file mode 100644
48 index 01ed2ada33d..00000000000
49 --- a/sys-auth/bioapi/bioapi-1.2.4.ebuild
50 +++ /dev/null
51 @@ -1,76 +0,0 @@
52 -# Copyright 1999-2015 Gentoo Foundation
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI="4"
56 -
57 -inherit eutils multilib user
58 -
59 -DESCRIPTION="Framework for biometric-based authentication"
60 -HOMEPAGE="https://github.com/mr-c/bioapi-linux"
61 -SRC_URI="https://bioapi-linux.googlecode.com/files/${PN}_${PV}.tar.gz"
62 -
63 -LICENSE="bioapi"
64 -SLOT="0"
65 -KEYWORDS="amd64 x86"
66 -IUSE="static-libs"
67 -
68 -S=${WORKDIR}/bioapi-linux
69 -
70 -src_prepare() {
71 - epatch "${FILESDIR}"/${PN}-1.2.3-no-delete.patch
72 - epatch "${FILESDIR}"/${PN}-1.2.4-build.patch #336107
73 -}
74 -
75 -src_configure() {
76 - econf \
77 - $(use_enable static-libs static) \
78 - --without-Qt-dir
79 -}
80 -
81 -src_install() {
82 - SKIPCONFIG=true default
83 - use static-libs || find "${ED}" -name '*.la' -delete
84 - dohtml *.htm
85 -
86 - # rename generic binaries
87 - mv "${D}"/usr/bin/{,BioAPI}Sample || die
88 -}
89 -
90 -pkg_config() {
91 - mds_install -s /usr/$(get_libdir)
92 - mod_install -fi /usr/$(get_libdir)/libbioapi100.so
93 - mod_install -fi /usr/$(get_libdir)/libbioapi_dummy100.so
94 - mod_install -fi /usr/$(get_libdir)/libpwbsp.so
95 -}
96 -
97 -pkg_preinst() {
98 - if [[ -e ${EROOT}/var/bioapi ]] && [[ ! -e ${EROOT}/var/lib/bioapi ]] ; then
99 - einfo "Moving /var/bioapi to /var/lib/bioapi"
100 - dodir /var/lib
101 - mv "${ROOT}"/var/bioapi "${ROOT}"/var/lib/bioapi
102 - fi
103 -}
104 -
105 -pkg_postinst() {
106 - einfo "Some generic-named programs have been renamed:"
107 - einfo " Sample -> BioAPISample"
108 -
109 - if [[ ${EROOT} == "/" ]] ; then
110 - pkg_config
111 - else
112 - ewarn "You will need to run 'emerge --config bioapi' before"
113 - ewarn " you can use bioapi properly."
114 - fi
115 -
116 - # XXX: this can't be correct ...
117 - enewgroup bioapi
118 - chgrp bioapi "${EROOT}"/var/lib/bioapi -R
119 - chmod g+w,o= "${EROOT}"/var/lib/bioapi -R
120 - einfo "Note: users using bioapi must be in group bioapi."
121 -}
122 -
123 -pkg_prerm() {
124 - mod_install -fu libbioapi100.so
125 - mod_install -fu libbioapi_dummy100.so
126 - mod_install -fu libpwbsp.so
127 -}
128
129 diff --git a/sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch b/sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch
130 deleted file mode 100644
131 index b5664d11ec3..00000000000
132 --- a/sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch
133 +++ /dev/null
134 @@ -1,15 +0,0 @@
135 -do not delete the installed symlink -- let the package manager handle that
136 -
137 ---- bioapi-linux/apps/mod_install/install.c
138 -+++ bioapi-linux/apps/mod_install/install.c
139 -@@ -496,10 +496,6 @@
140 - }
141 - else if ( Action == INSTALL_ACTION_UNINSTALL )
142 - {
143 --/* Linux-Port: Added the Linux branch */
144 --#if defined (LINUX) || defined (SOLARIS)
145 -- DeleteFile(szDstPath);
146 --#endif
147 - printf( "Module uninstalled successfully.\n" );
148 - }
149 - else if ( Action == INSTALL_ACTION_REFRESH )
150
151 diff --git a/sys-auth/bioapi/files/bioapi-1.2.4-build.patch b/sys-auth/bioapi/files/bioapi-1.2.4-build.patch
152 deleted file mode 100644
153 index d7a70afd4d0..00000000000
154 --- a/sys-auth/bioapi/files/bioapi-1.2.4-build.patch
155 +++ /dev/null
156 @@ -1,42 +0,0 @@
157 -http://code.google.com/p/bioapi-linux/issues/detail?id=4
158 -
159 ---- a/addins/pwbsp/Makefile.in
160 -+++ b/addins/pwbsp/Makefile.in
161 -@@ -87,7 +87,7 @@ CC = @CC@
162 - CCDEPMODE = @CCDEPMODE@
163 - CFLAGS = @CFLAGS@
164 - CPP = @CPP@
165 --CPPFLAGS = -I${top_srcdir}/include/ \
166 -+AM_CPPFLAGS = -I${top_srcdir}/include/ \
167 - -I${top_srcdir}/imports/cdsa/v2_0/inc/
168 -
169 - CXX = @CXX@
170 -@@ -111,7 +111,7 @@ INSTALL_DATA = @INSTALL_DATA@
171 - INSTALL_SCRIPT = @INSTALL_SCRIPT@
172 - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
173 - LD = @LD@
174 --LDFLAGS = -Wl,--version-script=${srcdir}/libpwbsp.ver
175 -+AM_LDFLAGS = -Wl,--version-script=${srcdir}/libpwbsp.ver
176 - LEX = @LEX@
177 - LEXLIB = @LEXLIB@
178 - LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
179 ---- a/addins/qtpwbsp/Makefile.in
180 -+++ b/addins/qtpwbsp/Makefile.in
181 -@@ -96,7 +96,7 @@ CC = @CC@
182 - CCDEPMODE = @CCDEPMODE@
183 - CFLAGS = @CFLAGS@
184 - CPP = @CPP@
185 --CPPFLAGS = -I${top_srcdir}/include \
186 -+AM_CPPFLAGS = -I${top_srcdir}/include \
187 - -I${top_srcdir}/imports/cdsa/v2_0/inc \
188 - ${QT_CXXFLAGS}
189 -
190 -@@ -121,7 +121,7 @@ INSTALL_DATA = @INSTALL_DATA@
191 - INSTALL_SCRIPT = @INSTALL_SCRIPT@
192 - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
193 - LD = @LD@
194 --LDFLAGS = -Wl,--version-script=${srcdir}/libqtpwbsp.ver \
195 -+AM_LDFLAGS = -Wl,--version-script=${srcdir}/libqtpwbsp.ver \
196 - ${QT_LIBS}
197 -
198 - LEX = @LEX@
199
200 diff --git a/sys-auth/bioapi/metadata.xml b/sys-auth/bioapi/metadata.xml
201 deleted file mode 100644
202 index 1a2c07255fd..00000000000
203 --- a/sys-auth/bioapi/metadata.xml
204 +++ /dev/null
205 @@ -1,9 +0,0 @@
206 -<?xml version="1.0" encoding="UTF-8"?>
207 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
208 -<pkgmetadata>
209 - <!-- maintainer-needed -->
210 - <upstream>
211 - <remote-id type="google-code">bioapi-linux</remote-id>
212 - <remote-id type="github">mr-c/bioapi-linux</remote-id>
213 - </upstream>
214 -</pkgmetadata>