diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-01-15 05:38:51 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-01-15 05:38:51 +0000 |
commit | 7a3d7e226d454ced9e0451019073d38177f5fc2c (patch) | |
tree | 8199cc67590aaa98d3041a531a9b33d44c141060 /net-analyzer/ipband | |
parent | Do not strip (bug #251977). (diff) | |
download | gentoo-2-7a3d7e226d454ced9e0451019073d38177f5fc2c.tar.gz gentoo-2-7a3d7e226d454ced9e0451019073d38177f5fc2c.tar.bz2 gentoo-2-7a3d7e226d454ced9e0451019073d38177f5fc2c.zip |
Do not strip (bug #251978). Use toolchain. Use dobin.
(Portage version: 2.2_rc22/cvs/Linux 2.6.25-gentoo-r7-JeR i686)
Diffstat (limited to 'net-analyzer/ipband')
-rw-r--r-- | net-analyzer/ipband/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/ipband/files/ipband-0.8.1-gentoo.patch | 18 | ||||
-rw-r--r-- | net-analyzer/ipband/ipband-0.8.1.ebuild | 12 |
3 files changed, 32 insertions, 6 deletions
diff --git a/net-analyzer/ipband/ChangeLog b/net-analyzer/ipband/ChangeLog index b3629b49adeb..f4fc9412a789 100644 --- a/net-analyzer/ipband/ChangeLog +++ b/net-analyzer/ipband/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/ipband -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ChangeLog,v 1.6 2008/12/06 19:48:18 dertobi123 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ChangeLog,v 1.7 2009/01/15 05:38:51 jer Exp $ + + 15 Jan 2009; Jeroen Roovers <jer@gentoo.org> + +files/ipband-0.8.1-gentoo.patch, ipband-0.8.1.ebuild: + Do not strip (bug #251978). Use toolchain. Use dobin. *ipband-0.8.1 (06 Dec 2008) diff --git a/net-analyzer/ipband/files/ipband-0.8.1-gentoo.patch b/net-analyzer/ipband/files/ipband-0.8.1-gentoo.patch new file mode 100644 index 000000000000..439a6aa36e1b --- /dev/null +++ b/net-analyzer/ipband/files/ipband-0.8.1-gentoo.patch @@ -0,0 +1,18 @@ +--- ipband-0.8.1/Makefile.orig 2008-06-17 19:23:19.000000000 +0200 ++++ ipband-0.8.1/Makefile 2009-01-15 06:33:07.000000000 +0100 +@@ -12,7 +12,6 @@ + CPPFLAGS=-I/usr/include/pcap + LIBS=-lpcap + CFLAGS := -Wall $(CFLAGS) +-CC=gcc + + ifndef PREFIX + PREFIX=/usr +@@ -50,7 +49,6 @@ + + $(BIN): $(OBJ_C) + $(CC) -o $(BIN) $(OBJ_C) $(LIBS) $(CFLAGS) +- strip $(BIN) + + install-strip: install + diff --git a/net-analyzer/ipband/ipband-0.8.1.ebuild b/net-analyzer/ipband/ipband-0.8.1.ebuild index 9ff92e24921f..bc3bbf005352 100644 --- a/net-analyzer/ipband/ipband-0.8.1.ebuild +++ b/net-analyzer/ipband/ipband-0.8.1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ipband-0.8.1.ebuild,v 1.1 2008/12/06 19:48:18 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipband/ipband-0.8.1.ebuild,v 1.2 2009/01/15 05:38:51 jer Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="A pcap based IP traffic and bandwidth monitor with configurable reporting and alarm abilities" HOMEPAGE="http://ipband.sourceforge.net/" @@ -21,16 +21,20 @@ src_unpack() { # Provide a postfix MTA string in the author's ipband.conf example sed -rie 's:(#mtastring.*):# Sendmail\n\1\n# Postfix\n#mtastring "/usr/sbin/sendmail -t":g' \ "${S}"/ipband.sample.conf + + # Do not strip and do use toolchain + epatch "${FILESDIR}"/${P}-gentoo.patch } src_compile() { + tc-export CC emake || die "Compile problem" } src_install() { doman ipband.8 dodoc CHANGELOG README - exeinto /usr/bin ; doexe ipband + dobin ipband newinitd "${FILESDIR}"/ipband-init ipband insinto /etc/ ; newins ipband.sample.conf ipband.conf } |