summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2002-07-07 02:04:33 +0000
committerAron Griffis <agriffis@gentoo.org>2002-07-07 02:04:33 +0000
commit962dbbac0241cab412259765a1d518ae4c63112c (patch)
tree79dac36a46b52e4faf73e962a8050469f294a269 /net-analyzer/trafshow
parentversion bump (diff)
downloadhistorical-962dbbac0241cab412259765a1d518ae4c63112c.tar.gz
historical-962dbbac0241cab412259765a1d518ae4c63112c.tar.bz2
historical-962dbbac0241cab412259765a1d518ae4c63112c.zip
Close bug #3411 by honoring setting of USE=slang
Diffstat (limited to 'net-analyzer/trafshow')
-rw-r--r--net-analyzer/trafshow/ChangeLog10
-rw-r--r--net-analyzer/trafshow/files/digest-trafshow-3.1-r11
-rw-r--r--net-analyzer/trafshow/trafshow-3.1-r1.ebuild41
3 files changed, 50 insertions, 2 deletions
diff --git a/net-analyzer/trafshow/ChangeLog b/net-analyzer/trafshow/ChangeLog
index 633d26c09be0..5d47583203b4 100644
--- a/net-analyzer/trafshow/ChangeLog
+++ b/net-analyzer/trafshow/ChangeLog
@@ -1,8 +1,14 @@
# ChangeLog for net-analyzer/trafshow
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafshow/ChangeLog,v 1.1 2002/02/20 03:04:21 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafshow/ChangeLog,v 1.2 2002/07/07 02:04:33 agriffis Exp $
-*trafshow-3.1
+*trafshow-3.1-r1 (06 Jul 2002)
+
+ 06 Jul 2002; Aron Griffis <agriffis@gentoo.org> trafshow-3.1-r1.ebuild:
+
+ Now honor setting of USE=slang to close bug #3411
+
+*trafshow-3.1 (19 Feb 2002)
19 Feb 2002; Aron Griffis <agriffis@gentoo.org> trafshow-3.1.ebuild, files/trafshow-3.1-gentoo.patch:
diff --git a/net-analyzer/trafshow/files/digest-trafshow-3.1-r1 b/net-analyzer/trafshow/files/digest-trafshow-3.1-r1
new file mode 100644
index 000000000000..906d6b7d4501
--- /dev/null
+++ b/net-analyzer/trafshow/files/digest-trafshow-3.1-r1
@@ -0,0 +1 @@
+MD5 085b99f160002a269b358aab1c5004f0 trafshow-3.1.tgz 72342
diff --git a/net-analyzer/trafshow/trafshow-3.1-r1.ebuild b/net-analyzer/trafshow/trafshow-3.1-r1.ebuild
new file mode 100644
index 000000000000..e332822c95fe
--- /dev/null
+++ b/net-analyzer/trafshow/trafshow-3.1-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Aubrey Kilian <aubrey@ebe.uct.ac.za>
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/trafshow/trafshow-3.1-r1.ebuild,v 1.1 2002/07/07 02:04:33 agriffis Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Full screen visualization of the network traffic"
+SRC_URI="ftp://ftp.nsk.su/pub/RinetSoftware/${P}.tgz"
+HOMEPAGE="http://soft.risp.ru/trafshow/index_en.shtml"
+LICENSE="Freeware"
+SLOT="3"
+
+DEPEND="net-libs/libpcap
+ sys-libs/ncurses
+ slang? ( >=sys-libs/slang-1.4.2 )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+ if use slang; then
+ : slang is the default
+ else
+ # No command-line option so pre-cache instead
+ export ac_cv_have_curses=ncurses
+ export LIBS=-lncurses
+ fi
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=\${prefix}/share/man \
+ --enable-ipv6 || die "./configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+}