Module submission - nc

kllin@it.su.se kllin at it.su.se
Wed Oct 26 08:29:50 UTC 2005


module name       : nc
suggested section : net
update (y/n)      : y
bugfix (y/n)      : n
security (y/n)    : n

update nc and fix the packet.

Klas Lindfors

-------------- next part --------------
--- nc/BUILD	2005-05-07 20:07:58.000000000 +0200
+++ nc/BUILD	1970-01-01 01:00:00.000000000 +0100
@@ -1,11 +0,0 @@
-(
-
-  patch  -p1  <  $SCRIPT_DIRECTORY/nc.patch
-  sedit  "s/CFLAGS = -O/CFLAGS = $CFLAGS/"    Makefile
-  make linux          &&
-  prepare_install     &&
-  cp nc /usr/bin/nc   &&
-  mkdir -p $DOCUMENT_DIRECTORY/nc/scripts &&
-  cp -a scripts $DOCUMENT_DIRECTORY/nc/
-
-) > $C_FIFO 2>&1
--- nc/DETAILS	2005-05-07 20:07:58.000000000 +0200
+++ nc/DETAILS	2005-10-26 10:16:15.000000000 +0200
@@ -1,11 +1,11 @@
           MODULE=nc
-         VERSION=1.10
-          SOURCE=nc110.tgz
-SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
-   SOURCE_URL[0]=http://www.atstake.com/research/tools/network_utilities/
-        WEB_SITE=http://www.atstake.com/research/tools/index.html#network_utilities
+         VERSION=0.7.1
+	  SOURCE=netcat-$VERSION.tar.bz2
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/netcat-$VERSION
+   SOURCE_URL[0]=$SFORGE_URL/netcat
+	WEB_SITE=http://netcat.sourceforge.net
          ENTERED=20020209
-         UPDATED=20020209
+         UPDATED=20051026
            SHORT="Netcat has been dubbed the network swiss army knife."
 cat << EOF
 Netcat has been dubbed the network swiss army knife. 
--- nc/PRE_BUILD	2005-05-07 20:07:58.000000000 +0200
+++ nc/PRE_BUILD	1970-01-01 01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-mk_source_dir  $SOURCE_DIRECTORY  &&
-cd             $SOURCE_DIRECTORY  &&
-unpack         $SOURCE
--- nc/nc.patch	2005-04-26 19:51:10.000000000 +0200
+++ nc/nc.patch	1970-01-01 01:00:00.000000000 +0100
@@ -1,25 +0,0 @@
-diff -r -U2 nc.ori/Makefile nc/Makefile
---- nc.ori/Makefile	Wed Mar 20 04:16:06 1996
-+++ nc/Makefile	Sat Feb  9 14:22:52 2002
-@@ -10,4 +10,5 @@
- # debugging
- # DFLAGS = -DTEST -DDEBUG
-+DFLAGS = -DTELNET -DGAPING_SECURITY_HOLE
- CFLAGS = -O
- XFLAGS = 	# xtra cflags, set by systype targets
-@@ -68,5 +69,5 @@
- 
- linux:
--	make -e $(ALL) $(MFLAGS) XFLAGS='-DLINUX' STATIC=-static
-+	make -e $(ALL) $(MFLAGS) XFLAGS='-DLINUX' STATIC=
- 
- # irix 5.2, dunno 'bout earlier versions.  If STATIC='-non_shared' doesn't
-diff -r -U2 nc.ori/netcat.c nc/netcat.c
---- nc.ori/netcat.c	Thu Mar 21 01:38:04 1996
-+++ nc/netcat.c	Sat Feb  9 12:04:18 2002
-@@ -28,4 +28,5 @@
- 
- #include "generic.h"		/* same as with L5, skey, etc */
-+#include <resolv.h>
- 
- /* conditional includes -- a very messy section which you may have to dink
-------------- next part --------------
lvu submit nc cc7ba95ad91bb04294008fe433c28efe  -
2.6.13.2 2.4.31-ll-r11.0 gcc-3.3.3 glibc-2.3.3


More information about the Lunar mailing list