diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-05-06 22:26:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-05-06 22:26:53 +0000 |
commit | 9791940cbbf2e021688e999933a531cab6c54827 (patch) | |
tree | bac77fac280625507b40ce5464e8bad9affb6d02 /net-analyzer/netcat | |
parent | Stable on alpha + ia64, bug 88836. (diff) | |
download | gentoo-2-9791940cbbf2e021688e999933a531cab6c54827.tar.gz gentoo-2-9791940cbbf2e021688e999933a531cab6c54827.tar.bz2 gentoo-2-9791940cbbf2e021688e999933a531cab6c54827.zip |
Move to standard patch tarball style and sync against latest Debian patchset.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'net-analyzer/netcat')
-rw-r--r-- | net-analyzer/netcat/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/netcat/files/digest-netcat-110-r8 | 3 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110-r8.ebuild | 47 |
3 files changed, 57 insertions, 2 deletions
diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog index 2ee1c0fe316e..b2d288a59528 100644 --- a/net-analyzer/netcat/ChangeLog +++ b/net-analyzer/netcat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/netcat -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.27 2005/04/15 01:46:07 tgall Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.28 2005/05/06 22:26:53 vapier Exp $ + +*netcat-110-r8 (06 May 2005) + + 06 May 2005; Mike Frysinger <vapier@gentoo.org> +netcat-110-r8.ebuild: + Move to standard patch tarball style and sync against latest Debian patchset. 14 Apr 2005; Tom Gall <tgall@gentoo.org> netcat-110-r7.ebuild: added ~ppc64 bug#89110 diff --git a/net-analyzer/netcat/files/digest-netcat-110-r8 b/net-analyzer/netcat/files/digest-netcat-110-r8 new file mode 100644 index 000000000000..c3ee5cc5aa8d --- /dev/null +++ b/net-analyzer/netcat/files/digest-netcat-110-r8 @@ -0,0 +1,3 @@ +MD5 402632f2fe01c169ff19a0ad6e9d608c nc110.tgz 75267 +MD5 84d850745dd860aedce64b518e0e3330 nc-v6-20000918.patch.gz 8740 +MD5 d2ae47e06e13a824c0dbe555d56ba7cd netcat-110-patches-1.0.tar.bz2 25751 diff --git a/net-analyzer/netcat/netcat-110-r8.ebuild b/net-analyzer/netcat/netcat-110-r8.ebuild new file mode 100644 index 000000000000..cad33ce7d0bb --- /dev/null +++ b/net-analyzer/netcat/netcat-110-r8.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r8.ebuild,v 1.1 2005/05/06 22:26:53 vapier Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +PATCH_VER="1.0" +MY_P=nc${PV} +DESCRIPTION="the network swiss army knife" +HOMEPAGE="http://www.securityfocus.com/tools/137" +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/${P}-patches-${PATCH_VER}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86 ~ppc64" +IUSE="ipv6 static crypt GAPING_SECURITY_HOLE" + +DEPEND="crypt? ( dev-libs/libmix )" + +S=${WORKDIR} + +src_unpack() { + unpack ${MY_P}.tgz ${P}-patches-${PATCH_VER}.tar.bz2 + epatch "${DISTDIR}"/nc-v6-20000918.patch.gz patch + 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" + make -e CC="$(tc-getCC) ${CFLAGS}" nc || die +} + +src_install() { + dobin nc || die "dobin failed" + dodoc README* netcat.blurb debian-* + doman nc.1 + docinto scripts + dodoc scripts/* +} |