diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-05-05 21:49:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-05-05 21:49:19 +0000 |
commit | e856530c9047ec9b55198ea37a55e6e7c77a0927 (patch) | |
tree | acef14a1ca870dfc670706a6275f8199581f20a6 /net-analyzer | |
parent | initial import (diff) | |
download | gentoo-2-e856530c9047ec9b55198ea37a55e6e7c77a0927.tar.gz gentoo-2-e856530c9047ec9b55198ea37a55e6e7c77a0927.tar.bz2 gentoo-2-e856530c9047ec9b55198ea37a55e6e7c77a0927.zip |
aes crypt support ... just for you solar baby
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/netcat/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/netcat/files/digest-netcat-110-r6 | 3 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110-r6.ebuild | 49 |
3 files changed, 58 insertions, 1 deletions
diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog index cdc731777b14..b817cf29827b 100644 --- a/net-analyzer/netcat/ChangeLog +++ b/net-analyzer/netcat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/netcat # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.22 2004/04/10 04:52:45 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.23 2004/05/05 21:49:19 vapier Exp $ + +*netcat-110-r6 (05 May 2004) + + 05 May 2004; Mike Frysinger <vapier@gentoo.org> : + Merge AES crypt support from http://mixter.void.ru/. *netcat-110-r5 (10 Apr 2004) diff --git a/net-analyzer/netcat/files/digest-netcat-110-r6 b/net-analyzer/netcat/files/digest-netcat-110-r6 new file mode 100644 index 000000000000..565c4efabd3c --- /dev/null +++ b/net-analyzer/netcat/files/digest-netcat-110-r6 @@ -0,0 +1,3 @@ +MD5 402632f2fe01c169ff19a0ad6e9d608c nc110.tgz 75267 +MD5 84d850745dd860aedce64b518e0e3330 nc-v6-20000918.patch.gz 8740 +MD5 99f7999bcdeda4ecca4594805067408c netcat-110-r6-gentoo-deb-patches.tbz2 13176 diff --git a/net-analyzer/netcat/netcat-110-r6.ebuild b/net-analyzer/netcat/netcat-110-r6.ebuild new file mode 100644 index 000000000000..ca17007828ec --- /dev/null +++ b/net-analyzer/netcat/netcat-110-r6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r6.ebuild,v 1.1 2004/05/05 21:49:19 vapier Exp $ + +inherit eutils gcc flag-o-matic + +MY_P=nc${PV} +DESCRIPTION="A network piping program" +HOMEPAGE="http://www.atstake.com/research/tools/network_utilities/" +SRC_URI="http://www.atstake.com/research/tools/network_utilities/${MY_P}.tgz + ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/nc-v6-20000918.patch.gz + mirror://gentoo/${PF}-gentoo-deb-patches.tbz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~arm ~hppa ~amd64" +IUSE="ipv6 static crypt GAPING_SECURITY_HOLE" + +DEPEND="virtual/glibc + crypt? ( dev-libs/libmix )" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${MY_P}.tgz + unpack ${PF}-gentoo-deb-patches.tbz2 + epatch ${DISTDIR}/nc-v6-20000918.patch.gz + EPATCH_SUFFIX="patch" epatch ${S}/deb-patches/ + 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 +} + +src_compile() { + export XLIBS="" + export XFLAGS="-DLINUX -DTELNET" + use ipv6 && XFLAGS="${XFLAGS} -DINET6" + use static && export STATIC="-static" + use crypt && XFLAGS="${XFLAGS} -DAESCRYPT" && XLIBS="${XLIBS} -lmix" + use GAPING_SECURITY_HOLE && XFLAGS="${XFLAGS} -DGAPING_SECURITY_HOLE" + CC="$(gcc-getCC) ${CFLAGS}" make -e nc || die +} + +src_install() { + dobin nc || die "dobin failed" + dodoc README README.Debian netcat.blurb README.aes-netcat + doman nc.1 + docinto scripts + dodoc scripts/* +} |