From 696bc4a74143a50fa754e7e50f3190baf8fb91d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Sat, 12 Apr 2014 18:01:25 +0000 Subject: [PATCH] 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 --- contrib/amd/amd/get_args.c | 6 ------ usr.sbin/amd/include/newvers.sh | 9 --------- 2 files changed, 15 deletions(-) diff --git a/contrib/amd/amd/get_args.c b/contrib/amd/amd/get_args.c index dda761897995..8f743e6b2f3c 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 e192ee91f4d1..0ca390e5a6f1 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