summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-20 15:01:06 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-10-20 15:01:06 +0000
commit032074b799fe8ca52622db2a298e505fbac9a239 (patch)
treedec1ecff302a74f447bcca46f0d0dcfbebbb4a20 /package
parent0f5bb7640c056f27796eb5428770113073742b17 (diff)
base-files: move network related scripts to a separate package to make the transition to netifd easier
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28495 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/base-files-network/Makefile44
-rw-r--r--package/base-files-network/files/etc/hotplug.d/iface/00-netstate (renamed from package/base-files/files/etc/hotplug.d/iface/00-netstate)0
-rw-r--r--package/base-files-network/files/etc/hotplug.d/iface/10-routes (renamed from package/base-files/files/etc/hotplug.d/iface/10-routes)0
-rw-r--r--package/base-files-network/files/etc/hotplug.d/net/10-net (renamed from package/base-files/files/etc/hotplug.d/net/10-net)0
-rwxr-xr-xpackage/base-files-network/files/etc/init.d/network (renamed from package/base-files/files/etc/init.d/network)0
-rwxr-xr-xpackage/base-files-network/files/lib/network/config.sh (renamed from package/base-files/files/lib/network/config.sh)0
-rwxr-xr-xpackage/base-files-network/files/sbin/ifdown (renamed from package/base-files/files/sbin/ifdown)0
-rwxr-xr-xpackage/base-files-network/files/sbin/ifup (renamed from package/base-files/files/sbin/ifup)0
-rwxr-xr-xpackage/base-files-network/files/usr/share/udhcpc/default.script (renamed from package/base-files/files/usr/share/udhcpc/default.script)0
-rw-r--r--package/base-files/Makefile1
10 files changed, 45 insertions, 0 deletions
diff --git a/package/base-files-network/Makefile b/package/base-files-network/Makefile
new file mode 100644
index 000000000..0a74196bc
--- /dev/null
+++ b/package/base-files-network/Makefile
@@ -0,0 +1,44 @@
+#
+# Copyright (C) 2007-2011 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+
+include $(TOPDIR)/rules.mk
+include $(INCLUDE_DIR)/kernel.mk
+
+PKG_NAME:=base-files-network
+PKG_RELEASE:=1
+
+PKG_BUILD_DEPENDS:=opkg/host
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/base-files-network
+ SECTION:=base
+ CATEGORY:=Base system
+ TITLE:=Network scripts for the OpenWrt base system
+ URL:=http://openwrt.org/
+ VERSION:=$(PKG_RELEASE)
+endef
+
+define Package/base-files-network/description
+ This package contains the network system scripts for OpenWrt.
+endef
+
+define Build/Prepare
+ mkdir -p $(PKG_BUILD_DIR)
+endef
+
+define Build/Compile
+
+endef
+
+define Package/base-files-network/install
+ $(CP) ./files/* $(1)/
+endef
+
+
+$(eval $(call BuildPackage,base-files-network))
+
diff --git a/package/base-files/files/etc/hotplug.d/iface/00-netstate b/package/base-files-network/files/etc/hotplug.d/iface/00-netstate
index 37b1e934e..37b1e934e 100644
--- a/package/base-files/files/etc/hotplug.d/iface/00-netstate
+++ b/package/base-files-network/files/etc/hotplug.d/iface/00-netstate
diff --git a/package/base-files/files/etc/hotplug.d/iface/10-routes b/package/base-files-network/files/etc/hotplug.d/iface/10-routes
index d57a5b3c7..d57a5b3c7 100644
--- a/package/base-files/files/etc/hotplug.d/iface/10-routes
+++ b/package/base-files-network/files/etc/hotplug.d/iface/10-routes
diff --git a/package/base-files/files/etc/hotplug.d/net/10-net b/package/base-files-network/files/etc/hotplug.d/net/10-net
index 013ece39c..013ece39c 100644
--- a/package/base-files/files/etc/hotplug.d/net/10-net
+++ b/package/base-files-network/files/etc/hotplug.d/net/10-net
diff --git a/package/base-files/files/etc/init.d/network b/package/base-files-network/files/etc/init.d/network
index fc512216f..fc512216f 100755
--- a/package/base-files/files/etc/init.d/network
+++ b/package/base-files-network/files/etc/init.d/network
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files-network/files/lib/network/config.sh
index 29d021af9..29d021af9 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files-network/files/lib/network/config.sh
diff --git a/package/base-files/files/sbin/ifdown b/package/base-files-network/files/sbin/ifdown
index 1455a9de7..1455a9de7 100755
--- a/package/base-files/files/sbin/ifdown
+++ b/package/base-files-network/files/sbin/ifdown
diff --git a/package/base-files/files/sbin/ifup b/package/base-files-network/files/sbin/ifup
index 5f8d80dc2..5f8d80dc2 100755
--- a/package/base-files/files/sbin/ifup
+++ b/package/base-files-network/files/sbin/ifup
diff --git a/package/base-files/files/usr/share/udhcpc/default.script b/package/base-files-network/files/usr/share/udhcpc/default.script
index 8dbff4747..8dbff4747 100755
--- a/package/base-files/files/usr/share/udhcpc/default.script
+++ b/package/base-files-network/files/usr/share/udhcpc/default.script
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 6d494e06d..0f823beee 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -34,6 +34,7 @@ endif
define Package/base-files
SECTION:=base
CATEGORY:=Base system
+ DEPENDS:=+base-files-network
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)