# in a month.
net-analyzer/w3af
-# Pacho Ramos <pacho@gentoo.org> (04 Nov 2018)
-# pkg_postinst calls pkg_config (#596648), upstream dead for ages. Removal
-# in a month.
-sys-auth/bioapi
-
# Andreas Sturmlechner <asturm@gentoo.org> (03 Nov 2018)
# Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
# See tracker: https://bugs.gentoo.org/670222
+++ /dev/null
-DIST bioapi_1.2.4.tar.gz 953136 BLAKE2B 2ce44892f740696ea264776a1e03c170415b26326ddd4b48c73732b9556349860139a62ed0bdfad5eb6b085ed45286cfe838287aac57bca4a9767aa2a06c707d SHA512 99c67fea34b73291dcaeb1590fac88b3196d3ca65f788b92d0afd6ba85036b2d85397e3faa66b872a68bffaeb7c2bf5c731306bf02a25a435ef06cea18da746f
+++ /dev/null
-# 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
-}
+++ /dev/null
-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 )
+++ /dev/null
-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@
+++ /dev/null
-<?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>