summaryrefslogtreecommitdiff
path: root/sys-auth/pam_bioapi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-auth/pam_bioapi
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-auth/pam_bioapi')
-rw-r--r--sys-auth/pam_bioapi/Manifest7
-rw-r--r--sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch27
-rw-r--r--sys-auth/pam_bioapi/metadata.xml11
-rw-r--r--sys-auth/pam_bioapi/pam_bioapi-0.4.0-r1.ebuild46
-rw-r--r--sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild40
5 files changed, 131 insertions, 0 deletions
diff --git a/sys-auth/pam_bioapi/Manifest b/sys-auth/pam_bioapi/Manifest
new file mode 100644
index 000000000000..4af542609b41
--- /dev/null
+++ b/sys-auth/pam_bioapi/Manifest
@@ -0,0 +1,7 @@
+AUX pam_bioapi-0.4.0-headers.patch 608 SHA256 ebd4eb0e1d0fb189e3948731be2aa6e73ede6fe122d8e1099187501597d91d57 SHA512 66dc5ad2ef521b586e34da733d639620008ec4231990af1cbf73c69d26a7ab8d460bd4dfb4e2aa49202c5c92e8727539616e0ba7c60339a5e4929f6c493f0355 WHIRLPOOL 1af5c0f542461a1468fbfe2a165a32efdef9d8be74ef51f3c2206bd80f65393dd506aaf205b8b5554af26ab74315423c9a5e84910e8258469c68c2fe0bdaf0ba
+DIST pam_bioapi-0.4.0.tar.gz 383529 SHA256 635df4a27c3f9485a2eabbc672f0cf2771a96756792b5f4078481f2df9bceb8c SHA512 fb2527b44ec8070fdc7a32fd1e272a6b98095fba827365f5427ae5fe6a5681b2f3be246ac34aaeb313d776890bd122c25ba68a58d9a728e68e4b341842dcb6d3 WHIRLPOOL 2c12463c8d248b3be7c110a7257dc3ec662dfef012099bc3ec4fb8527c1e1c22b1c9a438a279545efdc95de63eefa09637d7b97278d5a6233e78f2b7810a99ae
+EBUILD pam_bioapi-0.4.0-r1.ebuild 1048 SHA256 1384fefcc1c9e352f1550fb0b75aaf570b2703873a1569f3f465c3c38c1710fe SHA512 2f7daa7632ac6ba22e557d6a39911abd83618c87d953d63324fa448cd9e6e2b5e1e97ab90415e1e44bb2cd436bfc63cf1d91f66439cbe4a31b3e9941ffc2a8bc WHIRLPOOL 4125a7a3503c4da8d57b071fcd666d2f72c1c94e729d81e425b82379fc279a7c2e46796c96ac31c14526a1132a12907b6a480389adba83ed4f335f5e737bc476
+EBUILD pam_bioapi-0.4.0.ebuild 892 SHA256 1246b176afe6a78cad58199f98ad3271ac9509757155fafa04c0f9e399961457 SHA512 1bbc35a83cfde3d137f334fdb2e7cabadf7b34e0208b8609fb94cac7eccebe10a66ba5196ae346a91aadfdc93ebda14b2f77ccc0b97288df28b13304a90b5e5e WHIRLPOOL 87a47d25cea3b62bb6bcc474c8ba19d5a6d5eef1717d9dc27ecac4ea75893ed0af0c043a8f5723622f5bbfbb5551ca1e5e392b65e30d98ae16afdd3940ed47a1
+MISC ChangeLog 2674 SHA256 b6c0ea7964adee3dd4f21f9f98512f661a8e498d143a0d94f62189fa1c42be15 SHA512 d9c552c6a7cdcf40f405b327e5c8d09e45e09711204ebb45f90fc3d78c9cc867ea4b2c3db2399371c5e6c394334d79008ef5da414e25a3a89c7f56a218fa6dde WHIRLPOOL 83903dd4666dee678c702ac821bb9f41423945a14f3bd83e9a1708a8aab5f17ab0b02ae746eaa002b2506266fc6a503f902bb41cd81e035b7053529c799b9f54
+MISC ChangeLog-2015 1856 SHA256 6b1a5bc09dd274da7db6f06773d86cdfeca92952a77bd1a99f588f52ec476f24 SHA512 6e6d8b8fd4fe2b45533276f5535ce34bacd1eeafdfee91ae1b0c27e9f142b6228dd1bb68acddfb206ccae19febc3b798071e7143e86c09bc5c836fa81ef2929e WHIRLPOOL 2fde8501bc2b621067c8e7e10d4bccb0df4271c92fb74edd6cdb5c3a2a434ebe681850fafcbe05f25197490513567ad465b2110632204b9ee7553f0b0a9c0ec7
+MISC metadata.xml 327 SHA256 1255a9078d74b7c046129a54f935693a2210dff4d9668856d8eab9e8c0d88c32 SHA512 a9cbdd016630f2aa39ffad75bde8401036e03c06d06f1630e1c83c702796d10621e854e0d279b4c476796e5f1c7529b9195eb8410efec7480707a86947f4e3be WHIRLPOOL 36ca5405cb1f3c5991bf4404536a9d06b164178a86db7dda6e12198b29fe5bdc2201ebfdba3e60a72a4c825b82d3d05a92d77d91f59e9cdb1d1fa8aca09e5b8e
diff --git a/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch b/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch
new file mode 100644
index 000000000000..d5acc4db61bc
--- /dev/null
+++ b/sys-auth/pam_bioapi/files/pam_bioapi-0.4.0-headers.patch
@@ -0,0 +1,27 @@
+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)
+
diff --git a/sys-auth/pam_bioapi/metadata.xml b/sys-auth/pam_bioapi/metadata.xml
new file mode 100644
index 000000000000..91d4d8ecea2a
--- /dev/null
+++ b/sys-auth/pam_bioapi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>vapier@gentoo.org</email>
+ <name>Mike Frysinger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">pam-bioapi</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sys-auth/pam_bioapi/pam_bioapi-0.4.0-r1.ebuild b/sys-auth/pam_bioapi/pam_bioapi-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..5e3bf7e94d24
--- /dev/null
+++ b/sys-auth/pam_bioapi/pam_bioapi-0.4.0-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild b/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild
new file mode 100644
index 000000000000..02610ae18502
--- /dev/null
+++ b/sys-auth/pam_bioapi/pam_bioapi-0.4.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+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
+}
+
+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)/{lib*.so*,security} "${D}"/$(get_libdir)/ || die
+ rm -f "${D}"/$(get_libdir)/security/*.la
+ gen_usr_ldscript libbirdb.so libbirdb_sqlite3.so
+}