From 4792a6eaaed7cce81d758b7ca9aede259c71527d Mon Sep 17 00:00:00 2001 From: Harri Nieminen Date: Tue, 27 Mar 2018 17:11:53 +0300 Subject: sys-auth/bioapi: Remove old Closes: https://github.com/gentoo/gentoo/pull/7644 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- sys-auth/bioapi/Manifest | 1 - sys-auth/bioapi/bioapi-1.2.3-r2.ebuild | 78 ---------------------- sys-auth/bioapi/files/bioapi-1.2.3-build.patch | 42 ------------ .../bioapi/files/bioapi-1.2.3-enroll-ret.patch | 16 ----- sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch | 12 ---- 5 files changed, 149 deletions(-) delete mode 100644 sys-auth/bioapi/bioapi-1.2.3-r2.ebuild delete mode 100644 sys-auth/bioapi/files/bioapi-1.2.3-build.patch delete mode 100644 sys-auth/bioapi/files/bioapi-1.2.3-enroll-ret.patch delete mode 100644 sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch (limited to 'sys-auth/bioapi') diff --git a/sys-auth/bioapi/Manifest b/sys-auth/bioapi/Manifest index a6509f511f67..7d40b0cbe183 100644 --- a/sys-auth/bioapi/Manifest +++ b/sys-auth/bioapi/Manifest @@ -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 diff --git a/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild b/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild deleted file mode 100644 index 2d83ab6ad7c0..000000000000 --- a/sys-auth/bioapi/bioapi-1.2.3-r2.ebuild +++ /dev/null @@ -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 -} diff --git a/sys-auth/bioapi/files/bioapi-1.2.3-build.patch b/sys-auth/bioapi/files/bioapi-1.2.3-build.patch deleted file mode 100644 index 9d679fe8c892..000000000000 --- a/sys-auth/bioapi/files/bioapi-1.2.3-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_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@ diff --git a/sys-auth/bioapi/files/bioapi-1.2.3-enroll-ret.patch b/sys-auth/bioapi/files/bioapi-1.2.3-enroll-ret.patch deleted file mode 100644 index e077c135d63f..000000000000 --- a/sys-auth/bioapi/files/bioapi-1.2.3-enroll-ret.patch +++ /dev/null @@ -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; - } - } - diff --git a/sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch b/sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch deleted file mode 100644 index 1f81298066dc..000000000000 --- a/sys-auth/bioapi/files/bioapi-1.2.3-gcc44.patch +++ /dev/null @@ -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 - -- cgit v1.2.3-65-gdbad