]> granicus.if.org Git - cracklib/commitdiff
add upload method
authorNathan Neulinger <nneul@neulinger.org>
Fri, 1 Feb 2008 19:55:33 +0000 (19:55 +0000)
committerNathan Neulinger <nneul@neulinger.org>
Fri, 1 Feb 2008 19:55:33 +0000 (19:55 +0000)
git-svn-id: file:///tmp/cracklib-svn/trunk@105 4175fe1e-86d5-4fdc-8e6a-506fab9d8533

cracklib-words/Makefile

index 94abd8dc9418e2eeda9a558ae0b8acc45a50b25d..b3cd7551bed87ddd50b00c0a4d2cbab4a30c99f5 100644 (file)
@@ -2,8 +2,13 @@ all: cracklib-words.gz
 
 cracklib-words.gz: cracklib-words
        rm -f cracklib-words.gz
-       gzip -v9 cracklib-words
+       gzip -v9 -c cracklib-words > cracklib-words.gz
 
-cracklib-words:
+cracklib-words: src/clarkson-passwords src/words
        rm -f cracklib-words
-       zcat -f src/* | tr A-Z a-z | sort | uniq > cracklib-words
\ No newline at end of file
+       zcat -f src/* | tr A-Z a-z | sort | uniq > cracklib-words
+
+upload: cracklib-words.gz
+       cp cracklib-words.gz cracklib-words-`date '+%Y%m%d'`.gz
+       curl --upload-file cracklib-words-`date '+%Y%m%d'`.gz ftp://upload.sf.net/incoming/
+       
\ No newline at end of file