The files below change with every build because they include the `date` 
they were generated (and etcsum changes because it references some of the 
files that keep changing).

/etc/mail/localhost.cf
/etc/mail/sendmail.cf
/etc/mail/submit.cf
/usr/share/info/dir
/var/db/sysmerge/etcsum

The patch below removes the `date` so all of the above will stay constant 
after a rebuild unless there are real changes.


Index: gnu/usr.bin/texinfo/util/gen-dir-node
===================================================================
RCS file: /usr/cvs/src/gnu/usr.bin/texinfo/util/gen-dir-node,v
retrieving revision 1.5
diff -u -r1.5 gen-dir-node
--- gnu/usr.bin/texinfo/util/gen-dir-node       17 Jul 2006 16:12:36 -0000      
1.5
+++ gnu/usr.bin/texinfo/util/gen-dir-node       12 May 2011 02:09:26 -0000
@@ -47,7 +47,6 @@
 ### output the dir header
 echo "-*- Text -*-"
 echo "This file was generated automatically by $0."
-echo "This version was generated on `date`"
 echo "by `whoami`@`hostname` for `(cd ${INFODIR}; pwd)`"
 
 cat << moobler
Index: gnu/usr.sbin/sendmail/cf/sh/makeinfo.sh
===================================================================
RCS file: /usr/cvs/src/gnu/usr.sbin/sendmail/cf/sh/makeinfo.sh,v
retrieving revision 1.2
diff -u -r1.2 makeinfo.sh
--- gnu/usr.sbin/sendmail/cf/sh/makeinfo.sh     15 Jan 2001 21:08:59 -0000      
1.2
+++ gnu/usr.sbin/sendmail/cf/sh/makeinfo.sh     12 May 2011 02:41:33 -0000
@@ -52,7 +52,7 @@
 else
        host=`uname -n`
 fi
-echo '#####' built by $user@$host on `date`
+echo '#####' built by $user@$host
 echo '#####' in `pwd` | sed 's/\/tmp_mnt//'
 echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//'
 echo "define(\`__HOST__', $host)dnl"

Reply via email to