|
From: <ar...@us...> - 2010-02-01 21:10:40
|
Revision: 165
http://samygo.svn.sourceforge.net/samygo/?rev=165&view=rev
Author: arris69
Date: 2010-02-01 21:10:28 +0000 (Mon, 01 Feb 2010)
Log Message:
-----------
fuse (used in SamyGO-Extensions) and some untested stiff (gmailfs_0.6.bb sshfs-fuse_1.3.bb)
Added Paths:
-----------
oe/branches/branch-0-0-1/oe/packages/fuse/
oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/
oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/arm_cache_page_bug_fuse.patch
oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse.patch
oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse_selp.patch
oe/branches/branch-0-0-1/oe/packages/fuse/fuse-module_2.7.3.bb
oe/branches/branch-0-0-1/oe/packages/fuse/fuse_2.7.3.bb
oe/branches/branch-0-0-1/oe/packages/fuse/gmailfs_0.6.bb
oe/branches/branch-0-0-1/oe/packages/fuse/sshfs-fuse_1.3.bb
Added: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/arm_cache_page_bug_fuse.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/arm_cache_page_bug_fuse.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/arm_cache_page_bug_fuse.patch 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,49 @@
+diff -NurB fuse-2.7.3.orig/kernel/fuse_i.h fuse-2.7.3/kernel/fuse_i.h
+--- fuse-2.7.3.orig/kernel/fuse_i.h 2008-02-19 20:51:24.000000000 +0100
++++ fuse-2.7.3/kernel/fuse_i.h 2009-09-28 21:47:50.000000000 +0200
+@@ -52,9 +52,6 @@
+ # define KERNEL_2_6_24_PLUS
+ #endif
+
+-#if defined(__arm__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
+-#define DCACHE_BUG
+-#endif
+ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,15)
+ #define kmem_cache kmem_cache_s
+ #endif
+diff -NurB fuse-2.7.3.orig/lib/mount_util.c fuse-2.7.3/lib/mount_util.c
+--- fuse-2.7.3.orig/lib/mount_util.c 2007-12-12 15:25:40.000000000 +0100
++++ fuse-2.7.3/lib/mount_util.c 2009-09-29 00:00:20.000000000 +0200
+@@ -49,7 +49,7 @@
+ return -1;
+ }
+ if (res == 0) {
+- char templ[] = "/tmp/fusermountXXXXXX";
++ char templ[] = "/dtv/fusermountXXXXXX";
+ char *tmp;
+
+ setuid(geteuid());
+@@ -71,9 +71,9 @@
+ exit(1);
+ }
+ rmdir(tmp);
+- execl("/bin/mount", "/bin/mount", "-i", "-f", "-t", type,
++ execlp("mount", "mount", "-i", "-f", "-t", type,
+ "-o", opts, fsname, mnt, NULL);
+- fprintf(stderr, "%s: failed to execute /bin/mount: %s\n",
++ fprintf(stderr, "%s: failed to execute mount: %s\n",
+ progname, strerror(errno));
+ exit(1);
+ }
+@@ -108,9 +108,9 @@
+ }
+ if (res == 0) {
+ setuid(geteuid());
+- execl("/bin/umount", "/bin/umount", "-i", mnt,
++ execlp("umount", "umount", "-i", mnt,
+ lazy ? "-l" : NULL, NULL);
+- fprintf(stderr, "%s: failed to execute /bin/umount: %s\n",
++ fprintf(stderr, "%s: failed to execute umount: %s\n",
+ progname, strerror(errno));
+ exit(1);
+ }
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/arm_cache_page_bug_fuse.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse.patch 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,23 @@
+#diff -u -r1.89 fusermount.c
+--- /util/fusermount.c 27 Apr 2007 18:08:15 -0000 1.89
++++ /util/fusermount.c 3 Jun 2007 14:26:50 -0000
+@@ -30,7 +30,7 @@
+ #define FUSE_COMMFD_ENV "_FUSE_COMMFD"
+
+ #define FUSE_DEV_OLD "/proc/fs/fuse/dev"
+-#define FUSE_DEV_NEW "/dev/fuse"
++#define FUSE_DEV_NEW "/dev/misc/fuse"
+ #define FUSE_VERSION_FILE_OLD "/proc/fs/fuse/version"
+ #define FUSE_CONF "/etc/fuse.conf"
+
+--- /lib/mount.c.orig 2008-03-27 11:25:33.000000000 +0100
++++ /lib/mount.c 2008-03-27 11:25:44.000000000 +0100
+@@ -389,7 +389,7 @@
+ const char *mnt_opts)
+ {
+ char tmp[128];
+- const char *devname = "/dev/fuse";
++ const char *devname = "/dev/misc/fuse";
+ char *source = NULL;
+ char *type = NULL;
+ struct stat stbuf;
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse_selp.patch
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse_selp.patch (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse_selp.patch 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,23 @@
+#diff -u -r1.89 fusermount.c
+--- /util/fusermount.c 27 Apr 2007 18:08:15 -0000 1.89
++++ /util/fusermount.c 3 Jun 2007 14:26:50 -0000
+@@ -30,7 +30,7 @@
+ #define FUSE_COMMFD_ENV "_FUSE_COMMFD"
+
+ #define FUSE_DEV_OLD "/proc/fs/fuse/dev"
+-#define FUSE_DEV_NEW "/dev/misc/fuse"
++#define FUSE_DEV_NEW "/dtv/fuse"
+ #define FUSE_VERSION_FILE_OLD "/proc/fs/fuse/version"
+ #define FUSE_CONF "/etc/fuse.conf"
+
+--- /lib/mount.c.orig 2008-03-27 11:25:33.000000000 +0100
++++ /lib/mount.c 2008-03-27 11:25:44.000000000 +0100
+@@ -389,7 +389,7 @@
+ const char *mnt_opts)
+ {
+ char tmp[128];
+- const char *devname = "/dev/misc/fuse";
++ const char *devname = "/dtv/fuse";
+ char *source = NULL;
+ char *type = NULL;
+ struct stat stbuf;
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-2.7.3/dev_misc_fuse_selp.patch
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-module_2.7.3.bb
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/fuse-module_2.7.3.bb (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/fuse-module_2.7.3.bb 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,51 @@
+HOMEPAGE = "http://fuse.sf.net"
+DESCRIPTION = "With FUSE it is possible to implement a fully functional filesystem in a userspace program"
+MAINTAINER = "Koen Kooi <ko...@li...>"
+
+LICENSE = "GPL"
+
+
+DEPENDS = "fakeroot-native"
+RRECOMMENDS = "fuse"
+
+PR = "r03"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/fuse-${PV}"
+
+SRC_URI="${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \
+ file://dev_misc_fuse.patch;patch=1"
+
+SRC_URI_append_samygo += "file://arm_cache_page_bug_fuse.patch;patch=1 \
+ file://dev_misc_fuse_selp.patch;patch=1"
+
+S = "${WORKDIR}/fuse-${PV}"
+
+inherit autotools pkgconfig module
+
+EXTRA_OECONF = " --with-kernel=${STAGING_KERNEL_DIR} "
+
+# Kernel data not imported??? for what the hell we inherit module??? *Arris *
+KERNEL_MAJOR_VERSION = "2.6"
+
+do_configure() {
+# cd ${S} ; oe_runconf
+ oe_runconf
+}
+
+do_compile(){
+LDFLAGS=""
+cd ${S}/kernel
+oe_runmake CC=${KERNEL_CC}
+}
+
+fakeroot do_install() {
+LDFLAGS=""
+cd ${S}/kernel
+oe_runmake CC=${KERNEL_CC} install DESTDIR=${D}
+}
+
+do_stage(){
+ :
+}
+
+FILES_${PN} = "/dtv ${base_libdir}/modules"
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/fuse-module_2.7.3.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/fuse/fuse_2.7.3.bb
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/fuse_2.7.3.bb (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/fuse_2.7.3.bb 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,36 @@
+HOMEPAGE = "http://fuse.sf.net"
+DESCRIPTION = "With FUSE it is possible to implement a fully functional filesystem in a userspace program"
+MAINTAINER = "Koen Kooi <ko...@li...>"
+
+LICENSE_${PN} = "LGPL"
+
+PR = "r01"
+
+DEPENDS = "fakeroot-native"
+RRECOMMENDS_${PN} = "fuse-module kernel-module-fuse"
+
+#package utils in a sperate package and stop debian.bbclass renaming it to libfuse-utils, we want it to be fuse-utils
+PACKAGES += "fuse-utils"
+FILES_${PN} = "${libdir}/*.so*"
+FILES_${PN}-dev += "${libdir}/*.la"
+FILES_fuse-utils = "${bindir} ${base_sbindir}"
+DEBIAN_NOAUTONAME_fuse-utils = "1"
+
+SRC_URI="${SOURCEFORGE_MIRROR}/fuse/${P}.tar.gz \
+ file://dev_misc_fuse.patch;patch=1"
+
+SRC_URI_append_samygo += "file://arm_cache_page_bug_fuse.patch;patch=1 \
+ file://dev_misc_fuse_selp.patch;patch=1"
+
+inherit autotools pkgconfig
+EXTRA_OECONF = " --disable-kernel-module"
+
+fakeroot do_install() {
+oe_runmake install DESTDIR=${D}
+}
+
+fakeroot do_stage() {
+autotools_stage_all
+}
+
+
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/fuse_2.7.3.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/fuse/gmailfs_0.6.bb
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/gmailfs_0.6.bb (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/gmailfs_0.6.bb 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,22 @@
+DESCRIPTION = "GmailFS provides a mountable Linux filesystem which uses your Gmail account as its storage medium."
+HOMEPAGE = "http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html"
+MAINTAINER = "koen Kooi <ko...@li...>"
+LICENSE = "GPL"
+
+DEPENDS = "fuse libgmail python-fuse"
+RDEPENDS = "fuse libgmail python-fuse python-unixadmin python-lang python-textutils python-core"
+
+SRC_URI = "http://richard.jones.name/google-hacks/gmail-filesystem/gmailfs-0.6.tar.gz"
+
+
+do_install() {
+install -d ${D}${datadir}/gmailfs
+install -d ${D}${bindir}
+install -d ${D}${sysconfdir}
+
+install -m 755 ${S}/gmailfs.py ${D}${datadir}/gmailfs/
+install -m 755 ${S}/mount.gmailfs ${D}${bindir}
+install -m 644 ${S}/*.conf ${D}${sysconfdir}
+
+}
+
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/gmailfs_0.6.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: oe/branches/branch-0-0-1/oe/packages/fuse/sshfs-fuse_1.3.bb
===================================================================
--- oe/branches/branch-0-0-1/oe/packages/fuse/sshfs-fuse_1.3.bb (rev 0)
+++ oe/branches/branch-0-0-1/oe/packages/fuse/sshfs-fuse_1.3.bb 2010-02-01 21:10:28 UTC (rev 165)
@@ -0,0 +1,14 @@
+HOMEPAGE = "http://fuse.sourceforge.net/sshfs.html"
+DESCRIPTION = "This is a filesystem client based on the SSH File Transfer Protocol using FUSE."
+MAINTAINER = "Koen Kooi <ko...@li...>"
+
+LICENSE_${PN} = "LGPL"
+
+DEPENDS = "fakeroot-native fuse"
+RRECOMMENDS_${PN} = "fuse-module"
+
+SRC_URI="${SOURCEFORGE_MIRROR}/fuse/${P}.tar.gz"
+
+inherit autotools pkgconfig
+
+
Property changes on: oe/branches/branch-0-0-1/oe/packages/fuse/sshfs-fuse_1.3.bb
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|