# in a month.
sys-auth/bioapi
sys-auth/tfm-fingerprint
-sys-auth/pam_bioapi
# Andreas Sturmlechner <asturm@gentoo.org> (03 Nov 2018)
# Breaks revdeps (GDir and GDirEntry split from gfile.h into new gdir.h)
+++ /dev/null
-DIST pam_bioapi-0.4.0.tar.gz 383529 BLAKE2B 1375355adc508edfcd672e0b2470944021c53ddc5bb7c500db0c3c24334ca347f3a508573cb4e3d869c890ddd371a45d66f23326614881a58e554f69bfe1efce SHA512 fb2527b44ec8070fdc7a32fd1e272a6b98095fba827365f5427ae5fe6a5681b2f3be246ac34aaeb313d776890bd122c25ba68a58d9a728e68e4b341842dcb6d3
+++ /dev/null
-fix building with -O0
-
-http://code.google.com/p/pam-bioapi/issues/detail?id=3
-http://bugs.gentoo.org/241322
-
-fix building with newer glibc
-
-https://bugs.gentoo.org/512106
-
---- libpam_bioapi/pam_bioapi.h
-+++ libpam_bioapi/pam_bioapi.h
-@@ -19,6 +19,7 @@
- #include <sys/stat.h>
- #include <sys/types.h> /* defines 'uid_t', etc. */
-
-+#include <sys/resource.h>
- #include <sys/types.h>
- #include <sys/wait.h>
- #include "earray.h"
-@@ -23,6 +23,7 @@
- #include <sys/wait.h>
- #include "earray.h"
-
-+#include <locale.h>
- #include <libintl.h> /* gnu gettext support */
- #define _(String) gettext (String)
-
+++ /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">pam-bioapi</remote-id>
- </upstream>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="PAM interface to bioapi package"
-HOMEPAGE="https://code.google.com/p/pam-bioapi/"
-SRC_URI="https://pam-bioapi.googlecode.com/files/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="sys-auth/bioapi
- sys-libs/pam
- dev-db/sqlite"
-RDEPEND="${DEPEND}
- sys-auth/tfm-fingerprint"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-headers.patch #241322
- sed -i \
- -e 's/-version-info 0:4:0/-avoid-version/' \
- libpam_bioapi/Makefile.in #261598
- sed -i \
- -e 's:@prefix@::' \
- -e '/pam_unix.so/s:.*:auth include system-auth:' \
- etc/pam.d/{bioapi_chbird,test-pam_bioapi}.in #261598
-}
-
-src_compile() {
- econf --sbindir=/sbin || die
- emake || die
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die
- dodoc AUTHORS ChangeLog NEWS README TODO
-
- dodir /$(get_libdir)
- mv "${D}"/usr/$(get_libdir)/security "${D}"/$(get_libdir)/ || die
- rm -f "${D}"/$(get_libdir)/security/*.la
-}