Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-analyzer/cryptcat/files: cryptcat-1.2.1-build.patch cryptcat-1.2.1-misc.patch
Date: Thu, 10 Jul 2014 22:14:45
Message-Id: 20140710221441.881E02004E@flycatcher.gentoo.org
1 jer 14/07/10 22:14:41
2
3 Modified: cryptcat-1.2.1-build.patch
4 Added: cryptcat-1.2.1-misc.patch
5 Log:
6 EAPI bump. Convert sed scripts etcetera to patch. Catch a few more missing includes.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
9
10 Revision Changes Path
11 1.2 net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch?r1=1.1&r2=1.2
16
17 Index: cryptcat-1.2.1-build.patch
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- cryptcat-1.2.1-build.patch 19 Aug 2006 15:21:06 -0000 1.1
24 +++ cryptcat-1.2.1-build.patch 10 Jul 2014 22:14:41 -0000 1.2
25 @@ -1,5 +1,5 @@
26 ---- unix/Makefile
27 -+++ unix/Makefile
28 +--- a/unix/Makefile
29 ++++ b/unix/Makefile
30 @@ -10,16 +10,14 @@
31 # debugging
32 # DFLAGS = -DTEST -DDEBUG
33
34
35
36 1.1 net-analyzer/cryptcat/files/cryptcat-1.2.1-misc.patch
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-misc.patch?rev=1.1&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-misc.patch?rev=1.1&content-type=text/plain
40
41 Index: cryptcat-1.2.1-misc.patch
42 ===================================================================
43 --- a/netcat.c
44 +++ b/netcat.c
45 @@ -39,7 +39,7 @@
46 /* conditional includes -- a very messy section which you may have to dink
47 for your own architecture [and please send diffs...]: */
48 /* #undef _POSIX_SOURCE /* might need this for something? */
49 -#define HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */
50 +#undef HAVE_BIND /* ASSUMPTION -- seems to work everywhere! */
51 #define HAVE_HELP /* undefine if you dont want the help text */
52 /* #define ANAL /* if you want case-sensitive DNS matching */
53
54 @@ -56,7 +56,7 @@
55 #ifdef FD_SETSIZE /* should be in types.h, butcha never know. */
56 #undef FD_SETSIZE /* if we ever need more than 16 active */
57 #endif /* fd's, something is horribly wrong! */
58 -#define FD_SETSIZE 16 /* <-- this'll give us a long anyways, wtf */
59 +#define FD_SETSIZE 1024 /* <-- this'll give us a long anyways, wtf */
60 #include <sys/types.h> /* *now* do it. Sigh, this is broken */
61
62 #ifdef HAVE_RANDOM /* aficionados of ?rand48() should realize */
63 @@ -81,8 +81,10 @@
64 #include <errno.h>
65 #include <signal.h>
66 #include <fcntl.h> /* O_WRONLY et al */
67 +#include <unistd.h> /* alarm() close() sleep() */
68 +#include <time.h> /* time() */
69
70 -#ifdef LINUX
71 +#ifdef __linux__
72 #include <resolv.h>
73 #endif
74
75 --- a/generic.h
76 +++ b/generic.h
77 @@ -274,7 +274,7 @@
78
79 /* linux, which is trying as desperately as the gnu folks can to be
80 POSIXLY_CORRECT. I think I'm gonna hurl... */
81 -#ifdef LINUX
82 +#ifdef __linux__
83 #undef UTMPX
84 #undef HAVE_SYSINFO
85 #undef HAVE_SELECT_H
86 @@ -373,3 +373,4 @@
87 /* ================ */
88 #endif /* GENERIC_H */
89
90 +#define arm arm_timer