summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-11-22 23:31:34 +0000
committerJeroen Roovers <jer@gentoo.org>2009-11-22 23:31:34 +0000
commit7d30fc53a8001522a6828c2f57512b6937f12f51 (patch)
tree9fcc599d4b0c135989daef5ccc3cfd51b8e293b1 /net-analyzer/netwox
parentVersion bump. Respect LDFLAGS. Run genemake in src_configure. Use emake to in... (diff)
downloadhistorical-7d30fc53a8001522a6828c2f57512b6937f12f51.tar.gz
historical-7d30fc53a8001522a6828c2f57512b6937f12f51.tar.bz2
historical-7d30fc53a8001522a6828c2f57512b6937f12f51.zip
Version bump. Respect LDFLAGS. Support parallel make. Run genemake in src_configure, and through sh (bug #294069). Use emake to install. Marked ~hppa too.
Package-Manager: portage-2.2_rc51/cvs/Linux i686
Diffstat (limited to 'net-analyzer/netwox')
-rw-r--r--net-analyzer/netwox/ChangeLog11
-rw-r--r--net-analyzer/netwox/Manifest5
-rw-r--r--net-analyzer/netwox/netwox-5.36.0.ebuild62
3 files changed, 75 insertions, 3 deletions
diff --git a/net-analyzer/netwox/ChangeLog b/net-analyzer/netwox/ChangeLog
index bcfedd15b61e..b8efdd9ad24c 100644
--- a/net-analyzer/netwox/ChangeLog
+++ b/net-analyzer/netwox/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/netwox
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwox/ChangeLog,v 1.27 2007/04/16 08:31:09 welp Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwox/ChangeLog,v 1.28 2009/11/22 23:31:34 jer Exp $
+
+*netwox-5.36.0 (22 Nov 2009)
+
+ 22 Nov 2009; Jeroen Roovers <jer@gentoo.org> +netwox-5.36.0.ebuild:
+ Version bump. Respect LDFLAGS. Support parallel make. Run genemake in
+ src_configure, and through sh (bug #294069). Use emake to install. Marked
+ ~hppa too.
16 Apr 2007; <welp@gentoo.org> netwox-5.33.0.ebuild:
Keyworded ~amd64
diff --git a/net-analyzer/netwox/Manifest b/net-analyzer/netwox/Manifest
index 54e3a090ecfe..f18c5fafc6f9 100644
--- a/net-analyzer/netwox/Manifest
+++ b/net-analyzer/netwox/Manifest
@@ -1,5 +1,8 @@
DIST netwox-5.33.0-doc_html.tgz 114926 RMD160 994e459f8b8ce8351236b4bfbd5ec731094f2a27 SHA1 275fd46a099577acc9420028ef3dafc440dbecab SHA256 518d3da1c77c4e2fb1ae6f56d0fd0ae2dc76107c23779619c539c1a2765def42
DIST netwox-5.33.0-src.tgz 620596 RMD160 fc168cbc3fb85056ba8aa97976e4abdd938b42b4 SHA1 2e521896811b8d209285dde33735d5d18c05af65 SHA256 337b9962482ed8af90025b0de742d0ac285270e53aba1f97495e09e2f42a72bc
+DIST netwox-5.36.0-doc_html.tgz 115262 RMD160 16361783e8e11b09ba6420118518990c39b87e54 SHA1 c008de568ef824b46e9dbc00c4ce667f5841458a SHA256 1f95f6c5f526c4a2f8a1d153584d95cf410e79a1670485c6b74d68e5b32321fc
+DIST netwox-5.36.0-src.tgz 629270 RMD160 2761560361907d7e516edd5c13eb5ac3db586f36 SHA1 ebc18d93cdc96f75a4463b663c664ce82cd7600e SHA256 ba922a187e3a42cda69cf9a7f81b33e0380b86a1b1ac7c686df9ca5464f4ad73
EBUILD netwox-5.33.0.ebuild 1506 RMD160 9184858c82993c5a356587c0f1aa4a08c0dd60b6 SHA1 1749e24c7bd533d73aef4e92ace0d46309b2457f SHA256 3ab38d81ddd42cffecf61d0452c5c71de7ac0a538a0ebda7e1f71d8ae38793c0
-MISC ChangeLog 3400 RMD160 2246486ff7d41acfdc93e16d1f41c86d2af7bb4a SHA1 5d1b2e6070768de27297d06e5c0c3b4933599d83 SHA256 a8fe04855b707c4a1493583e407d9e69f270bdc6a97a66609473721de70344a3
+EBUILD netwox-5.36.0.ebuild 1628 RMD160 6c1b0fb0caa8b943a74e378c2b0dfb2352299e31 SHA1 e1c8d3b3ad34d7c53b067dbfbac11ff19b09860f SHA256 da9a9c2a9df34fc579776fd2cc5714aaadca957bc8cfc7bf33cfc5cde9c9ac21
+MISC ChangeLog 3661 RMD160 8e8c0331282e127dd95da729038ae69f7186fffe SHA1 18e123487bd4193d81ee67bc6d4e20ceaa29ca70 SHA256 7b494277603792493625b32bf06e9e62760b6423bd3d28872aecb608acec9c59
MISC metadata.xml 257 RMD160 33e6ca64903072e4ba5fc1c162b2b269f7bc52d9 SHA1 5508ccbe152eaa17f8e93e24ef28f0be71302213 SHA256 508181b9ebfa60711ff9caaae0e7ea556d1ed2a77b93c80cab2cc8555254c906
diff --git a/net-analyzer/netwox/netwox-5.36.0.ebuild b/net-analyzer/netwox/netwox-5.36.0.ebuild
new file mode 100644
index 000000000000..9feb6a97e188
--- /dev/null
+++ b/net-analyzer/netwox/netwox-5.36.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwox/netwox-5.36.0.ebuild,v 1.1 2009/11/22 23:31:34 jer Exp $
+
+# NOTE: netwib, netwox and netwag go together, bump all or bump none
+
+EAPI="2"
+
+inherit toolchain-funcs multilib
+
+DESCRIPTION="Toolbox of 217 utilities for testing Ethernet/IP networks"
+HOMEPAGE="http://www.laurentconstantin.com/en/netw/netwox/"
+BASEURI="http://www.laurentconstantin.com/common/netw/${PN}/download/"
+SRC_URI="
+ ${BASEURI}v${PV/.*}/${P}-src.tgz
+ doc? ( ${BASEURI}v${PV/.*}/${P}-doc_html.tgz )
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="doc"
+
+RDEPEND=">=net-libs/libnet-1.1.1"
+
+DEPEND="net-libs/libpcap
+ ~net-libs/netwib-${PV}
+ ${RDEPEND}"
+
+S="${WORKDIR}/${P}-src/src"
+
+src_prepare() {
+ sed -i \
+ -e 's:/man$:/share/man:g' \
+ -e "s:/lib:/$(get_libdir):" \
+ -e "s:/usr/local:/usr:" \
+ -e "s:=ar:=$(tc-getAR):" \
+ -e "s:=ranlib:=$(tc-getRANLIB):" \
+ -e "s:=gcc:=$(tc-getCC):" \
+ -e "s:-O2:${CFLAGS}:" \
+ config.dat || die "patching config.dat failed"
+ sed -i \
+ -e "s:\$(GCCOPT):& \${LDFLAGS}:g" \
+ -e 's: ; make: ; \\$(MAKE):g' \
+ genemake || die "patching genemake failed"
+}
+
+src_configure() {
+ sh genemake || die "problem creating Makefile"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "install failed"
+ dodoc ../README.TXT
+ if use doc;
+ then
+ mv "${WORKDIR}"/${P}-doc_html "${D}"/usr/share/doc/${PF}/html
+ else
+ dodoc "${S}"/../doc/{changelog.txt,credits.txt} \
+ "${S}"/../doc/{problemreport.txt,problemusageunix.txt,todo.txt}
+ fi
+}