summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-19 15:21:06 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-19 15:21:06 +0000
commit13d377c9543620c0541da79b601f64acd12c5ce1 (patch)
treed3ff6c7d1e5315f21bffb3c87de34ddd788c9377 /net-analyzer/cryptcat
parentrename version for #144063 (diff)
downloadgentoo-2-13d377c9543620c0541da79b601f64acd12c5ce1.tar.gz
gentoo-2-13d377c9543620c0541da79b601f64acd12c5ce1.tar.bz2
gentoo-2-13d377c9543620c0541da79b601f64acd12c5ce1.zip
Version bump #144063 by Jon Hood.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'net-analyzer/cryptcat')
-rw-r--r--net-analyzer/cryptcat/ChangeLog8
-rw-r--r--net-analyzer/cryptcat/cryptcat-1.2.1.ebuild36
-rw-r--r--net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch43
-rw-r--r--net-analyzer/cryptcat/files/digest-cryptcat-0.200312026
-rw-r--r--net-analyzer/cryptcat/files/digest-cryptcat-1.2.13
5 files changed, 94 insertions, 2 deletions
diff --git a/net-analyzer/cryptcat/ChangeLog b/net-analyzer/cryptcat/ChangeLog
index f98f7d7368c6..72c77620d9dc 100644
--- a/net-analyzer/cryptcat/ChangeLog
+++ b/net-analyzer/cryptcat/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/cryptcat
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/ChangeLog,v 1.10 2006/08/19 15:17:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/ChangeLog,v 1.11 2006/08/19 15:21:06 vapier Exp $
+
+*cryptcat-1.2.1 (19 Aug 2006)
+
+ 19 Aug 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/cryptcat-1.2.1-build.patch, +cryptcat-1.2.1.ebuild:
+ Version bump #144063 by Jon Hood.
09 Sep 2005; Marcelo Goes <vanquirius@gentoo.org>
cryptcat-20031202.ebuild:
diff --git a/net-analyzer/cryptcat/cryptcat-1.2.1.ebuild b/net-analyzer/cryptcat/cryptcat-1.2.1.ebuild
new file mode 100644
index 000000000000..42869389249b
--- /dev/null
+++ b/net-analyzer/cryptcat/cryptcat-1.2.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/cryptcat-1.2.1.ebuild,v 1.1 2006/08/19 15:21:06 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="netcat clone extended with twofish encryption"
+HOMEPAGE="http://farm9.org/Cryptcat/"
+SRC_URI="mirror://sourceforge/cryptcat/${PN}-unix-${PV}.tar"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/unix
+
+src_unpack() {
+ unpack ${A}
+cp -a ${S} ${S}.orig
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+ echo "#define arm arm_timer" >> generic.h
+ sed -i \
+ -e 's:#define HAVE_BIND:#undef HAVE_BIND:' \
+ -e '/^#define FD_SETSIZE 16/s:16:1024:' \
+ -e 's:\<LINUX\>:__linux__:' \
+ netcat.c generic.h
+}
+
+src_install() {
+ dobin cryptcat || die
+ dodoc Changelog README README.cryptcat netcat.blurb
+}
diff --git a/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch b/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch
new file mode 100644
index 000000000000..bbb90a7e86fd
--- /dev/null
+++ b/net-analyzer/cryptcat/files/cryptcat-1.2.1-build.patch
@@ -0,0 +1,43 @@
+--- unix/Makefile
++++ unix/Makefile
+@@ -10,16 +10,14 @@
+ # debugging
+ # DFLAGS = -DTEST -DDEBUG
+ DFLAGS = -DGAPING_SECURITY_HOLE
+-CFLAGS = -O
++CFLAGS ?= -O
+ XFLAGS = # xtra cflags, set by systype targets
+ XLIBS = # xtra libs if necessary?
+ # -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
+ STATIC =
+-CC = cc $(CFLAGS)
+-LD = $(CC) -s # linker; defaults to stripped executables
+ o = o # object extension
+
+-ALL = cryptcat
++all: cryptcat
+
+ ### BOGON-CATCHERS
+
+@@ -28,8 +26,8 @@
+
+ ### HARD TARGETS
+
+-cryptcat: netcat.c farm9crypt.o twofish2.o
+- $(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.c farm9crypt.o twofish2.o $(XLIBS)
++cryptcat: netcat.o farm9crypt.o twofish2.o
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $^
+
+ nc-dos:
+ @echo "DOS?! Maybe someday, but not now"
+@@ -115,10 +112,8 @@
+ make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic
+
+ farm9crypt.o: farm9crypt.cc farm9crypt.h
+- ${CC} -c farm9crypt.cc
+
+ twofish2.o: twofish2.cc twofish2.h
+- ${CC} -c twofish2.cc
+
+ # start with this for a new architecture, and see what breaks.
+ generic:
diff --git a/net-analyzer/cryptcat/files/digest-cryptcat-0.20031202 b/net-analyzer/cryptcat/files/digest-cryptcat-0.20031202
index 088f3cba450e..a90b89ad886a 100644
--- a/net-analyzer/cryptcat/files/digest-cryptcat-0.20031202
+++ b/net-analyzer/cryptcat/files/digest-cryptcat-0.20031202
@@ -1,2 +1,6 @@
-MD5 bcbe1d6b26089f94cdb95e5823556289 cryptcat_20031202.tar.gz 67004
MD5 d4f5f234b69b5dc32b84014fea79e6da cryptcat_20031202-2.diff.gz 4536
+RMD160 ed6ca9f7da0906f98596314c82652b10e4aeb57b cryptcat_20031202-2.diff.gz 4536
+SHA256 896ba6c9955216a2a35a1f62e4b86215b6e8c9b126b9b53cb92b7438d17d34b8 cryptcat_20031202-2.diff.gz 4536
+MD5 bcbe1d6b26089f94cdb95e5823556289 cryptcat_20031202.tar.gz 67004
+RMD160 3ec0df5fe2548ee18c9a01adfd4c59334023fedb cryptcat_20031202.tar.gz 67004
+SHA256 5190090c27838a1f022c0b9fe9b4b846b716fe35f23448efbfceb24440229204 cryptcat_20031202.tar.gz 67004
diff --git a/net-analyzer/cryptcat/files/digest-cryptcat-1.2.1 b/net-analyzer/cryptcat/files/digest-cryptcat-1.2.1
new file mode 100644
index 000000000000..d2edafd199e7
--- /dev/null
+++ b/net-analyzer/cryptcat/files/digest-cryptcat-1.2.1
@@ -0,0 +1,3 @@
+MD5 fc4afff350f3dd5e4fe51b0dd01a8e21 cryptcat-unix-1.2.1.tar 190464
+RMD160 90c66c134deb7a3188bf27c1b0a42e8ef9bf2b27 cryptcat-unix-1.2.1.tar 190464
+SHA256 5dc9a9c2beac3d9658cc3e082c00f1127981a2f995b4ec485f281bf1800840d0 cryptcat-unix-1.2.1.tar 190464