summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-01-06 20:02:44 +0000
committerJeroen Roovers <jer@gentoo.org>2010-01-06 20:02:44 +0000
commit8bc181ad5cee7db7d144acfae5fa2304512dce52 (patch)
tree47fa1ea70d3725180fd06b7991edf5c4f5e65b41 /net-analyzer
parentMarking YAML-Tiny-1.41 ~ppc64 for bug 298183 (diff)
downloadgentoo-2-8bc181ad5cee7db7d144acfae5fa2304512dce52.tar.gz
gentoo-2-8bc181ad5cee7db7d144acfae5fa2304512dce52.tar.bz2
gentoo-2-8bc181ad5cee7db7d144acfae5fa2304512dce52.zip
Remove old.
(Portage version: 2.2_rc61/cvs/Linux i686)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/iptraf/ChangeLog5
-rw-r--r--net-analyzer/iptraf/iptraf-3.0.0-r4.ebuild84
2 files changed, 4 insertions, 85 deletions
diff --git a/net-analyzer/iptraf/ChangeLog b/net-analyzer/iptraf/ChangeLog
index 7cfe623d041e..81c4ce3fcb51 100644
--- a/net-analyzer/iptraf/ChangeLog
+++ b/net-analyzer/iptraf/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-analyzer/iptraf
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf/ChangeLog,v 1.80 2010/01/06 19:56:13 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf/ChangeLog,v 1.81 2010/01/06 20:02:44 jer Exp $
+
+ 06 Jan 2010; Jeroen Roovers <jer@gentoo.org> -iptraf-3.0.0-r4.ebuild:
+ Remove old.
06 Jan 2010; Brent Baude <ranger@gentoo.org> iptraf-3.0.0-r5.ebuild:
Marking iptraf-3.0.0-r5 ppc64 for bug 291491
diff --git a/net-analyzer/iptraf/iptraf-3.0.0-r4.ebuild b/net-analyzer/iptraf/iptraf-3.0.0-r4.ebuild
deleted file mode 100644
index f4624e5bbcf6..000000000000
--- a/net-analyzer/iptraf/iptraf-3.0.0-r4.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/iptraf/iptraf-3.0.0-r4.ebuild,v 1.12 2009/11/12 16:03:51 jer Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic toolchain-funcs
-
-DESCRIPTION="IPTraf is an ncurses-based IP LAN monitor"
-HOMEPAGE="http://iptraf.seul.org/"
-SRC_URI="ftp://iptraf.seul.org/pub/iptraf/${P}.tar.gz
- ipv6? ( mirror://gentoo/${P}-ipv6.patch.bz2 )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ppc64 sparc x86"
-IUSE="ipv6 suid unicode"
-
-DEPEND=">=sys-libs/ncurses-5.2-r1
- unicode? ( >=sys-libs/ncurses-5.2-r1[unicode] )"
-
-src_unpack() {
- unpack ${P}.tar.gz
- cd "${S}"
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-Makefile.patch"
- epatch "${FILESDIR}"/${P}-build.patch
- epatch "${FILESDIR}"/${P}-add-devnames.patch
- epatch "${FILESDIR}"/${P}-linux-headers.patch
- # bug 152883
- use unicode && epatch "${FILESDIR}/${P}-ncursesw.patch"
- epatch "${FILESDIR}/${P}-setlocale.patch"
-
- # bug 128965
- epatch "${FILESDIR}"/${P}-headerfix.patch
-
- sed -i \
- -e 's:/var/local/iptraf:/var/lib/iptraf:g' \
- -e "s:Documentation/:/usr/share/doc/${PF}:g" \
- Documentation/*.* || die "sed doc paths"
-
- if use ipv6 ; then
- epatch "${DISTDIR}"/${P}-ipv6.patch.bz2
-
- # bug 126479
- if has_version '>=sys-libs/glibc-2.4' ; then
- epatch "${FILESDIR}"/${P}-ipv6-glibc24.patch
- fi
-
- # bug 128965
- epatch "${FILESDIR}"/${P}-ipv6-headerfix.patch
- fi
-}
-
-src_compile() {
- if use suid ; then
- append-flags -DALLOWUSERS
- fi
- emake -C src CFLAGS="$CFLAGS" CC="$(tc-getCC)" || die "emake failed"
-}
-
-src_install() {
- dosbin src/{iptraf,rawtime,rvnamed} || die
- dodoc FAQ README* CHANGES RELEASE-NOTES
- doman Documentation/*.8
- dohtml -r Documentation/*
- keepdir /var/{lib,run,log}/iptraf
-}
-
-pkg_postinst() {
- if use suid ; then
- elog
- elog "You've chosen to build iptraf with run-as-user support"
- elog
- elog "The app now has this support, but for security reasons"
- elog "you need to run the following command to allow your users"
- elog "to suid-run it:"
- elog
- elog " # chmod 4755 /usr/sbin/iptraf"
- elog
- fi
-}