From 4bc38fa4157575a8ddd1e49a73ab346b6a45d517 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 4 Dec 2018 17:50:50 +0100 Subject: sys-auth/bioapi: Remove last-rited pkg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/596648 Signed-off-by: Michał Górny --- sys-auth/bioapi/Manifest | 1 - sys-auth/bioapi/bioapi-1.2.4.ebuild | 76 ---------------------- sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch | 15 ----- sys-auth/bioapi/files/bioapi-1.2.4-build.patch | 42 ------------ sys-auth/bioapi/metadata.xml | 9 --- 5 files changed, 143 deletions(-) delete mode 100644 sys-auth/bioapi/Manifest delete mode 100644 sys-auth/bioapi/bioapi-1.2.4.ebuild delete mode 100644 sys-auth/bioapi/files/bioapi-1.2.3-no-delete.patch delete mode 100644 sys-auth/bioapi/files/bioapi-1.2.4-build.patch delete mode 100644 sys-auth/bioapi/metadata.xml (limited to 'sys-auth') diff --git a/sys-auth/bioapi/Manifest b/sys-auth/bioapi/Manifest deleted file mode 100644 index 7d40b0cbe183..000000000000 --- 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 01ed2ada33d9..000000000000 --- 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 b5664d11ec3a..000000000000 --- 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 d7a70afd4d0d..000000000000 --- 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 1a2c07255fd3..000000000000 --- a/sys-auth/bioapi/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - bioapi-linux - mr-c/bioapi-linux - - -- cgit v1.2.3