odhcpd: update Makefile description
authorDavid Härdeman <[email protected]>
Wed, 5 Nov 2025 09:22:56 +0000 (10:22 +0100)
committerÁlvaro Fernández Rojas <[email protected]>
Mon, 10 Nov 2025 11:58:15 +0000 (12:58 +0100)
Make it a little bit more consistant, and a bit more idiomatic.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20673
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
package/network/services/odhcpd/Makefile

index 33d27686a6840d83476a6bdc4385276eb9dbae3e..8d2ba36bbc2654b739931bcca53774356dfc1a1f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2013-2015 OpenWrt.org
+# Copyright (C) 2013-2025 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=odhcpd
-PKG_RELEASE:=4
+PKG_RELEASE:=5
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL=$(PROJECT_GIT)/project/odhcpd.git
@@ -27,7 +27,6 @@ include $(INCLUDE_DIR)/cmake.mk
 define Package/odhcpd/default
   SECTION:=net
   CATEGORY:=Network
-  TITLE:=OpenWrt DHCPv6(-PD)/RA Server & Relay
   DEPENDS:=+libjson-c +libubox +libuci +libubus +libnl-tiny
 endef
 
@@ -39,31 +38,31 @@ endef
 
 define Package/odhcpd
   $(Package/odhcpd/default)
-  TITLE += and DHCPv4 server
+  TITLE:=OpenWrt DHCPv4/DHCPv6/NDP/RA server
   VARIANT:=full
 endef
 
 define Package/odhcpd/description
  $(Package/odhcpd/default/description)
 
- This is a variant providing server services for DHCPv4, RA, stateless and
- stateful DHCPv6,  prefix delegation and can be used to relay RA, DHCPv6 and
- NDP between routed (non-bridged) interfaces in case no delegated prefixes
- are available.
+ This is a variant with support for RA, DHCPv4 and DHCPv6. It can also be used
+ to relay RA, DHCPv6 and NDP messages between routed (non-bridged) interfaces
+ in case no delegated prefixes are available.
 endef
 
 define Package/odhcpd-ipv6only
   $(Package/odhcpd/default)
+  TITLE:=OpenWrt DHCPv6/NDP/RA server (without DHCPv4)
   VARIANT:=ipv6only
-  DEPENDS+= @IPV6
+  DEPENDS+=@IPV6
 endef
 
 define Package/odhcpd-ipv6only/description
  $(Package/odhcpd/default/description)
 
- This is a variant providing server services for RA, stateless and stateful
- DHCPv6,  prefix delegation and can be used to relay RA, DHCPv6 and NDP between
routed (non-bridged) interfaces in case no delegated prefixes are available.
+ This is a variant with support for RA and DHCPv6. It can also be used to
+ relay RA, DHCPv6 and NDP messages between routed (non-bridged) interfaces
+ in case no delegated prefixes are available.
 endef
 
 CMAKE_OPTIONS += -DUBUS=1