svn commit: r195626 - in head: contrib/amd/amd contrib/ntp/scripts contrib/sendmail/cf/sh secure/lib/libcrypto sys/contrib/dev/acpica/compiler sys/dev/hptrr

Colin Percival cperciva at FreeBSD.org
Sat Jul 11 22:30:38 UTC 2009


Author: cperciva
Date: Sat Jul 11 22:30:37 2009
New Revision: 195626
URL: http://svn.freebsd.org/changeset/base/195626

Log:
  Remove build timestamps from the following files:
  /boot/kernel/hptrr.ko
  /etc/mail/*.cf
  /lib/libcrypto.so.5
  /usr/bin/ntpq
  /usr/sbin/amd
  /usr/sbin/iasl
  /usr/sbin/ntpd
  /usr/sbin/ntpdate
  /usr/sbin/ntpdc
  
  There does not appear to be any purpose to having these timestamps, and
  they have the irritating consequence that the aforementioned files will
  be different every time they are rebuilt.
  
  After this commit, the only remaining build timestamps are in the kernel,
  the boot loaders, /usr/include/osreldate.h (the year in the copyright
  notice), and lib*.a (the timestamps on all of the included .o files).
  
  Reviewed by:	scottl (hptrr), gshapiro (sendmail), simon (openssl),
  		roberto (ntp), jkim (acpica)
  Approved by:	re (kib)

Modified:
  head/contrib/amd/amd/get_args.c
  head/contrib/ntp/scripts/mkver.in
  head/contrib/sendmail/cf/sh/makeinfo.sh
  head/secure/lib/libcrypto/Makefile
  head/sys/contrib/dev/acpica/compiler/aslcompile.c
  head/sys/contrib/dev/acpica/compiler/aslutils.c
  head/sys/dev/hptrr/hptrr_config.c

Modified: head/contrib/amd/amd/get_args.c
==============================================================================
--- head/contrib/amd/amd/get_args.c	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/contrib/amd/amd/get_args.c	Sat Jul 11 22:30:37 2009	(r195626)
@@ -96,8 +96,8 @@ get_version_string(void)
   xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n",
 	    USER_NAME, HOST_NAME, CONFIG_DATE);
   strlcat(vers, tmpbuf, len);
-  xsnprintf(tmpbuf, sizeof(tmpbuf), "Built by %s@%s on date %s.\n",
-	    BUILD_USER, BUILD_HOST, BUILD_DATE);
+  xsnprintf(tmpbuf, sizeof(tmpbuf), "Built by %s@%s.\n",
+	    BUILD_USER, BUILD_HOST);
   strlcat(vers, tmpbuf, len);
   xsnprintf(tmpbuf, sizeof(tmpbuf), "cpu=%s (%s-endian), arch=%s, karch=%s.\n",
 	    cpu, endian, gopt.arch, gopt.karch);

Modified: head/contrib/ntp/scripts/mkver.in
==============================================================================
--- head/contrib/ntp/scripts/mkver.in	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/contrib/ntp/scripts/mkver.in	Sat Jul 11 22:30:37 2009	(r195626)
@@ -17,8 +17,6 @@ case "@LCRYPTO@" in
  *) ConfStr="${ConfStr}-?" ;;
 esac
 
-ConfStr="$ConfStr `LC_TIME=C TZ= date`"
-
 if [ ! -f .version ]; then
   echo 0 > .version
 fi

Modified: head/contrib/sendmail/cf/sh/makeinfo.sh
==============================================================================
--- head/contrib/sendmail/cf/sh/makeinfo.sh	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/contrib/sendmail/cf/sh/makeinfo.sh	Sat Jul 11 22:30:37 2009	(r195626)
@@ -54,7 +54,7 @@ then
 else
 	host=`uname -n`
 fi
-echo '#####' built by $user@$host on `LC_ALL=C LC_TIME=C 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"

Modified: head/secure/lib/libcrypto/Makefile
==============================================================================
--- head/secure/lib/libcrypto/Makefile	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/secure/lib/libcrypto/Makefile	Sat Jul 11 22:30:37 2009	(r195626)
@@ -352,7 +352,6 @@ buildinf.h: ${.CURDIR}/Makefile
 	echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
 	echo "  #define CFLAGS \"$(CC)\""; \
 	echo "  #define PLATFORM \"FreeBSD-${MACHINE_ARCH}\""; \
-	echo "  #define DATE \"`LC_ALL=C date`\""; \
 	echo "#endif" ) > ${.TARGET}
 
 opensslconf.h: opensslconf-${MACHINE_ARCH}.h

Modified: head/sys/contrib/dev/acpica/compiler/aslcompile.c
==============================================================================
--- head/sys/contrib/dev/acpica/compiler/aslcompile.c	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/sys/contrib/dev/acpica/compiler/aslcompile.c	Sat Jul 11 22:30:37 2009	(r195626)
@@ -217,11 +217,11 @@ AslCompilerSignon (
             "%s", CompilerId);
     }
 
-    /* Version, build date, copyright, compliance */
+    /* Version, copyright, compliance */
 
     FlPrintFile (FileId,
-        " version %X [%s]\n%s%s\n%s%s\n%s\n",
-        (UINT32) ACPI_CA_VERSION, __DATE__,
+        " version %X\n%s%s\n%s%s\n%s\n",
+        (UINT32) ACPI_CA_VERSION,
         Prefix, CompilerCopyright,
         Prefix, CompilerCompliance,
         Prefix);

Modified: head/sys/contrib/dev/acpica/compiler/aslutils.c
==============================================================================
--- head/sys/contrib/dev/acpica/compiler/aslutils.c	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/sys/contrib/dev/acpica/compiler/aslutils.c	Sat Jul 11 22:30:37 2009	(r195626)
@@ -519,8 +519,8 @@ UtDisplaySummary (
     {
         /* Compiler name and version number */
 
-        FlPrintFile (FileId, "%s version %X [%s]\n",
-            CompilerId, (UINT32) ACPI_CA_VERSION, __DATE__);
+        FlPrintFile (FileId, "%s version %X\n",
+            CompilerId, (UINT32) ACPI_CA_VERSION);
     }
 
     /* Input/Output summary */

Modified: head/sys/dev/hptrr/hptrr_config.c
==============================================================================
--- head/sys/dev/hptrr/hptrr_config.c	Sat Jul 11 22:27:20 2009	(r195625)
+++ head/sys/dev/hptrr/hptrr_config.c	Sat Jul 11 22:30:37 2009	(r195626)
@@ -65,7 +65,7 @@ int init_config(void)
 
 char driver_name[] = "hptrr";
 char driver_name_long[] = "RocketRAID 17xx/2xxx SATA controller driver";
-char driver_ver[] = "v1.2 (" __DATE__ " " __TIME__ ")";
+char driver_ver[] = "v1.2";
 int  osm_max_targets = 0xff;
 
 


More information about the svn-src-head mailing list