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: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
742f8efa08
commit
039cd77e64
|
@ -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
package/odhcploc/Config.in
Normal file
8
package/odhcploc/Config.in
Normal file
|
@ -0,0 +1,8 @@
|
|||
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
package/odhcploc/odhcploc.mk
Normal file
20
package/odhcploc/odhcploc.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
################################################################################
|
||||
#
|
||||
# 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))
|
Loading…
Reference in a new issue