|
|
@ -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 |