diff options
author | Johannes Huber <johu@gentoo.org> | 2013-06-15 23:16:52 +0200 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2013-06-15 23:16:52 +0200 |
commit | 3230846026d7c49b546c8fdfd76abf47ed09fa46 (patch) | |
tree | 757771e95d1d472e157afdc85d71d5d87a80a41e /sys-auth | |
parent | [kde-base] Fix kmail (diff) | |
download | kde-3230846026d7c49b546c8fdfd76abf47ed09fa46.tar.gz kde-3230846026d7c49b546c8fdfd76abf47ed09fa46.tar.bz2 kde-3230846026d7c49b546c8fdfd76abf47ed09fa46.zip |
[sys-auth/pambase] Remove, fixed version in tree.
Package-Manager: portage-2.2.0_alpha179
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/pambase/Manifest | 1 | ||||
-rw-r--r-- | sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch | 20 | ||||
-rw-r--r-- | sys-auth/pambase/files/pambase-20120417-systemd.patch | 29 | ||||
-rw-r--r-- | sys-auth/pambase/metadata.xml | 84 | ||||
-rw-r--r-- | sys-auth/pambase/pambase-20120417-r2.ebuild | 106 |
5 files changed, 0 insertions, 240 deletions
diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest deleted file mode 100644 index 04effc7ef0..0000000000 --- a/sys-auth/pambase/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pambase-20120417.tar.bz2 3361 SHA256 3fde3ff7714b3722b45545da36fdde6ca95a55d1b0a8cfb23666ec0de3ec5871 SHA512 7a666eb67f6484e536ecb070402036bcfdd137aced27df3f08b136d06eee5c13a6dc14aa93ea09e94c7f31e5a98db97dbaccd0c46af24b57028247de3a7cd9fe WHIRLPOOL 323edb9ef488a0ba562ef279d4acfb682540bf87838be9a3319ad2029ba1465d015fdf94c3192e24517ae9f0ed264e38d17aba65934211bd7b39bf309ee12540 diff --git a/sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch b/sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch deleted file mode 100644 index 79266a740b..0000000000 --- a/sys-auth/pambase/files/pambase-20120417-lastlog-silent.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- 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/files/pambase-20120417-systemd.patch b/sys-auth/pambase/files/pambase-20120417-systemd.patch deleted file mode 100644 index 047fb41c85..0000000000 --- a/sys-auth/pambase/files/pambase-20120417-systemd.patch +++ /dev/null @@ -1,29 +0,0 @@ -http://bugs.gentoo.org/372229 - ---- Makefile -+++ Makefile -@@ -28,6 +28,10 @@ - PAMFLAGS += -DHAVE_CONSOLEKIT=1 - endif - -+ifeq "$(SYSTEMD)" "yes" -+PAMFLAGS += -DHAVE_SYSTEMD=1 -+endif -+ - ifeq "$(GNOME_KEYRING)" "yes" - PAMFLAGS += -DHAVE_GNOME_KEYRING=1 - endif ---- system-login.in -+++ system-login.in -@@ -45,7 +45,10 @@ - #endif - session include system-auth - #if HAVE_CONSOLEKIT --session optional pam_ck_connector.so nox11 -+-session optional pam_ck_connector.so nox11 -+#endif -+#if HAVE_SYSTEMD -+-session optional pam_systemd.so - #endif - #if HAVE_GNOME_KEYRING - session optional pam_gnome_keyring.so auto_start diff --git a/sys-auth/pambase/metadata.xml b/sys-auth/pambase/metadata.xml deleted file mode 100644 index 7a35775161..0000000000 --- a/sys-auth/pambase/metadata.xml +++ /dev/null @@ -1,84 +0,0 @@ -<?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="consolekit"> - Enable pam_ck_connector module on local system logins. This - allows for console logins to make use of ConsoleKit - authorization. - </flag> - <flag name="systemd"> - Use pam_systemd module to register user sessions in the systemd - control group hierarchy. - </flag> - <flag name="gnome-keyring"> - Enable pam_gnome_keyring module on system login stack. This - enables proper Gnome Keyring access to logins, whether they are - done with the login shell, a Desktop Manager or a remote login - systems such as SSH. - </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> - <flag name="passwdqc"> - Enable pam_passwdqc module on system auth stack for password - quality validation. This is an alternative to pam_cracklib - producing warnings, rejecting or providing example passwords - when changing your system password. It is used by default by - OpenWall GNU/*/Linux and by FreeBSD. - </flag> - <flag name="mktemp"> - Enable pam_mktemp module on system auth stack for session - handling. This module creates a private temporary directory for - the user, and sets TMP and TMPDIR accordingly. - </flag> - <flag name="pam_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> - <flag name="sha512"> - Switch Linux-PAM's pam_unix module to use sha512 for passwords - hashes rather than MD5. This option requires - <pkg>>=sys-libs/pam-1.0.1</pkg> built against - <pkg>>=sys-libs/glibc-2.7</pkg>, if it's built against an - earlier version, it will silently be ignored, and MD5 hashes - will be used. All the passwords changed after this USE flag is - enabled will be saved to the shadow file hashed using SHA512 - function. The password previously saved will be left - untouched. Please note that while SHA512-hashed passwords will - still be recognised if the USE flag is removed, the shadow file - will not be compatible with systems using an earlier glibc - version. - </flag> - <flag name="pam_krb5"> - Enable pam_krb5 module on system auth stack, as an alternative - to pam_unix. If Kerberos authentication succeed, only pam_unix - will be ignore, and all the other modules will proceed as usual, - including Gnome Keyring and other session modules. It requires - <pkg>sys-libs/pam</pkg> as PAM implementation. - </flag> - <flag name="minimal"> - Disables the standard PAM modules that provide extra information - to users on login; this includes pam_tally (and pam_tally2 for - Linux PAM 1.1 and later), pam_lastlog, pam_motd and other - similar modules. This might not be a good idea on a multi-user - system but could reduce slightly the overhead on single-user - non-networked systems. - </flag> - </use> -</pkgmetadata> diff --git a/sys-auth/pambase/pambase-20120417-r2.ebuild b/sys-auth/pambase/pambase-20120417-r2.ebuild deleted file mode 100644 index a16a81030d..0000000000 --- a/sys-auth/pambase/pambase-20120417-r2.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# 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-r1.ebuild,v 1.1 2012/06/19 07:55:53 ssuominen Exp $ - -EAPI=4 -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 -} |