From 7c244711123aecf66788100f50f4ae7814619f05 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Fri, 1 Feb 2008 19:55:33 +0000 Subject: [PATCH] add upload method git-svn-id: file:///tmp/cracklib-svn/trunk@105 4175fe1e-86d5-4fdc-8e6a-506fab9d8533 --- cracklib-words/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/cracklib-words/Makefile b/cracklib-words/Makefile index 94abd8d..b3cd755 100644 --- a/cracklib-words/Makefile +++ b/cracklib-words/Makefile @@ -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 -- 2.40.0