GARNAME = cracklib GARVERSION = 2.8.12 wordsversion = 20080507 CATEGORIES = sys MASTER_SITES = $(MASTER_SOURCEFORGE) MASTER_SUBDIR = cracklib/ wordsdistname = cracklib-words-$(wordsversion) DISTFILES = $(DISTNAME).tar.gz $(wordsdistname).gz LIBDEPS = text/miscfiles x11/xlib python/python DESCRIPTION = Library for checking the strength of passwords HOME_URL = http://sourceforge.net/projects/cracklib/ CONFIGURE_SCRIPTS = $(WORKSRC)/configure BUILD_SCRIPTS = $(WORKSRC)/Makefile INSTALL_SCRIPTS = $(WORKSRC)/Makefile-DESTDIR dict include ../../gar.mk # This reproduces an oddity from cracklib's normal install process: it includes # the Makefile.am etc. in the list of initial dictionaries! install-dict: @echo ' ==> Generating dictionary' @cd $(WORKSRC) && \ zcat $(wordsdistname).gz >dicts/cracklib-words && \ chmod +x util/cracklib-format util/cracklib-packer && \ util/cracklib-format dicts/* | util/cracklib-packer $(packageprefix)/share/cracklib/pw_dict $(MAKECOOKIE)