From 41ff8a50b218eb54906f6e1788eb2def3faba356 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Tue, 29 Oct 2019 09:45:53 +0300 Subject: [PATCH] arp-scan: move MAC databases to separate package Signed-off-by: Andrei Belov --- net/arp-scan/Makefile | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/net/arp-scan/Makefile b/net/arp-scan/Makefile index db9df1f99..5526c5645 100644 --- a/net/arp-scan/Makefile +++ b/net/arp-scan/Makefile @@ -25,13 +25,17 @@ PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk -define Package/arp-scan +define Package/arp-scan/default + SUBMENU:=arp-scan SECTION:=net CATEGORY:=Network + URL:=https://github.com/royhills/arp-scan +endef + +define Package/arp-scan +$(call Package/arp-scan/default) TITLE:=ARP scanner DEPENDS:=+libpcap - URL:=https://github.com/royhills/arp-scan - PKG_MAINTAINER:=Sergey Urushkin endef define Package/arp-scan/description @@ -43,4 +47,36 @@ define Package/arp-scan/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/arp-scan $(1)/usr/bin/ endef +define Package/arp-scan/postinst +cat <