aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2006-06-17 09:43:57 +0000
committerNicolas Thill <nico@openwrt.org>2006-06-17 09:43:57 +0000
commitfaed1635d8b83ba8ffc9c7929e9bd14704ef7c9e (patch)
treef1f60fd5a3950c9e4d31ac52eba5b42707ca0930
parent94e6eb2645c4b62f0158f4e67a65933d837fcb5c (diff)
downloadmaster-187ad058-faed1635d8b83ba8ffc9c7929e9bd14704ef7c9e.tar.gz
master-187ad058-faed1635d8b83ba8ffc9c7929e9bd14704ef7c9e.tar.bz2
master-187ad058-faed1635d8b83ba8ffc9c7929e9bd14704ef7c9e.zip
move shfs from target/linux/package/ to package/.
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3970 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/shfs/Makefile (renamed from target/linux/package/shfs/Makefile)34
-rw-r--r--package/shfs/patches/101-kmod_build.patch (renamed from target/linux/package/shfs/patches/101-kmod_build.patch)0
-rw-r--r--package/shfs/patches/102-gcc4_fix.patch (renamed from target/linux/package/shfs/patches/102-gcc4_fix.patch)0
-rw-r--r--package/shfs/patches/103-dentry.patch (renamed from target/linux/package/shfs/patches/103-dentry.patch)0
-rw-r--r--target/linux/package/shfs/Config.in22
-rw-r--r--target/linux/package/shfs/ipkg/kmod-shfs.control4
6 files changed, 22 insertions, 38 deletions
diff --git a/target/linux/package/shfs/Makefile b/package/shfs/Makefile
index 4625bdb12e..dacbf8d75f 100644
--- a/target/linux/package/shfs/Makefile
+++ b/package/shfs/Makefile
@@ -1,7 +1,7 @@
# $Id$
include $(TOPDIR)/rules.mk
-include ../../rules.mk
+include $(TOPDIR)/package/kernel.mk
PKG_NAME:=shfs
PKG_VERSION:=0.35
@@ -17,12 +17,21 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk
-$(eval $(call PKG_template,KMOD_SHFS,kmod-shfs,$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(LINUX_RELEASE))))
-
-$(PKG_BUILD_DIR)/.configured:
- touch $@
-
-$(PKG_BUILD_DIR)/.built:
+define Package/kmod-shfs
+ SECTION:=drivers
+ CATEGORY:=Drivers
+ DEPENDS:=
+ TITLE:=Shell FileSystem (ShFS)
+ DESCRIPTION:=Shell FileSystem (ShFS) \\\
+ShFS is a simple and easy to use Linux kernel module which allows you to \\\
+mount remote filesystems using a plain shell (SSH) connection. When using \\\
+ShFS, you can access all remote files just like the local ones, only the \\\
+access is governed through the transport security of SSH.
+ URL:=http://shfs.sourceforge.net/
+ VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
+endef
+
+define Build/Compile
rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
@@ -36,11 +45,12 @@ $(PKG_BUILD_DIR)/.built:
KERNEL_SOURCES="$(LINUX_DIR)" \
ROOT="$(PKG_INSTALL_DIR)" \
module module-install
- touch $@
+endef
-$(IPKG_KMOD_SHFS):
- install -m0755 -d $(IDIR_KMOD_SHFS)/lib/modules/$(LINUX_VERSION)
+define Package/kmod-shfs/install
+ install -m0755 -d $(1)/lib/modules/$(LINUX_VERSION)
$(CP) $(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/shfs/shfs.$(LINUX_KMOD_SUFFIX) \
- $(IDIR_KMOD_SHFS)/lib/modules/$(LINUX_VERSION)/
- $(IPKG_BUILD) $(IDIR_KMOD_SHFS) $(PACKAGE_DIR)
+ $(1)/lib/modules/$(LINUX_VERSION)/
+endef
+$(eval $(call BuildPackage,kmod-shfs))
diff --git a/target/linux/package/shfs/patches/101-kmod_build.patch b/package/shfs/patches/101-kmod_build.patch
index 11701033f5..11701033f5 100644
--- a/target/linux/package/shfs/patches/101-kmod_build.patch
+++ b/package/shfs/patches/101-kmod_build.patch
diff --git a/target/linux/package/shfs/patches/102-gcc4_fix.patch b/package/shfs/patches/102-gcc4_fix.patch
index c4fd36629b..c4fd36629b 100644
--- a/target/linux/package/shfs/patches/102-gcc4_fix.patch
+++ b/package/shfs/patches/102-gcc4_fix.patch
diff --git a/target/linux/package/shfs/patches/103-dentry.patch b/package/shfs/patches/103-dentry.patch
index 83a406a268..83a406a268 100644
--- a/target/linux/package/shfs/patches/103-dentry.patch
+++ b/package/shfs/patches/103-dentry.patch
diff --git a/target/linux/package/shfs/Config.in b/target/linux/package/shfs/Config.in
deleted file mode 100644
index 71cc327073..0000000000
--- a/target/linux/package/shfs/Config.in
+++ /dev/null
@@ -1,22 +0,0 @@
-config PACKAGE_KMOD_SHFS
- prompt "kmod-shfs......................... Shell FileSystem kernel module (ShFS) kernel module"
- tristate
- default m if DEVEL
- help
- ShFS is a simple and easy to use Linux kernel module which
- allows you to mount remote filesystems using a plain shell
- (SSH) connection. When using ShFS, you can access all remote
- files just like the local ones, only the access is governed
- through the transport security of SSH.
-
- ShFS supports some nice features:
-
- * file cache for access speedup
- * perl and shell code for the remote (server) side
- * could preserve uid/gid (root connection)
- * number of remote host platforms (Linux, Solaris, Cygwin, ...)
- * Linux kernel 2.4.10+ and 2.6
- * arbitrary command used for connection (instead of SSH)
- * persistent connection (reconnect after SSH dies)
-
- http://shfs.sourceforge.net/
diff --git a/target/linux/package/shfs/ipkg/kmod-shfs.control b/target/linux/package/shfs/ipkg/kmod-shfs.control
deleted file mode 100644
index 240efe60be..0000000000
--- a/target/linux/package/shfs/ipkg/kmod-shfs.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: kmod-shfs
-Priority: optional
-Section: sys
-Description: SHell FileSystem Linux kernel module