[Pkg-privacy-commits] [onioncat] 336/340: 0001-Stop-displaying-time-of-build-in-online-help.patch: new patch, to make the package build reproducibly.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository onioncat.

commit f30b16d7f98c27be832c664709e49e3ccf38b7ef
Author: intrigeri <intrigeri at boum.org>
Date:   Mon May 4 22:38:41 2015 +0000

    0001-Stop-displaying-time-of-build-in-online-help.patch: new patch, to make the package build reproducibly.
---
 ...p-displaying-time-of-build-in-online-help.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/0001-Stop-displaying-time-of-build-in-online-help.patch b/debian/patches/0001-Stop-displaying-time-of-build-in-online-help.patch
new file mode 100644
index 0000000..ea4d1a6
--- /dev/null
+++ b/debian/patches/0001-Stop-displaying-time-of-build-in-online-help.patch
@@ -0,0 +1,24 @@
+From: intrigeri <intrigeri at boum.org>
+Date: Mon, 4 May 2015 22:38:03 +0000
+Subject: Stop displaying time of build in online help.
+
+This prevents onioncat from building reproducibly and does not give much
+information to users.
+---
+ src/ocatsetup.c | 3 ---
+ 1 file changed, 3 deletions(-)
+
+diff --git a/src/ocatsetup.c b/src/ocatsetup.c
+index 0051d5d..e1d7e57 100644
+--- a/src/ocatsetup.c
++++ b/src/ocatsetup.c
+@@ -205,9 +205,6 @@ void post_init_setup(void)
+ #endif
+ 
+    snprintf(setup_.version, VERSION_STRING_LEN, "%s (c) %s (%s mode)", PACKAGE_STRING, OCAT_AUTHOR, setup_.net_type == NTYPE_TOR ? "OnionCat" : setup_.net_type == NTYPE_I2P ? "GarliCat" : "unknown");
+-#ifdef DEBUG
+-   snprintf(&setup_.version[strlen(setup_.version)], VERSION_STRING_LEN - strlen(setup_.version), " -- compiled %s %s", __DATE__, __TIME__);
+-#endif
+    setup_.pid_file = NDESC(pid_file);
+    setup_.oc_vdns = NDESC(prefix);
+    setup_.oc_vdns.s6_addr[15] = 1;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..03986fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Stop-displaying-time-of-build-in-online-help.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list