summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-06 22:26:53 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-06 22:26:53 +0000
commitebe7e25e7f7fb16ec8d321a1e01d63dffe1bf456 (patch)
tree71ddf3c2b110cb836277b5e39a9b6f566e4547a4 /net-analyzer/netcat
parentfix cron install #91669 (diff)
downloadhistorical-ebe7e25e7f7fb16ec8d321a1e01d63dffe1bf456.tar.gz
historical-ebe7e25e7f7fb16ec8d321a1e01d63dffe1bf456.tar.bz2
historical-ebe7e25e7f7fb16ec8d321a1e01d63dffe1bf456.zip
Move to standard patch tarball style and sync against latest Debian patchset.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'net-analyzer/netcat')
-rw-r--r--net-analyzer/netcat/ChangeLog9
-rw-r--r--net-analyzer/netcat/Manifest6
-rw-r--r--net-analyzer/netcat/files/digest-netcat-110-r83
-rw-r--r--net-analyzer/netcat/netcat-110-r8.ebuild47
4 files changed, 61 insertions, 4 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/Manifest b/net-analyzer/netcat/Manifest
index 7a7d206bae18..632903172841 100644
--- a/net-analyzer/netcat/Manifest
+++ b/net-analyzer/netcat/Manifest
@@ -1,6 +1,8 @@
-MD5 476743f04a4bee6f0b90a9c6cf577355 ChangeLog 4008
+MD5 ceb40860c4f62bf8daa606ce7db52fcd ChangeLog 4193
+MD5 f313ee5ad1ee160547e79705162afbf5 netcat-110-r7.ebuild 1541
MD5 c260f5cd9a68c0965120f9244b5df4ef metadata.xml 284
MD5 e7bc2d5a93ab1696d4c26ed10b590385 netcat-110-r6.ebuild 1562
-MD5 f313ee5ad1ee160547e79705162afbf5 netcat-110-r7.ebuild 1541
+MD5 291b956cce73e93960026feceaa9f0b2 netcat-110-r8.ebuild 1511
MD5 65549a89bfefa86a357427408e4ac6d7 files/digest-netcat-110-r6 200
+MD5 294dd14213cc2412a86cbff94710bd6e files/digest-netcat-110-r8 193
MD5 54e299b9981948166ccf70c7b9f814b9 files/digest-netcat-110-r7 200
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/*
+}