diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-19 11:40:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-02-19 11:40:28 +0000 |
commit | 06ae3b9136e95906ea70e705b1301b0d5ff90737 (patch) | |
tree | fdab6a5915e7ec2fec8d00b966db82aefaba99a9 /sys-auth | |
parent | Added -mminimal-toc on ppc64 to fix linking errors (see bug #210229). (diff) | |
download | gentoo-2-06ae3b9136e95906ea70e705b1301b0d5ff90737.tar.gz gentoo-2-06ae3b9136e95906ea70e705b1301b0d5ff90737.tar.bz2 gentoo-2-06ae3b9136e95906ea70e705b1301b0d5ff90737.zip |
Initial import, pambase package provides the basic configuration files for PAM (either Linux-PAM or OpenPAM).
(Portage version: 2.1.4.4)
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pambase/ChangeLog | 11 | ||||
-rw-r--r-- | sys-auth/pambase/Manifest | 4 | ||||
-rw-r--r-- | sys-auth/pambase/metadata.xml | 21 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20080219.ebuild | 54 |
4 files changed, 90 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..d5760c970a76 --- /dev/null +++ b/sys-auth/pambase/Manifest @@ -0,0 +1,4 @@ +DIST pambase-20080219.tar.bz2 2004 RMD160 2e2077039dc355d1be3d2069309099d1fff56c95 SHA1 ff44de1400ad571c471615845d4ac7890e02900c SHA256 b2f2bf783a7022a8a2616d1b04c2109d9829ad953fe904f844b4ab2c728ed930 +EBUILD pambase-20080219.ebuild 1459 RMD160 337c2da3ce51c97367d2134ea98ce2e1780480a6 SHA1 16da6d55b603583ea60125ee28e13a9789693d2d SHA256 b3853dbc75d07a324b1ccbd80755f20b16e484abdea449f8645ffc95b725cadb +MISC ChangeLog 361 RMD160 1a6e7dd8e414c8ef5749b3bc0c1ae53d4432c87f SHA1 521e9d9cde3b59dc21bdbdf617a9d84f16c82368 SHA256 986dd3eee825ee3dc0dcc7b7f1a49cad5d04faeab66ea0ae0217545ab510b53a +MISC metadata.xml 742 RMD160 569d0ba75cf556ac52d148ed651dea4251394d34 SHA1 aaf3382c617402b6369e889549d872d6bb15fc55 SHA256 60340b3104244aeb1f08d75284b5312d0c4b70d7851f70aafeb04464fba76581 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" +} |