aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-26 12:50:55 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-26 12:50:55 +0100
commit896d6df15303f70cdcc600e4cfc8d45a599eb4a7 (patch)
tree0157c34237aee1bb4b06b26b25ae9c5ad46a70c0 /unmaintained
parentcc40f381dc3c8a4ad2b3289088f033ad5bfb620e (diff)
downloadaports-896d6df15303f70cdcc600e4cfc8d45a599eb4a7.tar.bz2
aports-896d6df15303f70cdcc600e4cfc8d45a599eb4a7.tar.xz
testing/kismet: move to unmaintained
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/kismet/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/kismet/APKBUILD b/unmaintained/kismet/APKBUILD
new file mode 100644
index 0000000000..86a2d9ae79
--- /dev/null
+++ b/unmaintained/kismet/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=kismet
+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"
+arch="all"
+license="GPL"
+depends_dev="libpcap-dev libnl-dev pcre-dev ncurses-dev openssl-dev bluez-dev"
+makedepends="$depends_dev"
+install=""
+pkggroups="kismet"
+subpackages="$pkgname-doc"
+source="http://www.kismetwireless.net/code/kismet-${_ver}${_rev}.tar.gz"
+_builddir="${srcdir}"/$pkgname-${_ver}${_rev}
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc/kismet \
+ --localstatedir=/var
+ make dep || return 1
+ make || return 1
+ make plugins || return 1
+}
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ make plugins-install DESTDIR="$pkgdir" || return 1
+ 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="6cdcd78baf2e15edbe8a9de3c5493f02 kismet-2013-03-R1b.tar.gz"
+sha256sums="c0bb8a8f47061e2ffc965b0557bab9a1b3d63b5a50b744663f66518aec7fbc77 kismet-2013-03-R1b.tar.gz"
+sha512sums="9a6a04f1d6da5ba5aee17806e318b3a7b5ce72c4493e7e4d2f23ed33c4d4190f4bfde97070d58cbde4e4c7c548dc7d6c7cad13d0f15119e2b0f961cdd67d08fd kismet-2013-03-R1b.tar.gz"