summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-19 11:40:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-02-19 11:40:28 +0000
commitd74735bd7a59f8bd9fa61200cc50c96754e33f89 (patch)
treebc5d5cb27e80edb6f047ad9022888a902fbd4545 /sys-auth
parentAdded -mminimal-toc on ppc64 to fix linking errors (see bug #210229). (diff)
downloadhistorical-d74735bd7a59f8bd9fa61200cc50c96754e33f89.tar.gz
historical-d74735bd7a59f8bd9fa61200cc50c96754e33f89.tar.bz2
historical-d74735bd7a59f8bd9fa61200cc50c96754e33f89.zip
Initial import, pambase package provides the basic configuration files for PAM (either Linux-PAM or OpenPAM).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pambase/ChangeLog11
-rw-r--r--sys-auth/pambase/Manifest14
-rw-r--r--sys-auth/pambase/metadata.xml21
-rw-r--r--sys-auth/pambase/pambase-20080219.ebuild54
4 files changed, 100 insertions, 0 deletions
diff --git a/sys-auth/pambase/ChangeLog b/sys-auth/pambase/ChangeLog
new file mode 100644
index 000000000000..a0cc747e30fd
--- /dev/null
+++ b/sys-auth/pambase/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-auth/pambase
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.1 2008/02/19 11:40:28 flameeyes Exp $
+
+*pambase-20080219 (19 Feb 2008)
+
+ 19 Feb 2008; Diego Pettenò <flameeyes@gentoo.org> +metadata.xml,
+ +pambase-20080219.ebuild:
+ Initial import, pambase package provides the basic configuration files for
+ PAM (either Linux-PAM or OpenPAM).
+
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest
new file mode 100644
index 000000000000..641c2d624889
--- /dev/null
+++ b/sys-auth/pambase/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST pambase-20080219.tar.bz2 2004 RMD160 2e2077039dc355d1be3d2069309099d1fff56c95 SHA1 ff44de1400ad571c471615845d4ac7890e02900c SHA256 b2f2bf783a7022a8a2616d1b04c2109d9829ad953fe904f844b4ab2c728ed930
+EBUILD pambase-20080219.ebuild 1564 RMD160 1b852b058973f22009a66a5873bd19fdae2b2dae SHA1 a67e8b2e38042b4b473e4f2d2e8f04100e7bf84f SHA256 8dacdf67d271cc7a125e8907b99b531295b748db25c40fc84e4434177c2f2b74
+MISC ChangeLog 452 RMD160 eb6d913797f7a7b5d94c10985e408712363fbafd SHA1 e4ca2a4860d09e39a999e17534f415039a87e159 SHA256 f99b26bedd45b62c49ae13f7cc4b210a9245c6247bfa88d189ab25843fd1f420
+MISC metadata.xml 742 RMD160 569d0ba75cf556ac52d148ed651dea4251394d34 SHA1 aaf3382c617402b6369e889549d872d6bb15fc55 SHA256 60340b3104244aeb1f08d75284b5312d0c4b70d7851f70aafeb04464fba76581
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.7 (GNU/Linux)
+
+iD8DBQFHusA9AiZjviIA2XgRAn/TAJ0QHjbjSZS0EOXdojWbC4adi8zrSwCeKHTJ
+kJhPbCnD0VB2x/B52J5JQoY=
+=X0Xt
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml
new file mode 100644
index 000000000000..6792d524ea51
--- /dev/null
+++ b/sys-auth/pambase/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+ <use>
+ <flag name="cracklib">
+ Enable pam_cracklib module on system authentication stack. This
+ produces warnings when changing password to something easily
+ crackable. It requires the same USE flag to be enabled on
+ <pkg>sys-libs/pam</pkg> or system login might be impossible.
+ </flag>
+ <flag name="debug">
+ Enable debug information logging on syslog(3) for all the
+ modules supporting this in the system authentication and system
+ login stacks.
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/sys-auth/pambase/pambase-20080219.ebuild b/sys-auth/pambase/pambase-20080219.ebuild
new file mode 100644
index 000000000000..56eeab9fba67
--- /dev/null
+++ b/sys-auth/pambase/pambase-20080219.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20080219.ebuild,v 1.1 2008/02/19 11:40:28 flameeyes Exp $
+
+inherit eutils
+
+DESCRIPTION="PAM base configuration files"
+SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2"
+HOMEPAGE="http://www.gentoo.org/proj/en/pam/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug cracklib selinux"
+
+RDEPEND="virtual/pam
+ cracklib? ( >=sys-libs/pam-0.99 )
+ selinux? ( >=sys-libs/pam-0.99 )
+ !sys-auth/openpam
+ !<sys-libs/pam-0.99.9.0-r1"
+
+RESTRICT="binchecks"
+
+pkg_setup() {
+ if use cracklib && ! built_with_use sys-libs/pam cracklib; then
+ eerror "To enable cracklib support in the main PAM configuration"
+ eerror "you need to enable cracklib USE flag on sys-libs/pam"
+ eerror "first."
+ die "Missing pam_cracklib"
+ fi
+
+ if use selinux && ! built_with_use sys-libs/pam selinux; then
+ eerror "To enable selinux support in the main PAM configuration"
+ eerror "you need to enable selinux USE flag on sys-libs/pam"
+ eerror "first."
+ die "Missing pam_selinux"
+ fi
+}
+
+src_compile() {
+ has_version sys-libs/pam && implementation="linux-pam"
+ has_version sys-auth/openpam && implementation="openpam"
+
+ emake \
+ DEBUG=$(use debug && echo yes || echo no) \
+ CRACKLIB=$(use cracklib && echo yes || echo no) \
+ SELINUX=$(use selinux && echo yes || echo no) \
+ IMPLEMENTATION=${implementation} \
+ || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+}