[Pkg-privacy-commits] [onioncat] 22/241: git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk at 138 58e1ccc2-750e-0410-8d0d-f93ca75ab447

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:16 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 80c430f403fa34cc9209e591a42238f6b6f646e6
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Mon Feb 11 21:43:39 2008 +0000

    git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@138 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 Makefile | 3 +++
 ocat.c   | 8 ++++++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 54a1e00..62f4325 100644
--- a/Makefile
+++ b/Makefile
@@ -11,3 +11,6 @@ ocat: ocatroute.o ocattun.o ocatv6conv.o ocatlog.o ocatthread.o
 clean:
 	rm -f *.o $(TARGET)
 
+install:
+	install $(TARGET) /usr/local/bin
+
diff --git a/ocat.c b/ocat.c
index 5384f31..e7b6a05 100644
--- a/ocat.c
+++ b/ocat.c
@@ -20,7 +20,9 @@ extern int debug_level_;
 
 void usage(const char *s)
 {
-   fprintf(stderr, "usage: %s [OPTIONS] <onion_hostname>\n"
+   fprintf(stderr, 
+         "onioncat (c) Bernhard R. Fischer -- compiled %s %s\n"
+         "usage: %s [OPTIONS] <onion_hostname>\n"
          "   -h                    display usage message\n"
          "   -d <n>                set debug level to n, default = %d\n"
          "   -i <onion_hostname>   convert onion hostname to IPv6 and exit\n"
@@ -34,7 +36,7 @@ void usage(const char *s)
          "   -T <tun_device>       path to tun character device\n"
 #endif
          "   -v                    validate packets from sockets, default = %d\n"
-         , s, debug_level_, ocat_listen_port_, ocat_dest_port_, tor_socks_port_, vrec_);
+         , __DATE__, __TIME__, s, debug_level_, ocat_listen_port_, ocat_dest_port_, tor_socks_port_, vrec_);
 }
 
 
@@ -135,6 +137,8 @@ int main(int argc, char *argv[])
       exit(0);
    }
 
+   log_msg(L_NOTICE, "onioncat (c) Bernhard R. Fischer -- compiled %s %s", __DATE__, __TIME__);
+
    // init peer structure
    init_peers();
 

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