diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 04:03:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-21 04:03:37 +0000 |
commit | f48cd05d6eb74883b91dc1f27723dfd44b829513 (patch) | |
tree | 6c5f95bfe6d56370742c6fa217d3655c7da7971c /net-analyzer | |
parent | add misc files (diff) | |
download | gentoo-2-f48cd05d6eb74883b91dc1f27723dfd44b829513.tar.gz gentoo-2-f48cd05d6eb74883b91dc1f27723dfd44b829513.tar.bz2 gentoo-2-f48cd05d6eb74883b91dc1f27723dfd44b829513.zip |
add deb patches (broadcasting) and -q #24236
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/netcat/ChangeLog | 13 | ||||
-rw-r--r-- | net-analyzer/netcat/files/digest-netcat-110-r4 | 3 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110-r4.ebuild | 49 |
3 files changed, 62 insertions, 3 deletions
diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog index 29fe85175d6f..c0fd4051b6c9 100644 --- a/net-analyzer/netcat/ChangeLog +++ b/net-analyzer/netcat/ChangeLog @@ -1,13 +1,20 @@ # 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.17 2003/08/18 20:36:28 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.18 2003/08/21 04:03:37 vapier Exp $ + +*netcat-110-r4 (21 Aug 2003) + + 21 Aug 2003; Mike Frysinger <vapier@gentoo.org> : + Grab debian patches to add support for broadcasting and -q #24236. + Had to redo a few deb patches since we also use ipv6 patch ... thats + why we've got a custom debian tarball of patches :) + +*netcat-110-r3 (08 Apr 2003) 18 Aug 2003; Martin Holzer <mholzer@gentoo.org> netcat-110-r1.ebuild, netcat-110-r2.ebuild, netcat-110-r3.ebuild: Upated SRC_URI and HP. -*netcat-110-r3 (08 Apr 2003) - 28 Jul 2003; Guy Martin <gmsoft@gentoo.org> netcat-110-r3.ebuild : Marked stable on hppa. diff --git a/net-analyzer/netcat/files/digest-netcat-110-r4 b/net-analyzer/netcat/files/digest-netcat-110-r4 new file mode 100644 index 000000000000..909dbf020d41 --- /dev/null +++ b/net-analyzer/netcat/files/digest-netcat-110-r4 @@ -0,0 +1,3 @@ +MD5 402632f2fe01c169ff19a0ad6e9d608c nc110.tgz 75267 +MD5 84d850745dd860aedce64b518e0e3330 nc-v6-20000918.patch.gz 8740 +MD5 67eb99f4d005b7f2210f1731636de4a2 netcat-110-deb-patches.tbz2 8457 diff --git a/net-analyzer/netcat/netcat-110-r4.ebuild b/net-analyzer/netcat/netcat-110-r4.ebuild new file mode 100644 index 000000000000..c5f4c4c93a05 --- /dev/null +++ b/net-analyzer/netcat/netcat-110-r4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r4.ebuild,v 1.1 2003/08/21 04:03:37 vapier Exp $ + +inherit eutils + +MY_P=nc${PV} +S=${WORKDIR}/nc-${PV} +DESCRIPTION="A network piping program" +SRC_URI="http://www.atstake.com/research/tools/${MY_P}.tgz + ipv6?( ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/nc-v6-20000918.patch.gz ) + mirror://gentoo/${P}-deb-patches.tbz2" +HOMEPAGE="http://www.atstake.com/research/tools/network_utilities/" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa" +IUSE="ipv6 static" + +DEPEND="virtual/glibc" + +src_unpack() { + mkdir ${S} + cd ${S} + unpack ${MY_P}.tgz + unpack ${P}-deb-patches.tbz2 + [ `use ipv6` ] \ + && epatch ${DISTDIR}/nc-v6-20000918.patch.gz && rm deb-patches/*_noipv6.patch \ + || rm deb-patches/*_ipv6.patch + EPATCH_SUFFIX="patch" + epatch ${S}/deb-patches/ + echo "#define arm arm_timer" >> generic.h + sed -i 's:#define HAVE_BIND:#undef HAVE_BIND:' netcat.c +} + +src_compile() { + export XFLAGS="-DLINUX" + [ `use ipv6` ] && XFLAGS="${XFLAGS} -DINET6" + [ `use static` ] && export STATIC="-static" + CC="gcc ${CFLAGS}" make -e nc || die +} + +src_install() { + dobin nc + dodoc README README.Debian netcat.blurb + doman nc.1 + docinto scripts + dodoc scripts/* +} |