- allow reproducible build

- set EXPIRATION_DATE to 2017-07-01 [1]

[1] Upstream propose EoL of apache 2.2.x during the next 12 months
    See discussion on dev@apache list.
This commit is contained in:
Olli Hauer 2016-07-18 20:26:26 +00:00
parent a5d377885b
commit ab29427692
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=418746
2 changed files with 18 additions and 0 deletions

View file

@ -19,6 +19,9 @@ CONFLICTS_INSTALL= caudium14-1.* \
apache-*-2.2.* apache22-*-2.2.* \
apache-*-2.4.* apache24-*-2.4.*
DEPRECATED= Upstream propose EoL of apache 2.2.x during the next 12 months
EXPIRATION_DATE= 2017-07-01
USE_APACHE= common22
USES= autoreconf cpe iconv libtool perl5 tar:bzip2
USE_PERL5= run

View file

@ -0,0 +1,15 @@
# disable build time stamp in favor of reproducible build
# except building with DEBUG
==============================================================
--- server/buildmark.c.orig 2016-07-03 16:09:18 UTC
+++ server/buildmark.c
@@ -17,6 +17,9 @@
#include "ap_config.h"
#include "httpd.h"
+/* Allow Reproducible build, do not include build time information */
+#undef __DATE__
+
#if defined(__DATE__) && defined(__TIME__)
static const char server_built[] = __DATE__ " " __TIME__;
#else