summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-08-05 18:52:16 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-08-05 18:52:16 +0000
commit891db8e3e58a7f0e8e328c39b07ef0c9bc73c4b6 (patch)
tree84ef46d25f0f79f6bd9a0e222177623b216e295b /sys-libs
parentnow uses gnome2.eclass and mirror:// (diff)
downloadgentoo-2-891db8e3e58a7f0e8e328c39b07ef0c9bc73c4b6.tar.gz
gentoo-2-891db8e3e58a7f0e8e328c39b07ef0c9bc73c4b6.tar.bz2
gentoo-2-891db8e3e58a7f0e8e328c39b07ef0c9bc73c4b6.zip
fix null config file for pam_group.so
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/pam/ChangeLog5
-rw-r--r--sys-libs/pam/files/pam-0.75-pam_group-confile.patch11
-rw-r--r--sys-libs/pam/pam-0.75-r7.ebuild9
3 files changed, 22 insertions, 3 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog
index d9a787497084..af9a3a472c76 100644
--- a/sys-libs/pam/ChangeLog
+++ b/sys-libs/pam/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/pam
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.9 2002/07/30 23:48:02 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.10 2002/08/05 18:52:16 azarah Exp $
+
+ 05 Aug 2002; M.Schlemmer <azarah@gentoo.org> ${P}-pam_group-confile.patch :
+ Fixes the config file location of pam_group.so. This resolves bug #6010.
31 Jul 2002; M.Schlemmer <azarah@gentoo.org> ${P}-pam_wheel-segfault.patch :
Fix a segfault in pam_wheel.so if "use_uid" was not given as parameter.
diff --git a/sys-libs/pam/files/pam-0.75-pam_group-confile.patch b/sys-libs/pam/files/pam-0.75-pam_group-confile.patch
new file mode 100644
index 000000000000..bdce47f88fd0
--- /dev/null
+++ b/sys-libs/pam/files/pam-0.75-pam_group-confile.patch
@@ -0,0 +1,11 @@
+--- Linux-PAM-0.75/modules/pam_group/Makefile.orig Mon Aug 5 20:43:10 2002
++++ Linux-PAM-0.75/modules/pam_group/Makefile Mon Aug 5 20:41:28 2002
+@@ -11,7 +11,7 @@
+ LOCAL_CONFILE=./group.conf
+ INSTALLED_CONFILE=$(SCONFIGD)/group.conf
+
+-DEFS=-DDEFAULT_CONF_FILE=\"$(CONFILE)\"
++DEFS=-DDEFAULT_CONF_FILE=\"$(INSTALLED_CONFILE)\"
+ CFLAGS += $(DEFS)
+
+ MODULE_SIMPLE_INSTALL=bash -f ../install_conf "$(FAKEROOT)" "$(SCONFIGD)" "$(INSTALLED_CONFILE)" "$(TITLE)" "$(LOCAL_CONFILE)"
diff --git a/sys-libs/pam/pam-0.75-r7.ebuild b/sys-libs/pam/pam-0.75-r7.ebuild
index e5cd785c36a5..3960edf9b2ff 100644
--- a/sys-libs/pam/pam-0.75-r7.ebuild
+++ b/sys-libs/pam/pam-0.75-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r7.ebuild,v 1.2 2002/07/30 23:48:02 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r7.ebuild,v 1.3 2002/08/05 18:52:16 azarah Exp $
S=${WORKDIR}/Linux-PAM-${PV}
S2=${WORKDIR}/pam
@@ -44,9 +44,14 @@ src_unpack() {
# used as argument to module. This should resolve bug #5686.
#
# Martin Schlemmer <azarah@gentoo.org> (31 Jul 2002)
- #
patch -p1 < ${FILESDIR}/${P}-pam_wheel-segfault.patch || die
+ # Fixes the config file location of pam_group.so. This
+ # resolves bug #6010.
+ #
+ # Martin Schlemmer <azarah@gentoo.org> (05 Aug 2002)
+ patch -p1 < ${FILESDIR}/${P}-pam_group-confile.patch || die
+
export WANT_AUTOCONF_2_5=1
autoconf