summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-04 17:50:50 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-04 17:50:50 +0100
commit4bc38fa4157575a8ddd1e49a73ab346b6a45d517 (patch)
treea3a95e3b8697909ae8da7694e95cf5f143797465 /sys-auth
parentsys-auth/tfm-fingerprint: Remove last-rited pkg (diff)
downloadgentoo-4bc38fa4157575a8ddd1e49a73ab346b6a45d517.tar.gz
gentoo-4bc38fa4157575a8ddd1e49a73ab346b6a45d517.tar.bz2
gentoo-4bc38fa4157575a8ddd1e49a73ab346b6a45d517.zip
sys-auth/bioapi: Remove last-rited pkg
Closes: https://bugs.gentoo.org/596648 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/bioapi/Manifest1
-rw-r--r--sys-auth/bioapi/bioapi-1.2.4.ebuild76
-rw-r--r--sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch15
-rw-r--r--sys-auth/bioapi/files/bioapi-1.2.4-build.patch42
-rw-r--r--sys-auth/bioapi/metadata.xml9
5 files changed, 0 insertions, 143 deletions
diff --git a/sys-auth/bioapi/Manifest b/sys-auth/bioapi/Manifest
deleted file mode 100644
index 7d40b0cbe18..00000000000
--- a/sys-auth/bioapi/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST bioapi_1.2.4.tar.gz 953136 BLAKE2B 2ce44892f740696ea264776a1e03c170415b26326ddd4b48c73732b9556349860139a62ed0bdfad5eb6b085ed45286cfe838287aac57bca4a9767aa2a06c707d SHA512 99c67fea34b73291dcaeb1590fac88b3196d3ca65f788b92d0afd6ba85036b2d85397e3faa66b872a68bffaeb7c2bf5c731306bf02a25a435ef06cea18da746f
diff --git a/sys-auth/bioapi/bioapi-1.2.4.ebuild b/sys-auth/bioapi/bioapi-1.2.4.ebuild
deleted file mode 100644
index 01ed2ada33d..00000000000
--- a/sys-auth/bioapi/bioapi-1.2.4.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-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="static-libs"
-
-S=${WORKDIR}/bioapi-linux
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-1.2.3-no-delete.patch
- epatch "${FILESDIR}"/${PN}-1.2.4-build.patch #336107
-}
-
-src_configure() {
- econf \
- $(use_enable static-libs static) \
- --without-Qt-dir
-}
-
-src_install() {
- SKIPCONFIG=true default
- use static-libs || find "${ED}" -name '*.la' -delete
- 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 ${EROOT}/var/bioapi ]] && [[ ! -e ${EROOT}/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 [[ ${EROOT} == "/" ]] ; 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 "${EROOT}"/var/lib/bioapi -R
- chmod g+w,o= "${EROOT}"/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
-}
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
deleted file mode 100644
index b5664d11ec3..00000000000
--- a/sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-do not delete the installed symlink -- let the package manager handle that
-
---- bioapi-linux/apps/mod_install/install.c
-+++ bioapi-linux/apps/mod_install/install.c
-@@ -496,10 +496,6 @@
- }
- else if ( Action == INSTALL_ACTION_UNINSTALL )
- {
--/* Linux-Port: Added the Linux branch */
--#if defined (LINUX) || defined (SOLARIS)
-- DeleteFile(szDstPath);
--#endif
- printf( "Module uninstalled successfully.\n" );
- }
- else if ( Action == INSTALL_ACTION_REFRESH )
diff --git a/sys-auth/bioapi/files/bioapi-1.2.4-build.patch b/sys-auth/bioapi/files/bioapi-1.2.4-build.patch
deleted file mode 100644
index d7a70afd4d0..00000000000
--- a/sys-auth/bioapi/files/bioapi-1.2.4-build.patch
+++ /dev/null
@@ -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_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- LD = @LD@
--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_SCRIPT = @INSTALL_SCRIPT@
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- LD = @LD@
--LDFLAGS = -Wl,--version-script=${srcdir}/libqtpwbsp.ver \
-+AM_LDFLAGS = -Wl,--version-script=${srcdir}/libqtpwbsp.ver \
- ${QT_LIBS}
-
- LEX = @LEX@
diff --git a/sys-auth/bioapi/metadata.xml b/sys-auth/bioapi/metadata.xml
deleted file mode 100644
index 1a2c07255fd..00000000000
--- a/sys-auth/bioapi/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="google-code">bioapi-linux</remote-id>
- <remote-id type="github">mr-c/bioapi-linux</remote-id>
- </upstream>
-</pkgmetadata>