diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-11-05 04:25:21 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-11-05 04:25:21 +0000 |
commit | 2f24784beb14235f9be2828a16bfd6f1a642710f (patch) | |
tree | 8321501e2d37c3bb0ff49d4498077793d442d139 /sys-libs/pam | |
parent | Stable on ppc, bug #68404. (Manifest recommit) (diff) | |
download | gentoo-2-2f24784beb14235f9be2828a16bfd6f1a642710f.tar.gz gentoo-2-2f24784beb14235f9be2828a16bfd6f1a642710f.tar.bz2 gentoo-2-2f24784beb14235f9be2828a16bfd6f1a642710f.zip |
old patches
Diffstat (limited to 'sys-libs/pam')
-rw-r--r-- | sys-libs/pam/files/pam-0.75-configure-db4.patch | 11 | ||||
-rw-r--r-- | sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch | 18 | ||||
-rw-r--r-- | sys-libs/pam/files/pam-0.75-pam_group-confile.patch | 11 | ||||
-rw-r--r-- | sys-libs/pam/files/pam-0.75-pam_userdb-use-db3.patch | 50 | ||||
-rw-r--r-- | sys-libs/pam/files/pam-0.75-pam_wheel-segfault.patch | 26 | ||||
-rw-r--r-- | sys-libs/pam/files/pam-0.75-selinux.diff.bz2 | bin | 1523 -> 0 bytes |
6 files changed, 0 insertions, 116 deletions
diff --git a/sys-libs/pam/files/pam-0.75-configure-db4.patch b/sys-libs/pam/files/pam-0.75-configure-db4.patch deleted file mode 100644 index 1b114485c969..000000000000 --- a/sys-libs/pam/files/pam-0.75-configure-db4.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.in.orig 2003-07-01 17:40:39.000000000 +0000 -+++ configure.in 2003-07-01 17:41:34.000000000 +0000 -@@ -184,7 +184,7 @@ - AC_CHECK_LIB(ndbm, dbm_store, HAVE_LIBNDBM=yes ; AC_DEFINE(HAVE_LIBNDBM), - HAVE_LIBNDBM=no) - AC_SUBST(HAVE_LIBNDBM) --AC_CHECK_LIB(db, __db_ndbm_fetch, HAVE_LIBDB=yes ; AC_DEFINE(HAVE_LIBDB), -+AC_CHECK_HEADER(db.h, HAVE_LIBDB=yes ; AC_DEFINE(HAVE_LIBDB), - HAVE_LIBDB=no) - AC_SUBST(HAVE_LIBDB) - AC_CHECK_LIB(fl, yylex, yyterminate, HAVE_LIBFL=yes ; AC_DEFINE(HAVE_LIBFL), diff --git a/sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch b/sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch deleted file mode 100644 index 8194bedffd29..000000000000 --- a/sys-libs/pam/files/pam-0.75-pam_console-bison.fixes.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -urN Linux-PAM-0.75/modules/pam_console/config.y Linux-PAM-0.75.bison/modules/pam_console/config.y ---- Linux-PAM-0.75/modules/pam_console/config.y 2001-10-02 22:29:10.000000000 +0200 -+++ Linux-PAM-0.75.bison/modules/pam_console/config.y 2002-11-21 23:40:36.000000000 +0200 -@@ -117,11 +117,11 @@ - | stringlist string {$$ = g_slist_append($1, $2);} - ; - --optstring: string {$$=$1} -- | /* empty */ {$$=NULL} -+optstring: string {$$=$1;} -+ | /* empty */ {$$=NULL;} - ; - --string: STRING {$$=$1} -+string: STRING {$$=$1;} ; - - %% - 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 deleted file mode 100644 index bdce47f88fd0..000000000000 --- a/sys-libs/pam/files/pam-0.75-pam_group-confile.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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/files/pam-0.75-pam_userdb-use-db3.patch b/sys-libs/pam/files/pam-0.75-pam_userdb-use-db3.patch deleted file mode 100644 index 2fb9793eb2c4..000000000000 --- a/sys-libs/pam/files/pam-0.75-pam_userdb-use-db3.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff -urN pam_userdb.orig/Makefile pam_userdb/Makefile ---- Linux-PAM-0.75/modules/pam_userdb/Makefile.orig 2002-11-03 12:09:40.000000000 +0200 -+++ Linux-PAM-0.75/modules/pam_userdb/Makefile 2002-11-03 12:23:50.000000000 +0200 -@@ -12,7 +12,7 @@ - - ifeq ($(HAVE_NDBM_H),yes) - WHICH_DB=ndbm -- MODULE_SIMPLE_EXTRALIBS = -lndbm -+ MODULE_SIMPLE_EXTRALIBS = `sh ./dbversion.sh` - else - ifeq ($(HAVE_LIBDB),yes) - WHICH_DB=db -diff -urN pam_userdb.orig/dbversion.sh pam_userdb/dbversion.sh ---- Linux-PAM-0.75/modules/pam_userdb/dbversion.sh.orig 1970-01-01 02:00:00.000000000 +0200 -+++ Linux-PAM-0.75/modules/pam_userdb/dbversion.sh 2002-11-03 12:25:35.000000000 +0200 -@@ -0,0 +1,34 @@ -+#!/bin/sh -+ -+# libndbm functionality is included in db3 and db4, so -+# rather use them if found ... -+ -+list=`ls /lib/libdb.so.4* /usr/lib/libdb.so.4* 2>/dev/null` -+if [ -n "$list" ] -+then -+ for x in $list -+ do -+ if [ -e $x ] -+ then -+ echo "$x" -+ exit 0 -+ fi -+ done -+fi -+ -+list=`ls /lib/libdb.so.3* /usr/lib/libdb.so.3* 2>/dev/null` -+if [ -n "$list" ] -+then -+ for x in $list -+ do -+ if [ -e $x ] -+ then -+ echo "$x" -+ exit 0 -+ fi -+ done -+fi -+ -+echo "-lndbm" -+exit 0 -+ diff --git a/sys-libs/pam/files/pam-0.75-pam_wheel-segfault.patch b/sys-libs/pam/files/pam-0.75-pam_wheel-segfault.patch deleted file mode 100644 index ba38c3a56feb..000000000000 --- a/sys-libs/pam/files/pam-0.75-pam_wheel-segfault.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- Linux-PAM-0.75/modules/pam_wheel/pam_wheel.c.orig Wed Jul 31 01:24:03 2002 -+++ Linux-PAM-0.75/modules/pam_wheel/pam_wheel.c Wed Jul 31 01:30:36 2002 -@@ -162,9 +162,20 @@ - fromsu = tpwd->pw_name; - } else { - fromsu = getlogin(); -- if (_pam_getpwnam_r(fromsu, &passwd, &tbuf, &tbuflen, &tpwd) != 0) -- tpwd = NULL; -- if((!fromsu) || (!tpwd)) { -+ /* If this one fails, we get a segfault on calling _pam_getpwnam_r(), -+ * so rather revert to behavior as with "ctrl & PAM_USE_UID_ARG" -+ */ -+ if (!fromsu) { -+ if (_pam_getpwuid_r(getuid(), &passwd, &tbuf, &tbuflen, &tpwd) != 0) -+ tpwd = NULL; -+ if (tpwd) { -+ fromsu = tpwd->pw_name; -+ } -+ } else { -+ if (_pam_getpwnam_r(fromsu, &passwd, &tbuf, &tbuflen, &tpwd) != 0) -+ tpwd = NULL; -+ } -+ if (!tpwd) { - if (ctrl & PAM_DEBUG_ARG) - _pam_log(LOG_NOTICE,"who is running me ?!"); - return PAM_SERVICE_ERR; diff --git a/sys-libs/pam/files/pam-0.75-selinux.diff.bz2 b/sys-libs/pam/files/pam-0.75-selinux.diff.bz2 Binary files differdeleted file mode 100644 index 645a694c7bbf..000000000000 --- a/sys-libs/pam/files/pam-0.75-selinux.diff.bz2 +++ /dev/null |