Commit 039cd77e authored by Floris Bos's avatar Floris Bos Committed by Thomas Petazzoni
Browse files

odhcploc: new package



Adds odhcploc, a network utility to scan for (rogue) DHCP servers.

[Thomas:
- remove ODHCPLOC_SOURCE line, not needed since the value was the
  default
- use 'make install' instead of manually installing the program
- use TARGET_CONFIGURE_OPTS instead of passing just CC and LD
- use tab for indentation inside command definitions instead of spaces]

Signed-off-by: default avatarFloris Bos <bos@je-eigen-domein.nl>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 742f8efa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1031,6 +1031,7 @@ endif
	source "package/noip/Config.in"
	source "package/ntp/Config.in"
	source "package/nuttcp/Config.in"
	source "package/odhcploc/Config.in"
	source "package/olsr/Config.in"
	source "package/openntpd/Config.in"
	source "package/openobex/Config.in"
+8 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_ODHCPLOC
	bool "odhcploc"
	help
	  Open DHCP Locate (ODHCPLoc) is program to locate and
	  display active DHCP servers on a subnet.
	  Can be used to scan for rogue DHCP servers.

	  http://odhcploc.sourceforge.net/
+20 −0
Original line number Diff line number Diff line
################################################################################
#
# odhcploc
#
################################################################################

ODHCPLOC_VERSION = 20111021
ODHCPLOC_SITE = http://downloads.sourceforge.net/project/odhcploc/$(ODHCPLOC_VERSION)
ODHCPLOC_LICENSE = ISC
ODHCPLOC_LICENSE_FILES = COPYING

define ODHCPLOC_BUILD_CMDS
	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
endef

define ODHCPLOC_INSTALL_TARGET_CMDS
	$(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
endef

$(eval $(generic-package))