1 # Original: Asparagus Maximus <asparagus.maximus () gmail () com>
3 pkgname=kismet-full-svn
6 pkgdesc="802.11b sniffing software with all plugins"
9 depends=('gmp' 'imagemagick' 'libpcap>=1.0.0' 'ncurses' 'dbus')
10 optdepends=('perl-libwww')
11 url="http://www.kismetwireless.net/"
12 backup=('etc/ap_manuf' 'etc/client_manuf' 'etc/kismet.conf' 'etc/kismet_drone.conf' 'etc/kismet_ui.conf')
13 conflicts=('kismet' 'kismet-svn' 'kismet-ptw-svn')
18 _svntrunk=https://www.kismetwireless.net/code/svn/trunk
23 msg "Updating SVN entries for $_svnmod ..."
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
31 cp -r $_svnmod $_svnmod-build
35 msg "Finished update, starting build ..."
37 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
43 KIS_SRC_DIR=../ make ||return 1
44 KIS_DEST_DIR=$startdir/pkg/usr make install
46 make DESTDIR=$startdir/pkg/ install
49 KIS_SRC_DIR=../ make ||return 1
50 KIS_DEST_DIR=$startdir/pkg/usr make install
52 make DESTDIR=$startdir/pkg/ install
54 rm -rf $srcdir/$_svnmod-build