diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-28 13:27:41 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-06-28 13:27:41 +0000 |
commit | e7ecaaa45ee9345639b58103c08b706c3b5634bd (patch) | |
tree | 31202da932bc7054fc179bbf1c0442913f03f078 /sys-libs | |
parent | added diff, will break if is converted filesize not correct; ad myself as 2nd... (diff) | |
download | gentoo-2-e7ecaaa45ee9345639b58103c08b706c3b5634bd.tar.gz gentoo-2-e7ecaaa45ee9345639b58103c08b706c3b5634bd.tar.bz2 gentoo-2-e7ecaaa45ee9345639b58103c08b706c3b5634bd.zip |
Bump to latest version, prelude is now fixed upstream.
(Portage version: 2.1.1_pre1-r5)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/pam/ChangeLog | 9 | ||||
-rw-r--r-- | sys-libs/pam/files/digest-pam-0.99.5.0 | 3 | ||||
-rw-r--r-- | sys-libs/pam/pam-0.99.5.0.ebuild | 89 |
3 files changed, 100 insertions, 1 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog index 584e2410957d..a0a1e1fd2e74 100644 --- a/sys-libs/pam/ChangeLog +++ b/sys-libs/pam/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/pam # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.108 2006/06/20 06:22:33 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.109 2006/06/28 13:27:41 flameeyes Exp $ + +*pam-0.99.5.0 (28 Jun 2006) + + 28 Jun 2006; Diego Pettenò <flameeyes@gentoo.org> + -files/Linux-PAM-0.99.3.0-prelude.patch, -pam-0.99.4.0.ebuild, + +pam-0.99.5.0.ebuild: + Bump to latest version, prelude is now fixed upstream. 20 Jun 2006; Stefan Schweizer <genstef@gentoo.org> pam-0.99.4.0.ebuild: Add ~x86 diff --git a/sys-libs/pam/files/digest-pam-0.99.5.0 b/sys-libs/pam/files/digest-pam-0.99.5.0 new file mode 100644 index 000000000000..3407a8264942 --- /dev/null +++ b/sys-libs/pam/files/digest-pam-0.99.5.0 @@ -0,0 +1,3 @@ +MD5 dbc8608b2a9bc6b8cf50dd1fbc68cf3b Linux-PAM-0.99.5.0.tar.bz2 849840 +RMD160 96422738bc63f9c884f8f40d48893984d2a13f58 Linux-PAM-0.99.5.0.tar.bz2 849840 +SHA256 550da8b4d049594e95e8a5157dc591b44114e70aff1ad1a153444982784359e3 Linux-PAM-0.99.5.0.tar.bz2 849840 diff --git a/sys-libs/pam/pam-0.99.5.0.ebuild b/sys-libs/pam/pam-0.99.5.0.ebuild new file mode 100644 index 000000000000..56e9b90eb821 --- /dev/null +++ b/sys-libs/pam/pam-0.99.5.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.5.0.ebuild,v 1.1 2006/06/28 13:27:41 flameeyes Exp $ + +inherit libtool multilib eutils autotools pam + +MY_P="Linux-PAM-${PV}" + +HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" +DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)" + +SRC_URI="http://www.kernel.org/pub/linux/libs/pam/pre/library/${MY_P}.tar.bz2" + +LICENSE="PAM" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext )" +RDEPEND="nls? ( virtual/libintl ) + >=sys-libs/cracklib-2.8.3 + sys-libs/pwdb" +DEPEND="${DEPEND} ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +RESTRICT="confcache" + +PROVIDE="virtual/pam" + +src_unpack() { + unpack ${A} + cd "${S}" + + elibtoolize +} + +src_compile() { + local myconf + + # don't build documentation as it doesn't seem to really work + export SGML2PS=no + export SGML2TXT=no + export SGML2HTML=no + export SGML2LATEX=no + export PS2PDF=no + + if use hppa || use elibc_FreeBSD; then + myconf="${myconf} --disable-pie" + fi + + econf \ + $(use_enable nls) \ + --enable-securedir=/$(get_libdir)/security \ + --enable-isadir=/$(get_libdir)/security \ + --disable-dependency-tracking \ + --disable-prelude \ + --enable-docdir=/usr/share/doc/${PF} \ + ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodir /$(get_libdir) + mv "${D}/usr/$(get_libdir)/libpam.so"* "${D}/$(get_libdir)/" + mv "${D}/usr/$(get_libdir)/libpamc.so"* "${D}/$(get_libdir)/" + mv "${D}/usr/$(get_libdir)/libpam_misc.so"* "${D}/$(get_libdir)/" + gen_usr_ldscript libpam.so libpamc.so libpam_misc.so + + # No, we don't really need .la files for PAM modules. + rm -f "${D}/$(get_libdir)/security/"*.la + + dodoc CHANGELOG ChangeLog README AUTHORS Copyright + + for x in "${FILESDIR}/pam.d/"*; do + [[ -f "${x}" ]] && dopamd "${x}" + done +} + +pkg_postinst() { + ewarn " " + ewarn "Pay attention! This ebuild is still highly experimental. Don't use" + ewarn "in production environments. We don't guarrantee it's working at all." + ewarn "Please also note that RedHat patches are not applied, thus stuff" + ewarn "like pam_stack is not present at this time." + ewarn " " +} |