mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/netdiscover: new aport
https://github.com/netdiscover-scanner/netdiscover Active/passive ARP reconnaissance tool
This commit is contained in:
parent
85d6f888c6
commit
0e38dbfe00
43
testing/netdiscover/APKBUILD
Normal file
43
testing/netdiscover/APKBUILD
Normal file
@ -0,0 +1,43 @@
|
||||
# Contributor: Faustin Lammler <faustin@fala.red>
|
||||
# Maintainer: Faustin Lammler <faustin@fala.red>
|
||||
pkgname=netdiscover
|
||||
pkgver=0.10
|
||||
pkgrel=0
|
||||
pkgdesc="Active/passive ARP reconnaissance tool"
|
||||
url="https://github.com/netdiscover-scanner/netdiscover"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="
|
||||
autoconf
|
||||
automake
|
||||
libpcap-dev
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/netdiscover-scanner/netdiscover/archive/$pkgver.tar.gz"
|
||||
options="!check" # no proper testsuite
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
build() {
|
||||
# Running update-oui-database.sh would probably make the build irreproducible
|
||||
# ./update-oui-database.sh
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--mandir=/usr/share/man \
|
||||
--localstatedir=/var
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make install DESTDIR="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a04a3ecb9cb76f22edc761b1a661e6e0f5c620763ca5a059923ce2d080e0d15bc0e0861ae354efc28ba2cea09b642128d8ee022106402f82041180c22e8becc9 netdiscover-0.10.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user