Skip to content

Commit

Permalink
arp-scan-database: Relocate mac-vendor.txt to /etc/arp-scan
Browse files Browse the repository at this point in the history
arp-scan v1.10.0 relocated mac-vendor.txt to $(sysconfdir)/$(PACKAGE)
which is /etc/arp-scan. This has been causing a file not found error.

Fixes: #26014
Signed-off-by: Chris Swan <[email protected]>
  • Loading branch information
cpswan authored and feckert committed Feb 21, 2025
1 parent 65cbccf commit a56ae2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions net/arp-scan/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=arp-scan
PKG_VERSION:=1.10.0
PKG_RELEASE:=2
PKG_RELEASE:=3

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/royhills/arp-scan/tar.gz/$(PKG_VERSION)?
Expand Down Expand Up @@ -74,11 +74,13 @@ endef
define Package/arp-scan-database/install
$(INSTALL_DIR) $(1)/usr/share/arp-scan
$(INSTALL_DATA) $(PKG_BUILD_DIR)/ieee-oui.txt $(1)/usr/share/arp-scan/
$(INSTALL_DATA) $(PKG_BUILD_DIR)/mac-vendor.txt $(1)/usr/share/arp-scan/
$(INSTALL_DIR) $(1)/etc/arp-scan
$(INSTALL_DATA) $(PKG_BUILD_DIR)/mac-vendor.txt $(1)/etc/arp-scan/
endef

define Package/arp-scan-database/postrm
$(RM) -rf $(1)/usr/share/arp-scan
$(RM) -rf $(1)/etc/arp-scan
endef

$(eval $(call BuildPackage,arp-scan-database))

0 comments on commit a56ae2d

Please sign in to comment.