2 include $(TOPDIR
)/rules.mk
8 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
9 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
10 PKG_MD5SUM
:=1011e165850fe40d3e332dad2bfd30b3
12 include $(INCLUDE_DIR
)/package.mk
14 define Package
/wide-dhcpv6
/Default
20 URL
:=https
://sourceforge.net
/projects
/wide-dhcpv6
/
23 define Package
/wide-dhcpv6-client
24 $(call Package
/wide-dhcpv6
/Default
)
28 define Package
/wide-dhcpv6-client
/description
29 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
30 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
31 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
33 This package installs the client component.
36 define Package
/wide-dhcpv6-server
37 $(call Package
/wide-dhcpv6
/Default
)
41 define Package
/wide-dhcpv6-server
/description
42 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
43 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
44 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
46 This package installs the server component.
49 define Package
/wide-dhcpv6-relay
50 $(call Package
/wide-dhcpv6
/Default
)
54 define Package
/wide-dhcpv6-relay
/description
55 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
56 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
57 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
59 This package installs the relay component.
62 define Package
/wide-dhcpv6-control
63 $(call Package
/wide-dhcpv6
/Default
)
64 TITLE
+= client and server control utility
67 define Package
/wide-dhcpv6-control
/description
68 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
69 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
70 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
72 This package installs the client and server control utility.
75 define Build
/Configure
76 $(call Build
/Configure
/Default
,--with-localdbdir
=/var
)
80 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
81 DESTDIR
="$(PKG_INSTALL_DIR)" \
85 define Package
/wide-dhcpv6-client
/conffiles
89 define Package
/wide-dhcpv6-client
/install
90 $(INSTALL_DIR
) $(1)/usr
/sbin
91 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6c
$(1)/usr
/sbin
92 $(INSTALL_DIR
) $(1)/etc
/config
93 $(INSTALL_CONF
) .
/files
/dhcp6c.conf
$(1)/etc
/config
/dhcp6c
94 $(INSTALL_DIR
) $(1)/etc
/init.d
95 $(INSTALL_BIN
) .
/files
/dhcp6c.init
$(1)/etc
/init.d
/dhcp6c
96 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
97 $(INSTALL_DATA
) .
/files
/dhcp6c.hotplug
$(1)/etc
/hotplug.d
/iface
/40-dhcp6c
98 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/dhcp6c
99 $(INSTALL_DATA
) .
/files
/dhcp6c-dnsmasq.hotplug
$(1)/etc
/hotplug.d
/dhcp6c
/10-dnsmasq
100 $(INSTALL_DATA
) .
/files
/dhcp6c-radvd.hotplug
$(1)/etc
/hotplug.d
/dhcp6c
/20-radvd
101 $(INSTALL_DIR
) $(1)/usr
/bin
102 $(INSTALL_BIN
) .
/files
/dhcp6c-state
$(1)/usr
/bin
/dhcp6c-state
105 define Package
/wide-dhcpv6-server
/conffiles
109 define Package
/wide-dhcpv6-server
/install
110 $(INSTALL_DIR
) $(1)/usr
/sbin
111 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6s
$(1)/usr
/sbin
112 $(INSTALL_DIR
) $(1)/etc
113 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/dhcp6s.conf.sample
$(1)/etc
114 $(INSTALL_DIR
) $(1)/etc
/config
115 $(INSTALL_CONF
) .
/files
/dhcp6s.conf
$(1)/etc
/config
/dhcp6s
116 $(INSTALL_DIR
) $(1)/etc
/init.d
117 $(INSTALL_BIN
) .
/files
/dhcp6s.init
$(1)/etc
/init.d
/dhcp6s
118 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
119 $(INSTALL_DATA
) .
/files
/dhcp6s.hotplug
$(1)/etc
/hotplug.d
/iface
/50-dhcp6s
122 define Package
/wide-dhcpv6-relay
/install
123 $(INSTALL_DIR
) $(1)/usr
/sbin
124 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6relay
$(1)/usr
/sbin
127 define Package
/wide-dhcpv6-control
/install
128 $(INSTALL_DIR
) $(1)/usr
/sbin
129 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6ctl
$(1)/usr
/sbin
132 $(eval
$(call BuildPackage
,wide-dhcpv6-client
))
133 $(eval
$(call BuildPackage
,wide-dhcpv6-server
))
134 $(eval
$(call BuildPackage
,wide-dhcpv6-relay
))
135 $(eval
$(call BuildPackage
,wide-dhcpv6-control
))