summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2014-04-12 18:01:25 +0000
committerdes <des@FreeBSD.org>2014-04-12 18:01:25 +0000
commit288923c300383a264d53e74acfc847d3e2ea8eeb (patch)
treec5befb614d622d25e2c5e286daa27233581e108d
parent51c7df1f50659fc248b69bb5bc9062af52231157 (diff)
downloadFreeBSD-src-288923c300383a264d53e74acfc847d3e2ea8eeb.zip
FreeBSD-src-288923c300383a264d53e74acfc847d3e2ea8eeb.tar.gz
Remove the names of the build host and user and the build date. This
still leaves the host OS and version, but these are harder to remove. MFC after: 3 weeks
-rw-r--r--contrib/amd/amd/get_args.c6
-rw-r--r--usr.sbin/amd/include/newvers.sh9
2 files changed, 0 insertions, 15 deletions
diff --git a/contrib/amd/amd/get_args.c b/contrib/amd/amd/get_args.c
index dda7618..8f743e6 100644
--- a/contrib/amd/amd/get_args.c
+++ b/contrib/amd/amd/get_args.c
@@ -93,12 +93,6 @@ get_version_string(void)
strlcat(vers, tmpbuf, len);
xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT);
strlcat(vers, tmpbuf, len);
- 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.\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);
strlcat(vers, tmpbuf, len);
diff --git a/usr.sbin/amd/include/newvers.sh b/usr.sbin/amd/include/newvers.sh
index e192ee9..0ca390e 100644
--- a/usr.sbin/amd/include/newvers.sh
+++ b/usr.sbin/amd/include/newvers.sh
@@ -31,13 +31,4 @@ fi
cat << __EOF
-/* Define name of host */
-#define BUILD_HOST "`hostname`"
-
-/* Define user name */
-#define BUILD_USER "`whoami`"
-
-/* Define configuration date */
-#define BUILD_DATE "`LC_ALL=C date`"
-
__EOF
OpenPOWER on IntegriCloud