diff options
author | Michael Weber <xmw@gentoo.org> | 2010-10-17 22:54:30 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2010-10-17 22:54:30 +0000 |
commit | b0e5a1a86ef8834ee84940aeced51be721ffd06c (patch) | |
tree | 1b4c6af9319dbbaad51f69672a2120a41ff818c6 /sys-auth/pam_fprint | |
parent | Masking qbittorrent-2.5.0 beta releases (diff) | |
download | historical-b0e5a1a86ef8834ee84940aeced51be721ffd06c.tar.gz historical-b0e5a1a86ef8834ee84940aeced51be721ffd06c.tar.bz2 historical-b0e5a1a86ef8834ee84940aeced51be721ffd06c.zip |
Initial import
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/pam_fprint')
-rw-r--r-- | sys-auth/pam_fprint/ChangeLog | 11 | ||||
-rw-r--r-- | sys-auth/pam_fprint/Manifest | 5 | ||||
-rw-r--r-- | sys-auth/pam_fprint/files/pam_fprint-0.2-headers.patch | 12 | ||||
-rw-r--r-- | sys-auth/pam_fprint/metadata.xml | 10 | ||||
-rw-r--r-- | sys-auth/pam_fprint/pam_fprint-0.2.ebuild | 35 |
5 files changed, 73 insertions, 0 deletions
diff --git a/sys-auth/pam_fprint/ChangeLog b/sys-auth/pam_fprint/ChangeLog new file mode 100644 index 000000000000..2b6157112eda --- /dev/null +++ b/sys-auth/pam_fprint/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-auth/pam_fprint +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_fprint/ChangeLog,v 1.1 2010/10/17 22:54:30 xmw Exp $ + +*pam_fprint-0.2 (17 Oct 2010) + + 17 Oct 2010; Michael Weber <xmw@gentoo.org> +pam_fprint-0.2.ebuild, + +files/pam_fprint-0.2-headers.patch, +metadata.xml: + Initial import, fixes bug 227671, thanks to Jan Buecken and others on this + bug. + diff --git a/sys-auth/pam_fprint/Manifest b/sys-auth/pam_fprint/Manifest new file mode 100644 index 000000000000..684c6e4025d8 --- /dev/null +++ b/sys-auth/pam_fprint/Manifest @@ -0,0 +1,5 @@ +AUX pam_fprint-0.2-headers.patch 281 RMD160 498d62b29f368367d0052cb3e23f86f6a07334ec SHA1 d974d79b9ce300d31a4c3693bbd0ede43fe11c36 SHA256 5861da11e76fc47107b8f8e994738bc81544868bb1069c851792b9d11935a8aa +DIST pam_fprint-0.2.tar.bz2 72781 RMD160 483fcf6b70d4805b1da4f95acbd34c672275a4ba SHA1 d52543cb2b4cb7d1a32ae30347a9053bc118f2cd SHA256 57cba8a951d4127e5be4c3b2ced0c1c6fac0201a08c833f1644f0ea2e3fa8a72 +EBUILD pam_fprint-0.2.ebuild 937 RMD160 b2147366a6a21a46f75389ef02a8f5e1578f6eab SHA1 6b2b280bc86b57215c56af9aad1b4898feece139 SHA256 72d8586f2b59efeca3d415898391eef4651cbf9a5a90d4518286a1a6c0048373 +MISC ChangeLog 448 RMD160 085ae358bf09ce94af09b5167ea5e55c163f8e49 SHA1 2d23b65d4b184687c27c72bedc65e2ab5bd20422 SHA256 4720c2cad74c765c585903d6ab3347695165d296bf1dad3b2c0cf0f392babf90 +MISC metadata.xml 245 RMD160 6b03982a4d5f32d9fa6b9259ae36f9fcb07c8404 SHA1 fb16c7b4c5ab071dd979f761b8bb075f5396b737 SHA256 375a1da02cd2c393ce2378a73c1ce08134bc030b3bb378c6a4d6ca9cd5be1f8d diff --git a/sys-auth/pam_fprint/files/pam_fprint-0.2-headers.patch b/sys-auth/pam_fprint/files/pam_fprint-0.2-headers.patch new file mode 100644 index 000000000000..9ff6e551ee87 --- /dev/null +++ b/sys-auth/pam_fprint/files/pam_fprint-0.2-headers.patch @@ -0,0 +1,12 @@ +Add definition of free and setenv, Michael Weber <xmw@gentoo.org> Oct 18th, 2010 + +--- pam_fprint-0.2/src/pam_fprint.c ++++ pam_fprint-0.2/src/pam_fprint.c +@@ -22,6 +22,7 @@ + #include <sys/types.h> + #include <pwd.h> + #include <string.h> ++#include <stdlib.h> + + #include <fprint.h> + diff --git a/sys-auth/pam_fprint/metadata.xml b/sys-auth/pam_fprint/metadata.xml new file mode 100644 index 000000000000..02b909e46b7e --- /dev/null +++ b/sys-auth/pam_fprint/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + diff --git a/sys-auth/pam_fprint/pam_fprint-0.2.ebuild b/sys-auth/pam_fprint/pam_fprint-0.2.ebuild new file mode 100644 index 000000000000..2bd243b8dea2 --- /dev/null +++ b/sys-auth/pam_fprint/pam_fprint-0.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_fprint/pam_fprint-0.2.ebuild,v 1.1 2010/10/17 22:54:30 xmw Exp $ + +EAPI=3 + +inherit autotools eutils multilib + +DESCRIPTION="a simple PAM module which uses libfprint's functionality for authentication" +HOMEPAGE="http://www.reactivated.net/fprint/wiki/Pam_fprint" +SRC_URI="mirror://sourceforge/fprint/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="sys-auth/libfprint + sys-libs/pam" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-headers.patch + + # adjust /lib/security to architecture + sed -i -e "/^pammoddir=/s:=.*:=\"${EPREFIX}\"/$(get_libdir)/security:" \ + src/Makefile.am || die + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + newbin src/pamtest pamtest.fprint || die + dodoc AUTHORS ChangeLog NEWS README || die +} |