diff options
-rw-r--r-- | testing/kismet/APKBUILD | 16 | ||||
-rw-r--r-- | testing/kismet/kismet.post-install | 3 | ||||
-rw-r--r-- | testing/kismet/kismet.pre-install | 2 |
3 files changed, 11 insertions, 10 deletions
diff --git a/testing/kismet/APKBUILD b/testing/kismet/APKBUILD index cb04b7f8a7..86a2d9ae79 100644 --- a/testing/kismet/APKBUILD +++ b/testing/kismet/APKBUILD @@ -1,9 +1,10 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=kismet -pkgver=2011.03_p2 +pkgver=2013.03_p1 _ver=${pkgver/_p/-R}; _ver=${_ver/./-} +_rev=b pkgrel=0 pkgdesc="802.11 layer2 wireless network detector, sniffer, and intrusion detection system" url="http://www.kismetwireless.net" @@ -11,10 +12,11 @@ arch="all" license="GPL" depends_dev="libpcap-dev libnl-dev pcre-dev ncurses-dev openssl-dev bluez-dev" makedepends="$depends_dev" -install="$pkgname.pre-install $pkgname.post-install" +install="" +pkggroups="kismet" subpackages="$pkgname-doc" -source="http://www.kismetwireless.net/code/kismet-$_ver.tar.gz" -_builddir="${srcdir}"/$pkgname-$_ver +source="http://www.kismetwireless.net/code/kismet-${_ver}${_rev}.tar.gz" +_builddir="${srcdir}"/$pkgname-${_ver}${_rev} build() { cd "$_builddir" ./configure --prefix=/usr \ @@ -31,5 +33,9 @@ package() { install -o "root" -g "root" -m 4550 kismet_capture "${pkgdir}/usr/bin/" mkdir -p "$pkgdir"/etc/kismet install -m644 -D "$_builddir"/conf/kismet.conf "$pkgdir"/etc/kismet/kismet.conf + chown root:kismet "$pkgdir"/usr/bin/kismet_capture + chmod 4550 "$pkgdir"/usr/bin/kismet_capture } -md5sums="8bf077e8111e6dc8c12cadefdf40aadd kismet-2011-03-R2.tar.gz" +md5sums="6cdcd78baf2e15edbe8a9de3c5493f02 kismet-2013-03-R1b.tar.gz" +sha256sums="c0bb8a8f47061e2ffc965b0557bab9a1b3d63b5a50b744663f66518aec7fbc77 kismet-2013-03-R1b.tar.gz" +sha512sums="9a6a04f1d6da5ba5aee17806e318b3a7b5ce72c4493e7e4d2f23ed33c4d4190f4bfde97070d58cbde4e4c7c548dc7d6c7cad13d0f15119e2b0f961cdd67d08fd kismet-2013-03-R1b.tar.gz" diff --git a/testing/kismet/kismet.post-install b/testing/kismet/kismet.post-install deleted file mode 100644 index a60b29ea5a..0000000000 --- a/testing/kismet/kismet.post-install +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -chown root:kismet "/usr/bin/kismet_capture" -chmod 4550 "/usr/bin/kismet_capture" diff --git a/testing/kismet/kismet.pre-install b/testing/kismet/kismet.pre-install deleted file mode 100644 index 27e39754de..0000000000 --- a/testing/kismet/kismet.pre-install +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -addgroup -g 315 kismet &>/dev/null |