diff options
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/wmwifi/Makefile | 25 | ||||
-rw-r--r-- | net/wmwifi/distinfo | 2 | ||||
-rw-r--r-- | net/wmwifi/files/patch-configure.in | 11 | ||||
-rw-r--r-- | net/wmwifi/files/patch-wireless.c | 10 | ||||
-rw-r--r-- | net/wmwifi/files/patch-wmwifi.c | 10 | ||||
-rw-r--r-- | net/wmwifi/pkg-descr | 3 |
7 files changed, 62 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 9346b1c67f03..64938b7d2f5c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -875,6 +875,7 @@ SUBDIR += wmping SUBDIR += wmq3 SUBDIR += wmwave + SUBDIR += wmwifi SUBDIR += wol SUBDIR += wping SUBDIR += x11vnc diff --git a/net/wmwifi/Makefile b/net/wmwifi/Makefile new file mode 100644 index 000000000000..cbfc1bbe1dab --- /dev/null +++ b/net/wmwifi/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: net/wmwifi +# Date created: 01.07.2005 +# Whom: Ulrich Spoerlein <q@galgenberg.net> +# +# $FreeBSD$ +# + +PORTNAME= wmwifi +PORTVERSION= 0.4 +DISTVERSIONSUFFIX=-bsd +CATEGORIES= net +MASTER_SITES= http://digitalssg.net/debian/ + +MAINTAINER= q@galgenberg.net +COMMENT= Dockapp displaying the signal strength of WiFi connection + +USE_X_PREFIX= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes + +CONFIGURE_ENV+= "CPPFLAGS=-I${X11BASE}/include" + +PLIST_FILES= bin/wmwifi + +.include <bsd.port.mk> diff --git a/net/wmwifi/distinfo b/net/wmwifi/distinfo new file mode 100644 index 000000000000..6e3560cda2b5 --- /dev/null +++ b/net/wmwifi/distinfo @@ -0,0 +1,2 @@ +MD5 (wmwifi-0.4-bsd.tar.gz) = f0b3f1683f308a1864f2c7f36c4afdb5 +SIZE (wmwifi-0.4-bsd.tar.gz) = 192913 diff --git a/net/wmwifi/files/patch-configure.in b/net/wmwifi/files/patch-configure.in new file mode 100644 index 000000000000..b6ced86bb8a9 --- /dev/null +++ b/net/wmwifi/files/patch-configure.in @@ -0,0 +1,11 @@ +--- configure.in.orig Sat Jul 2 14:29:13 2005 ++++ configure.in Sat Jul 2 14:29:20 2005 +@@ -11,7 +11,7 @@ + AC_PATH_XTRA + AC_PATH_X + dnl echo $X_CFLAGS $X_LIBS +-CFLAGS="$X_CFLAGS $X_LIBS" ++CFLAGS="$CFLAGS $X_CFLAGS $X_LIBS" + AC_CHECK_LIB(X11, XCopyArea, [], [], $X_LIBS) + AC_CHECK_LIB(Xext, XShapeCombineMask, [], [], $X_LIBS) + AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, [], [], $X_LIBS) diff --git a/net/wmwifi/files/patch-wireless.c b/net/wmwifi/files/patch-wireless.c new file mode 100644 index 000000000000..2eb663a1dea3 --- /dev/null +++ b/net/wmwifi/files/patch-wireless.c @@ -0,0 +1,10 @@ +--- src/wireless.c.orig Sat Jul 2 14:41:48 2005 ++++ src/wireless.c Sat Jul 2 14:41:53 2005 +@@ -143,6 +143,7 @@ + + max = get_max_ifs(); + step = 0; ++ found = 0; + + if (old > max) + old = max; /* just be sure to not be out of bounds */ diff --git a/net/wmwifi/files/patch-wmwifi.c b/net/wmwifi/files/patch-wmwifi.c new file mode 100644 index 000000000000..2e9bde734b5d --- /dev/null +++ b/net/wmwifi/files/patch-wmwifi.c @@ -0,0 +1,10 @@ +--- src/wmwifi.c.orig Sat Jul 2 14:54:17 2005 ++++ src/wmwifi.c Sat Jul 2 14:54:21 2005 +@@ -67,6 +67,7 @@ + int ncolor = 0; + struct wifi wfi; + ++ bzero(&wfi, sizeof(wfi)); + /* find a valid wireless interface */ + #if __FreeBSD__ + wfi.ifnum = get_wlaniface(0, 1); diff --git a/net/wmwifi/pkg-descr b/net/wmwifi/pkg-descr new file mode 100644 index 000000000000..b7e40c20c5e5 --- /dev/null +++ b/net/wmwifi/pkg-descr @@ -0,0 +1,3 @@ +WindowMaker dockapp for displaying signal strenghts of WLAN Adapters + +WWW: http://wmwifi.digitalssg.net/ |