From 5513f6a9e911c043111a6b675e101a9e185218e0 Mon Sep 17 00:00:00 2001
From: Hamish Guthrie <hcg@openwrt.org>
Date: Thu, 28 May 2009 13:20:54 +0000
Subject: [PATCH] Move hotplug2 v0.9 to hotplug2-old

SVN-Revision: 16135
---
 package/{hotplug2 => hotplug2-old}/Makefile          | 12 ++++++------
 .../{hotplug2 => hotplug2-old}/files/hotplug2.rules  |  0
 .../patches/100-svn_update.patch                     |  0
 .../patches/110-parser_fixes.patch                   |  0
 .../patches/120-throttling.patch                     |  0
 5 files changed, 6 insertions(+), 6 deletions(-)
 rename package/{hotplug2 => hotplug2-old}/Makefile (81%)
 rename package/{hotplug2 => hotplug2-old}/files/hotplug2.rules (100%)
 rename package/{hotplug2 => hotplug2-old}/patches/100-svn_update.patch (100%)
 rename package/{hotplug2 => hotplug2-old}/patches/110-parser_fixes.patch (100%)
 rename package/{hotplug2 => hotplug2-old}/patches/120-throttling.patch (100%)

diff --git a/package/hotplug2/Makefile b/package/hotplug2-old/Makefile
similarity index 81%
rename from package/hotplug2/Makefile
rename to package/hotplug2-old/Makefile
index c46da06e0a..a344d5a909 100644
--- a/package/hotplug2/Makefile
+++ b/package/hotplug2-old/Makefile
@@ -7,17 +7,17 @@
 
 include $(TOPDIR)/rules.mk
 
-PKG_NAME:=hotplug2
+PKG_NAME:=hotplug2-old
 PKG_VERSION:=0.9
 PKG_RELEASE:=3
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE:=hotplug2-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://isteve.bofh.cz/~isteve/hotplug2
 PKG_MD5SUM:=ea2c01d027b4002e4e6b0ff266f51a51
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/hotplug2
+define Package/hotplug2-old
   SECTION:=base
   CATEGORY:=Base system
   VERSION:=0.9+r102-$(PKG_RELEASE)
@@ -25,18 +25,18 @@ define Package/hotplug2
   URL:=http://isteve.bofh.cz/~isteve/hotplug2/
 endef
 
-define Package/hotplug2/description
+define Package/hotplug2-old/description
  Hotplug2 is a trivial replacement of some of the UDev functionality
  in a tiny pack, intended for Linux early userspace: Init RAM FS and InitRD.
 endef
 
 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS) -DHAVE_RULES -I."
 
-define Package/hotplug2/install
+define Package/hotplug2-old/install
 	$(INSTALL_DIR) $(1)/etc
 	$(INSTALL_DATA) ./files/hotplug2.rules $(1)/etc/
 	$(INSTALL_DIR) $(1)/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/hotplug2 $(1)/sbin/
 endef
 
-$(eval $(call BuildPackage,hotplug2))
+$(eval $(call BuildPackage,hotplug2-old))
diff --git a/package/hotplug2/files/hotplug2.rules b/package/hotplug2-old/files/hotplug2.rules
similarity index 100%
rename from package/hotplug2/files/hotplug2.rules
rename to package/hotplug2-old/files/hotplug2.rules
diff --git a/package/hotplug2/patches/100-svn_update.patch b/package/hotplug2-old/patches/100-svn_update.patch
similarity index 100%
rename from package/hotplug2/patches/100-svn_update.patch
rename to package/hotplug2-old/patches/100-svn_update.patch
diff --git a/package/hotplug2/patches/110-parser_fixes.patch b/package/hotplug2-old/patches/110-parser_fixes.patch
similarity index 100%
rename from package/hotplug2/patches/110-parser_fixes.patch
rename to package/hotplug2-old/patches/110-parser_fixes.patch
diff --git a/package/hotplug2/patches/120-throttling.patch b/package/hotplug2-old/patches/120-throttling.patch
similarity index 100%
rename from package/hotplug2/patches/120-throttling.patch
rename to package/hotplug2-old/patches/120-throttling.patch
-- 
GitLab