summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-07-22 22:27:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-07-22 22:27:37 +0000
commit26c9603efa9786775e456da6b6a3012eb3e5f826 (patch)
tree3a9c62d3564da4661ffab2999073dff5d7b6d211 /sys-auth
parentAdd ssh USE flag for pambase. (diff)
downloadhistorical-26c9603efa9786775e456da6b6a3012eb3e5f826.tar.gz
historical-26c9603efa9786775e456da6b6a3012eb3e5f826.tar.bz2
historical-26c9603efa9786775e456da6b6a3012eb3e5f826.zip
Add new pambase version, with added support for sys-auth/pam_ssh. Also contains fixes for bug #232669 for Gentoo/FreeBSD 7 systems. See bug #232691 for keywording request.
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.26-gentoo x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pambase/ChangeLog10
-rw-r--r--sys-auth/pambase/Manifest16
-rw-r--r--sys-auth/pambase/metadata.xml7
-rw-r--r--sys-auth/pambase/pambase-20080723.ebuild85
4 files changed, 115 insertions, 3 deletions
diff --git a/sys-auth/pambase/ChangeLog b/sys-auth/pambase/ChangeLog
index a5adbbb9a641..bd8d735a2ecc 100644
--- a/sys-auth/pambase/ChangeLog
+++ b/sys-auth/pambase/ChangeLog
@@ -1,6 +1,14 @@
# 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.40 2008/07/04 19:43:58 ricmm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.41 2008/07/22 22:27:37 flameeyes Exp $
+
+*pambase-20080723 (22 Jul 2008)
+
+ 22 Jul 2008; Diego Pettenò <flameeyes@gentoo.org> metadata.xml,
+ +pambase-20080723.ebuild:
+ Add new pambase version, with added support for sys-auth/pam_ssh. Also
+ contains fixes for bug #232669 for Gentoo/FreeBSD 7 systems. See bug
+ #232691 for keywording request.
04 Jul 2008; <ricmm@gentoo.org> pambase-20080318.ebuild:
Add ~mips, bug #230743
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest
index 73ddafb356ee..144255e3da57 100644
--- a/sys-auth/pambase/Manifest
+++ b/sys-auth/pambase/Manifest
@@ -1,4 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST pambase-20080318.tar.bz2 2368 RMD160 9cbbe6571aea574ce4129b554a5dc5eecdac5a76 SHA1 c7117fab51214ca98ed8bee3e1dda458af9cfab0 SHA256 4134b7b63468d217382905551b72b63d6661d6f2f88a989a5a79e878dbfae3a3
+DIST pambase-20080723.tar.bz2 2456 RMD160 37648ec033745fb29c3709f4642ee8a50a04ac0e SHA1 391653f7adccd89046f5a5c465c1cc70c46ef795 SHA256 82d3852c6eaae1624064817e8e83e61d6173eefbbaae494f60d06f09fdbe4b85
EBUILD pambase-20080318.ebuild 2800 RMD160 d5336180b0a80c56b74691f787144a2bc8c03d01 SHA1 39f3e0b4534a59e1c01ceaf8a43b734199abf2da SHA256 311c8dd6b71524e4158b9353a3268ee964ba023258b6e4750ec912e9ea5d7dd4
-MISC ChangeLog 5879 RMD160 75c760a1832443678711182d7bfc4f124479b28f SHA1 f1c4a507bfdc1b2ecaa113c6313e7e3a1bfcf684 SHA256 da5ec2a3f22960480ada9e63a63009c25afb5f8ef32224ee59e2d66d3c88804b
-MISC metadata.xml 1776 RMD160 4d482c1c48ed665ae0aabecf8ed6069025533617 SHA1 67806a566babe65995d171890a646b16e62060ce SHA256 47a5a8cc94c0b461ddd622fb9d80664f52bb22084eeac203ab10421af157ce28
+EBUILD pambase-20080723.ebuild 2806 RMD160 2f667ab8ca19e75bc1ca9c78fdcd439a65653809 SHA1 f8cfd61ec9e901b7245644339e7877932d80e9af SHA256 163000da4078b9c09c2272eef148f12f13f28ffccffa22c7cca1364d9b8685f3
+MISC ChangeLog 6190 RMD160 a2aa4827b695b1a55183b265a1eb6593509f3ce8 SHA1 a91f7032a0b0a2d83daf7a31c0f114afe89a7adb SHA256 f8962f1615ee8a8a7031a24fdeb2ca01b574b5832af7083edd8ae24b9f41dafe
+MISC metadata.xml 2114 RMD160 0580c03a87f858e2103ae53c88281bf06a42836b SHA1 3babc84a4cc7de73daeb0b20384b94a1852cc878 SHA256 3954be6dfb85c6cb8224730e16622187621f6813369e60659c863eb72c68463b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkiGXt8ACgkQAiZjviIA2XgBCQCglhtDZ9XGsSpTxKQPTz91Tm+o
+mn4AmwfvGQHD8RA0q5T0XqHum89irCrh
+=XMM2
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml
index d0622efecd0f..ace595126384 100644
--- a/sys-auth/pambase/metadata.xml
+++ b/sys-auth/pambase/metadata.xml
@@ -40,5 +40,12 @@
handling. This module creates a private temporary directory for
the user, and sets TMP and TMPDIR accordingly.
</flag>
+ <flag name="ssh">
+ Enable pam_ssh module on system auth stack for authentication
+ and session handling. This module will accept as password the
+ passphrase of a private SSH key (one of ~/.ssh/id_rsa,
+ ~/.ssh/id_dsa or ~/.ssh/identity), and will spawn an ssh-agent
+ instance to cache the open key.
+ </flag>
</use>
</pkgmetadata>
diff --git a/sys-auth/pambase/pambase-20080723.ebuild b/sys-auth/pambase/pambase-20080723.ebuild
new file mode 100644
index 000000000000..97a01aa6fb31
--- /dev/null
+++ b/sys-auth/pambase/pambase-20080723.ebuild
@@ -0,0 +1,85 @@
+# 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-20080723.ebuild,v 1.1 2008/07/22 22:27:37 flameeyes Exp $
+
+inherit eutils
+
+DESCRIPTION="PAM base configuration files"
+HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/"
+SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh"
+RESTRICT="binchecks"
+
+RDEPEND="
+ || (
+ >=sys-libs/pam-0.99.9.0-r1
+ ( sys-auth/openpam
+ || ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules )
+ )
+ )
+ cracklib? ( >=sys-libs/pam-0.99 )
+ consolekit? ( sys-auth/consolekit )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.20 )
+ selinux? ( >=sys-libs/pam-0.99 )
+ passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
+ mktemp? ( sys-auth/pam_mktemp )
+ ssh? ( sys-auth/pam_ssh )
+ !<sys-freebsd/freebsd-pam-modules-6.2-r1
+ !<sys-libs/pam-0.99.9.0-r1"
+DEPEND=""
+
+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
+
+ if use consolekit && ! built_with_use sys-auth/consolekit pam; then
+ eerror "To enable ConsoleKit support in the main PAM configuration"
+ eerror "you need to enable pam USE flag on sys-auth/consolekit"
+ eerror "first."
+ die "Missing pam_ck_connector"
+ fi
+
+ if use gnome-keyring && ! built_with_use gnome-base/gnome-keyring pam; then
+ eerror "To enable GNOME Keyring support in the main PAM configuration"
+ eerror "you need to enable pam USE flag on gnome-base/gnome-keyring"
+ eerror "first."
+ die "Missing pam_gnome_keyring"
+ fi
+}
+
+src_compile() {
+ has_version sys-libs/pam && implementation="linux-pam"
+ has_version sys-auth/openpam && implementation="openpam"
+
+ emake \
+ GIT=true \
+ DEBUG=$(use debug && echo yes || echo no) \
+ CRACKLIB=$(use cracklib && echo yes || echo no) \
+ PASSWDQC=$(use passwdqc && echo yes || echo no) \
+ CONSOLEKIT=$(use consolekit && echo yes || echo no) \
+ GNOME_KEYRING=$(use gnome-keyring && echo yes || echo no) \
+ SELINUX=$(use selinux && echo yes || echo no) \
+ MKTEMP=$(use mktemp && echo yes || echo no) \
+ PAM_SSH=$(use ssh && echo yes || echo no) \
+ IMPLEMENTATION=${implementation} \
+ || die "emake failed"
+}
+
+src_install() {
+ emake GIT=true DESTDIR="${D}" install || die "emake install failed"
+}