summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/lufis/ChangeLog8
-rw-r--r--sys-fs/lufis/Manifest7
-rw-r--r--sys-fs/lufis/files/digest-lufis-0.31
-rw-r--r--sys-fs/lufis/files/lufis-allow-uid-and-gid-addon.patch29
-rw-r--r--sys-fs/lufis/lufis-0.3.ebuild30
5 files changed, 72 insertions, 3 deletions
diff --git a/sys-fs/lufis/ChangeLog b/sys-fs/lufis/ChangeLog
index 7aebcfaa6c35..69d10482631e 100644
--- a/sys-fs/lufis/ChangeLog
+++ b/sys-fs/lufis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/lufis
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufis/ChangeLog,v 1.4 2005/01/23 19:34:39 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufis/ChangeLog,v 1.5 2005/02/05 18:51:06 genstef Exp $
+
+*lufis-0.3 (05 Feb 2005)
+
+ 05 Feb 2005; Stefan Schweizer <genstef@gentoo.org>
+ +files/lufis-allow-uid-and-gid-addon.patch, +lufis-0.3.ebuild:
+ Version bump, added a patch from bug 75825 by me.
23 Jan 2005; <avatar@gentoo.org> :
Added to ~ppc.
diff --git a/sys-fs/lufis/Manifest b/sys-fs/lufis/Manifest
index 6c6958fa1630..a06f172793d1 100644
--- a/sys-fs/lufis/Manifest
+++ b/sys-fs/lufis/Manifest
@@ -1,5 +1,8 @@
-MD5 75b4dbe05834db477af2e460197d9f23 ChangeLog 713
+MD5 1004eb59a245f92993837ad608e41d73 lufis-0.3.ebuild 613
MD5 8b25f3ee0efb913876e6930c0d8c2d01 lufis-0.2.ebuild 741
+MD5 e217e21ddc72079107d067beefc3c17f ChangeLog 910
MD5 6e89ba8198764bfd079a0cfa18dca593 metadata.xml 264
-MD5 140fd91ee9a56aef00af8066becabbc8 files/digest-lufis-0.2 60
+MD5 ca93e303587865961a7d03af228405a6 files/lufis-allow-uid-and-gid-addon.patch 1090
MD5 72aac7b0ee66b5856972dede7083743b files/lufis-0.2-lufs.patch 6874
+MD5 140fd91ee9a56aef00af8066becabbc8 files/digest-lufis-0.2 60
+MD5 32e8343e504b38e94227ae5131565f76 files/digest-lufis-0.3 60
diff --git a/sys-fs/lufis/files/digest-lufis-0.3 b/sys-fs/lufis/files/digest-lufis-0.3
new file mode 100644
index 000000000000..008ab5606be1
--- /dev/null
+++ b/sys-fs/lufis/files/digest-lufis-0.3
@@ -0,0 +1 @@
+MD5 fd3e4eebf3967b75157bc42418326d03 lufis-0.3.tar.gz 18158
diff --git a/sys-fs/lufis/files/lufis-allow-uid-and-gid-addon.patch b/sys-fs/lufis/files/lufis-allow-uid-and-gid-addon.patch
new file mode 100644
index 000000000000..006559762b85
--- /dev/null
+++ b/sys-fs/lufis/files/lufis-allow-uid-and-gid-addon.patch
@@ -0,0 +1,29 @@
+--- lufis-0.3.orig/lufis.c 2005-02-05 18:59:56.000000000 +0100
++++ lufis-0.3/lufis.c 2005-02-05 19:00:38.000000000 +0100
+@@ -276,15 +276,21 @@ static int lu_getattr(const char *path,
+ if(res < 0)
+ return res;
+
+- /* Take uid= and gid= vars when the filesystem returns 1 */
++ // Take uid= and gid= vars when the filesystem returns 1
+ if(fattr.f_uid == (uid_t) 1) {
+- lu_opt_getint(&lu_cfg, "MOUNT", "uid", &option_uid, 0);
+- fattr.f_uid = (uid_t) option_uid;
++ if(!lu_opt_getint(&lu_cfg, "MOUNT", "uid", &option_uid, 0))
++ fattr.f_uid = (uid_t) option_uid;
++ else
++ // default to 0 (root) when no argument was supplied
++ fattr.f_uid = (uid_t) 0;
+ }
+
+ if(fattr.f_gid == (gid_t) 1) {
+- lu_opt_getint(&lu_cfg, "MOUNT", "gid", &option_gid, 0);
+- fattr.f_gid = (gid_t) option_gid;
++ if(!lu_opt_getint(&lu_cfg, "MOUNT", "gid", &option_gid, 0))
++ fattr.f_gid = (gid_t) option_gid;
++ else
++ // default to 0 (root) when no argument was supplied
++ fattr.f_gid = (gid_t) 0;
+ }
+
+ stbuf->st_mode = fattr.f_mode;
diff --git a/sys-fs/lufis/lufis-0.3.ebuild b/sys-fs/lufis/lufis-0.3.ebuild
new file mode 100644
index 000000000000..e3ec78c60ef0
--- /dev/null
+++ b/sys-fs/lufis/lufis-0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lufis/lufis-0.3.ebuild,v 1.1 2005/02/05 18:51:06 genstef Exp $
+
+inherit eutils
+
+DESCRIPTION="Wrapper to use lufs modules with fuse kernel support"
+SRC_URI="mirror://sourceforge/fuse/${P}.tar.gz"
+HOMEPAGE="http://fuse.sourceforge.net/"
+LICENSE="GPL-2"
+DEPEND="!<sys-fs/lufs-0.9.7-r3
+ >=sys-fs/fuse-1.3"
+KEYWORDS="x86 ~ppc"
+SLOT="0"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/lufis-allow-uid-and-gid-addon.patch
+}
+
+src_install() {
+ dobin lufis
+ dodoc README COPYING ChangeLog
+
+ insinto /usr/include/lufs/
+ doins fs.h
+ doins proto.h
+}