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
/
21 MAINTAINER
:=Andrew Byrne
<openwrt@andy.id.au
>
24 define Package
/wide-dhcpv6-client
25 $(call Package
/wide-dhcpv6
/Default
)
29 define Package
/wide-dhcpv6-client
/description
30 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
31 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
32 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
34 This package installs the client component.
37 define Package
/wide-dhcpv6-server
38 $(call Package
/wide-dhcpv6
/Default
)
42 define Package
/wide-dhcpv6-server
/description
43 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
44 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
45 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
47 This package installs the server component.
50 define Package
/wide-dhcpv6-relay
51 $(call Package
/wide-dhcpv6
/Default
)
55 define Package
/wide-dhcpv6-relay
/description
56 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
57 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
58 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
60 This package installs the relay component.
63 define Package
/wide-dhcpv6-control
64 $(call Package
/wide-dhcpv6
/Default
)
65 TITLE
+= client and server control utility
68 define Package
/wide-dhcpv6-control
/description
69 WIDE-DHCPv6 is an open-source implementation of Dynamic Host Configuration Protocol
70 for IPv6
(DHCPv6
) originally developed by the KAME project. The implementation
71 mainly conforms to the following standards
: RFC3315
,3319,3633,3646,4075,4272,etc.
73 This package installs the client and server control utility.
76 define Build
/Configure
77 $(call Build
/Configure
/Default
,--with-localdbdir
=/var
)
81 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
82 DESTDIR
="$(PKG_INSTALL_DIR)" \
86 define Package
/wide-dhcpv6-client
/conffiles
90 define Package
/wide-dhcpv6-client
/install
91 $(INSTALL_DIR
) $(1)/usr
/sbin
92 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6c
$(1)/usr
/sbin
93 $(INSTALL_DIR
) $(1)/etc
/config
94 $(INSTALL_CONF
) .
/files
/dhcp6c.conf
$(1)/etc
/config
/dhcp6c
95 $(INSTALL_DIR
) $(1)/etc
/init.d
96 $(INSTALL_BIN
) .
/files
/dhcp6c.init
$(1)/etc
/init.d
/dhcp6c
97 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
98 $(INSTALL_DATA
) .
/files
/dhcp6c.hotplug
$(1)/etc
/hotplug.d
/iface
/40-dhcp6c
99 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/dhcp6c
100 $(INSTALL_DATA
) .
/files
/dhcp6c-dnsmasq.hotplug
$(1)/etc
/hotplug.d
/dhcp6c
/10-dnsmasq
101 $(INSTALL_DATA
) .
/files
/dhcp6c-radvd.hotplug
$(1)/etc
/hotplug.d
/dhcp6c
/20-radvd
102 $(INSTALL_DIR
) $(1)/usr
/bin
103 $(INSTALL_BIN
) .
/files
/dhcp6c-state
$(1)/usr
/bin
/dhcp6c-state
106 define Package
/wide-dhcpv6-server
/conffiles
110 define Package
/wide-dhcpv6-server
/install
111 $(INSTALL_DIR
) $(1)/usr
/sbin
112 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6s
$(1)/usr
/sbin
113 $(INSTALL_DIR
) $(1)/etc
114 $(INSTALL_CONF
) $(PKG_BUILD_DIR
)/dhcp6s.conf.sample
$(1)/etc
115 $(INSTALL_DIR
) $(1)/etc
/config
116 $(INSTALL_CONF
) .
/files
/dhcp6s.conf
$(1)/etc
/config
/dhcp6s
117 $(INSTALL_DIR
) $(1)/etc
/init.d
118 $(INSTALL_BIN
) .
/files
/dhcp6s.init
$(1)/etc
/init.d
/dhcp6s
119 $(INSTALL_DIR
) $(1)/etc
/hotplug.d
/iface
120 $(INSTALL_DATA
) .
/files
/dhcp6s.hotplug
$(1)/etc
/hotplug.d
/iface
/50-dhcp6s
123 define Package
/wide-dhcpv6-relay
/install
124 $(INSTALL_DIR
) $(1)/usr
/sbin
125 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6relay
$(1)/usr
/sbin
128 define Package
/wide-dhcpv6-control
/install
129 $(INSTALL_DIR
) $(1)/usr
/sbin
130 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/dhcp6ctl
$(1)/usr
/sbin
133 $(eval
$(call BuildPackage
,wide-dhcpv6-client
))
134 $(eval
$(call BuildPackage
,wide-dhcpv6-server
))
135 $(eval
$(call BuildPackage
,wide-dhcpv6-relay
))
136 $(eval
$(call BuildPackage
,wide-dhcpv6-control
))