Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 281707 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sys-auth/pambase/pambase-20090620.1-r1.ebuild (-1 / +15 lines)
Lines 13-19 Link Here
13
LICENSE="GPL-2"
13
LICENSE="GPL-2"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
16
IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh +sha512"
16
IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh ldap +sha512"
17
RESTRICT="binchecks"
17
RESTRICT="binchecks"
18
18
19
RDEPEND="
19
RDEPEND="
Lines 30-40 Link Here
30
	passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
30
	passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
31
	mktemp? ( sys-auth/pam_mktemp )
31
	mktemp? ( sys-auth/pam_mktemp )
32
	ssh? ( sys-auth/pam_ssh )
32
	ssh? ( sys-auth/pam_ssh )
33
	ldap? ( sys-auth/pam_ldap )
33
	sha512? ( >=sys-libs/pam-1.0.1 )
34
	sha512? ( >=sys-libs/pam-1.0.1 )
34
	!<sys-freebsd/freebsd-pam-modules-6.2-r1
35
	!<sys-freebsd/freebsd-pam-modules-6.2-r1
35
	!<sys-libs/pam-0.99.9.0-r1"
36
	!<sys-libs/pam-0.99.9.0-r1"
36
DEPEND="app-portage/portage-utils"
37
DEPEND="app-portage/portage-utils"
37
38
39
src_unpack() {
40
	unpack ${A}
41
	cd "${S}"
42
	epatch "${FILESDIR}/${PV}/ldap.patch"
43
}
44
38
src_compile() {
45
src_compile() {
39
	local implementation=
46
	local implementation=
40
	local linux_pam_version=
47
	local linux_pam_version=
Lines 65-70 Link Here
65
		$(use_var selinux) \
72
		$(use_var selinux) \
66
		$(use_var mktemp) \
73
		$(use_var mktemp) \
67
		$(use_var PAM_SSH ssh) \
74
		$(use_var PAM_SSH ssh) \
75
		$(use_var ldap) \
68
		$(use_var sha512) \
76
		$(use_var sha512) \
69
		IMPLEMENTATION=${implementation} \
77
		IMPLEMENTATION=${implementation} \
70
		LINUX_PAM_VERSION=${linux_pam_version} \
78
		LINUX_PAM_VERSION=${linux_pam_version} \
Lines 86-90 Link Here
86
		elog "Please note that the change only affects the newly-changed passwords"
94
		elog "Please note that the change only affects the newly-changed passwords"
87
		elog "and that SHA512-hashed passwords will not work on earlier versions"
95
		elog "and that SHA512-hashed passwords will not work on earlier versions"
88
		elog "of glibc or Linux-PAM."
96
		elog "of glibc or Linux-PAM."
97
		elog ""
98
	fi
99
100
	if use ldap; then
101
		elog "You've enabled support for pam_ldap. Be sure /etc/ldap.conf is"
102
		elog "configured properly for your environment."
89
	fi
103
	fi
90
}
104
}

Return to bug 281707