summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2013-06-15 21:09:03 +0000
committerJohannes Huber <johu@gentoo.org>2013-06-15 21:09:03 +0000
commit8028afc36d85bea88b12dba37ff9fbc8329e3261 (patch)
tree0e45f5528da194af4ceceb73f3506670ae79b4eb /sys-auth
parentVersion bump to 1.2 and 1.3, needed for new junit. Fixes bug #287763, contrib... (diff)
downloadhistorical-8028afc36d85bea88b12dba37ff9fbc8329e3261.tar.gz
historical-8028afc36d85bea88b12dba37ff9fbc8329e3261.tar.bz2
historical-8028afc36d85bea88b12dba37ff9fbc8329e3261.zip
Revision bump adds patch to make lastlog messages silent by Dennis Schridde <devurandom@gmx.net> wrt bug #468798. Acked by Diego Elio Pettenò <flameeyes@gentoo.org> on irc.
Package-Manager: portage-2.2.0_alpha179/cvs/Linux x86_64 Manifest-Sign-Key: 0xF3CFD2BD
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/pambase/ChangeLog13
-rw-r--r--sys-auth/pambase/Manifest36
-rw-r--r--sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch20
-rw-r--r--sys-auth/pambase/pambase-20120417-r2.ebuild106
4 files changed, 155 insertions, 20 deletions
diff --git a/sys-auth/pambase/ChangeLog b/sys-auth/pambase/ChangeLog
index b67720591c6d..395091e84162 100644
--- a/sys-auth/pambase/ChangeLog
+++ b/sys-auth/pambase/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-auth/pambase
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.112 2012/06/19 07:55:53 ssuominen Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.113 2013/06/15 21:08:49 johu Exp $
+
+*pambase-20120417-r2 (15 Jun 2013)
+
+ 15 Jun 2013; Johannes Huber <johu@gentoo.org>
+ +files/pambase-20120417-lastlog-silent.patch, +pambase-20120417-r2.ebuild:
+ Revision bump adds patch to make lastlog messages silent by Dennis Schridde
+ <devurandom@gmx.net> wrt bug #468798. Acked by Diego Elio Pettenò
+ <flameeyes@gentoo.org> on irc.
*pambase-20120417-r1 (19 Jun 2012)
@@ -490,4 +498,3 @@
+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
index c1d3684cf9b7..27cb09171b89 100644
--- a/sys-auth/pambase/Manifest
+++ b/sys-auth/pambase/Manifest
@@ -1,22 +1,24 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
-AUX pambase-20120417-systemd.patch 608 RMD160 d15e0a74975c9c9466e34da42a87f4b99a5da464 SHA1 6ce06bc4ce0814acdb5370c4d932af2fac6732ad SHA256 888f05068801f11cb49988a3da64f658782f0056410fdb7d68d240a7d1f619ff
-DIST pambase-20101024.tar.bz2 3201 RMD160 3b0c5950a7e2cafd3fe93a5663b35e851d5975bf SHA1 89bca8e926290518192f5728aab8794f028931f5 SHA256 89d60dd598d3da0ce1d1bcd7dc325f6c55002a1d4a7d27f9bb024f6732e9fba4
-DIST pambase-20120417.tar.bz2 3361 RMD160 1f82a6f724a80bf4937dabb3de81b17cd461c07f SHA1 2c2da9e1f273d99dd2592401e8ac69119a3f50d5 SHA256 3fde3ff7714b3722b45545da36fdde6ca95a55d1b0a8cfb23666ec0de3ec5871
-EBUILD pambase-20101024-r2.ebuild 2991 RMD160 1714a36e1b05eaca3297f919cbf7406e6a8f40c5 SHA1 995122dc3b0a490b3b542795ffc82e3cb6b34fb3 SHA256 6dc6d63bef5780e88319ef24a7ffce565591b78bb83ec3a8adf12d37be318093
-EBUILD pambase-20120417-r1.ebuild 3244 RMD160 666dcc05287fc89cfc8b359649110676883d2c74 SHA1 7ac24366c1dfede74c547aca1052a99086b326f8 SHA256 e17c7d2110ec15b0d44bbdd287fddf556dfc381714bb0c265b3c9b7b60ec5818
-EBUILD pambase-20120417.ebuild 3070 RMD160 6663423dcfc74e6ca8f35a4111b74969a70a5717 SHA1 f565c2bf0aeac6a48b5e51b4483e79690dc8985e SHA256 9e5f2943848324fab271b9b907d127feb3ea3caa6b5d9dc9b7cc666c63e08d57
-MISC ChangeLog 16725 RMD160 f6b17b9469f20876254b44176e208325c282b131 SHA1 f01a5d3f8a640e2b7d94c3091d36a8af017a72b3 SHA256 db1668d5f3efa0972b39127746990f2352cd3b32f3a6d03b2203ffeb3dfd3551
-MISC metadata.xml 3794 RMD160 720320812d86442c3766e21686802d22f8378dbe SHA1 271dc4bea343c54052af8ce194ffb9637009eff5 SHA256 fbddb3cd938b849feff7cc84fdad0d0b67b905a3ae97526047287208b098392c
+AUX pambase-20120417-lastlog-silent.patch 694 SHA256 9bce9de7831fcafaee0c5f56b28ed91d4e1974bef806f50b38cca82189f81782 SHA512 3bcef6d9e97cf38df079675ffdffaf233a185bbb09bf79930c81b8b7b802247de0f0bfb9e69d935bce7a7297f544f1c7abc199224e7a536cdfe606f2c0217500 WHIRLPOOL a4db8e5ab534cfc80d9452165dc492853f6fa717025dc49daab4c51847ea03a584ad6a44317804f56361e8916cab0d897bd8d8f065c31afd0ae22df5d8eaf367
+AUX pambase-20120417-systemd.patch 608 SHA256 888f05068801f11cb49988a3da64f658782f0056410fdb7d68d240a7d1f619ff SHA512 c06d4e35cae11b1156ba32051a4f25a4551857081e9a723f5c0b48758859d7794de94889eb91b19424b49bd4fd5509d34cba943d7a7bbc89f4339a771f29f754 WHIRLPOOL 0336ca519f528e3a0ac840d9da84cc7f28b420ee2864090dac459fd163962e251aa83e11bfd8d02bc7a8a313bac92598df19fb1278dd98a167942cbbca692de2
+DIST pambase-20101024.tar.bz2 3201 SHA256 89d60dd598d3da0ce1d1bcd7dc325f6c55002a1d4a7d27f9bb024f6732e9fba4
+DIST pambase-20120417.tar.bz2 3361 SHA256 3fde3ff7714b3722b45545da36fdde6ca95a55d1b0a8cfb23666ec0de3ec5871
+EBUILD pambase-20101024-r2.ebuild 2991 SHA256 6dc6d63bef5780e88319ef24a7ffce565591b78bb83ec3a8adf12d37be318093 SHA512 eb72bde119bb78667c0c86da29bd51b851931dae3e06f21fc31347a000072b043a69d2562ddf6df6791760e54f4e5b47df8fe71bde6e0f177fffa9884d8ec30f WHIRLPOOL 3a41155eb9c7338efbfba9a69cc1ef8d95af61def05641cf3b7af1bf8db8b349e211576763bc7a5969c139a5756d4e126fe88c5eb3921c27fb6efea286ba8667
+EBUILD pambase-20120417-r1.ebuild 3244 SHA256 e17c7d2110ec15b0d44bbdd287fddf556dfc381714bb0c265b3c9b7b60ec5818 SHA512 b53c35806b86d5e458d5257a05a49014b98aba8436597e7aab4c4fb3129719fe43cd2e9cd2a69ccaa1c6e27d145850fb2e2d3b2d8d6dea2b08145de6cc0687f6 WHIRLPOOL 8fc1951b412c47c57bc8c05933dbacd827d21fd6100dbe8e5b12d80dcfbfcd9bb07581b3919520a22f74a8312f99b079275dbb88bb41ef261f8db7398da316d4
+EBUILD pambase-20120417-r2.ebuild 3287 SHA256 67085cd65ac6d1d7aef1b7ed1e985ef05a218b1262b924c57eaf253815469494 SHA512 9419da5d58d65acc25b4316d386053a85a4188e2770644597d39de35b469a44b70a927596dd3757995a12f7820405d80822523fb36ac247b980eb366684df2a9 WHIRLPOOL d5edd902dd1f0b8a6502134207276ba8c059cf224d6f0112f28a33c2195f8f2042e2bef5fb33a600b97952b9e8faae3560badb119933444e10b06a647acb487e
+EBUILD pambase-20120417.ebuild 3070 SHA256 9e5f2943848324fab271b9b907d127feb3ea3caa6b5d9dc9b7cc666c63e08d57 SHA512 32662979b5aa3149aafb6d8cfe710606f023c375a815d510fae56416bf7c06a96058699c1c77694af8e218297f6b1edd04f7ac8e5559960b8e873bdebb900905 WHIRLPOOL 0e82f1fcc35586942a7745161b5445f5ba9210e8b08b74f8e13718a754c5461e78051e8754ff13302c20562bb24eb1207d4385d6fff410323d59a87d7a63e9e2
+MISC ChangeLog 17061 SHA256 2f2af2ba945075dd11edb58c2ba481aca7acec2a1fbb8bdd830026d30b8b6798 SHA512 4f04069e87b3afb070de51d9fb2497758ec9b32a6f61e66da698379aeeaa6ea7cd0879bcdde0c5af09add4af6b8f8ab3f030b321b7f4d446f3293df39f8ca171 WHIRLPOOL 65419b82b3c85ecaed82e02ea5e287099947e722ace68bd5924e7a24ea68974ed34d668efddb19070c80cc7ce5324d01a6af987e9e6a7b4228c6d1581eccceca
+MISC metadata.xml 3794 SHA256 fbddb3cd938b849feff7cc84fdad0d0b67b905a3ae97526047287208b098392c SHA512 ea6d2c31478a6394fb635dfaf100306a9429a645163a8859aa85056cf7805aa2fb57e7f20529b5ad3e0e4a45655cf45c6265786a640617d68a0438fabf43f784 WHIRLPOOL 534af71fe9c1ef2757d39e447d18730fdd5d4ffc762e9bde9ce09c2a507abd65c34c483abc20822a5e57ebdb8bb0b86e837337b46c3d14615aca7eabd776ffc7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBAgAGBQJP4C99AAoJEEdUh39IaPFN9gwH/3hvMPy9AYGl3JN3XRlfIy6N
-1T6FDCIg9f+kTrMTwOh8Ltb5PyT1BzM4eWsQze3EiQS0lkYO4+hqj8Qo6WDOb+1z
-3vrk07GwT5KleFPeF1fYWR8MvCJnai0fy4vNo9NDZcrULBT5s2UmjxWO7qITUI3b
-E/WJhIXRboXDUB74p2gLlMennPyJhMotOtkL2Uw+1Vt4dHB+fAncwKYnlf1jW8ld
-cSecnja0gfSv67ifkQOLB3Kl7W3DvmDakmY0GzxuYpkFO4n2GacCVwN1vflg7KB6
-0fOG4wQS0tfceRyL4r4rGFWHTHZW9bN/Rfkkr8NXBE+hwYRkVThyMbzEHhQolhA=
-=zi6y
+iQEcBAEBCAAGBQJRvNfsAAoJEO+t9ga+3I3acmMH/RahiURIKIWD9b5wGh4FQj+z
+Mu/qEmdP4vlKV2D9NzY1X+c4gq+7Mo58e9/N6IlWhHoQHyJn4Yaiakyslh+8uAa4
+FJAjA18y9ZP4i1pJOxOb3CWtR8v+ppRH0tY/6EO+SnuAMv10wqOBeFYG7Z01tetK
+rZeytEEYAFCtZkp786hj+zgOC2uk2/mxYjzEJ9iV/kgkc9chwtJT28x7xF4Xv7cR
+piGNjI6yPhUlhTUgqZxMbwYNHsBUZRLBJVczyss0I+9ZVzQAZuwfu8J64upBgsmH
+VWofsPoPYes3JsNQSPvgQpUuITDHViLU2iGpk0s4N4aAnWnTZVIobG2tX8Nn980=
+=nAoX
-----END PGP SIGNATURE-----
diff --git a/sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch b/sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch
new file mode 100644
index 000000000000..79266a740b61
--- /dev/null
+++ b/sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch
@@ -0,0 +1,20 @@
+--- pambase-20120417/login.in.orig 2012-11-21 14:31:49.031948988 +0100
++++ pambase-20120417/login.in 2012-11-21 14:32:41.172330601 +0100
+@@ -3,4 +3,6 @@
+
+ account include system-local-login
+ password include system-local-login
++
++session optional pam_lastlog.so DEBUG
+ session include system-local-login
+--- pambase-20120417/system-login.in.orig 2012-11-21 14:31:42.232160039 +0100
++++ pambase-20120417/system-login.in 2012-11-21 14:35:20.738025880 +0100
+@@ -41,7 +41,7 @@
+ session required pam_env.so DEBUG
+ #endif
+ #if HAVE_LASTLOG
+-session optional pam_lastlog.so DEBUG
++session optional pam_lastlog.so silent DEBUG
+ #endif
+ session include system-auth
+ #if HAVE_CONSOLEKIT
diff --git a/sys-auth/pambase/pambase-20120417-r2.ebuild b/sys-auth/pambase/pambase-20120417-r2.ebuild
new file mode 100644
index 000000000000..2034c8988c06
--- /dev/null
+++ b/sys-auth/pambase/pambase-20120417-r2.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20120417-r2.ebuild,v 1.1 2013/06/15 21:08:49 johu Exp $
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="PAM base configuration files"
+HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/"
+SRC_URI="http://dev.gentoo.org/~flameeyes/${PN}/${P}.tar.bz2
+ http://dev.gentoo.org/~phajdan.jr/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -sparc-fbsd -x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE="consolekit cracklib debug gnome-keyring minimal mktemp pam_krb5 pam_ssh passwdqc selinux +sha512 systemd"
+
+RESTRICT=binchecks
+
+MIN_PAM_REQ=1.1.3
+
+RDEPEND="
+ || (
+ >=sys-libs/pam-${MIN_PAM_REQ}
+ ( sys-auth/openpam || ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules ) )
+ )
+ consolekit? ( >=sys-auth/consolekit-0.4.5_p2012[pam] )
+ cracklib? ( >=sys-libs/pam-${MIN_PAM_REQ}[cracklib] )
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.32[pam] )
+ mktemp? ( sys-auth/pam_mktemp )
+ pam_krb5? (
+ >=sys-libs/pam-${MIN_PAM_REQ}
+ >=sys-auth/pam_krb5-4.3
+ )
+ pam_ssh? ( sys-auth/pam_ssh )
+ passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
+ selinux? ( >=sys-libs/pam-${MIN_PAM_REQ}[selinux] )
+ sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
+ systemd? ( >=sys-apps/systemd-44-r1[pam] )
+ !<sys-apps/shadow-4.1.5-r1
+ !<sys-freebsd/freebsd-pam-modules-6.2-r1
+ !<sys-libs/pam-0.99.9.0-r1"
+DEPEND="app-portage/portage-utils"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-systemd.patch
+ epatch "${FILESDIR}"/${P}-lastlog-silent.patch
+}
+
+src_compile() {
+ local implementation=
+ local linux_pam_version=
+ if has_version sys-libs/pam; then
+ implementation=linux-pam
+ local ver_str=$(qatom `best_version sys-libs/pam` | cut -d ' ' -f 3)
+ linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
+ elif has_version sys-auth/openpam; then
+ implementation=openpam
+ else
+ die "PAM implementation not identified"
+ fi
+
+ use_var() {
+ local varname=$(echo $1 | tr [a-z] [A-Z])
+ local usename=${2-$(echo $1 | tr [A-Z] [a-z])}
+ local varvalue=$(usex $usename)
+ echo "${varname}=${varvalue}"
+ }
+
+ emake \
+ GIT=true \
+ $(use_var debug) \
+ $(use_var cracklib) \
+ $(use_var passwdqc) \
+ $(use_var consolekit) \
+ $(use_var systemd) \
+ $(use_var GNOME_KEYRING gnome-keyring) \
+ $(use_var selinux) \
+ $(use_var mktemp) \
+ $(use_var PAM_SSH pam_ssh) \
+ $(use_var sha512) \
+ $(use_var KRB5 pam_krb5) \
+ $(use_var minimal) \
+ IMPLEMENTATION=${implementation} \
+ LINUX_PAM_VERSION=${linux_pam_version}
+}
+
+src_test() { :; }
+
+src_install() {
+ emake GIT=true DESTDIR="${ED}" install
+}
+
+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
+}