Remove time and date stamps from svn* binaries, in order to make the

builds reproducible.

Reviewed by:	peter
MFC after:	3 days
This commit is contained in:
Colin Percival 2013-10-25 18:43:53 +00:00
parent 09b2544b71
commit 7fedb8b7a5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257129
2 changed files with 3 additions and 5 deletions

View File

@ -1115,10 +1115,8 @@ svn_opt__print_version_info(const char *pgm_name,
return svn_cmdline_printf(pool, "%s\n", SVN_VER_NUMBER);
SVN_ERR(svn_cmdline_printf(pool, _("%s, version %s\n"
" compiled %s, %s on %s\n\n"),
" compiled on %s\n\n"),
pgm_name, SVN_VERSION,
svn_version_ext_build_date(info),
svn_version_ext_build_time(info),
svn_version_ext_build_host(info)));
SVN_ERR(svn_cmdline_printf(pool, "%s\n", svn_version_ext_copyright(info)));

View File

@ -125,8 +125,8 @@ svn_version_extended(svn_boolean_t verbose,
{
svn_version_extended_t *info = apr_pcalloc(pool, sizeof(*info));
info->build_date = __DATE__;
info->build_time = __TIME__;
info->build_date = NULL;
info->build_time = NULL;
info->build_host = SVN_BUILD_HOST;
info->copyright = apr_pstrdup
(pool, _("Copyright (C) 2013 The Apache Software Foundation.\n"