summaryrefslogtreecommitdiff
path: root/testing/kismet
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kismet')
-rw-r--r--testing/kismet/PKGBUILD38
-rw-r--r--testing/kismet/kismet-2008-05-R1-infinite-loop.diff20
-rw-r--r--testing/kismet/kismet-build.patch11
3 files changed, 0 insertions, 69 deletions
diff --git a/testing/kismet/PKGBUILD b/testing/kismet/PKGBUILD
deleted file mode 100644
index 3333a8e22..000000000
--- a/testing/kismet/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 119587 2011-04-12 15:18:27Z angvp $
-# Contributer: Jason Chu <jason@archlinux.org>
-# Maintainer: Juergen Hoetzel <jason@archlinux.org>
-
-pkgname=kismet
-pkgver=2011_03_R2
-_realver="${pkgver//_/-}"
-pkgrel=1
-pkgdesc="802.11b sniffing software"
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('gmp' 'imagemagick' 'libpcap>=1.0.0' 'ncurses' 'dbus' 'libjpeg>=7')
-optdepends=(perl-libwww)
-url="http://www.kismetwireless.net/"
-backup=('etc/kismet.conf' 'etc/kismet_drone.conf')
-options=('!makeflags')
-source=(http://www.kismetwireless.net/code/kismet-${pkgver//_/-}.tar.gz)
-md5sums=('8bf077e8111e6dc8c12cadefdf40aadd')
-
-build() {
- cd "$srcdir/kismet-$_realver"
-
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var
-
- make dep
- make
- sed -i 's/prism2/wlanng/g' conf/kismet.conf
- make DESTDIR="$pkgdir" install
-
- chown root:root "$pkgdir"/usr/share/man/man{1,5}/*
-
- install -D -m 644 "$srcdir/kismet-$_realver/README" "$pkgdir/usr/share/kismet/README"
-
- # Fix the *.conf unexpanded ${prefix} problems
- sed -i 's%\${prefix}%/usr%' "$pkgdir"/etc/*.conf
-}
diff --git a/testing/kismet/kismet-2008-05-R1-infinite-loop.diff b/testing/kismet/kismet-2008-05-R1-infinite-loop.diff
deleted file mode 100644
index f8417943e..000000000
--- a/testing/kismet/kismet-2008-05-R1-infinite-loop.diff
+++ /dev/null
@@ -1,20 +0,0 @@
---- gpsmap.cc
-+++ gpsmap.cc
-@@ -874,7 +874,7 @@
-
- // Break up the path to the gpsxml file and form a path based on that
- unsigned int lastslash = 0;
-- for (unsigned int x = origxmlfile.find('/'); x != string::npos;
-+ for (string::size_type x = origxmlfile.find('/'); x != string::npos;
- lastslash = x, x = origxmlfile.find('/', lastslash+1)) {
- // We don't actually need to do anything...
- }
-@@ -882,7 +882,7 @@
- comp = origxmlfile.substr(0, lastslash);
-
- lastslash = 0;
-- for (unsigned int x = orignetfile.find('/'); x != string::npos;
-+ for (string::size_type x = orignetfile.find('/'); x != string::npos;
- lastslash = x, x = orignetfile.find('/', lastslash+1)) {
- // We don't actually need to do anything...
- }
diff --git a/testing/kismet/kismet-build.patch b/testing/kismet/kismet-build.patch
deleted file mode 100644
index 9935ca4fa..000000000
--- a/testing/kismet/kismet-build.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- macaddr.h.orig 2009-07-08 02:29:38.000000000 -0400
-+++ macaddr.h 2009-07-08 02:37:54.000000000 -0400
-@@ -73,7 +73,7 @@
- longmac |= (uint64_t) bs_in[5] << ((MAC_LEN - 5 - 1) * 8);
-
- // If it has a mask component, get that
-- char *in_mask = strchr(in, '/');
-+ const char *in_mask = strchr(in, '/');
- if (in_mask != NULL) {
- longmask = 0;
-