diff options
author | Mislav Novakovic <mislav.novakovic@sartura.hr> | 2015-05-20 20:17:40 +0200 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2015-05-26 12:51:04 +0200 |
commit | 387b3f751b3d03720bdc74daf985c414a59ce9d1 (patch) | |
tree | b24dd4bc29875c487a635de279249d1e70e14307 /net | |
parent | 235168192d8d3c6cf2c6db33e6243015a8ab8dc3 (diff) |
netdiscover: add package
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
Diffstat (limited to 'net')
-rw-r--r-- | net/netdiscover/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net/netdiscover/Makefile b/net/netdiscover/Makefile new file mode 100644 index 000000000..8aa63fdee --- /dev/null +++ b/net/netdiscover/Makefile @@ -0,0 +1,41 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=netdiscover +PKG_VERSION:=0.3-pre-beta7 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-LINUXONLY.tar.gz +PKG_SOURCE_URL:=http://nixgeneration.com/~jaime/netdiscover/releases/ +PKG_MD5SUM:=8780e66d00496e933b4064cfe9ae61da +PKG_MAINTAINER:=Mislav Novakovic <mislav.novakovic@sartura.hr> + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/netdiscover + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libpcap +libnet-1.2.x +libpthread + TITLE:=An active/passive address reconnaissance tool + URL:=http://nixgeneration.com/~jaime/netdiscover/ +endef + +CONFIGURE_VARS+= \ + CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libnet-1.2.x/lib" \ + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libnet-1.2.x/lib" + +define Package/netdiscover/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/netdiscover $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,netdiscover)) |