mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
43 lines
1 KiB
Text
43 lines
1 KiB
Text
# Contributor: Faustin Lammler <faustin@fala.red>
|
|
# Maintainer: Faustin Lammler <faustin@fala.red>
|
|
pkgname=netdiscover
|
|
pkgver=0.11
|
|
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="
|
|
dee457c8596f54bc33e87cd077d9fa1bf7b73c24633c95b46475fa6836dc2db54fbdc264afa67053512c1df182e3755bbd4de39fb3157e4d33cf18f08405f47a netdiscover-0.11.tar.gz
|
|
"
|