diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-08-03 16:36:31 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-08-03 16:36:31 +0000 |
commit | de3b3fa798e79630182906246173570e9c6b785a (patch) | |
tree | d58322328ee06094836b6a82e62b79507ddaa8d0 /sys-libs | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-de3b3fa798e79630182906246173570e9c6b785a.tar.gz gentoo-2-de3b3fa798e79630182906246173570e9c6b785a.tar.bz2 gentoo-2-de3b3fa798e79630182906246173570e9c6b785a.zip |
*** empty log message ***
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/cracklib/files/cracklib-2.7-redhat.patch | 173 | ||||
-rw-r--r-- | sys-libs/cracklib/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/gdbm/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/gettext/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/glibc/files/digest | 4 | ||||
-rwxr-xr-x | sys-libs/glibc/files/nscd | 43 | ||||
-rw-r--r-- | sys-libs/glibc/files/setjmp.S | 77 | ||||
-rw-r--r-- | sys-libs/gpm/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/lib-compat/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/ncurses/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/pam/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/pwdb/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/readline/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/slang/files/digest | 1 | ||||
-rw-r--r-- | sys-libs/zlib/files/digest | 1 |
15 files changed, 308 insertions, 0 deletions
diff --git a/sys-libs/cracklib/files/cracklib-2.7-redhat.patch b/sys-libs/cracklib/files/cracklib-2.7-redhat.patch new file mode 100644 index 000000000000..7720c485dc91 --- /dev/null +++ b/sys-libs/cracklib/files/cracklib-2.7-redhat.patch @@ -0,0 +1,173 @@ +--- cracklib,2.7/cracklib/fascist.c.rh Wed Dec 31 05:26:46 1997 ++++ cracklib,2.7/cracklib/fascist.c Tue Mar 10 18:17:43 1998 +@@ -11,6 +11,7 @@ + #include "packer.h" + #include <sys/types.h> + #include <pwd.h> ++#include <string.h> + + #define ISSKIP(x) (isspace(x) || ispunct(x)) + +@@ -659,7 +660,7 @@ + return ("it does not contain enough DIFFERENT characters"); + } + +- strcpy(password, Lowercase(password)); ++ strcpy(password, (char *)Lowercase(password)); + + Trim(password); + +@@ -722,7 +723,7 @@ + } + } + +- strcpy(password, Reverse(password)); ++ strcpy(password, (char *)Reverse(password)); + + for (i = 0; r_destructors[i]; i++) + { +--- cracklib,2.7/cracklib/Makefile.rh Sun Dec 14 17:49:21 1997 ++++ cracklib,2.7/cracklib/Makefile Tue Mar 10 18:54:11 1998 +@@ -6,13 +6,21 @@ + # and upwards. + ### + +-LIB= libcrack.a +-OBJ= fascist.o packlib.o rules.o stringlib.o +-CFLAGS= -O -I../cracklib -DIN_CRACKLIB ++LIB = libcrack.so ++OBJ = fascist.o packlib.o rules.o stringlib.o ++CFLAGS = $(RPM_OPT_FLAGS) -g -I../cracklib -DIN_CRACKLIB -fPIC ++LD = ld + +-$(LIB): $(OBJ) +- ar rv $(LIB) $? +- -ranlib $(LIB) ++$(LIB): $(OBJ) Makefile ++ $(LD) -shared -soname $(LIB).$(MAJOR) -o $(LIB).$(VERSION) $(OBJ) -lc ++ rm -f $(LIB).$(MAJOR) $(LIB) ++ ln -s $(LIB).$(VERSION) $(LIB).$(MAJOR) ++ ln -s $(LIB).$(MAJOR) $(LIB) + + clean: +- -rm -f $(OBJ) $(LIB) *~ ++ -rm -f $(OBJ) $(LIB) $(LIB).$(VERSION) *~ ++ ++install: $(LIB) crack.h ++ install -m 755 $(LIB).$(VERSION) $(ROOT)/usr/lib ++ ln -sf $(LIB).$(VERSION) $(ROOT)/usr/lib/$(LIB) ++ install -m 644 crack.h $(ROOT)/usr/include +--- cracklib,2.7/cracklib/crack.h.rh Tue Mar 10 18:17:43 1998 ++++ cracklib,2.7/cracklib/crack.h Tue Mar 10 18:17:43 1998 +@@ -0,0 +1,15 @@ ++ ++#ifndef CRACKLIB_H ++#define CRACKLIB_H ++ ++/* Pass this function a password (pw) and a path to the ++ * dictionaries (/usr/lib/cracklib_dict should be specified) ++ * and it will either return a NULL string, meaning that the ++ * password is good, or a pointer to a string that explains the ++ * problem with the password. ++ * You must link with -lcrack ++ */ ++ ++extern char *FascistCheck(char *pw, char *dictpath); ++ ++#endif +--- cracklib,2.7/util/Makefile.rh Sun Dec 14 17:49:34 1997 ++++ cracklib,2.7/util/Makefile Tue Mar 10 18:17:43 1998 +@@ -14,27 +14,31 @@ + #SunOS users (and others?) should consider static linking of their passwd binary + #CFLAGS= -O -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"' -Bstatic + +-CFLAGS= -O -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"' +-LIBS= ../cracklib/libcrack.a ++CFLAGS = $(RPM_OPT_FLAGS) -I../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"' ++LDFLAGS = -L../cracklib -lcrack ++LIBS = ../cracklib/libcrack.so + + all: packer unpacker testnum teststr testlib + touch all + + packer: packer.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ cc $(CFLAGS) -o $@ $@.o $(LDFLAGS) + + unpacker: unpacker.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ cc $(CFLAGS) -o $@ $@.o $(LDFLAGS) + + testnum: testnum.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ cc $(CFLAGS) -o $@ $@.o $(LDFLAGS) + + teststr: teststr.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ cc $(CFLAGS) -o $@ $@.o $(LDFLAGS) + + testlib: testlib.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ cc $(CFLAGS) -o $@ $@.o $(LDFLAGS) + + clean: + -rm *.o *~ all + -rm teststr testnum testlib packer unpacker ++ ++install: all create-cracklib-dict ++ install -m 755 mkdict packer create-cracklib-dict $(ROOT)/usr/sbin +--- cracklib,2.7/util/create-cracklib-dict.rh Tue Mar 10 18:17:43 1998 ++++ cracklib,2.7/util/create-cracklib-dict Tue Mar 10 18:17:43 1998 +@@ -0,0 +1,15 @@ ++#!/bin/sh ++if [ -z "$*" ]; then ++ echo "Usage:" ++ echo " /usr/sbin/create-cracklib-dict wordlist ..." ++ echo ++ echo "This script takes one or more word list files as arguments" ++ echo "and converts them into cracklib dictionaries for use" ++ echo "by password checking programs. The results are placed in" ++ echo "/usr/lib/cracklib_dict.*" ++ echo ++ echo "Example:" ++ echo "/usr/sbin/create-cracklib-dict /usr/dict/words" ++else ++ /usr/sbin/mkdict $* | /usr/sbin/packer /usr/lib/cracklib_dict ++fi +--- cracklib,2.7/Makefile.rh Wed Dec 31 05:33:53 1997 ++++ cracklib,2.7/Makefile Tue Mar 10 18:52:47 1998 +@@ -7,14 +7,21 @@ + ### + + ### ++# cracklib version ++MAJOR=2 ++MINOR=7 ++VERSION=$(MAJOR).$(MINOR) ++export MAJOR MINOR VERSION ++ ++### + # set this to the absolute path (less extn) of compressed dict. + +-DICTPATH="/usr/local/lib/pw_dict" ++DICTPATH="/usr/lib/cracklib_dict" + + ### + # Set this to the path of one or more files continaing wordlists. + +-SRCDICTS=/usr/dict/words ++SRCDICTS=/usr/dict/words /usr/dict/extra.words + + ### + # If you have installed the cracklib-dicts directory, use this +@@ -36,7 +43,9 @@ + -rm -f all installed Part* *.BAK *.bak *~ + + install: all ++ ( cd cracklib && make install && exit $$? ) ++ ( cd util && make install && exit $$? ) + @echo 'if "sort" dies from lack of space, see "util/mkdict"' +- util/mkdict $(SRCDICTS) | util/packer $(DICTPATH) ++ util/mkdict $(SRCDICTS) | LD_LIBRARY_PATH=cracklib util/packer $(ROOT)$(DICTPATH) + touch installed + ### @echo 'now go install passwd/passwd where you want it' diff --git a/sys-libs/cracklib/files/digest b/sys-libs/cracklib/files/digest new file mode 100644 index 000000000000..9baf7394e8c4 --- /dev/null +++ b/sys-libs/cracklib/files/digest @@ -0,0 +1 @@ +MD5 7f810e310c7f2df33d1eaa2b41ab2435 cracklib_2.7.tar.gz diff --git a/sys-libs/gdbm/files/digest b/sys-libs/gdbm/files/digest new file mode 100644 index 000000000000..cb8535ca1a05 --- /dev/null +++ b/sys-libs/gdbm/files/digest @@ -0,0 +1 @@ +MD5 cd543862287f55ad66e62cc9d82cc906 gdbm-1.8.0.tar.gz diff --git a/sys-libs/gettext/files/digest b/sys-libs/gettext/files/digest new file mode 100644 index 000000000000..61d920c7e290 --- /dev/null +++ b/sys-libs/gettext/files/digest @@ -0,0 +1 @@ +MD5 f29d32b82217b9d89fcda66328752acc gettext-0.10.35.tar.gz diff --git a/sys-libs/glibc/files/digest b/sys-libs/glibc/files/digest new file mode 100644 index 000000000000..c36e3eb56d4e --- /dev/null +++ b/sys-libs/glibc/files/digest @@ -0,0 +1,4 @@ +MD5 886afcbcfb2883c09c3cbfe0b2cb1f22 glibc-2.1.3.tar.gz +MD5 5d28eb5376031c4cf7ba6057322852fd glibc-crypt-2.1.tar.gz +MD5 14352cd699b5c751004438d644a6059c glibc-linuxthreads-2.1.3.tar.gz +MD5 699e73877b1211af64d488ddb76598b2 glibc-compat-2.1.2.tar.gz diff --git a/sys-libs/glibc/files/nscd b/sys-libs/glibc/files/nscd new file mode 100755 index 000000000000..7945cc2796dd --- /dev/null +++ b/sys-libs/glibc/files/nscd @@ -0,0 +1,43 @@ +#! /bin/sh +#RCUPDATE:3 4:72 + +. /etc/rc.d/config/functions + +SERVICE=nscd +EXE=/usr/sbin/nscd +opts="start stop restart" + +start() { + ebegin "Starting Name Service Cache Daemon" + secure=` cat /etc/nsswitch.conf | while read curline ; do + table=${curline%:*} + entries=${curline##$table:} + table=${table%%[^a-z]*} + case $table in + passwd*|group*|hosts) + for entry in $entries ; do + case $entry in + nisplus*) + /usr/sbin/nscd_nischeck $table || echo "-S $table,yes" + ;; + esac + done + ;; + esac + done` + start-stop-daemon --start --quiet --exec $EXE -- $secure 1>&2 + eend $? "Error starting $SERVICE" +} +stop () { + ebegin "Shutting down Name Service Cache Daemon" + start-stop-daemon --stop --quiet --pid /var/run/nscd.pid 1>&2 + eend $? "Error stopping $SERVICE" +} + +restart () { + stop + start +} + +doservice ${@} + diff --git a/sys-libs/glibc/files/setjmp.S b/sys-libs/glibc/files/setjmp.S new file mode 100644 index 000000000000..40710be1ef51 --- /dev/null +++ b/sys-libs/glibc/files/setjmp.S @@ -0,0 +1,77 @@ +/* setjmp for i386, ELF version. + Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include <sysdep.h> +#define _ASM +#define _SETJMP_H +#include <bits/setjmp.h> + + /* We include the BSD entry points here as well but we make + them weak. */ +ENTRY (setjmp) + .weak C_SYMBOL_NAME (setjmp) + popl %eax /* Pop return PC. */ + popl %ecx /* Pop jmp_buf argument. */ + pushl $1 /* Push second argument of zero. */ + pushl %ecx /* Push back first argument. */ + pushl %eax /* Push back return PC. */ + /* Note that we have to use a non-exported symbol in the next + jump since otherwise gas will emit it as a jump through the + PLT which is what we cannot use here. */ + jmp .Linternal_sigsetjmp +END (setjmp) + + /* Binary compatibility entry point. */ +ENTRY (_setjmp) + .weak C_SYMBOL_NAME (_setjmp) +ENTRY (__setjmp) + popl %eax /* Pop return address. */ + popl %ecx /* Pop jmp_buf. */ + pushl $0 /* Push zero argument. */ + pushl %ecx /* Push jmp_buf. */ + pushl %eax /* Push back return address. */ + +ENTRY (__sigsetjmp) +.Linternal_sigsetjmp = __sigsetjmp + movl 4(%esp), %eax /* User's jmp_buf in %eax. */ + /* Save registers. */ + movl %ebx, (JB_BX*4)(%eax) + movl %esi, (JB_SI*4)(%eax) + movl %edi, (JB_DI*4)(%eax) + movl %ebp, (JB_BP*4)(%eax) + leal 4(%esp), %ecx /* Save SP as it will be after we return. */ + movl %ecx, (JB_SP*4)(%eax) + movl 0(%esp), %ecx /* Save PC we are returning to now. */ + movl %ecx, (JB_PC*4)(%eax) + + /* Make a tail call to __sigjmp_save; it takes the same args. */ +#ifdef PIC + /* We cannot use the PLT, because it requires that %ebx be set, but + we can't save and restore our caller's value. Instead, we do an + indirect jump through the GOT, using for the temporary register + %ecx, which is call-clobbered. */ + call here +here: popl %ecx + addl $_GLOBAL_OFFSET_TABLE_+[.-here], %ecx + movl C_SYMBOL_NAME(__sigjmp_save@GOT)(%ecx), %ecx + jmp *%ecx +#else + jmp __sigjmp_save +#endif +END (__sigsetjmp) diff --git a/sys-libs/gpm/files/digest b/sys-libs/gpm/files/digest new file mode 100644 index 000000000000..0d825e88256a --- /dev/null +++ b/sys-libs/gpm/files/digest @@ -0,0 +1 @@ +MD5 3409a0162cb9509f2bc14e69396b20af gpm-1.19.2.tar.gz diff --git a/sys-libs/lib-compat/files/digest b/sys-libs/lib-compat/files/digest new file mode 100644 index 000000000000..0fabad7e4087 --- /dev/null +++ b/sys-libs/lib-compat/files/digest @@ -0,0 +1 @@ +MD5 3be2a6bf54736b393851e92b43212655 lib-compat.tar.gz diff --git a/sys-libs/ncurses/files/digest b/sys-libs/ncurses/files/digest new file mode 100644 index 000000000000..e0a085f4aa0c --- /dev/null +++ b/sys-libs/ncurses/files/digest @@ -0,0 +1 @@ +MD5 6b379ee0b8ad607acdba9c8039818921 ncurses-5.1.tar.gz diff --git a/sys-libs/pam/files/digest b/sys-libs/pam/files/digest new file mode 100644 index 000000000000..72a8102851cb --- /dev/null +++ b/sys-libs/pam/files/digest @@ -0,0 +1 @@ +MD5 6389fdef0da51e459bf54ec93c6b7df4 Linux-PAM-0.72.tar.gz diff --git a/sys-libs/pwdb/files/digest b/sys-libs/pwdb/files/digest new file mode 100644 index 000000000000..d50286493b8e --- /dev/null +++ b/sys-libs/pwdb/files/digest @@ -0,0 +1 @@ +MD5 47e2dc0d5590390fe7a3937961575b09 pwdb-0.61.tar.gz diff --git a/sys-libs/readline/files/digest b/sys-libs/readline/files/digest new file mode 100644 index 000000000000..95e8e8c725c5 --- /dev/null +++ b/sys-libs/readline/files/digest @@ -0,0 +1 @@ +MD5 d0c31936fb627237275fdfd991fe3873 readline-4.1.tar.gz diff --git a/sys-libs/slang/files/digest b/sys-libs/slang/files/digest new file mode 100644 index 000000000000..14209d195a5c --- /dev/null +++ b/sys-libs/slang/files/digest @@ -0,0 +1 @@ +MD5 bd3ce3f0de9e1a97e59829f43ed93693 slang-1.4.1.tar.gz diff --git a/sys-libs/zlib/files/digest b/sys-libs/zlib/files/digest new file mode 100644 index 000000000000..89e1c40016b6 --- /dev/null +++ b/sys-libs/zlib/files/digest @@ -0,0 +1 @@ +MD5 ada18615d2a66dee4d6f5ff916ecd4c6 zlib-1.1.3.tar.gz |