committed by
Michael Aldridge
parent
f55dee4f91
commit
bb9a46fe05
12
srcpkgs/arp-scan/patches/fix-crossbuild.patch
Normal file
12
srcpkgs/arp-scan/patches/fix-crossbuild.patch
Normal 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
17
srcpkgs/arp-scan/template
Normal 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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user