diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-22 14:19:00 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-02-22 14:19:00 +0800 |
commit | cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba (patch) | |
tree | 66805cd096f1419b4c2af4205a59e8104cb974e8 /net | |
parent | c92837d44a780abe7428a6cd600413b9d001fde2 (diff) | |
download | marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.tar marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.tar.gz marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.tar.bz2 marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.tar.lz marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.tar.xz marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.tar.zst marcuscom-ports-cc37f1f3d4736ed2d8c3ee7f74f0c423fd2a1aba.zip |
Add support for ipw, iwi, and acx wireless interfaces.
Submitted by: Khairil Yusof <kaeru@jaring.my>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3692 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r-- | net/gnome-netstatus/Makefile | 1 | ||||
-rw-r--r-- | net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c | 12 | ||||
-rw-r--r-- | net/gnomenetstatus/Makefile | 1 | ||||
-rw-r--r-- | net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c | 12 |
4 files changed, 16 insertions, 10 deletions
diff --git a/net/gnome-netstatus/Makefile b/net/gnome-netstatus/Makefile index b3dd9f025..37bc96bfd 100644 --- a/net/gnome-netstatus/Makefile +++ b/net/gnome-netstatus/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomenetstatus PORTVERSION= 2.9.4 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-netstatus/2.9 diff --git a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c index a13a23161..86095b18e 100644 --- a/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c +++ b/net/gnome-netstatus/files/patch-src_netstatus-sysdeps.c @@ -1,5 +1,5 @@ ---- src/netstatus-sysdeps.c.orig Fri Jul 30 04:19:31 2004 -+++ src/netstatus-sysdeps.c Tue Sep 21 00:27:19 2004 +--- src/netstatus-sysdeps.c 30 Jul 2004 08:21:30 -0000 1.10 ++++ src/netstatus-sysdeps.c 22 Feb 2005 04:54:48 -0000 @@ -35,6 +35,16 @@ #include <glib.h> #include <libgnome/gnome-i18n.h> @@ -17,7 +17,7 @@ static inline gboolean parse_stats (char *buf, int prx_idx, -@@ -384,6 +394,163 @@ +@@ -384,6 +394,165 @@ } } @@ -163,7 +163,9 @@ + *signal_strength = 0; + + if (g_strncasecmp (iface, "an", 2) && g_strncasecmp (iface, "wi", 2) && -+ g_strncasecmp (iface, "ath", 3) && g_strncasecmp (iface, "ndis", 4)) ++ g_strncasecmp (iface, "ath", 3) && g_strncasecmp (iface, "ndis", 4) && ++ g_strncasecmp (iface, "ipw", 3) && g_strncasecmp (iface, "iwi", 3) && ++ g_strncasecmp (iface, "acx", 3)) + return error_message; + + if (g_strncasecmp (iface, "an", 2) == 0) { @@ -181,7 +183,7 @@ char * netstatus_sysdeps_read_iface_statistics (const char *iface, gulong *in_packets, -@@ -485,23 +652,6 @@ +@@ -485,23 +654,6 @@ g_strfreev (argv); return error_message; diff --git a/net/gnomenetstatus/Makefile b/net/gnomenetstatus/Makefile index b3dd9f025..37bc96bfd 100644 --- a/net/gnomenetstatus/Makefile +++ b/net/gnomenetstatus/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomenetstatus PORTVERSION= 2.9.4 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-netstatus/2.9 diff --git a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c index a13a23161..86095b18e 100644 --- a/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c +++ b/net/gnomenetstatus/files/patch-src_netstatus-sysdeps.c @@ -1,5 +1,5 @@ ---- src/netstatus-sysdeps.c.orig Fri Jul 30 04:19:31 2004 -+++ src/netstatus-sysdeps.c Tue Sep 21 00:27:19 2004 +--- src/netstatus-sysdeps.c 30 Jul 2004 08:21:30 -0000 1.10 ++++ src/netstatus-sysdeps.c 22 Feb 2005 04:54:48 -0000 @@ -35,6 +35,16 @@ #include <glib.h> #include <libgnome/gnome-i18n.h> @@ -17,7 +17,7 @@ static inline gboolean parse_stats (char *buf, int prx_idx, -@@ -384,6 +394,163 @@ +@@ -384,6 +394,165 @@ } } @@ -163,7 +163,9 @@ + *signal_strength = 0; + + if (g_strncasecmp (iface, "an", 2) && g_strncasecmp (iface, "wi", 2) && -+ g_strncasecmp (iface, "ath", 3) && g_strncasecmp (iface, "ndis", 4)) ++ g_strncasecmp (iface, "ath", 3) && g_strncasecmp (iface, "ndis", 4) && ++ g_strncasecmp (iface, "ipw", 3) && g_strncasecmp (iface, "iwi", 3) && ++ g_strncasecmp (iface, "acx", 3)) + return error_message; + + if (g_strncasecmp (iface, "an", 2) == 0) { @@ -181,7 +183,7 @@ char * netstatus_sysdeps_read_iface_statistics (const char *iface, gulong *in_packets, -@@ -485,23 +652,6 @@ +@@ -485,23 +654,6 @@ g_strfreev (argv); return error_message; |