diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-21 11:04:39 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-04-21 11:04:39 +0000 |
commit | 7bda72682c50a81598713da473faddc2f80ff06f (patch) | |
tree | 84a83f607bc9f38615380db9501ef9ad9de06b19 /sys-libs/pam | |
parent | removed masks on new gnat compiers - ready to roll.. (diff) | |
download | historical-7bda72682c50a81598713da473faddc2f80ff06f.tar.gz historical-7bda72682c50a81598713da473faddc2f80ff06f.tar.bz2 historical-7bda72682c50a81598713da473faddc2f80ff06f.zip |
Add first try to get a newer version of Linux-PAM in the tree, version 0.99.3.0. Notable regression: no RedHat patches, thus no pam_stack.so. This might change in future revision. Not for production systems.
Package-Manager: portage-2.1_pre7-r5
Diffstat (limited to 'sys-libs/pam')
-rw-r--r-- | sys-libs/pam/ChangeLog | 10 | ||||
-rw-r--r-- | sys-libs/pam/Manifest | 23 | ||||
-rw-r--r-- | sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch | 23 | ||||
-rw-r--r-- | sys-libs/pam/files/digest-pam-0.99.3.0 | 3 | ||||
-rw-r--r-- | sys-libs/pam/pam-0.99.3.0.ebuild | 92 |
5 files changed, 143 insertions, 8 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog index 87afee25ba15..541f6c4e31d2 100644 --- a/sys-libs/pam/ChangeLog +++ b/sys-libs/pam/ChangeLog @@ -1,6 +1,14 @@ # 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.98 2006/03/05 04:53:52 pebenito Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.99 2006/04/21 11:04:38 flameeyes Exp $ + +*pam-0.99.3.0 (21 Apr 2006) + + 21 Apr 2006; Diego Pettenò <flameeyes@gentoo.org> + +files/Linux-PAM-0.99.3.0-prelude.patch, +pam-0.99.3.0.ebuild: + Add first try to get a newer version of Linux-PAM in the tree, version + 0.99.3.0. Notable regression: no RedHat patches, thus no pam_stack.so. This + might change in future revision. Not for production systems. *pam-0.78-r5 (05 Mar 2006) diff --git a/sys-libs/pam/Manifest b/sys-libs/pam/Manifest index ce83e2915066..14894e20e0b4 100644 --- a/sys-libs/pam/Manifest +++ b/sys-libs/pam/Manifest @@ -1,9 +1,12 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 f53f0b19c4a98d1605d474073a4ea9f2 ChangeLog 15794 -RMD160 e0cb479d3de66324bb7e3c0caabc52840974aa33 ChangeLog 15794 -SHA256 e7b606b2aa95e470eae8fc52efa68fba2275d44fe39b6ef0231bf92c5293b33e ChangeLog 15794 +MD5 f419c467c1babebc01defb2df0a5cb29 ChangeLog 16157 +RMD160 cb411afb29afc3a20f9c3f758599ec702513b173 ChangeLog 16157 +SHA256 e36063d438a54eef7eefe424a73acc0bb43d296578c061540f400b0f65b35621 ChangeLog 16157 +MD5 a5056601bdd10441f5690eb1754c68ec files/Linux-PAM-0.99.3.0-prelude.patch 760 +RMD160 e2e1815f1d2d1cabbc75f4669e66e1ba6414cc10 files/Linux-PAM-0.99.3.0-prelude.patch 760 +SHA256 161408eba223e4c675bf4599c931303541fc530f872f767bd9d134f3bace5b71 files/Linux-PAM-0.99.3.0-prelude.patch 760 MD5 73f196808b2658496c9a9bd525ca30da files/README.pam_console 2615 RMD160 cd7aa80df00d08ede7692ec2f04c7b4844080053 files/README.pam_console 2615 SHA256 a52823c008565e1c9c8bc6f3751182665dd240671ad194aa6e866d2c8d0af59c files/README.pam_console 2615 @@ -25,6 +28,9 @@ SHA256 518dc8f48f4411fdd1bfe37b7b75dcc8bbd3e34dcdb8f8866f6f8d0ee81a6c4e files/di MD5 62a0abc2cadbed30c294d6138e9580d3 files/digest-pam-0.78-r5 976 RMD160 51b00ba98d54859cde7a1a37e4a786014c67e979 files/digest-pam-0.78-r5 976 SHA256 1afc2f64a13c8dd8aa8b23db87ed5441c6961b44e13e48d91be1468957baba5c files/digest-pam-0.78-r5 976 +MD5 2ec8f1207e14c55949bf8e5a8b226b22 files/digest-pam-0.99.3.0 259 +RMD160 850f52c6ebb0167642586a181070fcf1a78a315c files/digest-pam-0.99.3.0 259 +SHA256 200428e4f49e48109a12b420b0f0a6eb6b3b50c014d85f96c9577f6dff4175d0 files/digest-pam-0.99.3.0 259 MD5 69f8cfad7f241eb669085eaa753cd9dd files/pam-0.77-console-reset.patch 1826 RMD160 60f727fda6e17ec1b0cfebf9759586605af4de28 files/pam-0.77-console-reset.patch 1826 SHA256 d0afffc9af74838c86853c5f5f862a413c4be487cf090dad2c3f6b034a34b524 files/pam-0.77-console-reset.patch 1826 @@ -64,10 +70,13 @@ SHA256 cc6b2bb9c7fc6cf58e83ff7cce1d41cfe8333ccd8df27ab7d99c85392ff628be pam-0.78 MD5 1fb6b2c2713d79064139e3fcd9434fb2 pam-0.78-r5.ebuild 11464 RMD160 47e23bc9fc5b0086264e3bb7fe999a0f1f9de0fc pam-0.78-r5.ebuild 11464 SHA256 82048e5858bcf2b6ed9d34906f1da619d41ead0c08a0bdb021805ad18601ec6a pam-0.78-r5.ebuild 11464 +MD5 b88ecb0bca38b05d0737f31eab15781a pam-0.99.3.0.ebuild 2339 +RMD160 a0dae64af798622e4af63f16c2bde2e9bb557da2 pam-0.99.3.0.ebuild 2339 +SHA256 cc267d63a2818c4de9b17718166475640bea80bbd4d0512005711a927894cfb4 pam-0.99.3.0.ebuild 2339 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v1.4.2.2 (GNU/Linux) -iD8DBQFECm7sJ+ChZlpDtAoRAjcKAJ9Mrd02/V0ZyZyBt3+apSh/8yL9bQCfcqs3 -fDwf6PU89az0zRiTP6C8eG8= -=PEDQ +iD8DBQFESLujAiZjviIA2XgRAmCYAJ41o2+sMNR9eYMsvUbNL5pYTc5ieQCg0ouR +ESwi9Xkdz8zC2Eui/Q2SXWk= +=qgTg -----END PGP SIGNATURE----- diff --git a/sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch b/sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch new file mode 100644 index 000000000000..99a391a3149b --- /dev/null +++ b/sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch @@ -0,0 +1,23 @@ +Index: Linux-PAM-0.99.3.0/configure.in +=================================================================== +--- Linux-PAM-0.99.3.0.orig/configure.in ++++ Linux-PAM-0.99.3.0/configure.in +@@ -175,9 +175,15 @@ dnl + dnl options and defaults + dnl + +-AM_PATH_LIBPRELUDE([0.9.0]) +-if test "$LIBPRELUDE_CONFIG" != "no" ; then +- LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1" ++AC_ARG_ENABLE([prelude], ++ AS_HELP_STRING([--disable-prelude], ++ [Disable building of prelude support (default: check)])) ++ ++if test "x$enable_prelude" != "xno"; then ++ AM_PATH_LIBPRELUDE([0.9.0]) ++ if test "$LIBPRELUDE_CONFIG" != "no" ; then ++ LIBPRELUDE_CFLAGS="$LIBPRELUDE_CFLAGS -DPRELUDE=1" ++ fi + fi + + dnl lots of debugging information goes to /var/run/pam-debug.log diff --git a/sys-libs/pam/files/digest-pam-0.99.3.0 b/sys-libs/pam/files/digest-pam-0.99.3.0 new file mode 100644 index 000000000000..8c8cc0def408 --- /dev/null +++ b/sys-libs/pam/files/digest-pam-0.99.3.0 @@ -0,0 +1,3 @@ +MD5 aabed0543f57dc3e4eebbb0779daf898 Linux-PAM-0.99.3.0.tar.bz2 728826 +RMD160 8333144f894ebec937dc7692aa54a05ccf0eff1d Linux-PAM-0.99.3.0.tar.bz2 728826 +SHA256 962d8c0ad7f9b2e130424587b281a28dceed4b290b2e8555beefe23fa642416c Linux-PAM-0.99.3.0.tar.bz2 728826 diff --git a/sys-libs/pam/pam-0.99.3.0.ebuild b/sys-libs/pam/pam-0.99.3.0.ebuild new file mode 100644 index 000000000000..9813cdd513c8 --- /dev/null +++ b/sys-libs/pam/pam-0.99.3.0.ebuild @@ -0,0 +1,92 @@ +# 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.3.0.ebuild,v 1.1 2006/04/21 11:04:39 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="-*" +IUSE="nls" + +DEPEND="nls? ( sys-devel/gettext ) + dev-util/pkgconfig" +RDEPEND="nls? ( virtual/libintl ) + >=sys-libs/cracklib-2.8.3" +DEPEND="${DEPEND} ${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +RESTRICT="confcache" + +PROVIDE="virtual/pam" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${MY_P}-prelude.patch" + + AT_M4DIR="${S}/m4" eautoreconf + 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() { + make 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 " " +} |