diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-02-14 04:59:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-02-14 04:59:31 +0000 |
commit | 7fdd90715152e763151023732456604bb0556682 (patch) | |
tree | 33c01683dd2a25c131827208056b5de4ae47206d | |
parent | fix tux script #40614 (diff) | |
download | gentoo-2-7fdd90715152e763151023732456604bb0556682.tar.gz gentoo-2-7fdd90715152e763151023732456604bb0556682.tar.bz2 gentoo-2-7fdd90715152e763151023732456604bb0556682.zip |
initial ebuild #41182
-rw-r--r-- | net-analyzer/cryptcat/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/cryptcat/cryptcat-20031202.ebuild | 43 | ||||
-rw-r--r-- | net-analyzer/cryptcat/files/digest-cryptcat-20031202 | 2 |
3 files changed, 53 insertions, 0 deletions
diff --git a/net-analyzer/cryptcat/ChangeLog b/net-analyzer/cryptcat/ChangeLog new file mode 100644 index 000000000000..dc46878c5673 --- /dev/null +++ b/net-analyzer/cryptcat/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for net-analyzer/cryptcat +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/ChangeLog,v 1.1 2004/02/14 04:59:31 vapier Exp $ + +*cryptcat-20031202 (13 Feb 2004) + + 13 Feb 2004; Mike Frysinger <vapier@gentoo.org> : + Initial import. Ebuild submitted by Daniel Fullmer #41182. diff --git a/net-analyzer/cryptcat/cryptcat-20031202.ebuild b/net-analyzer/cryptcat/cryptcat-20031202.ebuild new file mode 100644 index 000000000000..699dab031007 --- /dev/null +++ b/net-analyzer/cryptcat/cryptcat-20031202.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/cryptcat/cryptcat-20031202.ebuild,v 1.1 2004/02/14 04:59:31 vapier Exp $ + +inherit eutils + +DEB_PVER=2 +MY_P=${PN}_${PV} +DESCRIPTION="TCP/IP swiss army knife extended with twofish encryption" +HOMEPAGE="http://farm9.org/Cryptcat/" +SRC_URI="http://farm9.org/Cryptcat/${MY_P}.tar.gz + http://ftp.debian.org/debian/pool/main/c/cryptcat/${MY_P}-${DEB_PVER}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="virtual/glibc + >=sys-apps/sed-4" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${WORKDIR}/${MY_P}-2.diff + echo "#define arm arm_timer" >> generic.h + sed -i 's:#define HAVE_BIND:#undef HAVE_BIND:' netcat.c + sed -i 's:#define FD_SETSIZE 16:#define FD_SETSIZE 1024:' netcat.c #34250 + sed -i 's:-DGAPING_SECURITY_HOLE::' Makefile # -e doesn't work at all. See http://www.kb.cert.org/vuls/id/165099 +} + +src_compile() { + export XFLAGS="-DLINUX" + export XLIBS="-lstdc++" + CC="gcc ${CFLAGS}" make -e cryptcat || die +} + +src_install() { + dobin cryptcat || die + dodoc ChangeLog README README.cryptcat + doman ${P}/debian/cryptcat.1 +} diff --git a/net-analyzer/cryptcat/files/digest-cryptcat-20031202 b/net-analyzer/cryptcat/files/digest-cryptcat-20031202 new file mode 100644 index 000000000000..088f3cba450e --- /dev/null +++ b/net-analyzer/cryptcat/files/digest-cryptcat-20031202 @@ -0,0 +1,2 @@ +MD5 bcbe1d6b26089f94cdb95e5823556289 cryptcat_20031202.tar.gz 67004 +MD5 d4f5f234b69b5dc32b84014fea79e6da cryptcat_20031202-2.diff.gz 4536 |