summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-30 16:28:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-30 16:28:52 +0000
commit9c4385dbf2619dab5c7d66fb18b0408981890c4a (patch)
treed8f3ab67be66e168d3f4d9c7f1ef298091117f5f /sys-auth/pambase
parentBump to 2.2.2, thanks to Alessio Cassibba. Fixes #267838 (diff)
downloadhistorical-9c4385dbf2619dab5c7d66fb18b0408981890c4a.tar.gz
historical-9c4385dbf2619dab5c7d66fb18b0408981890c4a.tar.bz2
historical-9c4385dbf2619dab5c7d66fb18b0408981890c4a.zip
Add a new pambase version, with a stricter dependency on ConsoleKit and support for remote sessions as well as local. Should fix bug #260842 (PAM side).
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'sys-auth/pambase')
-rw-r--r--sys-auth/pambase/ChangeLog10
-rw-r--r--sys-auth/pambase/Manifest14
-rw-r--r--sys-auth/pambase/pambase-20090430.ebuild73
3 files changed, 95 insertions, 2 deletions
diff --git a/sys-auth/pambase/ChangeLog b/sys-auth/pambase/ChangeLog
index 182c1bb28e9e..c9881f6df281 100644
--- a/sys-auth/pambase/ChangeLog
+++ b/sys-auth/pambase/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-auth/pambase
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.65 2009/03/21 02:36:42 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.66 2009/04/30 16:28:52 flameeyes Exp $
+
+*pambase-20090430 (30 Apr 2009)
+
+ 30 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +pambase-20090430.ebuild:
+ Add a new pambase version, with a stricter dependency on ConsoleKit and
+ support for remote sessions as well as local. Should fix bug #260842 (PAM
+ side).
21 Mar 2009; Jeroen Roovers <jer@gentoo.org> pambase-20081028.ebuild:
Stable for HPPA (bug #261595).
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest
index 47f61a7c9355..17094f0dcdd1 100644
--- a/sys-auth/pambase/Manifest
+++ b/sys-auth/pambase/Manifest
@@ -1,7 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST pambase-20080318.tar.bz2 2368 RMD160 9cbbe6571aea574ce4129b554a5dc5eecdac5a76 SHA1 c7117fab51214ca98ed8bee3e1dda458af9cfab0 SHA256 4134b7b63468d217382905551b72b63d6661d6f2f88a989a5a79e878dbfae3a3
DIST pambase-20081028.tar.bz2 2556 RMD160 c7ea746c7a9ab841b6438d125033f161043689a2 SHA1 0786d4c2325424d27a293adb9b787bb8467adcd3 SHA256 3ccfbc9aa70b1e1b248e21636f40625dfdb87952088e6fbebba7fce3ee8aa5cd
+DIST pambase-20090430.tar.bz2 2564 RMD160 0e1d9e5d7acbae3515243457828b4a48f8506828 SHA1 ac27bbccba217219c6d854e1c3c22eb805b81a10 SHA256 9a6eddefbccbd77fabd9193fc4159c1b61e2e6e74a3aca41cd3632c82285d192
EBUILD pambase-20080318.ebuild 2797 RMD160 2a87180fa54b86ea6e3568fc827bda43f1beeca9 SHA1 6912eaef2551c6f970dd5e2f52a17bc56511ece2 SHA256 8f5ea93d71d592b6884546f57ab1f807e16b6316eb746fc9668a9377e2b380f3
EBUILD pambase-20081028-r1.ebuild 2533 RMD160 b80a9f085d30fd152c1b19c73500898863939e10 SHA1 9f3c4b2a9dec788cfb68f331466b4565677d3fb4 SHA256 f4cc5020c63f69a9db5f4ed799c629f5c8a1543f15488358cee9553eec141600
EBUILD pambase-20081028.ebuild 3534 RMD160 8053f52a9fb86ea0e22382e4e9ee3fba1c4e81bb SHA1 298dd0997035430513209dc07849eafab54ac177 SHA256 55b7713fd6e4db66a798194296d923584a748714b70e86d2dc009c1faeba0848
-MISC ChangeLog 9349 RMD160 8f1556f6c349e52988356df33beadfd4f4a5746a SHA1 2b71760269dbfd039744c95071151d61ba1ec98d SHA256 13a903503a7c0a3b85efea622ff6cb0b5d53f9fd904be0c7801b2c1577f51906
+EBUILD pambase-20090430.ebuild 2539 RMD160 cd438df37a04ae42f48679be05ae220ede558aba SHA1 fc06505c3757c7221a2b1a882aba460ad89fb3c5 SHA256 efd18794838aa2b27ca27f1ac714bf4addda487de12bf13567be67b806ee93aa
+MISC ChangeLog 9632 RMD160 a65c8b3e239ddc5ae2adfc79c4a1e56cd3de1a64 SHA1 4ecdf6e5e8cc2ca3b3a3ec281e0f96393c7014d7 SHA256 087206a36736c8a7a9e34823cdb95676e6a6c84bcf1fd09918c442d33f8447c3
MISC metadata.xml 2874 RMD160 74035c58791c92882c1e3e7c0f9f12f93481759a SHA1 c386b00664c9fa6a816a45af75d9805a850c4031 SHA256 ebb8c90cd39aca27e3cd03bf6432dc40a3af886248fd816f7c69b6e096784e9f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkn50c8ACgkQAiZjviIA2XhMzACgvdZ0GWK4YmDrtbTgyAKjQyXg
+DbsAn3tmpdO+bKbEE16aci0Wu771lXs0
+=6r+G
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/pambase/pambase-20090430.ebuild b/sys-auth/pambase/pambase-20090430.ebuild
new file mode 100644
index 000000000000..71dd9f8b9d36
--- /dev/null
+++ b/sys-auth/pambase/pambase-20090430.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20090430.ebuild,v 1.1 2009/04/30 16:28:52 flameeyes Exp $
+
+EAPI=2
+
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh +sha512"
+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[cracklib] )
+ consolekit? ( >=sys-auth/consolekit-0.3[pam] )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.20[pam] )
+ selinux? ( >=sys-libs/pam-0.99[selinux] )
+ passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
+ mktemp? ( sys-auth/pam_mktemp )
+ ssh? ( sys-auth/pam_ssh )
+ sha512? ( >=sys-libs/pam-1.0.1 )
+ !<sys-freebsd/freebsd-pam-modules-6.2-r1
+ !<sys-libs/pam-0.99.9.0-r1"
+DEPEND=""
+
+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) \
+ SHA512=$(use sha512 && echo yes || echo no) \
+ IMPLEMENTATION=${implementation} \
+ || die "emake failed"
+}
+
+src_install() {
+ emake GIT=true DESTDIR="${D}" install || die "emake install failed"
+}
+
+pkg_postinst() {
+ if use sha512; then
+ elog "Starting from version 20080801, pambase optionally enables"
+ elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1"
+ elog "built against sys-libs/glibc-2.7 or later."
+ elog "If you don't have support for this, it will automatically fallback"
+ elog "to MD5-hashed passwords, just like before."
+ elog
+ elog "Please note that the change only affects the newly-changed passwords"
+ elog "and that SHA512-hashed passwords will not work on earlier versions"
+ elog "of glibc or Linux-PAM."
+ fi
+}