jer         14/07/10 22:14:41

  Modified:             cryptcat-1.2.1-build.patch
  Added:                cryptcat-1.2.1-misc.patch
  Log:
  EAPI bump. Convert sed scripts etcetera to patch. Catch a few more missing 
includes.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.2                  net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch?rev=1.2&view=markup
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
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

Index: cryptcat-1.2.1-build.patch
===================================================================
RCS file: 
/var/cvsroot/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cryptcat-1.2.1-build.patch  19 Aug 2006 15:21:06 -0000      1.1
+++ cryptcat-1.2.1-build.patch  10 Jul 2014 22:14:41 -0000      1.2
@@ -1,5 +1,5 @@
---- unix/Makefile
-+++ unix/Makefile
+--- a/unix/Makefile
++++ b/unix/Makefile
 @@ -10,16 +10,14 @@
  # debugging
  # DFLAGS = -DTEST -DDEBUG



1.1                  net-analyzer/cryptcat/files/cryptcat-1.2.1-misc.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/cryptcat/files/cryptcat-1.2.1-misc.patch?rev=1.1&view=markup
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

Index: cryptcat-1.2.1-misc.patch
===================================================================
--- a/netcat.c
+++ b/netcat.c
@@ -39,7 +39,7 @@
 /* conditional includes -- a very messy section which you may have to dink
    for your own architecture [and please send diffs...]: */
 /* #undef _POSIX_SOURCE                /* might need this for something? */
-#define HAVE_BIND              /* ASSUMPTION -- seems to work everywhere! */
+#undef HAVE_BIND               /* ASSUMPTION -- seems to work everywhere! */
 #define HAVE_HELP              /* undefine if you dont want the help text */
 /* #define ANAL                        /* if you want case-sensitive DNS 
matching */
 
@@ -56,7 +56,7 @@
 #ifdef FD_SETSIZE              /* should be in types.h, butcha never know. */
 #undef FD_SETSIZE              /* if we ever need more than 16 active */
 #endif                         /* fd's, something is horribly wrong! */
-#define FD_SETSIZE 16          /* <-- this'll give us a long anyways, wtf */
+#define FD_SETSIZE 1024                /* <-- this'll give us a long anyways, 
wtf */
 #include <sys/types.h>         /* *now* do it.  Sigh, this is broken */
 
 #ifdef HAVE_RANDOM             /* aficionados of ?rand48() should realize */
@@ -81,8 +81,10 @@
 #include <errno.h>
 #include <signal.h>
 #include <fcntl.h>             /* O_WRONLY et al */
+#include <unistd.h>            /* alarm() close() sleep() */
+#include <time.h>              /* time() */
 
-#ifdef LINUX
+#ifdef __linux__
 #include <resolv.h>
 #endif
 
--- a/generic.h
+++ b/generic.h
@@ -274,7 +274,7 @@
 
 /* linux, which is trying as desperately as the gnu folks can to be
    POSIXLY_CORRECT.  I think I'm gonna hurl... */
-#ifdef LINUX
+#ifdef __linux__
 #undef UTMPX
 #undef HAVE_SYSINFO
 #undef HAVE_SELECT_H
@@ -373,3 +373,4 @@
 /* ================ */
 #endif /* GENERIC_H */
 
+#define arm arm_timer




Reply via email to