[Lunar-commits] r17204 - moonbase/trunk/net/nc

Moritz Heiber moe at lunar-linux.org
Mon Nov 7 10:33:07 UTC 2005


Author: moe
Date: 2005-11-07 10:33:05 +0000 (Mon, 07 Nov 2005)
New Revision: 17204

Modified:
   moonbase/trunk/net/nc/BUILD
   moonbase/trunk/net/nc/DETAILS
Log:
* Replaced the obsolete doc copying with a gather_docs call
* Make the patch actually work (was missing the -p option)
* Reordered the DETAILS file; Made the SOURCE_URL valid

I wonder how people could actually use this thing before
It was horribly broken.



Modified: moonbase/trunk/net/nc/BUILD
===================================================================
--- moonbase/trunk/net/nc/BUILD	2005-11-07 09:14:51 UTC (rev 17203)
+++ moonbase/trunk/net/nc/BUILD	2005-11-07 10:33:05 UTC (rev 17204)
@@ -1,11 +1,11 @@
 (
 
-  patch_it $SOURCE2  &&
+  patch_it $SOURCE2 0 &&
   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/
+  make linux          &&
+  prepare_install     &&
+  install -m755 nc /usr/bin/  &&
+  
+  gather_docs scripts
 
 ) > $C_FIFO 2>&1

Modified: moonbase/trunk/net/nc/DETAILS
===================================================================
--- moonbase/trunk/net/nc/DETAILS	2005-11-07 09:14:51 UTC (rev 17203)
+++ moonbase/trunk/net/nc/DETAILS	2005-11-07 10:33:05 UTC (rev 17204)
@@ -1,14 +1,16 @@
           MODULE=nc
          VERSION=1.10
-          SOURCE=nc110.tgz
-         SOURCE2=nc-110.patch
+          SOURCE=${MODULE}110.tgz
+         SOURCE2=${MODULE}-110.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE
-      SOURCE_URL=http://coast.cs.purdue.edu:/pub/tools/unix/netutils/netcat/
+      SOURCE_URL=http://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/
      SOURCE2_URL=$PATCH_URL/
-        WEB_SITE=http://www.atstake.com/research/tools/index.html#network_utilities
+      SOURCE_VFY=sha1:f8ec3a39796b141b6654d39b7957b863c7f79a95
+     SOURCE2_VFY=sha1:a4535fbafaacecbd3e17f9268f210f0b4e8d2d39
+        WEB_SITE=http://coast.cs.purdue.edu/pub/tools/unix/netutils/netcat/
          ENTERED=20020209
          UPDATED=20020209
-           SHORT="Netcat has been dubbed the network swiss army knife."
+           SHORT="the network swiss army knife."
 cat << EOF
 Netcat has been dubbed the network swiss army knife. 
 It is a simple Unix utility which reads and writes data across network 



More information about the Lunar-commits mailing list