From 3e86a6e96564986b48ed5655b5b1880f4ce29927 Mon Sep 17 00:00:00 2001 From: fake Date: Thu, 16 Mar 2006 03:14:53 +0000 Subject: [PATCH] fake: cracklib: update to 2.8.6, install default dict to /$datadir/cracklib, that's where pam wants it Stefan Fiedler: rediffed patch Index: package/base/cracklib/cracklib.desc =================================================================== [2006030814552216575] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7230 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/cracklib/cracklib.conf | 19 +++++-------------- package/base/cracklib/cracklib.desc | 6 +++--- 2 files changed, 8 insertions(+), 17 deletions(-) diff --git a/package/base/cracklib/cracklib.conf b/package/base/cracklib/cracklib.conf index 60043884d..a03201c14 100644 --- a/package/base/cracklib/cracklib.conf +++ b/package/base/cracklib/cracklib.conf @@ -20,20 +20,11 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- -makeopt="$makeopt SRCDICTS=\$datadir/dict/words \ - DICTPATH=\$datadir/dict/cracklib_dict" +makeopt="$makeopt DICTPATH=\$datadir/\$xpkg/pw_dict" +makeinstopt="$makeinstopt DICTPATH=\$datadir/\$xpkg/pw_dict" -makeinstopt="$makeinstopt SRCDICTS=\$datadir/dict/words \ - DICTPATH=\$datadir/dict/cracklib_dict" - -cl_pm(){ - cp -f cracklib/libcrack.a $libdir - chmod +r $libdir/libcrack.a - cp -f cracklib/packer.h $includedir - chmod +r $includedir/packer.h - cp -f cracklib/crack.h $includedir - chmod +r $includedir/crack.h +cracklib_pm() { + $MAKE DICTPATH=$datadir/$xpkg/pw_dict dict } -hook_add postmake 3 cl_pm - +hook_add postmake 5 cracklib_pm diff --git a/package/base/cracklib/cracklib.desc b/package/base/cracklib/cracklib.desc index dddeb5df4..7c72be60b 100644 --- a/package/base/cracklib/cracklib.desc +++ b/package/base/cracklib/cracklib.desc @@ -27,7 +27,7 @@ [T] really, but you only need to use one of them) which may be used in a [T] "passwd"-like program. -[U] http://www.crypticide.com/users/alecm/ +[U] http://sourceforge.net/projects/cracklib [A] Alec Muffett [M] Chris Hamilton @@ -37,8 +37,8 @@ [F] CORE [L] OpenSource [S] Stable -[V] 2.7 +[V] 2.8.6 [P] X -?-3-----9 178.500 -[D] 3458244068 cracklib,2.7.tar.gz http://www.crypticide.com/users/alecm/security/ +[D] 4165831858 cracklib-2.8.6.tar.gz http://dl.sourceforge.net/cracklib/