summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-19 07:18:49 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-02-19 07:18:49 +0800
commit67baf3d82412fee58f957088e96c65cbaa726393 (patch)
treefea2b4cd2215251543790f64d7713701687ae2a9 /net
parente16c3e2db0c4b3cad4f1c5465cba6625f9ec81e4 (diff)
downloadmarcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar
marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.gz
marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.bz2
marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.lz
marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.xz
marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.tar.zst
marcuscom-ports-67baf3d82412fee58f957088e96c65cbaa726393.zip
Fix the netstat command line so that gnomenetstatus reports more than just
"Error" for interfaces. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1858 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/gnome-netstatus/Makefile1
-rw-r--r--net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c11
-rw-r--r--net/gnomenetstatus/Makefile1
-rw-r--r--net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c11
4 files changed, 24 insertions, 0 deletions
diff --git a/net/gnome-netstatus/Makefile b/net/gnome-netstatus/Makefile
index b40f744ce..4f18fe90c 100644
--- a/net/gnome-netstatus/Makefile
+++ b/net/gnome-netstatus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomenetstatus
PORTVERSION= 0.16
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-netstatus/0.16
diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c
new file mode 100644
index 000000000..85b3f084d
--- /dev/null
+++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c
@@ -0,0 +1,11 @@
+--- src/netstatus-sysdeps.c.orig Wed Feb 18 18:20:48 2004
++++ src/netstatus-sysdeps.c Wed Feb 18 18:21:02 2004
+@@ -267,7 +267,7 @@
+ *out_bytes = -1;
+
+ error = NULL;
+- command_line = g_strdup_printf ("/usr/bin/netstat netstat -n -I %s -b -f inet", iface);
++ command_line = g_strdup_printf ("/usr/bin/netstat -n -I %s -b -f inet", iface);
+ if (!g_shell_parse_argv (command_line, NULL, &argv, &error))
+ {
+ error_message = g_strdup_printf (_("Could not parse command line '%s': %s"),
diff --git a/net/gnomenetstatus/Makefile b/net/gnomenetstatus/Makefile
index b40f744ce..4f18fe90c 100644
--- a/net/gnomenetstatus/Makefile
+++ b/net/gnomenetstatus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gnomenetstatus
PORTVERSION= 0.16
+PORTREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/gnome-netstatus/0.16
diff --git a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c
new file mode 100644
index 000000000..85b3f084d
--- /dev/null
+++ b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c
@@ -0,0 +1,11 @@
+--- src/netstatus-sysdeps.c.orig Wed Feb 18 18:20:48 2004
++++ src/netstatus-sysdeps.c Wed Feb 18 18:21:02 2004
+@@ -267,7 +267,7 @@
+ *out_bytes = -1;
+
+ error = NULL;
+- command_line = g_strdup_printf ("/usr/bin/netstat netstat -n -I %s -b -f inet", iface);
++ command_line = g_strdup_printf ("/usr/bin/netstat -n -I %s -b -f inet", iface);
+ if (!g_shell_parse_argv (command_line, NULL, &argv, &error))
+ {
+ error_message = g_strdup_printf (_("Could not parse command line '%s': %s"),