Module: kamailio
Branch: master
Commit: 15ab2ed22070b3483cc2de7652fb54a38ae8faf6
URL:
https://github.com/kamailio/kamailio/commit/15ab2ed22070b3483cc2de7652fb54a…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-02-07T18:33:36+01:00
pkg/kamailio/deb: enable reproducible builds
---
Modified: pkg/kamailio/deb/debian/rules
Modified: pkg/kamailio/deb/jessie/rules
Modified: pkg/kamailio/deb/precise/rules
Modified: pkg/kamailio/deb/squeeze/rules
Modified: pkg/kamailio/deb/trusty/rules
Modified: pkg/kamailio/deb/wheezy/rules
---
Diff:
https://github.com/kamailio/kamailio/commit/15ab2ed22070b3483cc2de7652fb54a…
Patch:
https://github.com/kamailio/kamailio/commit/15ab2ed22070b3483cc2de7652fb54a…
---
diff --git a/pkg/kamailio/deb/debian/rules b/pkg/kamailio/deb/debian/rules
index 10a4ae2..9d9441a 100755
--- a/pkg/kamailio/deb/debian/rules
+++ b/pkg/kamailio/deb/debian/rules
@@ -114,6 +114,9 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
+#
https://wiki.debian.org/ReproducibleBuilds/
+CC_EXTRA_OPTS += -DVERSION_NODATE
+
configure: configure-stamp
configure-stamp:
dh_testdir
diff --git a/pkg/kamailio/deb/jessie/rules b/pkg/kamailio/deb/jessie/rules
index d258b31..3d8b529 100755
--- a/pkg/kamailio/deb/jessie/rules
+++ b/pkg/kamailio/deb/jessie/rules
@@ -114,6 +114,9 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
+#
https://wiki.debian.org/ReproducibleBuilds/
+CC_EXTRA_OPTS += -DVERSION_NODATE
+
configure: configure-stamp
configure-stamp:
dh_testdir
diff --git a/pkg/kamailio/deb/precise/rules b/pkg/kamailio/deb/precise/rules
index 4e1436a..f66c34a 100755
--- a/pkg/kamailio/deb/precise/rules
+++ b/pkg/kamailio/deb/precise/rules
@@ -113,6 +113,9 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
+#
https://wiki.debian.org/ReproducibleBuilds/
+CC_EXTRA_OPTS += -DVERSION_NODATE
+
configure: configure-stamp
configure-stamp:
dh_testdir
diff --git a/pkg/kamailio/deb/squeeze/rules b/pkg/kamailio/deb/squeeze/rules
index 1a26bde..8b5f08b 100755
--- a/pkg/kamailio/deb/squeeze/rules
+++ b/pkg/kamailio/deb/squeeze/rules
@@ -111,6 +111,9 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
+#
https://wiki.debian.org/ReproducibleBuilds/
+CC_EXTRA_OPTS += -DVERSION_NODATE
+
configure: configure-stamp
configure-stamp:
dh_testdir
diff --git a/pkg/kamailio/deb/trusty/rules b/pkg/kamailio/deb/trusty/rules
index d258b31..3d8b529 100755
--- a/pkg/kamailio/deb/trusty/rules
+++ b/pkg/kamailio/deb/trusty/rules
@@ -114,6 +114,9 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
+#
https://wiki.debian.org/ReproducibleBuilds/
+CC_EXTRA_OPTS += -DVERSION_NODATE
+
configure: configure-stamp
configure-stamp:
dh_testdir
diff --git a/pkg/kamailio/deb/wheezy/rules b/pkg/kamailio/deb/wheezy/rules
index dadfa5b..e16072b 100755
--- a/pkg/kamailio/deb/wheezy/rules
+++ b/pkg/kamailio/deb/wheezy/rules
@@ -113,6 +113,9 @@ CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
# LDFLAGS -> LD_EXTRA_OPTS
LD_EXTRA_OPTS := $(shell dpkg-buildflags --get LDFLAGS)
+#
https://wiki.debian.org/ReproducibleBuilds/
+CC_EXTRA_OPTS += -DVERSION_NODATE
+
configure: configure-stamp
configure-stamp:
dh_testdir