isc-dhcp: add dynamic DNS as meta package
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
parent
004abfec75
commit
13f5b57f21
1 changed files with 36 additions and 3 deletions
|
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
|
||||||
PKG_NAME:=isc-dhcp
|
PKG_NAME:=isc-dhcp
|
||||||
UPSTREAM_NAME:=dhcp
|
UPSTREAM_NAME:=dhcp
|
||||||
PKG_VERSION:=4.4.1
|
PKG_VERSION:=4.4.1
|
||||||
PKG_RELEASE:=16
|
PKG_RELEASE:=17
|
||||||
|
|
||||||
PKG_LICENSE:=BSD-3-Clause
|
PKG_LICENSE:=BSD-3-Clause
|
||||||
PKG_LICENSE_FILES:=LICENSE
|
PKG_LICENSE_FILES:=LICENSE
|
||||||
|
@ -109,14 +109,12 @@ define Package/isc-dhcp-server-ipv4
|
||||||
$(call Package/isc-dhcp/Default)
|
$(call Package/isc-dhcp/Default)
|
||||||
TITLE+= server (without IPv6)
|
TITLE+= server (without IPv6)
|
||||||
VARIANT:=ipv4
|
VARIANT:=ipv4
|
||||||
DEPENDS+=bind-server bind-client
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/isc-dhcp-server-ipv6
|
define Package/isc-dhcp-server-ipv6
|
||||||
$(call Package/isc-dhcp/Default)
|
$(call Package/isc-dhcp/Default)
|
||||||
TITLE+= server (with IPv6)
|
TITLE+= server (with IPv6)
|
||||||
VARIANT:=ipv6
|
VARIANT:=ipv6
|
||||||
DEPENDS+=bind-server bind-client
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/isc-dhcp-server/description
|
define Package/isc-dhcp-server/description
|
||||||
|
@ -134,6 +132,35 @@ $(call Package/isc-dhcp-server/description)
|
||||||
This package is compiled with IPv4 and IPv6 support.
|
This package is compiled with IPv4 and IPv6 support.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/isc-dhcp-dyndns-ipv4
|
||||||
|
$(call Package/isc-dhcp/Default)
|
||||||
|
TITLE+= server dynamic DNS dependencies (meta)
|
||||||
|
DEPENDS+=isc-dhcp-server-ipv4 +bind-server +bind-client
|
||||||
|
VARIANT:=ipv4
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/isc-dhcp-dyndns-ipv6
|
||||||
|
$(call Package/isc-dhcp/Default)
|
||||||
|
TITLE+= server dynamic DNS dependencies (meta)
|
||||||
|
DEPENDS+=isc-dhcp-server-ipv6 +bind-server +bind-client
|
||||||
|
VARIANT:=ipv6
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/isc-dhcp-dyndns/description
|
||||||
|
implements the Dynamic Host Configuration Protocol (DHCP) and the Internet
|
||||||
|
Bootstrap Protocol (BOOTP).
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/isc-dhcp-dyndns-ipv4/description
|
||||||
|
$(call Package/isc-dhcp-dyndns/description)
|
||||||
|
This package is compiled with IPv4 support only.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/isc-dhcp-dyndns-ipv6/description
|
||||||
|
$(call Package/isc-dhcp-dyndns/description)
|
||||||
|
This package is compiled with IPv4 and IPv6 support.
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/isc-dhcp-omshell-ipv4
|
define Package/isc-dhcp-omshell-ipv4
|
||||||
$(call Package/isc-dhcp/Default)
|
$(call Package/isc-dhcp/Default)
|
||||||
DEPENDS:= +isc-dhcp-server-ipv4
|
DEPENDS:= +isc-dhcp-server-ipv4
|
||||||
|
@ -224,6 +251,10 @@ define Package/isc-dhcp-server-ipv6/conffiles
|
||||||
/etc/dhcpd6.conf
|
/etc/dhcpd6.conf
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/isc-dhcp-dyndns-$(BUILD_VARIANT)/install
|
||||||
|
:
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/isc-dhcp-client-$(BUILD_VARIANT)/install
|
define Package/isc-dhcp-client-$(BUILD_VARIANT)/install
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
|
$(INSTALL_DIR) $(1)/usr/sbin $(1)/etc
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dhclient $(1)/usr/sbin
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dhclient $(1)/usr/sbin
|
||||||
|
@ -248,9 +279,11 @@ endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,isc-dhcp-relay-ipv4))
|
$(eval $(call BuildPackage,isc-dhcp-relay-ipv4))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-server-ipv4))
|
$(eval $(call BuildPackage,isc-dhcp-server-ipv4))
|
||||||
|
$(eval $(call BuildPackage,isc-dhcp-dyndns-ipv4))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-client-ipv4))
|
$(eval $(call BuildPackage,isc-dhcp-client-ipv4))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-omshell-ipv4))
|
$(eval $(call BuildPackage,isc-dhcp-omshell-ipv4))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-relay-ipv6))
|
$(eval $(call BuildPackage,isc-dhcp-relay-ipv6))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-server-ipv6))
|
$(eval $(call BuildPackage,isc-dhcp-server-ipv6))
|
||||||
|
$(eval $(call BuildPackage,isc-dhcp-dyndns-ipv6))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-client-ipv6))
|
$(eval $(call BuildPackage,isc-dhcp-client-ipv6))
|
||||||
$(eval $(call BuildPackage,isc-dhcp-omshell-ipv6))
|
$(eval $(call BuildPackage,isc-dhcp-omshell-ipv6))
|
||||||
|
|
Loading…
Reference in a new issue