svn commit: r264374 - in head: contrib/amd/amd usr.sbin/amd/include
Dag-Erling Smørgrav
des at FreeBSD.org
Sat Apr 12 18:01:26 UTC 2014
Author: des
Date: Sat Apr 12 18:01:25 2014
New Revision: 264374
URL: http://svnweb.freebsd.org/changeset/base/264374
Log:
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
Modified:
head/contrib/amd/amd/get_args.c
head/usr.sbin/amd/include/newvers.sh
Modified: head/contrib/amd/amd/get_args.c
==============================================================================
--- head/contrib/amd/amd/get_args.c Sat Apr 12 15:13:43 2014 (r264373)
+++ head/contrib/amd/amd/get_args.c Sat Apr 12 18:01:25 2014 (r264374)
@@ -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);
Modified: head/usr.sbin/amd/include/newvers.sh
==============================================================================
--- head/usr.sbin/amd/include/newvers.sh Sat Apr 12 15:13:43 2014 (r264373)
+++ head/usr.sbin/amd/include/newvers.sh Sat Apr 12 18:01:25 2014 (r264374)
@@ -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
More information about the svn-src-all
mailing list