aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Makefile1
-rw-r--r--net/ipfw-graph/Makefile20
-rw-r--r--net/ipfw-graph/distinfo1
-rw-r--r--net/ipfw-graph/files/patch-Makefile31
-rw-r--r--net/ipfw-graph/files/patch-ipfw-gtk.c11
-rw-r--r--net/ipfw-graph/pkg-comment1
-rw-r--r--net/ipfw-graph/pkg-descr10
-rw-r--r--net/ipfw-graph/pkg-plist2
8 files changed, 77 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 131ef2b69534..58a303842546 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -163,6 +163,7 @@
SUBDIR += ipcheck
SUBDIR += iperf
SUBDIR += ipfm
+ SUBDIR += ipfw-graph
SUBDIR += iplog
SUBDIR += ipw
SUBDIR += isc-dhcp2
diff --git a/net/ipfw-graph/Makefile b/net/ipfw-graph/Makefile
new file mode 100644
index 000000000000..7a89241859ed
--- /dev/null
+++ b/net/ipfw-graph/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: ipfw-graph
+# Date created: 16 November 2001
+# Whom: Edwin Groothuis (edwin@mavetju.org)
+#
+# $FreeBSD$
+#
+
+PORTNAME= ipfw-graph
+PORTVERSION= 1.3
+CATEGORIES= net
+MASTER_SITES= http://www.mavetju.org/download/
+
+MAINTAINER= edwin@mavetju.org
+
+USE_GTK= yes
+MAKE_ENV+= MANPREFIX="${MANPREFIX}"
+
+MAN8= ipfw-al.8 ipfw-graph.8
+
+.include <bsd.port.mk>
diff --git a/net/ipfw-graph/distinfo b/net/ipfw-graph/distinfo
new file mode 100644
index 000000000000..a5ea2854fb5b
--- /dev/null
+++ b/net/ipfw-graph/distinfo
@@ -0,0 +1 @@
+MD5 (ipfw-graph-1.3.tar.gz) = d624be15caf4f0f5401658138ad04850
diff --git a/net/ipfw-graph/files/patch-Makefile b/net/ipfw-graph/files/patch-Makefile
new file mode 100644
index 000000000000..8724046c19ff
--- /dev/null
+++ b/net/ipfw-graph/files/patch-Makefile
@@ -0,0 +1,31 @@
+--- Makefile.orig Fri Nov 16 02:46:59 2001
++++ Makefile Sat Nov 17 15:56:24 2001
+@@ -2,12 +2,11 @@
+ # $Id: Makefile,v 1.8 2001/11/16 04:46:20 mavetju Exp $
+ #
+
+-CC = gcc
+-OPT_C = -c -Wall -g
++OPT_C = -c -Wall -g $(CFLAGS)
+ OPT_L = -g
+
+-GTK_C = `gtk12-config --cflags`
+-GTK_L = `gtk12-config --libs`
++GTK_C = `${GTK_CONFIG} --cflags`
++GTK_L = `${GTK_CONFIG} --libs`
+
+ OFILES = ipfw-core.o ipfw-data.o ipfw-gtk.o ipfw-default.o ipfw-log.o \
+ ipfw-linear.o ipfw-allowonly.o ipfw-denyonly.o
+@@ -38,7 +37,8 @@
+ rm /usr/local/man/man8/ipfw-graph.8
+
+ install:
+- install -o root -g wheel -m 4755 ipfw-al /usr/local/sbin
+- install -o root -g wheel -m 0755 ipfw-graph /usr/local/bin
+- install -o root -g wheel -m 0644 ipfw-al.8 /usr/local/man/man8
+- install -o root -g wheel -m 0644 ipfw-graph.8 /usr/local/man/man8
++ ${BSD_INSTALL_PROGRAM} ipfw-al ${PREFIX}/sbin
++ chmod u+s ${PREFIX}/sbin/ipfw-al
++ ${BSD_INSTALL_PROGRAM} ipfw-graph ${PREFIX}/bin
++ ${BSD_INSTALL_MAN} ipfw-al.8 ${MANPREFIX}/man/man8
++ ${BSD_INSTALL_MAN} ipfw-graph.8 ${MANPREFIX}/man/man8
diff --git a/net/ipfw-graph/files/patch-ipfw-gtk.c b/net/ipfw-graph/files/patch-ipfw-gtk.c
new file mode 100644
index 000000000000..277067d5654d
--- /dev/null
+++ b/net/ipfw-graph/files/patch-ipfw-gtk.c
@@ -0,0 +1,11 @@
+--- ipfw-gtk.c.orig Sat Nov 17 15:50:05 2001
++++ ipfw-gtk.c Sat Nov 17 15:50:14 2001
+@@ -230,7 +230,7 @@
+
+ // text_area=gtk_label_new("blaat");
+ text_area=gtk_entry_new();
+- gtk_entry_set_text(text_area,"blaat");
++ gtk_entry_set_text((GtkEntry *)text_area,"blaat");
+ gtk_box_pack_start(GTK_BOX(vbox),text_area,FALSE,FALSE,0);
+ gtk_widget_show(text_area);
+
diff --git a/net/ipfw-graph/pkg-comment b/net/ipfw-graph/pkg-comment
new file mode 100644
index 000000000000..29c6bd676055
--- /dev/null
+++ b/net/ipfw-graph/pkg-comment
@@ -0,0 +1 @@
+Graphical overview of traffic going through your IPFW rules
diff --git a/net/ipfw-graph/pkg-descr b/net/ipfw-graph/pkg-descr
new file mode 100644
index 000000000000..629edd878757
--- /dev/null
+++ b/net/ipfw-graph/pkg-descr
@@ -0,0 +1,10 @@
+Displays a graphical overview of bytes going through your IPFW
+rules and a piled overview of the percentage on which rule it
+passed.
+
+FreeBSD only, GTK required.
+
+WWW: http://www.mavetju.org/
+
+- Edwin Groothuis
+edwin@mavetju.org
diff --git a/net/ipfw-graph/pkg-plist b/net/ipfw-graph/pkg-plist
new file mode 100644
index 000000000000..8916d598db9b
--- /dev/null
+++ b/net/ipfw-graph/pkg-plist
@@ -0,0 +1,2 @@
+bin/ipfw-graph
+sbin/ipfw-al