[Lunar-commits] CVS: moonbase/security/shadow BUILD, 1.6, 1.7 DETAILS, 1.2, 1.3

Terry Chan tchan at lunar-linux.org
Wed Apr 7 02:54:22 GMT 2004


Update of /var/cvs/lunar/moonbase/security/shadow
In directory dbguin.lunar-linux.org:/tmp/cvs-serv12347

Modified Files:
	BUILD DETAILS 
Log Message:
Used the slackware patch that couannette found for the newgrp/getlogin bug.
Compiled and tested withg gcc-3.3.3, kernel headers 2.4.x.  Basically newgrp.c
incorrectly assumes getlogin will always return a value.  The patch adds 
a test for getlogin() ret val.


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/security/shadow/BUILD,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- BUILD	29 Jan 2004 10:06:16 -0000	1.6
+++ BUILD	7 Apr 2004 02:54:20 -0000	1.7
@@ -1,19 +1,13 @@
 (
 
+  patch_it $SOURCE_CACHE/$SOURCE2 1 
   if  module_installed  Linux-PAM;  then
     WITH_LIBPAM="--with-libpam"
   fi
 
-# sedit  "s/-lpam_misc/-lpam_misc -lpam/"  configure
-
-# sedit  "s/ln -s/ln -sf/g"  configure
-# sedit  "s/ln -s/ln -sf/g"  aclocal.m4
-
   sedit "s/CRACKLIB_DICTPATH	\/var\/cache\/cracklib\/cracklib_dict/CRACKLIB_DICTPATH	\/usr\/share\/dict\/pw_dict/" etc/login.defs.linux
   sedit "s/#MD5_CRYPT_ENAB	no/MD5_CRYPT_ENAB	yes/" etc/login.defs.linux
 
-# NOTE: this is INCORRECT as it hides the changes made to aclocal.m4, reverting back to previous correct method.
-# touch -r configure.in *
   touch *
 
   ./configure  --build=$BUILD        \

Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/security/shadow/DETAILS,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- DETAILS	29 Jan 2004 10:06:16 -0000	1.2
+++ DETAILS	7 Apr 2004 02:54:20 -0000	1.3
@@ -1,14 +1,17 @@
           MODULE=shadow
          VERSION=4.0.4.1
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=$MODULE-$VERSION.newgrp_getlogin.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
    SOURCE_URL[0]=http://www.wiretapped.be/security/host-security/shadow/$SOURCE
    SOURCE_URL[1]=ftp://ftp.pld.net.pl/software/$MODULE/$SOURCE
+     SOURCE2_URL=$PATCH_URL/$SOURCE2
       SOURCE_VFY=md5:3a3d17d3d7c630b602baf66ae7434c61
+     SOURCE2_VFY=md5:8fb0bf5a77201b898aed2529cba0d681
         WEB_SITE=ftp://ftp.pld.org.pl/software/shadow
          ENTERED=20010922
-         UPDATED=20040129
-        SHORT="shadow contains the shadow password file utilities."
+         UPDATED=20040406
+           SHORT="shadow contains the shadow password file utilities."
 
 cat << EOF
 The Shadow password file utilities package includes the programs



More information about the Lunar-commits mailing list