[Pkg-privacy-commits] [onioncat] 239/241: Removed __DATE__/__TIME__ to suffice reproducible builds (requested by Debian package maintainer).

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:17:20 UTC 2015


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

intrigeri pushed a commit to branch upstream-master
in repository onioncat.

commit ffa48fbb033a59080a057411f1f65584f6efa3ca
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Sat May 9 19:25:03 2015 +0000

    Removed __DATE__/__TIME__ to suffice reproducible builds (requested by Debian package maintainer).
    
    git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@568 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 src/ocatsetup.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/ocatsetup.c b/src/ocatsetup.c
index 0051d5d..5f6cb48 100644
--- a/src/ocatsetup.c
+++ b/src/ocatsetup.c
@@ -205,9 +205,13 @@ 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
+
+   // You may comment-in the following lines for debugging purpose. Code was
+   // removed due to request of Debian package maintainer.
+#if 0
    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;

-- 
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