aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2009-07-11 22:30:37 +0000
committerColin Percival <cperciva@FreeBSD.org>2009-07-11 22:30:37 +0000
commit7d845dde8d645c3de45e82916208e7cc88488be9 (patch)
treefc0e35e98ca75b0e4e05883fa614fe1d937ffab1 /contrib
parent1ed01448fbe9c77a610d006602f2bf4606f7f0d9 (diff)
downloadsrc-7d845dde8d645c3de45e82916208e7cc88488be9.tar.gz
src-7d845dde8d645c3de45e82916208e7cc88488be9.zip
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)
Notes
Notes: svn path=/head/; revision=195626
Diffstat (limited to 'contrib')
-rw-r--r--contrib/amd/amd/get_args.c4
-rw-r--r--contrib/ntp/scripts/mkver.in2
-rw-r--r--contrib/sendmail/cf/sh/makeinfo.sh2
3 files changed, 3 insertions, 5 deletions
diff --git a/contrib/amd/amd/get_args.c b/contrib/amd/amd/get_args.c
index 12a7d07efd59..dda761897995 100644
--- a/contrib/amd/amd/get_args.c
+++ b/contrib/amd/amd/get_args.c
@@ -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);
diff --git a/contrib/ntp/scripts/mkver.in b/contrib/ntp/scripts/mkver.in
index 11aa6134c14e..e8d9892bd27e 100644
--- a/contrib/ntp/scripts/mkver.in
+++ b/contrib/ntp/scripts/mkver.in
@@ -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
diff --git a/contrib/sendmail/cf/sh/makeinfo.sh b/contrib/sendmail/cf/sh/makeinfo.sh
index e7b0cd101fce..1758e99ba980 100644
--- a/contrib/sendmail/cf/sh/makeinfo.sh
+++ b/contrib/sendmail/cf/sh/makeinfo.sh
@@ -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"