1### 2# This program is copyright Alec Muffett 1993. The author disclaims all 3# responsibility or liability with respect to it's usage or its effect 4# upon hardware or computer systems, and maintains copyright as set out 5# in the "LICENCE" document which accompanies distributions of Crack v4.0 6# and upwards. 7### 8 9### 10# set this to the absolute path (less extn) of compressed dict. 11 12DICTPATH="/usr/share/cracklib/pw_dict" 13 14### 15# Set this to the path of one or more files continaing wordlists. 16 17SRCDICTS=/usr/dict/words 18 19### 20# If you have installed the cracklib-dicts directory, use this 21#SRCDICTS=/usr/dict/words cracklib-dicts/* 22 23default: 24 @echo "you evidently don't know what you're doing. go read the README" 25 26all: 27 ( cd cracklib && make && exit $$? ) 28 ( cd util && make DICTPATH=$(DICTPATH) && exit $$? ) 29### ( cd passwd && make DICTPATH=$(DICTPATH) passwd && exit $$? ) 30### touch all 31 32clean: 33 -( cd cracklib && make clean && exit $$? ) 34 -( cd util && make clean && exit $$? ) 35### -( cd passwd && make clean && exit $$? ) 36 -rm -f all installed Part* *.BAK *.bak *~ 37 38install: all 39 @echo 'if "sort" dies from lack of space, see "util/mkdict"' 40 util/mkdict $(SRCDICTS) | util/packer $(DICTPATH) 41 touch installed 42### @echo 'now go install passwd/passwd where you want it' 43