New package: arp-scan-1.9

Closes: #7668 [via git-merge-pr]
This commit is contained in:
Urs Schulz 2017-09-15 12:52:55 +02:00 committed by Michael Aldridge
parent f55dee4f91
commit bb9a46fe05
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- acinclude.m4
+++ acinclude.m4
@@ -212,7 +211,8 @@ done])dnl AC_CACHE_VAL
LONG_LONG_INT_FORMAT=''
case $pgac_cv_snprintf_long_long_int_format in
- cross) AC_MSG_RESULT([cannot test (not on host machine)]);;
+ cross) AC_MSG_RESULT([assuming %lld for cross compilation])
+ LONG_LONG_INT_FORMAT='%lld';;
?*) AC_MSG_RESULT([$pgac_cv_snprintf_long_long_int_format])
LONG_LONG_INT_FORMAT=$pgac_cv_snprintf_long_long_int_format;;
*) AC_MSG_RESULT(none);;

17
srcpkgs/arp-scan/template Normal file
View file

@ -0,0 +1,17 @@
# Template file for 'arp-scan'
pkgname=arp-scan
version=1.9
revision=1
build_style=gnu-configure
hostmakedepends="automake"
makedepends="libpcap-devel"
short_desc="A tool that uses ARP to discover IP hosts on the local network"
maintainer="Urs Schulz <voidpkgs@ursschulz.de>"
license="GPL-3"
homepage="http://www.nta-monitor.com/tools/arp-scan/"
distfiles="https://github.com/royhills/$pkgname/archive/$version/$pkgname-$version.tar.gz"
checksum=b2a446a170e4a2feeb825cd08db48a147f8dffae702077f33e456c4200e7afb0
pre_configure() {
autoreconf --install
}