Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a74c850e6f2790445516d70307105850f1fad10e

commit a74c850e6f2790445516d70307105850f1fad10e
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Mon Mar 21 23:24:45 2011 +0100

redirfs-0.10-6-i686

- bin, it was only a dependency for dazuko

diff --git a/source/apps-extra/redirfs/FrugalBuild 
b/source/apps-extra/redirfs/FrugalBuild
deleted file mode 100644
index 61b1d7c..0000000
--- a/source/apps-extra/redirfs/FrugalBuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Compiling Time: 0.04 SBU
-# Maintainer: Miklos Vajna <vmik...@frugalware.org>
-
-pkgname=redirfs
-pkgver=0.10
-realver=${pkgver/pre/-pre}
-pkgrel=6
-pkgdesc="Redirecting FileSystem"
-url="http://www.redirfs.org/tiki-index.php";
-_F_kernelmod_scriptlet=$pkgname.install
-Finclude kernel-module
-groups=('apps-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump 
http://www.redirfs.org/tiki-index.php?page=redirfs_download|grep -v pre 
|Flasttar"
-source=(http://www.redirfs.org/packages/$pkgname-$realver.tar.gz \
-       kernel-2.6.36.patch)
-sha1sums=('48fd1f36607f85560f4ff21cd0291d1c4f805364' \
-          '1b0a774f7a5cfaec43d5d004d113fc92798dffdd')
-
-build()
-{
-       Fcd $pkgname-$realver
-       Fpatchall
-       # no Fcheckkernel, crosscompilation verified
-       make -C /lib/modules/$_F_kernelmod_uname/build M=`pwd` modules || 
return 1
-       Ffilerel /lib/modules/$_F_kernelmod_uname/extra/$pkgname.ko
-       Fbuild_kernelmod_scriptlet
-}
diff --git a/source/apps-extra/redirfs/kernel-2.6.36.patch 
b/source/apps-extra/redirfs/kernel-2.6.36.patch
deleted file mode 100644
index 1f1cd4c..0000000
--- a/source/apps-extra/redirfs/kernel-2.6.36.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-diff --git a/rfs_inode.c b/rfs_inode.c
-index f6100ea..bd8890f 100644
---- a/rfs_inode.c
-+++ b/rfs_inode.c
-@@ -734,6 +734,7 @@ static int rfs_setattr_default(struct dentry *dentry, 
struct iattr *iattr)
- {
-       struct inode *inode = dentry->d_inode;
-       int rv;
-+      unsigned int ia_valid = iattr->ia_valid;
-
-       rv = inode_change_ok(inode, iattr);
-       if (rv)
-@@ -745,7 +746,16 @@ static int rfs_setattr_default(struct dentry *dentry, 
struct iattr *iattr)
-               return rfs_dq_transfer(inode, iattr) ? -EDQUOT : 0;
- #endif
-
--      return inode_setattr(inode, iattr);
-+      if (ia_valid & ATTR_SIZE &&
-+                      iattr->ia_size != i_size_read(inode)) {
-+              int error;
-+              error = vmtruncate(inode, iattr->ia_size);
-+              if (error)
-+                      return error;
-+      }
-+      setattr_copy(inode, iattr);
-+      mark_inode_dirty(inode);
-+      return 0;
- }
-
- static int rfs_setattr(struct dentry *dentry, struct iattr *iattr)
---- redirfs-0.10/rfs.h.orig    2010-10-25 23:47:25.388000451 +0200
-+++ redirfs-0.10/rfs.h 2010-10-25 23:47:37.722000451 +0200
-@@ -29,6 +29,7 @@
- #include <linux/sched.h>
- #include <linux/quotaops.h>
- #include <linux/slab.h>
-+#include <linux/mm.h>
- #include "redirfs.h"
-
- #define RFS_ADD_OP(ops_new, op) \
diff --git a/source/apps-extra/redirfs/redirfs.install 
b/source/apps-extra/redirfs/redirfs.install
deleted file mode 100644
index 8162fbb..0000000
--- a/source/apps-extra/redirfs/redirfs.install
+++ /dev/null
@@ -1,38 +0,0 @@
-post_install()
-{
-       if ! grep -q  redirfs /etc/sysconfig/modules; then
-               echo -n "adding redirfs to /etc/sysconfig/modules..."
-               echo redirfs >> /etc/sysconfig/modules
-               echo " done."
-        fi
-       depmod -a $_F_kernelmod_uname
-       if lsmod|grep -q redirfs; then
-               rmmod redirfs
-       fi
-       echo -n "loading redirfs..."
-       modprobe redirfs
-       echo " done."
-}
-
-post_upgrade()
-{
-       post_install
-}
-
-pre_remove()
-{
-       if grep -q  redirfs /etc/sysconfig/modules; then
-               echo -n "removing redirfs from /etc/sysconfig/modules..."
-               sed -i '/^redirfs/d' /etc/sysconfig/modules
-               echo " done."
-        fi
-       if lsmod|grep -q redirfs; then
-               echo -n "unloading redirfs..."
-               rmmod redirfs
-               echo " done."
-       fi
-}
-
-op=$1
-shift
-$op $*
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to