odhcpd: update to latest git HEAD (FS#2160)
[openwrt/openwrt.git] / package / network / services / odhcpd / Makefile
index 3c16df7..be54a41 100644 (file)
@@ -8,19 +8,18 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcpd
-PKG_RELEASE:=1
-PKG_VERSION:=1.9
+PKG_RELEASE:=3
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=$(PROJECT_GIT)/project/odhcpd.git
-PKG_SOURCE_DATE:=2018-07-09
-PKG_SOURCE_VERSION:=345bba0889ae9deeac4ca805ebc3f0661b4b3988
-PKG_MIRROR_HASH:=53b4ecfaba0e2a56b7332de844bb4ae44c0f045f413f7ac3f5f66e9f03ca8c44
+PKG_SOURCE_DATE:=2019-03-21
+PKG_SOURCE_VERSION:=6d23385242c918b0e00f5e21ed41dd655905752b
+PKG_MIRROR_HASH:=56e8fe3a3ec02371834c2b3af2c5b9e4106750b12b879b8334a95a40cfc4c5f8
 
 PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
 PKG_LICENSE:=GPL-2.0
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
 PKG_INSTALL:=1
 PKG_CONFIG_DEPENDS:=CONFIG_PACKAGE_odhcpd_$(BUILD_VARIANT)_ext_cer_id
@@ -72,6 +71,7 @@ endef
 define Package/odhcpd-ipv6only
   $(call Package/odhcpd/default)
   VARIANT:=ipv6only
+  DEPENDS+= @IPV6
 endef
 
 Package/odhcpd-ipv6only/config=$(call Package/odhcpd/default/config,odhcpd-ipv6only,ipv6only)