diff --git a/srcpkgs/arp-scan/patches/fix-crossbuild.patch b/srcpkgs/arp-scan/patches/fix-crossbuild.patch new file mode 100644 index 0000000000..38cbfc8bc3 --- /dev/null +++ b/srcpkgs/arp-scan/patches/fix-crossbuild.patch @@ -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);; diff --git a/srcpkgs/arp-scan/template b/srcpkgs/arp-scan/template new file mode 100644 index 0000000000..acc79cf51e --- /dev/null +++ b/srcpkgs/arp-scan/template @@ -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 " +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 +}