[Buildroot] [git commit branch/next] package/arp-scan: bump to version 1.10.0
Peter Korsgaard
peter at korsgaard.com
Mon Feb 20 20:56:33 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=1975c531764828fbdaff673e4cf1f25ea009aa2c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
- Use official tarball and so drop autoreconf
- libcap is an optional dependency since
https://github.com/royhills/arp-scan/commit/923f123a281139f1ec3daceb1db4bc7317ec6978
https://github.com/royhills/arp-scan/releases/tag/1.10.0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/arp-scan/arp-scan.hash | 2 +-
package/arp-scan/arp-scan.mk | 12 +++++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/package/arp-scan/arp-scan.hash b/package/arp-scan/arp-scan.hash
index b18c6ceb38..3a2977f906 100644
--- a/package/arp-scan/arp-scan.hash
+++ b/package/arp-scan/arp-scan.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 b9b75ceaef6348f5951b06c773ec7a243a9e780e160eafebc369f9c27f6a7d3f arp-scan-1.9.8.tar.gz
+sha256 a078fe8711ecbb8b99121c3d8be26ae7e7f339f11010ef61318be4f33394d012 arp-scan-1.10.0.tar.gz
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING
diff --git a/package/arp-scan/arp-scan.mk b/package/arp-scan/arp-scan.mk
index 73d1b99bc7..89644be9d3 100644
--- a/package/arp-scan/arp-scan.mk
+++ b/package/arp-scan/arp-scan.mk
@@ -4,12 +4,11 @@
#
################################################################################
-ARP_SCAN_VERSION = 1.9.8
-ARP_SCAN_SITE = $(call github,royhills,arp-scan,$(ARP_SCAN_VERSION))
+ARP_SCAN_VERSION = 1.10.0
+ARP_SCAN_SITE = https://github.com/royhills/arp-scan/releases/download/$(ARP_SCAN_VERSION)
ARP_SCAN_LICENSE = GPL-3.0+
ARP_SCAN_LICENSE_FILES = COPYING
ARP_SCAN_DEPENDENCIES = libpcap
-ARP_SCAN_AUTORECONF = YES
ifeq ($(BR2_STATIC_LIBS),y)
ARP_SCAN_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`"
@@ -17,4 +16,11 @@ endif
ARP_SCAN_CONF_ENV = pgac_cv_snprintf_long_long_int_format='%lld'
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+ARP_SCAN_DEPENDENCIES += libcap
+ARP_SCAN_CONF_OPTS += --with-libcap
+else
+ARP_SCAN_CONF_OPTS += --without-libcap
+endif
+
$(eval $(autotools-package))
More information about the buildroot
mailing list