summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-04 07:29:41 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-04 07:29:41 +0000
commit19e416b8edd9587bbc0765990ed7a3ce93676d0d (patch)
treef5c32365668e35a15acfd0dac00488125148a0ac /sys-auth/pam_userdb
parentNew revision that always disable berkdb. (diff)
downloadgentoo-2-19e416b8edd9587bbc0765990ed7a3ce93676d0d.tar.gz
gentoo-2-19e416b8edd9587bbc0765990ed7a3ce93676d0d.tar.bz2
gentoo-2-19e416b8edd9587bbc0765990ed7a3ce93676d0d.zip
Initial import, pam_userdb support moved out of sys-libs/pam ebuild.
(Portage version: 2.1.2_pre2-r2)
Diffstat (limited to 'sys-auth/pam_userdb')
-rw-r--r--sys-auth/pam_userdb/ChangeLog10
-rw-r--r--sys-auth/pam_userdb/Manifest16
-rw-r--r--sys-auth/pam_userdb/files/digest-pam_userdb-0.99.6.33
-rw-r--r--sys-auth/pam_userdb/metadata.xml8
-rw-r--r--sys-auth/pam_userdb/pam_userdb-0.99.6.3.ebuild69
5 files changed, 106 insertions, 0 deletions
diff --git a/sys-auth/pam_userdb/ChangeLog b/sys-auth/pam_userdb/ChangeLog
new file mode 100644
index 000000000000..8eb58a4acb1d
--- /dev/null
+++ b/sys-auth/pam_userdb/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-auth/pam_userdb
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_userdb/ChangeLog,v 1.1 2006/10/04 07:29:41 flameeyes Exp $
+
+*pam_userdb-0.99.6.3 (04 Oct 2006)
+
+ 04 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +pam_userdb-0.99.6.3.ebuild:
+ Initial import, pam_userdb support moved out of sys-libs/pam ebuild.
+
diff --git a/sys-auth/pam_userdb/Manifest b/sys-auth/pam_userdb/Manifest
new file mode 100644
index 000000000000..1a4a02c61d99
--- /dev/null
+++ b/sys-auth/pam_userdb/Manifest
@@ -0,0 +1,16 @@
+DIST Linux-PAM-0.99.6.3.tar.bz2 863340 RMD160 9c02478d0b5fe5af72b736a64ede6b09618c98e0 SHA1 984f86b5a767fba1572c7963b8f8c997132fff2b SHA256 8468b0fd062cead62a66a048280d28ed70420eefc55b5c9a3fdb361891f2ccd4
+EBUILD pam_userdb-0.99.6.3.ebuild 1566 RMD160 8d051b09ef1da5d76bf9864217477f33dd308f07 SHA1 e6956304ac72e8b524e4fcef06e4ec17452998a3 SHA256 3d6d8bef09a00d0c8aa3f66b433a00b496e6feeed1a1aa6ca3fc7c8ca07b8573
+MD5 7d5eb7bd58dd8ad98552d215166a3e01 pam_userdb-0.99.6.3.ebuild 1566
+RMD160 8d051b09ef1da5d76bf9864217477f33dd308f07 pam_userdb-0.99.6.3.ebuild 1566
+SHA256 3d6d8bef09a00d0c8aa3f66b433a00b496e6feeed1a1aa6ca3fc7c8ca07b8573 pam_userdb-0.99.6.3.ebuild 1566
+MISC ChangeLog 327 RMD160 14a67a8bee55ed4fe49254e22a8f071f3d19bed0 SHA1 d7d6d861b3b0f9dc6b6ee244f6158ba649fa57f4 SHA256 93c4a61dfda97a6c4e82a427a904a9b71d37dc7805b4a664c346dd3d3d539eb8
+MD5 f0725f49aebb7af09b4005740cdb5201 ChangeLog 327
+RMD160 14a67a8bee55ed4fe49254e22a8f071f3d19bed0 ChangeLog 327
+SHA256 93c4a61dfda97a6c4e82a427a904a9b71d37dc7805b4a664c346dd3d3d539eb8 ChangeLog 327
+MISC metadata.xml 218 RMD160 1955c7446d4ceb77506ba7b58ee35913c576a72c SHA1 02dacc356a39905402083cb54ae4f6dd0ac59fad SHA256 e0bb49cab71cc84d8bdad26876197164073722b378d27a5bf55bbfd2afdbd19c
+MD5 393d06cf4b76671f8e6ce72ac71bdad8 metadata.xml 218
+RMD160 1955c7446d4ceb77506ba7b58ee35913c576a72c metadata.xml 218
+SHA256 e0bb49cab71cc84d8bdad26876197164073722b378d27a5bf55bbfd2afdbd19c metadata.xml 218
+MD5 908844567621b16e0e2bdecb789c27a3 files/digest-pam_userdb-0.99.6.3 259
+RMD160 3f02ccfaf84966f22db9306c6aa912fe1de07a76 files/digest-pam_userdb-0.99.6.3 259
+SHA256 ec33fef3deb83b8589594fee5532ab7e8ddfbd29feb56497f8779bfd419ac8f7 files/digest-pam_userdb-0.99.6.3 259
diff --git a/sys-auth/pam_userdb/files/digest-pam_userdb-0.99.6.3 b/sys-auth/pam_userdb/files/digest-pam_userdb-0.99.6.3
new file mode 100644
index 000000000000..48bbbcaac6a2
--- /dev/null
+++ b/sys-auth/pam_userdb/files/digest-pam_userdb-0.99.6.3
@@ -0,0 +1,3 @@
+MD5 4c2830ed55a41e795af6a482009a036c Linux-PAM-0.99.6.3.tar.bz2 863340
+RMD160 9c02478d0b5fe5af72b736a64ede6b09618c98e0 Linux-PAM-0.99.6.3.tar.bz2 863340
+SHA256 8468b0fd062cead62a66a048280d28ed70420eefc55b5c9a3fdb361891f2ccd4 Linux-PAM-0.99.6.3.tar.bz2 863340
diff --git a/sys-auth/pam_userdb/metadata.xml b/sys-auth/pam_userdb/metadata.xml
new file mode 100644
index 000000000000..b3bf86cd59b4
--- /dev/null
+++ b/sys-auth/pam_userdb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>pam</herd>
+<maintainer>
+<email>pam-bugs@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/sys-auth/pam_userdb/pam_userdb-0.99.6.3.ebuild b/sys-auth/pam_userdb/pam_userdb-0.99.6.3.ebuild
new file mode 100644
index 000000000000..beaa18998c1c
--- /dev/null
+++ b/sys-auth/pam_userdb/pam_userdb-0.99.6.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pam_userdb/pam_userdb-0.99.6.3.ebuild,v 1.1 2006/10/04 07:29:41 flameeyes Exp $
+
+inherit libtool multilib eutils pam
+
+MY_P="Linux-PAM-${PV}"
+
+HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/"
+DESCRIPTION="Linux-PAM pam_userdb (Berkeley DB) module"
+
+SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/${MY_P}.tar.bz2"
+
+LICENSE="PAM"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="nls elibc_FreeBSD"
+
+RDEPEND="nls? ( virtual/libintl )
+ >=sys-libs/pam-0.99.6.3-r1"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${MY_P}"
+
+RESTRICT="confcache"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ elibtoolize
+}
+
+src_compile() {
+ local myconf
+
+ # don't build documentation as it doesn't seem to really work
+ export SGML2PS=no
+ export SGML2TXT=no
+ export SGML2HTML=no
+ export SGML2LATEX=no
+ export PS2PDF=no
+
+ if use hppa || use elibc_FreeBSD; then
+ myconf="${myconf} --disable-pie"
+ fi
+
+ econf \
+ $(use_enable nls) \
+ --enable-berkdb \
+ --enable-securedir=/$(get_libdir)/security \
+ --enable-isadir=/$(get_libdir)/security \
+ --disable-dependency-tracking \
+ --disable-prelude \
+ --enable-docdir=/usr/share/doc/${PF} \
+ ${myconf} || die "econf failed"
+
+ cd "${S}/modules/pam_userdb"
+ emake || die "emake failed"
+}
+
+src_install() {
+ cd "${S}/modules/pam_userdb"
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ # No, we don't really need .la files for PAM modules.
+ rm -f "${D}/$(get_libdir)/security/"*.la
+}