summaryrefslogtreecommitdiff
path: root/net/trafshow
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2001-03-22 06:46:11 +0000
committeritojun <itojun@pkgsrc.org>2001-03-22 06:46:11 +0000
commit8854d5fdc340d54a8c6849492bc400eacc23dfc4 (patch)
tree563cd2c107ae955b7c8abf36ac571d374f86259b /net/trafshow
parentb26fd770cbed0220bb4c5a9dabfeafea14a1b3c5 (diff)
downloadpkgsrc-8854d5fdc340d54a8c6849492bc400eacc23dfc4.tar.gz
pull IPv6 patch in.
Diffstat (limited to 'net/trafshow')
-rw-r--r--net/trafshow/Makefile14
-rw-r--r--net/trafshow/files/md55
2 files changed, 16 insertions, 3 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index f3c8aa8d095..f2e481c750a 100644
--- a/net/trafshow/Makefile
+++ b/net/trafshow/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/25 04:18:08 hubertf Exp $
+# $NetBSD: Makefile,v 1.8 2001/03/22 06:46:11 itojun Exp $
# $FreeBSD: ports/net/trafshow/Makefile,v 1.14 2000/06/28 12:53:15 alex Exp $
#
@@ -7,6 +7,10 @@ CATEGORIES= net
MASTER_SITES= ftp://ftp.nsk.su/pub/RinetSoftware/
EXTRACT_SUFX= .tgz
+PATCHFILES= trafshow-31-v6-20010322a.diff.gz
+PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/
+PATCH_DIST_STRIP+= -p1
+
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://soft.risp.ru/trafshow/index.shtml
COMMENT= Full screen visualization of the network traffic
@@ -16,6 +20,14 @@ BUILD_DEPENDS+= ${LOCALBASE}/bin/autoreconf:../../devel/autoconf
GNU_CONFIGURE= yes
ALL_TARGET= trafshow
+.include "../../mk/bsd.prefs.mk"
+
+BUILD_DEFS+= USE_INET6
+
+.if defined(USE_INET6) && ${USE_INET6} == "YES"
+CONFIGURE_ENV+= CPPFLAGS=-DINET6
+.endif
+
pre-configure:
cd ${WRKSRC} && ${LOCALBASE}/bin/autoreconf
diff --git a/net/trafshow/files/md5 b/net/trafshow/files/md5
index dab8f445d70..7d8b3e321ed 100644
--- a/net/trafshow/files/md5
+++ b/net/trafshow/files/md5
@@ -1,3 +1,4 @@
-$NetBSD: md5,v 1.2 2000/08/11 05:42:17 itojun Exp $
+$NetBSD: md5,v 1.3 2001/03/22 06:46:12 itojun Exp $
-MD5 (trafshow-3.1.tgz) = 085b99f160002a269b358aab1c5004f0
+SHA1 (trafshow-3.1.tgz) = 6d8b65d265c76cb85ecc26104cf9ec56db853cbc
+SHA1 (trafshow-31-v6-20010322a.diff.gz) = e396867457f8e758a30ac9aa533acbd61f3aa445