[30793] trunk/dports/security/cracklib

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 7 00:53:40 PST 2007


Revision: 30793
          http://trac.macosforge.org/projects/macports/changeset/30793
Author:   ryandesign at macports.org
Date:     2007-11-07 00:53:40 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
cracklib: fix patchfile names and port whitespace as per 'port lint' recommendations

Modified Paths:
--------------
    trunk/dports/security/cracklib/Portfile

Added Paths:
-----------
    trunk/dports/security/cracklib/files/patch-Makefile.diff
    trunk/dports/security/cracklib/files/patch-cracklib-Makefile.diff
    trunk/dports/security/cracklib/files/patch-util-Makefile.diff
    trunk/dports/security/cracklib/files/patch-util-mkdict.diff

Removed Paths:
-------------
    trunk/dports/security/cracklib/files/patch-Makefile
    trunk/dports/security/cracklib/files/patch-cracklib-Makefile
    trunk/dports/security/cracklib/files/patch-util-Makefile
    trunk/dports/security/cracklib/files/patch-util-mkdict

Modified: trunk/dports/security/cracklib/Portfile
===================================================================
--- trunk/dports/security/cracklib/Portfile	2007-11-07 08:51:45 UTC (rev 30792)
+++ trunk/dports/security/cracklib/Portfile	2007-11-07 08:53:40 UTC (rev 30793)
@@ -1,4 +1,5 @@
 # $Id$
+
 PortSystem 1.0
 
 name			cracklib
@@ -18,10 +19,10 @@
 checksums		md5 0c84ad7413d9dd3e5c2eaa5f97d53c4a
 platforms		darwin
 
-patchfiles		patch-Makefile \
-				patch-cracklib-Makefile \
-				patch-util-Makefile \
-				patch-util-mkdict
+patchfiles		patch-Makefile.diff \
+				patch-cracklib-Makefile.diff \
+				patch-util-Makefile.diff \
+				patch-util-mkdict.diff
 post-patch {
 	file copy ${filespath}/cracklib.3 ${worksrcpath}/cracklib
 	file copy ${filespath}/mkdict.1 ${worksrcpath}/util

Deleted: trunk/dports/security/cracklib/files/patch-Makefile
===================================================================
--- trunk/dports/security/cracklib/files/patch-Makefile	2007-11-07 08:51:45 UTC (rev 30792)
+++ trunk/dports/security/cracklib/files/patch-Makefile	2007-11-07 08:53:40 UTC (rev 30793)
@@ -1,55 +0,0 @@
---- ../cracklib,2.7.orig/Makefile	Wed Dec 31 02:33:53 1997
-+++ Makefile	Wed Apr 21 11:28:15 2004
-@@ -6,26 +6,36 @@
- # and upwards.
- ###
- 
-+VERSION=	2.7
-+DESTDIR=
-+PREFIX=		/usr/local
-+INSTALL=	install
-+
- ###
- # set this to the absolute path (less extn) of compressed dict.
- 
--DICTPATH="/usr/local/lib/pw_dict"
-+DICTPATH=	$(PREFIX)/lib/cracklib/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
- #SRCDICTS=/usr/dict/words cracklib-dicts/*
- 
-+MAKEARGS=	VERSION=$(VERSION) \
-+			DESTDIR=$(DESTDIR) \
-+			PREFIX=$(PREFIX) \
-+			DICTPATH=$(DICTPATH)
-+
- default:
- 	@echo "you evidently don't know what you're doing. go read the README"
- 
- all:
--	( cd cracklib && make && exit $$? )
--	( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
-+	( cd cracklib && make $(MAKEARGS) $@ && exit $$? )
-+	( cd util && make $(MAKEARGS) $@ && exit $$? )
- ###	( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
- ###	touch all
- 
-@@ -36,7 +46,10 @@
- 	-rm -f all installed Part* *.BAK *.bak *~
- 
- install: all
-+	( cd cracklib && make $(MAKEARGS) $@ && exit $$? )
-+	( cd util && make $(MAKEARGS) $@ && exit $$? )
-+	$(INSTALL) -d -m 0755 $(DESTDIR)$(dir $(DICTPATH))
- 	@echo 'if "sort" dies from lack of space, see "util/mkdict"'
--	util/mkdict $(SRCDICTS) | util/packer $(DICTPATH)
-+	util/mkdict $(SRCDICTS) | DYLD_LIBRARY_PATH=./cracklib util/packer $(DESTDIR)$(DICTPATH)
- 	touch installed
- ###	@echo 'now go install passwd/passwd where you want it'

Copied: trunk/dports/security/cracklib/files/patch-Makefile.diff (from rev 30791, trunk/dports/security/cracklib/files/patch-Makefile)
===================================================================
--- trunk/dports/security/cracklib/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/security/cracklib/files/patch-Makefile.diff	2007-11-07 08:53:40 UTC (rev 30793)
@@ -0,0 +1,55 @@
+--- ../cracklib,2.7.orig/Makefile	Wed Dec 31 02:33:53 1997
++++ Makefile	Wed Apr 21 11:28:15 2004
+@@ -6,26 +6,36 @@
+ # and upwards.
+ ###
+ 
++VERSION=	2.7
++DESTDIR=
++PREFIX=		/usr/local
++INSTALL=	install
++
+ ###
+ # set this to the absolute path (less extn) of compressed dict.
+ 
+-DICTPATH="/usr/local/lib/pw_dict"
++DICTPATH=	$(PREFIX)/lib/cracklib/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
+ #SRCDICTS=/usr/dict/words cracklib-dicts/*
+ 
++MAKEARGS=	VERSION=$(VERSION) \
++			DESTDIR=$(DESTDIR) \
++			PREFIX=$(PREFIX) \
++			DICTPATH=$(DICTPATH)
++
+ default:
+ 	@echo "you evidently don't know what you're doing. go read the README"
+ 
+ all:
+-	( cd cracklib && make && exit $$? )
+-	( cd util && make DICTPATH=$(DICTPATH) && exit $$? )
++	( cd cracklib && make $(MAKEARGS) $@ && exit $$? )
++	( cd util && make $(MAKEARGS) $@ && exit $$? )
+ ###	( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? )
+ ###	touch all
+ 
+@@ -36,7 +46,10 @@
+ 	-rm -f all installed Part* *.BAK *.bak *~
+ 
+ install: all
++	( cd cracklib && make $(MAKEARGS) $@ && exit $$? )
++	( cd util && make $(MAKEARGS) $@ && exit $$? )
++	$(INSTALL) -d -m 0755 $(DESTDIR)$(dir $(DICTPATH))
+ 	@echo 'if "sort" dies from lack of space, see "util/mkdict"'
+-	util/mkdict $(SRCDICTS) | util/packer $(DICTPATH)
++	util/mkdict $(SRCDICTS) | DYLD_LIBRARY_PATH=./cracklib util/packer $(DESTDIR)$(DICTPATH)
+ 	touch installed
+ ###	@echo 'now go install passwd/passwd where you want it'

Deleted: trunk/dports/security/cracklib/files/patch-cracklib-Makefile
===================================================================
--- trunk/dports/security/cracklib/files/patch-cracklib-Makefile	2007-11-07 08:51:45 UTC (rev 30792)
+++ trunk/dports/security/cracklib/files/patch-cracklib-Makefile	2007-11-07 08:53:40 UTC (rev 30793)
@@ -1,56 +0,0 @@
---- ../cracklib,2.7.orig/cracklib/Makefile	Sun Dec 14 14:49:21 1997
-+++ cracklib/Makefile	Wed Apr 21 13:06:12 2004
-@@ -6,13 +6,47 @@
- # and upwards.
- ###
- 
--LIB=	libcrack.a
-+PREFIX=		/usr/local
-+DESTDIR=
-+VERSION=	2.7
-+MAJOR=		$(word 1,$(subst ., ,$(VERSION)))
-+LIB=		crack
-+STATICLIB=	lib$(LIB).a
-+SHLIB_NAME=	lib$(LIB).$(VERSION).dylib
-+SHLIB_MAJOR=lib$(LIB).$(MAJOR).dylib
-+SHLIB_LINK=	lib$(LIB).dylib
- OBJ=	fascist.o packlib.o rules.o stringlib.o
--CFLAGS= -O -I../cracklib -DIN_CRACKLIB
-+CFLAGS= -O2 -g -I../cracklib -DIN_CRACKLIB
-+LDFLAGS=	-dynamiclib \
-+			-install_name $(PREFIX)/lib/$(SHLIB_MAJOR) \
-+			-compatibility_version $(MAJOR) \
-+			-current_version $(VERSION)
-+CC=		gcc
-+LN=		ln
-+INSTALL=install
- 
--$(LIB):	$(OBJ)
--	ar rv $(LIB) $?
--	-ranlib $(LIB)
-+all: $(STATICLIB) $(SHLIB_NAME)
-+
-+install: all
-+	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/include
-+	$(INSTALL) -c -m 0644 packer.h $(DESTDIR)$(PREFIX)/include
-+	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/lib
-+	$(INSTALL) -c -m 0755 $(SHLIB_NAME) $(DESTDIR)$(PREFIX)/lib
-+	$(INSTALL) -c -m 0644 $(STATICLIB) $(DESTDIR)$(PREFIX)/lib
-+	$(LN) -fs $(SHLIB_NAME) $(DESTDIR)$(PREFIX)/lib/$(SHLIB_MAJOR)
-+	$(LN) -fs $(SHLIB_NAME) $(DESTDIR)$(PREFIX)/lib/$(SHLIB_LINK)
-+	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3
-+	$(INSTALL) -c -m 0644 cracklib.3 $(DESTDIR)$(PREFIX)/share/man/man3
-+	$(LN) -fs cracklib.3 $(DESTDIR)$(PREFIX)/share/man/man3/FascistCheck.3
-+
-+$(STATICLIB):	$(OBJ)
-+	ar rv $(STATICLIB) $?
-+	-ranlib $(STATICLIB)
-+
-+$(SHLIB_NAME): $(OBJ)
-+	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ)
-+	$(LN) -fs $(SHLIB_NAME) $(SHLIB_MAJOR)
-+	$(LN) -fs $(SHLIB_NAME) $(SHLIB_LINK)
- 
- clean:
--	-rm -f $(OBJ) $(LIB) *~
-+	-rm -f $(OBJ) $(STATICLIB) $(SHLIB_NAME) $(SHLIB_LINK) *~

Copied: trunk/dports/security/cracklib/files/patch-cracklib-Makefile.diff (from rev 30791, trunk/dports/security/cracklib/files/patch-cracklib-Makefile)
===================================================================
--- trunk/dports/security/cracklib/files/patch-cracklib-Makefile.diff	                        (rev 0)
+++ trunk/dports/security/cracklib/files/patch-cracklib-Makefile.diff	2007-11-07 08:53:40 UTC (rev 30793)
@@ -0,0 +1,56 @@
+--- ../cracklib,2.7.orig/cracklib/Makefile	Sun Dec 14 14:49:21 1997
++++ cracklib/Makefile	Wed Apr 21 13:06:12 2004
+@@ -6,13 +6,47 @@
+ # and upwards.
+ ###
+ 
+-LIB=	libcrack.a
++PREFIX=		/usr/local
++DESTDIR=
++VERSION=	2.7
++MAJOR=		$(word 1,$(subst ., ,$(VERSION)))
++LIB=		crack
++STATICLIB=	lib$(LIB).a
++SHLIB_NAME=	lib$(LIB).$(VERSION).dylib
++SHLIB_MAJOR=lib$(LIB).$(MAJOR).dylib
++SHLIB_LINK=	lib$(LIB).dylib
+ OBJ=	fascist.o packlib.o rules.o stringlib.o
+-CFLAGS= -O -I../cracklib -DIN_CRACKLIB
++CFLAGS= -O2 -g -I../cracklib -DIN_CRACKLIB
++LDFLAGS=	-dynamiclib \
++			-install_name $(PREFIX)/lib/$(SHLIB_MAJOR) \
++			-compatibility_version $(MAJOR) \
++			-current_version $(VERSION)
++CC=		gcc
++LN=		ln
++INSTALL=install
+ 
+-$(LIB):	$(OBJ)
+-	ar rv $(LIB) $?
+-	-ranlib $(LIB)
++all: $(STATICLIB) $(SHLIB_NAME)
++
++install: all
++	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/include
++	$(INSTALL) -c -m 0644 packer.h $(DESTDIR)$(PREFIX)/include
++	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/lib
++	$(INSTALL) -c -m 0755 $(SHLIB_NAME) $(DESTDIR)$(PREFIX)/lib
++	$(INSTALL) -c -m 0644 $(STATICLIB) $(DESTDIR)$(PREFIX)/lib
++	$(LN) -fs $(SHLIB_NAME) $(DESTDIR)$(PREFIX)/lib/$(SHLIB_MAJOR)
++	$(LN) -fs $(SHLIB_NAME) $(DESTDIR)$(PREFIX)/lib/$(SHLIB_LINK)
++	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3
++	$(INSTALL) -c -m 0644 cracklib.3 $(DESTDIR)$(PREFIX)/share/man/man3
++	$(LN) -fs cracklib.3 $(DESTDIR)$(PREFIX)/share/man/man3/FascistCheck.3
++
++$(STATICLIB):	$(OBJ)
++	ar rv $(STATICLIB) $?
++	-ranlib $(STATICLIB)
++
++$(SHLIB_NAME): $(OBJ)
++	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJ)
++	$(LN) -fs $(SHLIB_NAME) $(SHLIB_MAJOR)
++	$(LN) -fs $(SHLIB_NAME) $(SHLIB_LINK)
+ 
+ clean:
+-	-rm -f $(OBJ) $(LIB) *~
++	-rm -f $(OBJ) $(STATICLIB) $(SHLIB_NAME) $(SHLIB_LINK) *~

Deleted: trunk/dports/security/cracklib/files/patch-util-Makefile
===================================================================
--- trunk/dports/security/cracklib/files/patch-util-Makefile	2007-11-07 08:51:45 UTC (rev 30792)
+++ trunk/dports/security/cracklib/files/patch-util-Makefile	2007-11-07 08:53:40 UTC (rev 30793)
@@ -1,66 +0,0 @@
---- ../cracklib,2.7.orig/util/Makefile	Sun Dec 14 14:49:34 1997
-+++ util/Makefile	Wed Apr 21 11:11:58 2004
-@@ -14,27 +14,48 @@
- #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
-+PREFIX=		/usr/local
-+CC=			gcc
-+INSTALL=	install
-+LN=			ln
-+CFLAGS= -O2 -g -I../cracklib -L../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"'
-+LDFLAGS=-L../cracklib
-+LIBS=	-lcrack
- 
- all:	packer unpacker testnum teststr testlib
- 	touch all
- 
--packer: packer.o $(LIBS)
--	cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+install: all
-+	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -c -m 0755 mkdict $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -c -m 0755 packer $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -c -m 0755 unpacker $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -c -m 0755 testlib $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -c -m 0755 testnum $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -c -m 0755 teststr $(DESTDIR)$(PREFIX)/bin
-+	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1
-+	$(INSTALL) -c -m 0644 mkdict.1 $(DESTDIR)$(PREFIX)/share/man/man1
-+	$(LN) -fs mkdict.1 $(DESTDIR)$(PREFIX)/share/man/man1/packer.1
-+	$(LN) -fs mkdict.1 $(DESTDIR)$(PREFIX)/share/man/man1/unpacker.1
-+	$(INSTALL) -c -m 0644 teststr.1 $(DESTDIR)$(PREFIX)/share/man/man1
-+	$(LN) -fs teststr.1 $(DESTDIR)$(PREFIX)/share/man/man1/testnum.1
-+	$(LN) -fs teststr.1 $(DESTDIR)$(PREFIX)/share/man/man1/testlib.1
-+
-+packer: packer.o
-+	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
-+
-+unpacker: unpacker.o
-+	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
- 
--unpacker: unpacker.o $(LIBS)
--	cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+testnum: testnum.o
-+	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
- 
--testnum: testnum.o $(LIBS)
--	cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+teststr: teststr.o
-+	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
- 
--teststr: teststr.o $(LIBS)
--	cc $(CFLAGS) -o $@ $@.o $(LIBS)
--
--testlib: testlib.o $(LIBS)
--	cc $(CFLAGS) -o $@ $@.o $(LIBS)
-+testlib: testlib.o
-+	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
- 
- clean:
--	-rm *.o *~ all
--	-rm teststr testnum testlib packer unpacker
-+	-rm -f *.o *~ all
-+	-rm -f teststr testnum testlib packer unpacker

Copied: trunk/dports/security/cracklib/files/patch-util-Makefile.diff (from rev 30791, trunk/dports/security/cracklib/files/patch-util-Makefile)
===================================================================
--- trunk/dports/security/cracklib/files/patch-util-Makefile.diff	                        (rev 0)
+++ trunk/dports/security/cracklib/files/patch-util-Makefile.diff	2007-11-07 08:53:40 UTC (rev 30793)
@@ -0,0 +1,66 @@
+--- ../cracklib,2.7.orig/util/Makefile	Sun Dec 14 14:49:34 1997
++++ util/Makefile	Wed Apr 21 11:11:58 2004
+@@ -14,27 +14,48 @@
+ #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
++PREFIX=		/usr/local
++CC=			gcc
++INSTALL=	install
++LN=			ln
++CFLAGS= -O2 -g -I../cracklib -L../cracklib '-DCRACKLIB_DICTPATH="$(DICTPATH)"'
++LDFLAGS=-L../cracklib
++LIBS=	-lcrack
+ 
+ all:	packer unpacker testnum teststr testlib
+ 	touch all
+ 
+-packer: packer.o $(LIBS)
+-	cc $(CFLAGS) -o $@ $@.o $(LIBS)
++install: all
++	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -c -m 0755 mkdict $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -c -m 0755 packer $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -c -m 0755 unpacker $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -c -m 0755 testlib $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -c -m 0755 testnum $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -c -m 0755 teststr $(DESTDIR)$(PREFIX)/bin
++	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man1
++	$(INSTALL) -c -m 0644 mkdict.1 $(DESTDIR)$(PREFIX)/share/man/man1
++	$(LN) -fs mkdict.1 $(DESTDIR)$(PREFIX)/share/man/man1/packer.1
++	$(LN) -fs mkdict.1 $(DESTDIR)$(PREFIX)/share/man/man1/unpacker.1
++	$(INSTALL) -c -m 0644 teststr.1 $(DESTDIR)$(PREFIX)/share/man/man1
++	$(LN) -fs teststr.1 $(DESTDIR)$(PREFIX)/share/man/man1/testnum.1
++	$(LN) -fs teststr.1 $(DESTDIR)$(PREFIX)/share/man/man1/testlib.1
++
++packer: packer.o
++	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
++
++unpacker: unpacker.o
++	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
+ 
+-unpacker: unpacker.o $(LIBS)
+-	cc $(CFLAGS) -o $@ $@.o $(LIBS)
++testnum: testnum.o
++	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
+ 
+-testnum: testnum.o $(LIBS)
+-	cc $(CFLAGS) -o $@ $@.o $(LIBS)
++teststr: teststr.o
++	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
+ 
+-teststr: teststr.o $(LIBS)
+-	cc $(CFLAGS) -o $@ $@.o $(LIBS)
+-
+-testlib: testlib.o $(LIBS)
+-	cc $(CFLAGS) -o $@ $@.o $(LIBS)
++testlib: testlib.o
++	$(CC) $(LDFLAGS) -o $@ $@.o $(LIBS)
+ 
+ clean:
+-	-rm *.o *~ all
+-	-rm teststr testnum testlib packer unpacker
++	-rm -f *.o *~ all
++	-rm -f teststr testnum testlib packer unpacker

Deleted: trunk/dports/security/cracklib/files/patch-util-mkdict
===================================================================
--- trunk/dports/security/cracklib/files/patch-util-mkdict	2007-11-07 08:51:45 UTC (rev 30792)
+++ trunk/dports/security/cracklib/files/patch-util-mkdict	2007-11-07 08:53:40 UTC (rev 30793)
@@ -1,17 +0,0 @@
---- ../cracklib,2.7.orig/util/mkdict	Wed Dec 31 01:37:14 1997
-+++ util/mkdict	Wed Apr 21 09:47:30 2004
-@@ -14,10 +14,10 @@
- SORT="sort"
- ###SORT="sort -T /tmp"
- 
--cat $* |
-+zcat -f $* |
- 	tr '[A-Z]' '[a-z]' |
- 	tr -cd '\012[a-z][0-9]' |
--	$SORT |
--	uniq |
- 	grep -v '^#' |
--	grep -v '^$'
-+	grep -v '^$' |
-+	$SORT |
-+	uniq

Copied: trunk/dports/security/cracklib/files/patch-util-mkdict.diff (from rev 30791, trunk/dports/security/cracklib/files/patch-util-mkdict)
===================================================================
--- trunk/dports/security/cracklib/files/patch-util-mkdict.diff	                        (rev 0)
+++ trunk/dports/security/cracklib/files/patch-util-mkdict.diff	2007-11-07 08:53:40 UTC (rev 30793)
@@ -0,0 +1,17 @@
+--- ../cracklib,2.7.orig/util/mkdict	Wed Dec 31 01:37:14 1997
++++ util/mkdict	Wed Apr 21 09:47:30 2004
+@@ -14,10 +14,10 @@
+ SORT="sort"
+ ###SORT="sort -T /tmp"
+ 
+-cat $* |
++zcat -f $* |
+ 	tr '[A-Z]' '[a-z]' |
+ 	tr -cd '\012[a-z][0-9]' |
+-	$SORT |
+-	uniq |
+ 	grep -v '^#' |
+-	grep -v '^$'
++	grep -v '^$' |
++	$SORT |
++	uniq

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071107/e2bb2416/attachment-0001.html


More information about the macports-changes mailing list