openwrt-mirror/package/network/ipv6/odhcp6c/Makefile
Álvaro Fernández Rojas 2b3efc300a odhcp6c: update to Git HEAD (2025-11-24)
f98b6ec82362 all: implement RFC8910 §3 URI equality check
3484787e9a5b all: implement RFC8910 captive portal (CP) option
25a0c40580f9 dhcpv6: refactor variable names
165bcc68ef2b dhcpv6: refactor variable names
8f60e7b1833c dhcpv6: refactor variable names
319305fceeef dhcpv6: refactor variable names
dcb53c496513 dhcpv6: assign a new field for prefix exclusion length
080b64d70e73 dhcpv6: refactor variable names
66dd9b26b73a dhcpv6: refactor variable names
f038a50604ae odhcp6c: set environment script to its current location
5f63e7e47dfc github: ci: add MIPS64, PowerPC64 and RISCV64
038407eca8a4 dhcpv6: restart DHCPv6 on receipt of RA containing a new prefix
af9968c0293f dhcpv6: fix processing PIO exclusion loop variable collision
5492f09ec075 odhcp6c: apply draft-ietf-6man-slaac-renum-11 lifetime rules
38a31eb29a48 src: add fallthrough attribute
b46d79c8792c odhcp6c: properly guard attributes

cbc8ff0e62...f98b6ec823

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2025-11-30 16:46:57 +01:00

49 lines
1.2 KiB
Makefile

#
# Copyright (C) 2012-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=odhcp6c
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/odhcp6c.git
PKG_SOURCE_DATE:=2025-11-24
PKG_SOURCE_VERSION:=f98b6ec82362607a01b7421935d99f54068a80e0
PKG_MIRROR_HASH:=c9abe17fcfad0c4ff08c7c311e5ed160f97e0a03064d4140012c2ab62d3d3d1c
PKG_MAINTAINER:=Hans Dedecker <dedeckeh@gmail.com>
PKG_LICENSE:=GPL-2.0
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
CMAKE_OPTIONS += -DUBUS=1
define Package/odhcp6c
SECTION:=net
CATEGORY:=Network
TITLE:=Embedded DHCPv6-client for OpenWrt
DEPENDS:=@IPV6 +libubox +libubus
endef
define Package/odhcp6c/conffiles
/etc/odhcp6c.user
/etc/odhcp6c.user.d/
endef
define Package/odhcp6c/install
$(INSTALL_DIR) $(1)/usr/sbin/
$(INSTALL_BIN) $(PKG_BUILD_DIR)/odhcp6c $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/lib/netifd/proto
$(INSTALL_BIN) ./files/dhcpv6.sh $(1)/lib/netifd/proto/dhcpv6.sh
$(INSTALL_BIN) ./files/dhcpv6.script $(1)/lib/netifd/
$(INSTALL_DIR) $(1)/etc/odhcp6c.user.d/
$(INSTALL_CONF) ./files/odhcp6c.user $(1)/etc/
endef
$(eval $(call BuildPackage,odhcp6c))