summaryrefslogtreecommitdiff
path: root/cryptcat
diff options
context:
space:
mode:
authorJose V Beneyto <joberui@ei.upv.es>2006-11-22 01:59:21 +0100
committerJose V Beneyto <joberui@ei.upv.es>2006-11-22 01:59:21 +0100
commit114abd3ce24c387c13794dd1b245c7c636657919 (patch)
tree1ae1efbad4e4f572097ba6d9184580886ec4e040 /cryptcat
parent9eee7d7761a5bb8fee402b977244ecf64ba336f5 (diff)
downloadcontrib-114abd3ce24c387c13794dd1b245c7c636657919.tar.gz
contrib-114abd3ce24c387c13794dd1b245c7c636657919.tar.xz
cryptcat: initial commit
Diffstat (limited to 'cryptcat')
-rw-r--r--cryptcat/.footprint3
-rw-r--r--cryptcat/.md5sum2
-rw-r--r--cryptcat/Pkgfile20
-rw-r--r--cryptcat/netcat.patch12
4 files changed, 37 insertions, 0 deletions
diff --git a/cryptcat/.footprint b/cryptcat/.footprint
new file mode 100644
index 000000000..6ec544f10
--- /dev/null
+++ b/cryptcat/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x sepen/users usr/
+drwxr-xr-x sepen/users usr/bin/
+-rwxr-xr-x sepen/users usr/bin/cryptcat
diff --git a/cryptcat/.md5sum b/cryptcat/.md5sum
new file mode 100644
index 000000000..0a0e1adf7
--- /dev/null
+++ b/cryptcat/.md5sum
@@ -0,0 +1,2 @@
+fc4afff350f3dd5e4fe51b0dd01a8e21 cryptcat-unix-1.2.1.tar
+5e15ebb8cb5675e5b4340d36561d0e54 netcat.patch
diff --git a/cryptcat/Pkgfile b/cryptcat/Pkgfile
new file mode 100644
index 000000000..c79f9f178
--- /dev/null
+++ b/cryptcat/Pkgfile
@@ -0,0 +1,20 @@
+# Description: Cryptcat is the standard netcat enhanced with twofish encryption.
+# URL: http://farm9.org/Cryptcat/
+# Maintainer: Jose V Beneyto, joberui at ei dot upv dot es
+# Packager: Jose V Beneyto, joberui at ei dot upv dot es
+# Depends on: glibc
+
+name=cryptcat
+version=1.2.1
+release=1
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-unix-$version.tar \
+ netcat.patch)
+
+build() {
+ tar -C $SRC -xvf $name-unix-$version.tar
+ cd unix
+ patch netcat.c $SRC/netcat.patch
+ make linux
+ install -d $PKG/usr/bin
+ install -m 755 $name $PKG/usr/bin
+}
diff --git a/cryptcat/netcat.patch b/cryptcat/netcat.patch
new file mode 100644
index 000000000..e65cefb3d
--- /dev/null
+++ b/cryptcat/netcat.patch
@@ -0,0 +1,12 @@
+1504c1504
+< bail ("nc -h for help");
+---
+> bail ("cryptcat -h for help");
+1667,1669c1667,1669
+< holler ("[v1.10]\n\
+< connect to somewhere: nc [-options] hostname port[s] [ports] ... \n\
+< listen for inbound: nc -l -p port [-options] [hostname] [port]\n\
+---
+> holler ("cryptcat v1.2.1\n\
+> connect to somewhere: cryptcat [-options] hostname port[s] [ports] ... \n\
+> listen for inbound: cryptcat -l -p port [-options] [hostname] [port]\n\

Generated by cgit