diff options
Diffstat (limited to 'network/wavemon')
-rw-r--r-- | network/wavemon/README | 6 | ||||
-rw-r--r-- | network/wavemon/patches/wavemon-gcc34.patch | 51 | ||||
-rw-r--r-- | network/wavemon/patches/wavemon-gcc4.patch | 12 | ||||
-rw-r--r-- | network/wavemon/patches/wavemon-header.patch | 11 | ||||
-rw-r--r-- | network/wavemon/slack-desc | 19 | ||||
-rw-r--r-- | network/wavemon/wavemon.SlackBuild | 89 | ||||
-rw-r--r-- | network/wavemon/wavemon.info | 10 |
7 files changed, 0 insertions, 198 deletions
diff --git a/network/wavemon/README b/network/wavemon/README deleted file mode 100644 index c367a54cee..0000000000 --- a/network/wavemon/README +++ /dev/null @@ -1,6 +0,0 @@ -wavemon is a ncurses-based monitor for wireless devices. It allows you to -watch the signal and noise levels, packet statistics, device configuration, -and network parameters of your wireless network hardware. It has currently -only been tested with the Lucent Orinoco series of cards, although it -should work (with varying features) with all devices supported by the -wireless kernel extensions. diff --git a/network/wavemon/patches/wavemon-gcc34.patch b/network/wavemon/patches/wavemon-gcc34.patch deleted file mode 100644 index c1bb24489c..0000000000 --- a/network/wavemon/patches/wavemon-gcc34.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- conf.c.orig 2008-06-12 00:34:23.000000000 -0400 -+++ conf.c 2008-06-12 00:41:27.000000000 -0400 -@@ -410,7 +410,7 @@ - } - break; - case t_sep: /* gcc -Wall sucks */ -- case t_func: -+ case t_func: break; - } - } - } -@@ -481,7 +481,7 @@ - break; - case t_listval: sprintf(rv, "%s", (char *)ci->v); - case t_sep: break; -- case t_func: -+ case t_func: break; - } - - add = 1; ---- conf_scr.c.orig 2008-06-12 00:34:32.000000000 -0400 -+++ conf_scr.c 2008-06-12 00:42:17.000000000 -0400 -@@ -63,7 +63,7 @@ - case t_listval: strncpy(s, (char *)item->v, 32); - break; - case t_sep: /* gcc -Wall sucks */ -- case t_func: -+ case t_func: break; - } - - if (!item->unit) { -@@ -136,7 +136,7 @@ - strncpy((char *)item->v, ll_get(item->list, tmp), 32); - break; - case t_sep: /* gcc -Wall sucks */ -- case t_func: -+ case t_func: break; - } - } - ---- wavemon.c.orig 2008-06-11 22:09:07.000000000 -0400 -+++ wavemon.c 2008-06-11 22:09:15.000000000 -0400 -@@ -170,7 +170,7 @@ - - if (conf.dump == 1) { - dump_parameters(&conf); -- exit(); -+ exit(0); - } - - /* initialize the ncurses interface */ diff --git a/network/wavemon/patches/wavemon-gcc4.patch b/network/wavemon/patches/wavemon-gcc4.patch deleted file mode 100644 index dd1b6ce413..0000000000 --- a/network/wavemon/patches/wavemon-gcc4.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- llist.c.orig 2008-06-12 02:41:16.000000000 -0400 -+++ llist.c 2008-06-12 02:42:31.000000000 -0400 -@@ -351,8 +351,7 @@ - case 'd': l->e = (void *)malloc(sizeof(int)); - *((int *)l->e) = va_arg(*ap, int); - break; -- case 's': l->e = (void *)malloc(sizeof(char *)); -- (char *)l->e = strdup(va_arg(*ap, char *)); -+ case 's': l->e = (void*)strdup(va_arg(*ap, char *)); - break; - case 'f': l->e = (void *)malloc(sizeof(double)); - *((double *)l->e) = va_arg(*ap, double); diff --git a/network/wavemon/patches/wavemon-header.patch b/network/wavemon/patches/wavemon-header.patch deleted file mode 100644 index e1b48bfb53..0000000000 --- a/network/wavemon/patches/wavemon-header.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- iw_if.h.orig 2008-06-11 22:04:16.000000000 -0400 -+++ iw_if.h 2008-06-11 22:04:38.000000000 -0400 -@@ -19,6 +19,8 @@ - */ - - #include <netdb.h> -+#include <linux/types.h> -+#include <linux/if.h> - #include <linux/wireless.h> - - #define IW_STACKSIZE 1024 diff --git a/network/wavemon/slack-desc b/network/wavemon/slack-desc deleted file mode 100644 index 03c28ef60b..0000000000 --- a/network/wavemon/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler----------------------------------------------------| -wavemon: wavemon (status monitor for wireless network devices) -wavemon: -wavemon: wavemon is a ncurses-based monitor for wireless devices. It allows -wavemon: you to watch the signal and noise levels, packet statistics, device -wavemon: configuration, and network parameters of your wireless network -wavemon: hardware. -wavemon: -wavemon: Homepage: http://www.janmorgenstern.de/projects-software.html -wavemon: -wavemon: -wavemon: diff --git a/network/wavemon/wavemon.SlackBuild b/network/wavemon/wavemon.SlackBuild deleted file mode 100644 index 4717a2a250..0000000000 --- a/network/wavemon/wavemon.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/bash - -# Slackware build script for wavemon - -PRGNAM=wavemon -VERSION=${VERSION:-0.4.0b} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - -# Automatically determine the architecture we're building on: -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-current.tar.gz -cd $PRGNAM-$VERSION -chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# For support with the 2.6 kernels -patch -p0 < $CWD/patches/wavemon-header.patch -# For compliance with gcc 3.4 standards -patch -p0 < $CWD/patches/wavemon-gcc34.patch -# (char *)var is not an lvalue, and strdup already does malloc -patch -p0 < $CWD/patches/wavemon-gcc4.patch - -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --build=$ARCH-slackware-linux - -make CFLAGS="$SLKCFLAGS -Wall" - -strip --strip-unneeded wavemon 2>/dev/null || true -mkdir -p $PKG/usr/bin -install -m 0755 wavemon $PKG/usr/bin/ - -mkdir -p $PKG/usr/man/{man1,man5} -gzip -9c wavemon.1 > $PKG/usr/man/man1/wavemon.1.gz -gzip -9c wavemonrc.5 > $PKG/usr/man/man5/wavemonrc.5.gz - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING Changelog README RELEASE_DATE TODO VERSION \ - $CWD/$PRGNAM.SlackBuild $PKG/usr/doc/$PRGNAM-$VERSION -chown -R root:root $PKG/usr/doc -chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/wavemon/wavemon.info b/network/wavemon/wavemon.info deleted file mode 100644 index c8c27b335f..0000000000 --- a/network/wavemon/wavemon.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="wavemon" -VERSION="0.4.0b" -HOMEPAGE="http://www.janmorgenstern.de/projects-software.html" -DOWNLOAD="http://www.janmorgenstern.de/wavemon-current.tar.gz" -MD5SUM="2baab37eb967fc38dc53f8e4f609daac" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -MAINTAINER="adev" -EMAIL="adev@linuxmail.org" -APPROVED="Michiel,rworkman" |