aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/odhcpd
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-11-15 15:42:47 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-11-20 21:40:03 +0100
commita28d1d5444bd4113821af73bb3e789b2ccccc950 (patch)
tree3045a2f1f3cf4f1554a84ab199dc3c30547c7835 /package/network/services/odhcpd
parent6a6dc94e0c9a0533eaa9819bf3c22128b009af56 (diff)
downloadupstream-a28d1d5444bd4113821af73bb3e789b2ccccc950.tar.gz
upstream-a28d1d5444bd4113821af73bb3e789b2ccccc950.tar.bz2
upstream-a28d1d5444bd4113821af73bb3e789b2ccccc950.zip
odhcpd: update to latest git HEAD (make dhcpv4 support optional)
fd80621 dhcpv4: make DHCPv4 support compiletime configurable cf29925 treewide: rework handling of netlink events 24cdc1b treewide: add netlink file 5dfb716 treewide: align function naming Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services/odhcpd')
-rw-r--r--package/network/services/odhcpd/Makefile37
1 files changed, 25 insertions, 12 deletions
diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile
index dc81f261a4..b5867bfd77 100644
--- a/package/network/services/odhcpd/Makefile
+++ b/package/network/services/odhcpd/Makefile
@@ -12,9 +12,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(LEDE_GIT)/project/odhcpd.git
-PKG_SOURCE_DATE:=2017-09-16
-PKG_SOURCE_VERSION:=f0bce9cdd0f2d0e21e0d64cb7b653521d18040e2
-PKG_MIRROR_HASH:=c008f339eca7ff24158535ed4be2319164b5f970e06f64fce18ef772358b44a8
+PKG_SOURCE_DATE:=2017-11-09
+PKG_SOURCE_VERSION:=fd80621fea5cafcdca3f7fe762fede374a66e4b2
+PKG_MIRROR_HASH:=150683aa71021b5721ca177b4d0449c3e2bbf7ee696aafde0229c81e5ce50f00
PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
PKG_LICENSE:=GPL-2.0
@@ -24,11 +24,6 @@ include $(INCLUDE_DIR)/cmake.mk
CMAKE_OPTIONS += -DUBUS=1
-ifneq ($(CONFIG_PACKAGE_odhcpd_ext_cer_id),0)
- CMAKE_OPTIONS += -DEXT_CER_ID=$(CONFIG_PACKAGE_odhcpd_ext_cer_id)
-endif
-
-
define Package/odhcpd
SECTION:=net
CATEGORY:=Network
@@ -37,12 +32,30 @@ define Package/odhcpd
endef
define Package/odhcpd/config
- config PACKAGE_odhcpd_ext_cer_id
- int "CER-ID Extension ID (0 = disabled)"
- depends on PACKAGE_odhcpd
- default 0
+menu "Configuration"
+ depends on PACKAGE_odhcpd
+
+config PACKAGE_odhcpd_ext_cer_id
+ int
+ default 0
+ prompt "CER-ID Extension ID (0 = disabled)"
+
+config PACKAGE_odhcpd_dhcpv4_support
+ bool
+ default n
+ prompt "Enable DHCPv4 server support"
+endmenu
endef
+ifneq ($(CONFIG_PACKAGE_odhcpd_ext_cer_id),0)
+ CMAKE_OPTIONS += -DEXT_CER_ID=$(CONFIG_PACKAGE_odhcpd_ext_cer_id)
+endif
+
+ifeq ($(CONFIG_PACKAGE_odhcpd_dhcpv4_support),y)
+ CMAKE_OPTIONS += -DDHCPV4_SUPPORT=1
+endif
+
+
define Package/odhcpd/description
odhcpd is a daemon for serving and relaying IP management protocols to
configure clients and downstream routers. It tries to follow the RFC 6204