summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-17 03:53:49 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-17 03:53:49 +0000
commit96763b49f20390917c757f67203846325cb43f0a (patch)
treeeb507119ab07c88b93a56e45f230bfc326f8045a /net-analyzer/zniper
parentFix whitespace. (diff)
downloadhistorical-96763b49f20390917c757f67203846325cb43f0a.tar.gz
historical-96763b49f20390917c757f67203846325cb43f0a.tar.bz2
historical-96763b49f20390917c757f67203846325cb43f0a.zip
Set RDEPEND. Respect LDFLAGS (bug #337738), CC, CFLAGS. Fix parallel make.
Package-Manager: portage-2.2_rc82/cvs/Linux i686
Diffstat (limited to 'net-analyzer/zniper')
-rw-r--r--net-analyzer/zniper/ChangeLog10
-rw-r--r--net-analyzer/zniper/Manifest4
-rw-r--r--net-analyzer/zniper/zniper-1.0-r1.ebuild (renamed from net-analyzer/zniper/zniper-1.0.ebuild)22
3 files changed, 29 insertions, 7 deletions
diff --git a/net-analyzer/zniper/ChangeLog b/net-analyzer/zniper/ChangeLog
index 1bdf5ad362fc..db4f14d68177 100644
--- a/net-analyzer/zniper/ChangeLog
+++ b/net-analyzer/zniper/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/zniper
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zniper/ChangeLog,v 1.2 2007/10/29 15:11:43 jokey Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zniper/ChangeLog,v 1.3 2010/09/17 03:53:49 jer Exp $
+
+*zniper-1.0-r1 (17 Sep 2010)
+
+ 17 Sep 2010; Jeroen Roovers <jer@gentoo.org> -zniper-1.0.ebuild,
+ +zniper-1.0-r1.ebuild:
+ Set RDEPEND. Respect LDFLAGS (bug #337738), CC, CFLAGS. Fix parallel make.
29 Oct 2007; Markus Ullmann <jokey@gentoo.org> metadata.xml:
developed to end, reassigning to herd
diff --git a/net-analyzer/zniper/Manifest b/net-analyzer/zniper/Manifest
index e8a452747e10..7ae75d12d4dd 100644
--- a/net-analyzer/zniper/Manifest
+++ b/net-analyzer/zniper/Manifest
@@ -1,4 +1,4 @@
DIST zniper.tgz 20324 RMD160 9c89871ef999007f66b4d884a64e63fa4a891f63 SHA1 41c9e07ac79ff47a06ff7fe20532368cbbb2f9d0 SHA256 317b115f0060252706e151936603b344119f0a547816d4bbf19d3808b8823e3f
-EBUILD zniper-1.0.ebuild 644 RMD160 c9723cad19f29097a5a5fa6eef038d4acb2e749d SHA1 524b00027428e2e45404113e83ea396bacfa7fb4 SHA256 73896605daf4dbae3261a3a944c13ca07f731f4fdeb38285a8276196e56f2b85
-MISC ChangeLog 505 RMD160 e7c368623c3b5c0b686275389f14fd6d1515d6c5 SHA1 0f314355c92abef330a7254f1ee08ae23c38bb4a SHA256 bb6cb28c230bd078252cfbeba2c35be0feaa46742468dfd87a8340ab9e504dfa
+EBUILD zniper-1.0-r1.ebuild 867 RMD160 156d1d379a41f9146fc09e9290cc60a12087fe1b SHA1 ef3de068569a718f0f0ea247c7cf019ed0dd300f SHA256 bca0e6923c3863cda87a709e9d54b09718473513d67363bf4c8d048568a0fc4a
+MISC ChangeLog 703 RMD160 c8916ace33c04e56009ad167a5be97bcf0488fea SHA1 feb4eff4564aac805620af7156b1f9b6753aed38 SHA256 6d21827edd7cbcba59738dd1dbd086d13101d61968e5e6639fb6496ab29d3a8d
MISC metadata.xml 159 RMD160 28e799fe0fd02aaab9d4bbe5595f133101606f5b SHA1 9f5df3eabd621951a959cc8e0e2e0d352cd1fe1e SHA256 b75c711bd971e46f0ec957e833c60879b0c5023e0bb94409a6255781b69f6dc6
diff --git a/net-analyzer/zniper/zniper-1.0.ebuild b/net-analyzer/zniper/zniper-1.0-r1.ebuild
index f31355775a4c..dc47b3c2e381 100644
--- a/net-analyzer/zniper/zniper-1.0.ebuild
+++ b/net-analyzer/zniper/zniper-1.0-r1.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zniper/zniper-1.0.ebuild,v 1.1 2007/04/07 18:23:53 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zniper/zniper-1.0-r1.ebuild,v 1.1 2010/09/17 03:53:49 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
DESCRIPTION="Displays and kill active TCP connections seen by the selected interface."
HOMEPAGE="http://www.signedness.org/tools/"
@@ -13,11 +17,23 @@ IUSE=""
DEPEND="net-libs/libpcap
sys-libs/ncurses"
+RDEPEND="${DEPEND}"
S=${WORKDIR}/"zniper"
+src_prepare() {
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ -e 's|@make|@$(MAKE)|g' \
+ || die "sed Makefile"
+}
+
src_compile() {
- emake -j1 linux_x86 || die "emake failed"
+ emake \
+ CC=$(tc-getCC) \
+ CFLAGS="${CFLAGS}" \
+ linux_x86 \
+ || die "emake failed"
}
src_install() {