summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog10
-rw-r--r--sys-libs/pam/Manifest22
-rw-r--r--sys-libs/pam/files/Linux-PAM-0.99.3.0-prelude.patch23
-rw-r--r--sys-libs/pam/files/digest-pam-0.99.3.03
-rw-r--r--sys-libs/pam/pam-0.99.3.0.ebuild92
5 files changed, 139 insertions, 11 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..d0baa6b0af01 100644
--- a/sys-libs/pam/Manifest
+++ b/sys-libs/pam/Manifest
@@ -1,6 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 16c71fddf369310f9367a3343f09a3cb .pam-0.78-r5.ebuild.swp 16384
+RMD160 432a5e32af2f5642c9bde7ef1404d490145f8c56 .pam-0.78-r5.ebuild.swp 16384
+SHA256 fdc945f52927fb89e8464ad25216614c7a5e5c82f5768e2b5ee6e6187b87a95c .pam-0.78-r5.ebuild.swp 16384
+MD5 a58f0904c1cc306a67f4939fb3eeabdf .pam-0.99.3.0.ebuild.swp 12288
+RMD160 51bcad28d985cc7717ebe49dbf6b1fb134a1744a .pam-0.99.3.0.ebuild.swp 12288
+SHA256 e31fa3c37f1ebbc9502abb41141fe2660e04e44a43f227367d1c0c7d91a57ba6 .pam-0.99.3.0.ebuild.swp 12288
MD5 f53f0b19c4a98d1605d474073a4ea9f2 ChangeLog 15794
RMD160 e0cb479d3de66324bb7e3c0caabc52840974aa33 ChangeLog 15794
SHA256 e7b606b2aa95e470eae8fc52efa68fba2275d44fe39b6ef0231bf92c5293b33e ChangeLog 15794
@@ -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,6 @@ 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
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFECm7sJ+ChZlpDtAoRAjcKAJ9Mrd02/V0ZyZyBt3+apSh/8yL9bQCfcqs3
-fDwf6PU89az0zRiTP6C8eG8=
-=PEDQ
------END PGP SIGNATURE-----
+MD5 bda60cec06577fbf35fd30092abaddf2 pam-0.99.3.0.ebuild 390
+RMD160 a3a8749ab4daa902412420cf131385b4ff7e00fd pam-0.99.3.0.ebuild 390
+SHA256 ef039e1bf5c0e30de566e3d89d2b6676ba8fa95a9ed27fe6080ad5a98a116b51 pam-0.99.3.0.ebuild 390
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 " "
+}