[Lunar-commits] r26262 - in moonbase/trunk/security: cracklib shadow

Stefan Wold ratler at lunar-linux.org
Thu Oct 18 17:19:56 CEST 2007


Author: ratler
Date: 2007-10-18 17:19:55 +0200 (Thu, 18 Oct 2007)
New Revision: 26262

Removed:
   moonbase/trunk/security/cracklib/crack.h
Modified:
   moonbase/trunk/security/cracklib/BUILD
   moonbase/trunk/security/cracklib/DETAILS
   moonbase/trunk/security/shadow/BUILD
   moonbase/trunk/security/shadow/DETAILS
Log:
shadow
* Changed download URL since ftp.pld.org.pl is since long gone
* Fixed cracklib issue for non PAM users

cracklib
* Removing the ugly work around to fix the shadow issue
* Added flags to make sure the dictionary install with the correct name




Modified: moonbase/trunk/security/cracklib/BUILD
===================================================================
--- moonbase/trunk/security/cracklib/BUILD	2007-10-18 10:44:32 UTC (rev 26261)
+++ moonbase/trunk/security/cracklib/BUILD	2007-10-18 15:19:55 UTC (rev 26262)
@@ -5,12 +5,10 @@
               --includedir=/usr/include  \
               --infodir=/usr/share/doc   \
               --mandir=/usr/share/man    \
+              --with-default-dict=/lib/cracklib/pw_dict \
+              --disable-static \
               $OPTS  &&
   default_make       &&
-  make dict          &&
-  cd /lib/cracklib   &&
-  ln -sf pw_dict.hwm .hwm &&
-  ln -sf pw_dict.pwd .pwd &&
-  ln -sf pw_dict.pwi .pwi
+  make dict
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/security/cracklib/DETAILS
===================================================================
--- moonbase/trunk/security/cracklib/DETAILS	2007-10-18 10:44:32 UTC (rev 26261)
+++ moonbase/trunk/security/cracklib/DETAILS	2007-10-18 15:19:55 UTC (rev 26262)
@@ -5,9 +5,9 @@
       SOURCE_VFY=sha1:0a77b21366cfbad675e6e44642026c89b87f41ce
         WEB_SITE=http://sourceforge.net/projects/cracklib
          ENTERED=20020313
-         UPDATED=20071016
+         UPDATED=20071018
            SHORT="library which may be used in a passwd-like program."
-           PSAFE=no
+PSAFE=no
 
 cat << EOF
 Cracklib is a library which may be used in a passwd-like program.

Deleted: moonbase/trunk/security/cracklib/crack.h

Modified: moonbase/trunk/security/shadow/BUILD
===================================================================
--- moonbase/trunk/security/shadow/BUILD	2007-10-18 10:44:32 UTC (rev 26261)
+++ moonbase/trunk/security/shadow/BUILD	2007-10-18 15:19:55 UTC (rev 26262)
@@ -29,7 +29,7 @@
 
   # We only need these files without PAM
   if ! module_installed Linux-PAM; then
-    sedit 's|^CRACKLIB_DICTPATH.*$|CRACKLIB_DICTPATH /lib/cracklib/|g' etc/login.defs
+    sedit 's|^CRACKLIB_DICTPATH.*$|CRACKLIB_DICTPATH /lib/cracklib/pw_dict|' etc/login.defs
     sedit 's|#MD5_CRYPT_ENAB.*$|MD5_CRYPT_ENAB yes|' etc/login.defs
     sedit 's|^USERGROUPS_ENAB.*|USERGROUPS_ENAB no|' etc/login.defs
     [ -e /etc/limits ] || install -m 0644 etc/limits /etc/

Modified: moonbase/trunk/security/shadow/DETAILS
===================================================================
--- moonbase/trunk/security/shadow/DETAILS	2007-10-18 10:44:32 UTC (rev 26261)
+++ moonbase/trunk/security/shadow/DETAILS	2007-10-18 15:19:55 UTC (rev 26262)
@@ -3,8 +3,9 @@
           SOURCE=$MODULE-$VERSION.tar.bz2
          SOURCE2=login-1.2.defs.pam
          SOURCE3=shadow-4.0.18.1-useradd-usermod.patch
-   SOURCE_URL[0]=ftp://ftp.pld.org.pl/software/$MODULE/
-   SOURCE_URL[1]=ftp://ftp.pld.org.pl/software/$MODULE/old/
+      SOURCE_URL=http://ftp.belnet.be/linux/linuxfromscratch/ftp/hlfs-packages/unstable/
+   #SOURCE_URL[0]=ftp://ftp.pld.org.pl/software/$MODULE/
+   #SOURCE_URL[1]=ftp://ftp.pld.org.pl/software/$MODULE/old/
      SOURCE2_URL=$PATCH_URL
      SOURCE3_URL=$PATCH_URL
       SOURCE_VFY=sha1:1a30458e9db05560bfc82529048bd5d60b45cf9b
@@ -13,9 +14,10 @@
         WEB_SITE=ftp://ftp.pld.org.pl/software/shadow
       MAINTAINER=ratler at lunar-linux.org
          ENTERED=20010922
-         UPDATED=20060916
+         UPDATED=20071018
            SHORT="Contains the shadow password file utilities"
-           PSAFE=no
+PSAFE=no
+
 cat << EOF
 The Shadow password file utilities package includes the programs
 necessary to convert traditional V7 UNIX password files to the SVR4



More information about the Lunar-commits mailing list