mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
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
This commit is contained in:
parent
f1c8f60b88
commit
696bc4a741
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=264374
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user