odhcploc: new package
PATCH 1/1 odhcploc: new package
Adds odhcploc, a network utility to scan for (rogue) DHCP servers.
--- package/Config.in | 1 + package/odhcploc/Config.in | 8 ++++++++ package/odhcploc/odhcploc.mk | 21 +++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 package/odhcploc/Config.in create mode 100644 package/odhcploc/odhcploc.mk
package/Config.in +1 -0
@@ -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"
package/odhcploc/Config.in new file +8 -0
@@ -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/
package/odhcploc/odhcploc.mk new file +21 -0
@@ -0,0 +1,21 @@ +################################################################################ +# +# odhcploc +# +################################################################################ + +ODHCPLOC_VERSION = 20111021 +ODHCPLOC_SOURCE = odhcploc-$(ODHCPLOC_VERSION).tar.gz +ODHCPLOC_SITE = http://downloads.sourceforge.net/project/odhcploc/$(ODHCPLOC_VERSION) +ODHCPLOC_LICENSE = ISC +ODHCPLOC_LICENSE_FILES = COPYING + +define ODHCPLOC_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all +endef + +define ODHCPLOC_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/odhcploc $(TARGET_DIR)/usr/bin/odhcploc +endef + +$(eval $(generic-package))
Signature · 1 line
1.8.3.2
PATCH 1/1 odhcploc: new package
Floris Bos <[email protected]> schreef:
Quoted 43 lines
Adds odhcploc, a network utility to scan for (rogue) DHCP servers.
Signed-off-by Floris Bos <[email protected]>---
package/Config.in | 1 + package/odhcploc/Config.in | 8 ++++++++ package/odhcploc/odhcploc.mk | 21 +++++++++++++++++++++ 3 files changed, 30 insertions(+)create mode 100644 package/odhcploc/Config.in
create mode 100644package/odhcploc/odhcploc.mkpackage/Config.in +1
-0@@ -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"package/odhcploc/Config.in new file +8
-0@@ -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/package/odhcploc/odhcploc.mk new file +0
-0
package/odhcploc/odhcploc.mk line 8
Quoted 8 lines
package/odhcploc/odhcploc.mk new file +8
-0@@ -0,0 +1,21 @@ +################################################################################ +# +# odhcploc +# +################################################################################ + +ODHCPLOC_VERSION = 20111021 +ODHCPLOC_SOURCE = odhcploc-$(ODHCPLOC_VERSION).tar.gz
.tar.gz is the default, so this line can be removed.
PATCH 1/1 odhcploc: new package
In reply to Floris BosDear Floris Bos,
Quoted 3 lines · Floris Bos
Adds odhcploc, a network utility to scan for (rogue) DHCP servers.
Signed-off-by Floris Bos <[email protected]>
Thanks, I've applied the patch to the next branch, after doing a few changes, see below.
package/odhcploc/odhcploc.mk line 8
Quoted 2 lines
package/odhcploc/odhcploc.mk new file +2
-0+ODHCPLOC_VERSION = 20111021 +ODHCPLOC_SOURCE = odhcploc-$(ODHCPLOC_VERSION).tar.gz
Line removed, after the suggestion from Thomas DS.
package/odhcploc/odhcploc.mk line 14
Quoted 6 lines
package/odhcploc/odhcploc.mk new file +6
-0+ODHCPLOC_SITE = http://downloads.sourceforge.net/project/odhcploc/$(ODHCPLOC_VERSION) +ODHCPLOC_LICENSE = ISC +ODHCPLOC_LICENSE_FILES = COPYING + +define ODHCPLOC_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) all
Used tab for indentation instead of spaces, and replaced CC=.. LD=.. by $(TARGET_CONFIGURE_OPTS).
package/odhcploc/odhcploc.mk line 18
Quoted 2 lines
package/odhcploc/odhcploc.mk new file +2
-0+define ODHCPLOC_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/odhcploc $(TARGET_DIR)/usr/bin/odhcploc
Used 'make install' instead of manually doing the installation.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 odhcploc: new package
Quoted 6 lines · Thomas Petazzoni
Quoted 3 lines · Floris Bos
Adds odhcploc, a network utility to scan for (rogue) DHCP servers.
Signed-off-by Floris Bos <[email protected]>Thanks, I've applied the patch to the next branch, after doing a few changes, see below.
Thanks for applying.
Quoted 4 lines
package/odhcploc/odhcploc.mk new file +2
-0+define ODHCPLOC_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) allUsed tab for indentation instead of spaces, and replaced CC=.. LD=.. by $(TARGET_CONFIGURE_OPTS).
Fine with me.
Had copied the CC=.. LD=.. construct from the manual though (
http://www.buildroot.org/downloads/manual/manual.html#_infrastructure_for_packages_with_specific_build_systems
)
Perhaps mention $(TARGET_CONFIGURE_OPTS) there as well?
Signature · 3 lines
Yours sincerely, Floris Bos
PATCH 1/1 odhcploc: new package
Dear Floris Bos,
Quoted 10 lines · Floris Bos
Quoted 4 lines
package/odhcploc/odhcploc.mk new file +2
-0+define ODHCPLOC_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" -C $(@D) allUsed tab for indentation instead of spaces, and replaced CC=.. LD=.. by $(TARGET_CONFIGURE_OPTS).
Fine with me.
Had copied the CC=.. LD=.. construct from the manual though (
http://www.buildroot.org/downloads/manual/manual.html#_infrastructure_for_packages_with_specific_build_systems
)
Perhaps mention $(TARGET_CONFIGURE_OPTS) there as well?
Ah, yes, indeed. Care to send a patch ? :-)
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com