Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2014 18:01:25 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264374 - in head: contrib/amd/amd usr.sbin/amd/include
Message-ID:  <201404121801.s3CI1PX9065556@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404121801.s3CI1PX9065556>