2009-04-25 21:00:56 +00:00
|
|
|
#
|
2010-02-19 00:14:01 +00:00
|
|
|
# Copyright (C) 2009-2010 OpenWrt.org
|
2009-04-25 21:00:56 +00:00
|
|
|
#
|
|
|
|
# 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-beta6
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_RELEASE:=3
|
2009-04-25 21:00:56 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://nixgeneration.com/~jaime/netdiscover/releases/
|
|
|
|
PKG_MD5SUM:=0919227a91ecaeeb2443cff249417be2
|
|
|
|
|
2010-02-19 00:14:01 +00:00
|
|
|
PKG_FIXUP:=libtool
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2009-04-25 21:00:56 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/netdiscover
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libpcap +libnet1 +libpthread
|
|
|
|
TITLE:=An active/passive address reconnaissance tool
|
|
|
|
URL:=http://nixgeneration.com/~jaime/netdiscover/
|
2010-12-07 03:50:08 +00:00
|
|
|
MAINTAINER:=Daniel Dickinson <openwrt@cshore.neomailbox.net>
|
2009-04-25 21:00:56 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
CONFIGURE_VARS+= \
|
|
|
|
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libnet-1.1.x/include" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libnet-1.1.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))
|