mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
sys-auth/bioapi: Remove old
Closes: https://github.com/gentoo/gentoo/pull/7644 Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST bioapi_1.2.3.tar.gz 1634237 BLAKE2B 002ac9c1543645759cc03fd7d33513b893fd3c5dcdd45cd3f92a992a0793c043ff5d41cff560c34d88c5c033fde4d54b35a66c09903ac5c5927123fa4e6e1ecd SHA512 683da884a5cf6d72b577f7c1f642930c152c43c7acad3c678a3571acf3f66e0a7e112fccde06d9a7535a186bcb56a96acfb5e1c405b1d931be9f252be1b01649
|
||||
DIST bioapi_1.2.4.tar.gz 953136 BLAKE2B 2ce44892f740696ea264776a1e03c170415b26326ddd4b48c73732b9556349860139a62ed0bdfad5eb6b085ed45286cfe838287aac57bca4a9767aa2a06c707d SHA512 99c67fea34b73291dcaeb1590fac88b3196d3ca65f788b92d0afd6ba85036b2d85397e3faa66b872a68bffaeb7c2bf5c731306bf02a25a435ef06cea18da746f
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils multilib user
|
||||
|
||||
DESCRIPTION="Framework for biometric-based authentication"
|
||||
HOMEPAGE="https://github.com/mr-c/bioapi-linux"
|
||||
SRC_URI="https://bioapi-linux.googlecode.com/files/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="bioapi"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/bioapi-linux
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-enroll-ret.patch #236654
|
||||
epatch "${FILESDIR}"/${P}-no-delete.patch
|
||||
epatch "${FILESDIR}"/${P}-gcc44.patch
|
||||
epatch "${FILESDIR}"/${P}-build.patch #336107
|
||||
rm -f config.{guess,sub} #337805
|
||||
touch config.{guess,sub}
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf --without-Qt-dir
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake SKIPCONFIG=true DESTDIR="${D}" install || die
|
||||
dodoc README
|
||||
dohtml *.htm
|
||||
|
||||
# rename generic binaries
|
||||
mv "${D}"/usr/bin/{,BioAPI}Sample || die
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
mds_install -s /usr/$(get_libdir)
|
||||
mod_install -fi /usr/$(get_libdir)/libbioapi100.so
|
||||
mod_install -fi /usr/$(get_libdir)/libbioapi_dummy100.so
|
||||
mod_install -fi /usr/$(get_libdir)/libpwbsp.so
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${ROOT}/var/bioapi ]] && [[ ! -e ${ROOT}/var/lib/bioapi ]] ; then
|
||||
einfo "Moving /var/bioapi to /var/lib/bioapi"
|
||||
dodir /var/lib
|
||||
mv "${ROOT}"/var/bioapi "${ROOT}"/var/lib/bioapi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Some generic-named programs have been renamed:"
|
||||
einfo " Sample -> BioAPISample"
|
||||
|
||||
if [[ ${ROOT} == "/" ]] ; then
|
||||
pkg_config
|
||||
else
|
||||
ewarn "You will need to run 'emerge --config bioapi' before"
|
||||
ewarn " you can use bioapi properly."
|
||||
fi
|
||||
|
||||
# XXX: this can't be correct ...
|
||||
enewgroup bioapi
|
||||
chgrp bioapi "${ROOT}"/var/lib/bioapi -R
|
||||
chmod g+w,o= "${ROOT}"/var/lib/bioapi -R
|
||||
einfo "Note: users using bioapi must be in group bioapi."
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
mod_install -fu libbioapi100.so
|
||||
mod_install -fu libbioapi_dummy100.so
|
||||
mod_install -fu libpwbsp.so
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
http://code.google.com/p/bioapi-linux/issues/detail?id=4
|
||||
|
||||
--- a/addins/pwbsp/Makefile.in
|
||||
+++ b/addins/pwbsp/Makefile.in
|
||||
@@ -87,7 +87,7 @@ CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
-CPPFLAGS = -I${top_srcdir}/include/ \
|
||||
+AM_CPPFLAGS = -I${top_srcdir}/include/ \
|
||||
-I${top_srcdir}/imports/cdsa/v2_0/inc/
|
||||
|
||||
CXX = @CXX@
|
||||
@@ -111,7 +111,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
-LDFLAGS = -Wl,--version-script=${srcdir}/libpwbsp.ver
|
||||
+AM_LDFLAGS = -Wl,--version-script=${srcdir}/libpwbsp.ver
|
||||
LEX = @LEX@
|
||||
LEXLIB = @LEXLIB@
|
||||
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
||||
--- a/addins/qtpwbsp/Makefile.in
|
||||
+++ b/addins/qtpwbsp/Makefile.in
|
||||
@@ -96,7 +96,7 @@ CC = @CC@
|
||||
CCDEPMODE = @CCDEPMODE@
|
||||
CFLAGS = @CFLAGS@
|
||||
CPP = @CPP@
|
||||
-CPPFLAGS = -I${top_srcdir}/include \
|
||||
+AM_CPPFLAGS = -I${top_srcdir}/include \
|
||||
-I${top_srcdir}/imports/cdsa/v2_0/inc \
|
||||
${QT_CXXFLAGS}
|
||||
|
||||
@@ -121,7 +121,7 @@ INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
-LDFLAGS = -Wl,--version-script=${srcdir}/libqtpwbsp.ver \
|
||||
+AM_LDFLAGS = -Wl,--version-script=${srcdir}/libqtpwbsp.ver \
|
||||
${QT_LIBS}
|
||||
|
||||
LEX = @LEX@
|
||||
@@ -1,16 +0,0 @@
|
||||
http://bugs.gentoo.org/236654
|
||||
|
||||
make sure we return 0 when things work
|
||||
|
||||
patch by kouyu
|
||||
|
||||
--- bioapi-linux/apps/NonGUI_Sample/main.c
|
||||
+++ bioapi-linux/apps/NonGUI_Sample/main.c
|
||||
@@ -234,6 +234,7 @@
|
||||
}
|
||||
|
||||
OutputToFile(userName, EnrolledTemplate);
|
||||
+ return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
diff -ur bioapi-linux.orig/framework/mds_util_api/mds_app_util.c bioapi-linux/framework/mds_util_api/mds_app_util.c
|
||||
--- bioapi-linux.orig/framework/mds_util_api/mds_app_util.c 2007-07-14 08:06:14.000000000 +0300
|
||||
+++ bioapi-linux/framework/mds_util_api/mds_app_util.c 2009-07-25 23:26:55.000000000 +0300
|
||||
@@ -28,7 +28,7 @@
|
||||
/* Linux-Port: added "const" keyword for Linux version */
|
||||
#if defined (UNIX)
|
||||
const BioAPI_UUID MDSUTIL_Uuid = ref_h_layer_uuid_init;
|
||||
-#elif
|
||||
+#else
|
||||
BioAPI_UUID MDSUTIL_Uuid = ref_h_layer_uuid_init;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user