[Lunar-commits] <moonbase> netkit-telnet: use the patch from PATCH_URL location.

Florin Braescu florin at lunar-linux.org
Sun Dec 11 11:00:59 CET 2011


commit 7a63717c45f1b1be9ec7c3d6adabfe561aaf08c7
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Sun Dec 11 11:00:59 2011 +0100

    netkit-telnet: use the patch from PATCH_URL location.
---
 net/netkit-telnet/BUILD                   |    8 +++++---
 net/netkit-telnet/DETAILS                 |   12 ++++++++----
 net/netkit-telnet/netkit-telnet.patch.bz2 |  Bin 585 -> 0 bytes
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/net/netkit-telnet/BUILD b/net/netkit-telnet/BUILD
index 31b7350..82a3d61 100644
--- a/net/netkit-telnet/BUILD
+++ b/net/netkit-telnet/BUILD
@@ -1,7 +1,9 @@
 (
-  
-  bzcat $SCRIPT_DIRECTORY/netkit-telnet.patch.bz2 | patch -p1
-  sedit "s/MANDIR=\"\$PREFIX\/man/MANDIR=\"\$PREFIX\/share\/man/" configure
+
+  patch_it $SOURCE_CACHE/$SOURCE2 1  &&
+
+  sedit "s/MANDIR=\"\$PREFIX\/man/MANDIR=\"\$PREFIX\/share\/man/" configure  &&
+
   ./configure  --prefix=/usr  &&
   default_make
 
diff --git a/net/netkit-telnet/DETAILS b/net/netkit-telnet/DETAILS
index 926de21..75ffa58 100644
--- a/net/netkit-telnet/DETAILS
+++ b/net/netkit-telnet/DETAILS
@@ -1,17 +1,21 @@
           MODULE=netkit-telnet
          VERSION=0.18-pre1a
           SOURCE=$MODULE-$VERSION.tar.gz
-      SOURCE_URL=ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel/
+         SOURCE2=$MODULE.patch.bz2
+      SOURCE_URL=ftp://ftp.uk.linux.org/pub/linux/Networking/netkit-devel
+     SOURCE2_URL=$PATCH_URL
       SOURCE_VFY=sha1:d2868efec029c06126381742d801b0a138a5aebb
+     SOURCE2_VFY=sha1:20fbd2c7b427b86b011baaba9b43dde87daa9c18
         WEB_SITE=http://www.uk.linux.org
          ENTERED=20010922
          UPDATED=20010922
-           SHORT="netkit-telnet contains a telnet client and server."
+           SHORT="netkit-telnet contains a telnet client and server"
+
 cat << EOF
 This is netkit-telnet for Linux.
 Contents:
-        telnet          Client for telnet protocol
-        telnetd         Daemon for telnet protocol
+        telnet  - Client for telnet protocol
+        telnetd - Daemon for telnet protocol
 Note: These programs do not provide encryption or strong
 authentication of network connections. As such, their use for remote
 logins is discouraged. The "ssh" protocol and package can be used
diff --git a/net/netkit-telnet/netkit-telnet.patch.bz2 b/net/netkit-telnet/netkit-telnet.patch.bz2
deleted file mode 100644
index e48794a..0000000
Binary files a/net/netkit-telnet/netkit-telnet.patch.bz2 and /dev/null differ


More information about the Lunar-commits mailing list