diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-07-23 18:30:39 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-07-23 18:30:39 +0000 |
commit | 972078a347842c0547a8abdada0ed4e04245c2d3 (patch) | |
tree | a7c2c1f7a5f69c07ed81104174dd3db20d674047 /net-analyzer | |
parent | Remove USE=inotify as USE=mail always did mail notifications via hinotify (bu... (diff) | |
download | gentoo-2-972078a347842c0547a8abdada0ed4e04245c2d3.tar.gz gentoo-2-972078a347842c0547a8abdada0ed4e04245c2d3.tar.bz2 gentoo-2-972078a347842c0547a8abdada0ed4e04245c2d3.zip |
Version bump.
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/iptraf-ng/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/iptraf-ng/iptraf-ng-1.1.4.ebuild | 61 |
2 files changed, 67 insertions, 1 deletions
diff --git a/net-analyzer/iptraf-ng/ChangeLog b/net-analyzer/iptraf-ng/ChangeLog index 0a2fba215914..ea3502ed4f66 100644 --- a/net-analyzer/iptraf-ng/ChangeLog +++ b/net-analyzer/iptraf-ng/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/iptraf-ng # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.67 2013/03/01 15:53:29 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/ChangeLog,v 1.68 2013/07/23 18:30:39 jer Exp $ + +*iptraf-ng-1.1.4 (23 Jul 2013) + + 23 Jul 2013; Jeroen Roovers <jer@gentoo.org> +iptraf-ng-1.1.4.ebuild: + Version bump. 01 Mar 2013; Jeroen Roovers <jer@gentoo.org> -iptraf-ng-1.1.3.1-r1.ebuild: Old. diff --git a/net-analyzer/iptraf-ng/iptraf-ng-1.1.4.ebuild b/net-analyzer/iptraf-ng/iptraf-ng-1.1.4.ebuild new file mode 100644 index 000000000000..7c385e850e20 --- /dev/null +++ b/net-analyzer/iptraf-ng/iptraf-ng-1.1.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf-ng/iptraf-ng-1.1.4.ebuild,v 1.1 2013/07/23 18:30:39 jer Exp $ + +EAPI=5 +inherit eutils toolchain-funcs + +DESCRIPTION="A console-based network monitoring utility" +HOMEPAGE="http://fedorahosted.org/iptraf-ng/" +SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 doc? ( FDL-1.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc" + +RESTRICT="test" + +RDEPEND=" + >=sys-libs/ncurses-5.7-r7 +" +DEPEND=" + ${RDEPEND} + virtual/os-headers + !net-analyzer/iptraf +" + +src_prepare() { + sed -i \ + -e '/^CC =/d' \ + -e '/^CFLAGS/s:= -g -O2:+= :' \ + -e '/^LDFLAGS =/d' \ + -e 's|$(QUIET_[[:alpha:]]*)||g' \ + Makefile || die + sed -i \ + -e 's|IPTRAF|&-NG|g' \ + -e 's|IPTraf|&-NG|g' \ + -e 's|iptraf|&-ng|g' \ + -e 's|rvnamed|&-ng|g' \ + -e 's|RVNAMED|&-NG|g' \ + src/*.8 || die +} + +# configure does not do very much we do not already control +src_configure() { :; } + +src_compile() { + tc-export CC + CFLAGS+=' -DLOCKDIR=\"/run/lock/iptraf-ng\"' + default +} + +src_install() { + dosbin {iptraf,rvnamed}-ng + + doman src/*.8 + dodoc AUTHORS CHANGES FAQ README* RELEASE-NOTES + use doc && dohtml -a gif,html,png -r Documentation/* + + keepdir /var/{lib,log}/iptraf-ng #376157 +} |