-noinst_PROGRAMS = testcheck packer testlib testnum teststr unpacker
+sbin_PROGRAMS = cracklib-packer
-sbin_SCRIPTS = mkdict
+noinst_PROGRAMS = testcheck cracklib-packer testlib testnum teststr unpacker
+
+sbin_SCRIPTS = create-cracklib-dict cracklib-format
LDADD = ../lib/libcrack.la
AM_CPPFLAGS = -I. -I.. -I$(top_srcdir)/lib
testcheck_SOURCES = testcheck.c
testcheck_LDADD = $(LDADD)
-packer_SOURCES = packer.c
-packer_LDADD = $(LDADD)
+cracklib-packer_SOURCES = packer.c
+cracklib-packer_LDADD = $(LDADD)
testlib_SOURCES = testlib.c
testlib_LDADD = $(LDADD)
+++ /dev/null
-#!/bin/sh
-if [ -z "$*" ]; then
- echo "Usage:"
- echo " /usr/sbin/create-cracklib-dict wordlist ..."
- echo
- echo "This script takes one or more word list files as arguments"
- echo "and converts them into cracklib dictionaries for use"
- echo "by password checking programs. The results are placed in"
- echo "/lib/cracklib_dict.*"
- echo
- echo "Example:"
- echo "/usr/sbin/create-cracklib-dict /usr/dict/words"
-else
- /usr/sbin/mkdict $* | /usr/sbin/packer /usr/share/cracklib/pw_dict
-fi
-