arp-whisper: do not lock deps

The version specified in Cargo.lock is too old to build.

Trim whitespaces while at it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2025-09-06 16:35:40 +08:00
committed by Tianling Shen
parent a5c3fd1fee
commit 6f6ad3fe1c

View File

@@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=arp-whisper PKG_NAME:=arp-whisper
PKG_VERSION:=0.1.2 PKG_VERSION:=0.1.2
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/FacundoAcevedo/arp-whisper/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/FacundoAcevedo/arp-whisper/tar.gz/v$(PKG_VERSION)?
@@ -19,6 +19,8 @@ PKG_LICENSE_FILES:=LICENCE
PKG_BUILD_DEPENDS:=rust/host PKG_BUILD_DEPENDS:=rust/host
PKG_BUILD_PARALLEL:=1 PKG_BUILD_PARALLEL:=1
RUST_PKG_LOCKED:=0
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../../lang/rust/rust-package.mk include ../../lang/rust/rust-package.mk
@@ -26,13 +28,13 @@ define Package/arp-whisper
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=ARP responses based on MAC-IP pairs TITLE:=ARP responses based on MAC-IP pairs
DEPENDS:=$(RUST_ARCH_DEPENDS) DEPENDS:=$(RUST_ARCH_DEPENDS)
URL:=https://github.com/FacundoAcevedo/arp-whisper URL:=https://github.com/FacundoAcevedo/arp-whisper
endef endef
define Package/arp-whisper/description define Package/arp-whisper/description
arp-whisper listens to ARP requests on a network interface and responds arp-whisper listens to ARP requests on a network interface and responds
to them based on a list of IP-MAC address mappings defined in a to them based on a list of IP-MAC address mappings defined in a
configuration file. configuration file.
endef endef