summaryrefslogtreecommitdiff
path: root/package/network/ipv6/ipv6-support/Makefile
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2012-11-29 20:14:28 +0000
committerSteven Barth <cyrus@openwrt.org>2012-11-29 20:14:28 +0000
commita4edea5ef3b6c19179f3232e3b8d2ed5a41bd163 (patch)
treeb99a769a9da7ec44dcb1307560f903b5e28263e7 /package/network/ipv6/ipv6-support/Makefile
parente6e6e0d15246d930780ce7e95f214871a2568dbe (diff)
downloadmtk-20170518-a4edea5ef3b6c19179f3232e3b8d2ed5a41bd163.zip
mtk-20170518-a4edea5ef3b6c19179f3232e3b8d2ed5a41bd163.tar.gz
mtk-20170518-a4edea5ef3b6c19179f3232e3b8d2ed5a41bd163.tar.bz2
ipv6-support: Add new IPv6-support meta-package
SVN-Revision: 34422
Diffstat (limited to 'package/network/ipv6/ipv6-support/Makefile')
-rw-r--r--package/network/ipv6/ipv6-support/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/package/network/ipv6/ipv6-support/Makefile b/package/network/ipv6/ipv6-support/Makefile
new file mode 100644
index 0000000..8397bc4
--- /dev/null
+++ b/package/network/ipv6/ipv6-support/Makefile
@@ -0,0 +1,46 @@
+#
+# Copyright (C) 2010-2012 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:=ipv6-support
+PKG_VERSION:=2012-11-29
+PKG_RELEASE:=1
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/ipv6-support
+ SECTION:=ipv6
+ CATEGORY:=IPv6
+ DEPENDS:=+kmod-ipv6 +6relayd +odhcp6c +6distributed +ip6tables +ubus
+ TITLE:=Basic IPv6-support for Customer Edge Routers
+ MAINTAINER:=Steven Barth <steven@midlink.org>
+ PKGARCH:=all
+endef
+
+define Package/ipv6-support/description
+This package provides basic IPv6 support including Router Discovery,
+DHCPv6 (client & server), prefix delegation and distribution.
+endef
+
+define Build/Compile
+endef
+
+define Build/Configure
+endef
+
+define Package/ipv6-support/install
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
+ $(INSTALL_DATA) ./files/ipv6.hotplug $(1)/etc/hotplug.d/iface/20-ipv6
+ $(INSTALL_DIR) $(1)/lib/ipv6
+ $(INSTALL_DATA) ./files/support.sh $(1)/lib/ipv6/support.sh
+ $(INSTALL_BIN) ./files/dhcpv6.sh $(1)/lib/ipv6/dhcpv6.sh
+ $(INSTALL_DIR) $(1)/etc/config
+ $(INSTALL_DATA) ./files/network6.config $(1)/etc/config/network6
+endef
+
+$(eval $(call BuildPackage,ipv6-support))