diff options
author | rh <rh@pkgsrc.org> | 2000-10-21 09:26:21 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-10-21 09:26:21 +0000 |
commit | 541a6058ba28e7c22adeeecc98867c7f910dbb9f (patch) | |
tree | 411ed724184532e4c352d372f13834204be81290 /security/libcrack/patches | |
parent | 4583aa081cdc3581ecec0981352fd1b5900b3ef1 (diff) | |
download | pkgsrc-541a6058ba28e7c22adeeecc98867c7f910dbb9f.tar.gz |
Initial import of libcrack-2.7, a password checking library
Diffstat (limited to 'security/libcrack/patches')
-rw-r--r-- | security/libcrack/patches/patch-aa | 19 | ||||
-rw-r--r-- | security/libcrack/patches/patch-ab | 26 | ||||
-rw-r--r-- | security/libcrack/patches/patch-ac | 38 |
3 files changed, 83 insertions, 0 deletions
diff --git a/security/libcrack/patches/patch-aa b/security/libcrack/patches/patch-aa new file mode 100644 index 00000000000..20db843bda5 --- /dev/null +++ b/security/libcrack/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ + +--- Makefile.orig Wed Dec 31 11:33:53 1997 ++++ Makefile +@@ -9,12 +9,12 @@ + ### + # set this to the absolute path (less extn) of compressed dict. + +-DICTPATH="/usr/local/lib/pw_dict" ++DICTPATH="${PREFIX}/libdata/pw_dict" + + ### + # Set this to the path of one or more files continaing wordlists. + +-SRCDICTS=/usr/dict/words ++SRCDICTS=/usr/share/dict/words + + ### + # If you have installed the cracklib-dicts directory, use this diff --git a/security/libcrack/patches/patch-ab b/security/libcrack/patches/patch-ab new file mode 100644 index 00000000000..58c3e1f62c9 --- /dev/null +++ b/security/libcrack/patches/patch-ab @@ -0,0 +1,26 @@ +$NetBSD: patch-ab,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ + +--- cracklib/Makefile.orig Sun Dec 14 23:49:21 1997 ++++ cracklib/Makefile +@@ -7,12 +7,16 @@ + ### + + LIB= libcrack.a +-OBJ= fascist.o packlib.o rules.o stringlib.o +-CFLAGS= -O -I../cracklib -DIN_CRACKLIB ++OBJS= fascist.o packlib.o rules.o stringlib.o ++CFLAGS+= -I../cracklib -DIN_CRACKLIB + +-$(LIB): $(OBJ) +- ar rv $(LIB) $? +- -ranlib $(LIB) ++all: ${LIB} ++ ++.c.o: ++ ${LIBTOOL} --mode=compile ${CC} ${CFLAGS} ${.IMPSRC} -c -o ${.TARGET} ++ ++${LIB}: ${OBJS} ++ ${LIBTOOL} --mode=link ${CC} -o ${.TARGET:.a=.la} ${OBJS:.o=.lo} -rpath ${PREFIX}/lib -version-info 2:7 + + clean: + -rm -f $(OBJ) $(LIB) *~ diff --git a/security/libcrack/patches/patch-ac b/security/libcrack/patches/patch-ac new file mode 100644 index 00000000000..23cacae5a37 --- /dev/null +++ b/security/libcrack/patches/patch-ac @@ -0,0 +1,38 @@ +$NetBSD: patch-ac,v 1.1.1.1 2000/10/21 09:26:21 rh Exp $ + +--- util/Makefile.orig Sun Dec 14 23:49:34 1997 ++++ util/Makefile +@@ -14,26 +14,26 @@ + #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+=-I../cracklib '-DCRACKLIB_DICTPATH="${DICTPATH}"' ++LIBS= ../cracklib/.libs/libcrack.a + + all: packer unpacker testnum teststr testlib + touch all + + packer: packer.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} + + unpacker: unpacker.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} + + testnum: testnum.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} + + teststr: teststr.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} + + testlib: testlib.o $(LIBS) +- cc $(CFLAGS) -o $@ $@.o $(LIBS) ++ ${CC} ${CFLAGS} -o $@ $@.o ${LIBS} + + clean: + -rm *.o *~ all |