summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 13:15:22 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 13:15:22 +0800
commit5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62 (patch)
treec41626ff7a4089432b15a730612d8f98018c0b57
parent934d2d9a2ec95b253b4d4151032f335b495a5314 (diff)
downloadmarcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.gz
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.bz2
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.lz
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.xz
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.tar.zst
marcuscom-ports-5df36f0c06a5ce8305d67aee7979a5bf4e2d6d62.zip
-USE_X_PREFIX -> USE_XLIB.
-Add gnomeprefix. -Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7402 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--net-mgmt/etherape/Makefile29
-rw-r--r--net-mgmt/etherape/distinfo3
-rw-r--r--net-mgmt/etherape/files/patch-capture.c20
-rw-r--r--net-mgmt/etherape/files/patch-resolv.c11
-rw-r--r--net-mgmt/etherape/files/patch-thread_resolve.c23
-rw-r--r--net-mgmt/etherape/pkg-descr8
-rw-r--r--net-mgmt/etherape/pkg-plist34
7 files changed, 128 insertions, 0 deletions
diff --git a/net-mgmt/etherape/Makefile b/net-mgmt/etherape/Makefile
new file mode 100644
index 000000000..db0e27894
--- /dev/null
+++ b/net-mgmt/etherape/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: etherape
+# Date created: 4 April 2001
+# Whom: Holger Lamm <holger@eit.uni-kl.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= etherape
+PORTVERSION= 0.9.6
+PORTREVISION= 1
+CATEGORIES= net-mgmt gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sbahra@kerneled.org
+COMMENT= A graphical network traffic visualization tool for gnome
+
+USE_GETTEXT= yes
+USE_GNOME= libglade2 libgnomeui gnomehack gnomeprefix
+USE_GMAKE= yes
+USE_XLIB= yes
+INSTALLS_OMF= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= etherape.1
+
+.include <bsd.port.mk>
diff --git a/net-mgmt/etherape/distinfo b/net-mgmt/etherape/distinfo
new file mode 100644
index 000000000..0e9b91732
--- /dev/null
+++ b/net-mgmt/etherape/distinfo
@@ -0,0 +1,3 @@
+MD5 (etherape-0.9.6.tar.gz) = a6f2b27da7d25346b824c42762ada61f
+SHA256 (etherape-0.9.6.tar.gz) = ab4e2f4dc90e2bccbf72f3bc750df4ea3c234fdbc31a85b640107f5b5c5e47fc
+SIZE (etherape-0.9.6.tar.gz) = 860413
diff --git a/net-mgmt/etherape/files/patch-capture.c b/net-mgmt/etherape/files/patch-capture.c
new file mode 100644
index 000000000..4a7a0a44e
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-capture.c
@@ -0,0 +1,20 @@
+--- src/capture.c.orig Sat Apr 29 09:58:35 2006
++++ src/capture.c Mon May 29 01:14:23 2006
+@@ -464,10 +464,13 @@
+ return FALSE;
+ }
+
+- /* preparing protocol summary and nodes/links catalogs */
+- protocol_summary_open();
+- nodes_catalog_open();
+- links_catalog_open();
++ if (status != PAUSE)
++ {
++ /* preparing protocol summary and nodes/links catalogs */
++ protocol_summary_open();
++ nodes_catalog_open();
++ links_catalog_open();
++ }
+
+ /*
+ * See pause_capture for an explanation of why we don't always
diff --git a/net-mgmt/etherape/files/patch-resolv.c b/net-mgmt/etherape/files/patch-resolv.c
new file mode 100644
index 000000000..4e062d403
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-resolv.c
@@ -0,0 +1,11 @@
+--- src/resolv.c.orig Sat Apr 29 09:58:35 2006
++++ src/resolv.c Mon May 29 00:54:06 2006
+@@ -500,7 +500,7 @@
+ */
+ if (g_pethers_path == NULL)
+ {
+- g_strdup_printf (g_pethers_path, "%s/%s",
++ g_pethers_path = g_strdup_printf ("%s/%s",
+ get_home_dir (), EPATH_PERSONAL_ETHERS);
+ }
+
diff --git a/net-mgmt/etherape/files/patch-thread_resolve.c b/net-mgmt/etherape/files/patch-thread_resolve.c
new file mode 100644
index 000000000..dd20e557e
--- /dev/null
+++ b/net-mgmt/etherape/files/patch-thread_resolve.c
@@ -0,0 +1,23 @@
+--- src/thread_resolve.c.orig Tue Apr 25 09:08:28 2006
++++ src/thread_resolve.c Mon May 29 00:37:45 2006
+@@ -167,6 +167,10 @@
+
+ pthread_mutex_unlock(&resolvemtx);
+ }
++
++ /* close mutex */
++ close_mutex();
++
+ return NULL;
+ }
+
+@@ -268,9 +272,6 @@
+ {
+ /* thread pool shutdown */
+ stop_threads();
+-
+- /* close mutex */
+- close_mutex();
+ }
+
+ /* returns 1 if the current dns implementation has a socket wich needs a select() */
diff --git a/net-mgmt/etherape/pkg-descr b/net-mgmt/etherape/pkg-descr
new file mode 100644
index 000000000..f26741ea2
--- /dev/null
+++ b/net-mgmt/etherape/pkg-descr
@@ -0,0 +1,8 @@
+EtherApe is a graphical network monitor for Unix modeled after etherman.
+Featuring ether, ip and tcp modes, it displays network activity
+graphically. Hosts and links change in size with traffic. Color coded
+protocols display. It supports ethernet, fddi, ppp and slip devices.
+It can filter traffic to be shown, and can read traffic from a
+file as well as live from the network.
+
+WWW: http://etherape.sourceforge.net/
diff --git a/net-mgmt/etherape/pkg-plist b/net-mgmt/etherape/pkg-plist
new file mode 100644
index 000000000..0990c1762
--- /dev/null
+++ b/net-mgmt/etherape/pkg-plist
@@ -0,0 +1,34 @@
+bin/etherape
+etc/etherape/services
+share/gnome/applications/etherape.desktop
+share/gnome/etherape/doc/etherape/C/etherape.xml
+share/gnome/etherape/doc/etherape/C/figures/appmain.png
+share/gnome/etherape/doc/etherape/C/figures/capture_file_dlg.png
+share/gnome/etherape/doc/etherape/C/figures/color_select_dlg.png
+share/gnome/etherape/doc/etherape/C/figures/eth_toolbar.png
+share/gnome/etherape/doc/etherape/C/figures/link_info.png
+share/gnome/etherape/doc/etherape/C/figures/node_info.png
+share/gnome/etherape/doc/etherape/C/figures/pref_colors_dlg.png
+share/gnome/etherape/doc/etherape/C/figures/pref_diagram_dlg.png
+share/gnome/etherape/doc/etherape/C/figures/pref_timings_dlg.png
+share/gnome/etherape/doc/etherape/C/figures/proto_info.png
+share/gnome/etherape/doc/etherape/C/figures/protocol_edit_dlg.png
+share/gnome/etherape/glade/etherape.glade2
+share/gnome/etherape/glade/etherape.png
+share/gnome/etherape/glade/pause.xpm
+share/gnome/etherape/glade/play.xpm
+share/gnome/etherape/glade/stop.xpm
+share/gnome/omf/etherape/etherape-C.omf
+share/gnome/pixmaps/etherape.png
+share/locale/es/LC_MESSAGES/etherape.mo
+share/locale/fr/LC_MESSAGES/etherape.mo
+share/locale/nl/LC_MESSAGES/etherape.mo
+share/locale/tr/LC_MESSAGES/etherape.mo
+@dirrm share/gnome/omf/etherape
+@dirrm share/gnome/etherape/glade
+@dirrm share/gnome/etherape/doc/etherape/C/figures
+@dirrm share/gnome/etherape/doc/etherape/C
+@dirrm share/gnome/etherape/doc/etherape
+@dirrm share/gnome/etherape/doc
+@dirrm share/gnome/etherape
+@dirrm etc/etherape