Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory sc8-pr-cvs17:/tmp/cvs-serv9100

Added Files:
        netcat-0.6.1.info netcat-0.6.1.patch netcat-1.10.info 
        netcat-1.10.patch 
Removed Files:
        netcat-0.6.1-12.info netcat-0.6.1-12.patch netcat-1.10-4.info 
        netcat-1.10-4.patch 
Log Message:
safer filenames


--- NEW FILE: netcat-0.6.1.info ---
Package: netcat
Epoch: 1
Version: 0.6.1
Revision: 12
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 29b1bd3925267d9b3e84163b187fadf6
Patch: %n-%v.patch
Depends: libgettext3-shlibs, libiconv
BuildDepends: libgettext3-dev, libiconv-dev
SetCFLAGS: -D__BIND_NOSTATIC
ConfigureParams: --mandir=%p/share/man --infodir=%p/share/info
InstallScript: make install DESTDIR=%d
DocFiles: ABOUT-NLS AUTHORS COPYING INSTALL NEWS README TODO
Description: TCP/IP swiss army knife
DescDetail: <<
A featured networking utility which reads and writes data across network
connections, using the TCP/IP protocol. It is designed to be a reliable
"back-end" tool that can be used directly or easily driven by other
programs and scripts. At the same time, it is a feature-rich network
debugging and exploration tool, since it can create almost any kind of
connection you would need and has several interesting built-in capabilities.
<<
DescPort: <<
This package replaces the older unmaintained netcat-1.10 package with one
based off of the latest GNU Netcat sources. It uses the Epoch field to
let fink know that it should be considered 'newer' than the old 1.10 pkg.
<<
License: GPL
Maintainer: Paul Swenson <[EMAIL PROTECTED]>
Homepage: http://netcat.sourceforge.net/

--- netcat-0.6.1-12.patch DELETED ---

--- NEW FILE: netcat-1.10.patch ---
diff -ru nc/Makefile nc-patched/Makefile
--- nc/Makefile Wed Mar 20 04:16:06 1996
+++ nc-patched/Makefile Thu Sep 20 13:53:32 2001
@@ -109,6 +109,10 @@
 next:
        make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic
 
+# Darwin / Mac OS X: Modernized NeXT, no fully static linking, no stripping
+darwin:
+       make -e $(ALL) $(MFLAGS) LD='$(CC)' XFLAGS='-DNEXT' STATIC=
+
 # start with this for a new architecture, and see what breaks.
 generic:
        make -e $(ALL) $(MFLAGS) XFLAGS='-DGENERIC' STATIC=
diff -ru nc/netcat.c nc-patched/netcat.c
--- nc/netcat.c Thu Mar 21 01:38:04 1996
+++ nc-patched/netcat.c Thu Sep 20 13:44:03 2001
@@ -40,9 +40,6 @@
 #else
 #include <malloc.h>
 #endif
-#ifdef HAVE_SELECT_H           /* random SV variants need this */
-#include <sys/select.h>
-#endif
 
 /* have to do this *before* including types.h. xxx: Linux still has it wrong */
 #ifdef FD_SETSIZE              /* should be in types.h, butcha never know. */
@@ -50,6 +47,10 @@
 #endif                         /* fd's, something is horribly wrong! */
 #define FD_SETSIZE 16          /* <-- this'll give us a long anyways, wtf */
 #include <sys/types.h>         /* *now* do it.  Sigh, this is broken */
+
+#ifdef HAVE_SELECT_H           /* random SV variants need this */
+#include <sys/select.h>
+#endif
 
 #ifdef HAVE_RANDOM             /* aficionados of ?rand48() should realize */
 #define SRAND srandom          /* that this doesn't need *strong* random */

--- netcat-0.6.1-12.info DELETED ---

--- NEW FILE: netcat-1.10.info ---
Package: netcat
Version: 1.10
Revision: 4
Source: http://www.phreak.org/archives/exploits/unix/network-scanners/nc110.tgz
Source-MD5: 402632f2fe01c169ff19a0ad6e9d608c
NoSourceDirectory: true
Patch: %n-%v.patch
CompileScript: make darwin
InstallScript: <<
 mkdir -p %i/bin
 install nc %i/bin/
<<
DocFiles: README
Description: TCP/IP swiss army knife
DescDetail: <<
A simple Unix utility which reads and writes data across network
connections using TCP or UDP protocol.  It is designed to be a reliable
"back-end" tool that can be used directly or easily driven by other
programs and scripts. At the same time it is a feature-rich network
debugging and exploration tool, since it can create almost any kind of
connection you would need and has several interesting built-in
capabilities.
<<
DescPort: <<
The include file <sys/select.h> requires that <sys/types.h> is
included first on Mac OS X 10.1. Fixed by changing the order. We also
patch a 'darwin' target into the Makefile which is basically a clone
of the 'next' target.
<<
License: Public Domain
Maintainer: Paul Swenson <[EMAIL PROTECTED]>
Homepage: http://www.l0pht.com/~weld/netcat/

--- NEW FILE: netcat-0.6.1.patch ---
diff -ru netcat-0.6.1/src/core.c netcat-0.6.1-patched/src/core.c
--- netcat-0.6.1/src/core.c     Sun Oct 13 13:24:19 2002
+++ netcat-0.6.1-patched/src/core.c     Mon Jun 30 22:58:38 2003
@@ -550,7 +550,7 @@
        happening (for example the target sending queue is delaying the output
        and so requires some more time to free up. */
     if (nc_main->recvq.len == 0) {
-      debug_v("watching main sock for incoming data (recvq is empty)");
+      debug_v("%s", "watching main sock for incoming data (recvq is empty)");
       FD_SET(fd_sock, &ins);
     }
     else
@@ -558,7 +558,7 @@
 
     /* same thing for the other socket */
     if (nc_slave->recvq.len == 0) {
-      debug_v("watching slave sock for incoming data (recvq is empty)");
+      debug_v("%s", "watching slave sock for incoming data (recvq is empty)");
       if (use_stdin || (netcat_mode == NETCAT_TUNNEL))
         FD_SET(fd_stdin, &ins);
     }
@@ -596,7 +596,7 @@
        exit(EXIT_FAILURE);
       }
       else if (read_ret == 0) {
-       debug_v("EOF Received from stdin! (removing from lookups..)");
+       debug_v("%s", "EOF Received from stdin! (removing from lookups..)");
        /* kill everything if this is a tunnel */
        if (netcat_mode == NETCAT_TUNNEL)
          inloop = FALSE;
@@ -725,7 +725,7 @@
        exit(EXIT_FAILURE);
       }
       else if (read_ret == 0) {
-       debug_v("EOF Received from the net");
+       debug_v("%s", "EOF Received from the net");
        inloop = FALSE;
       }
       else {
diff -ru netcat-0.6.1/src/netcat.c netcat-0.6.1-patched/src/netcat.c
--- netcat-0.6.1/src/netcat.c   Thu Oct  3 06:25:16 2002
+++ netcat-0.6.1-patched/src/netcat.c   Mon Jun 30 22:58:38 2003
@@ -27,6 +27,7 @@
 #endif
 
 #include "netcat.h"
+#include <nameser.h>
 #include <resolv.h>
 #include <signal.h>
 #include <getopt.h>
@@ -500,7 +501,7 @@
        ncexec(&listen_sock);           /* this won't return */
       }
       core_readwrite(&listen_sock, &stdio_sock);
-      debug_dv("Listen: EXIT");
+      debug_dv("%s", "Listen: EXIT");
     }
     else {
       /* otherwise we are in tunnel mode.  The connect_sock var was already
@@ -593,13 +594,13 @@
        ncexec(&connect_sock);          /* this won't return */
       }
       core_readwrite(&connect_sock, &stdio_sock);
-      debug_v("Connect: EXIT");
+      debug_v("%s", "Connect: EXIT");
     }
   }                    /* end of while (total_ports > 0) */
 
   /* all basic modes should return here for the final cleanup */
  main_exit:
-  debug_v("Main: EXIT (cleaning up)");
+  debug_v("%s", "Main: EXIT (cleaning up)");
 
   printstats();
   return glob_ret;

--- netcat-1.10-4.patch DELETED ---

--- netcat-1.10-4.info DELETED ---


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to