summaryrefslogtreecommitdiffstats
path: root/meta-filesystems
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:20:04 +0200
commit1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch)
tree0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-filesystems
downloadmeta-openembedded-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-filesystems')
-rw-r--r--meta-filesystems/COPYING.MIT17
-rw-r--r--meta-filesystems/README138
-rw-r--r--meta-filesystems/conf/layer.conf10
-rw-r--r--meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb26
-rw-r--r--meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.2.bb15
-rw-r--r--meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb39
-rwxr-xr-xmeta-filesystems/recipes-filesystems/owfs/owfs/owhttpd60
-rwxr-xr-xmeta-filesystems/recipes-filesystems/owfs/owfs/owserver59
-rw-r--r--meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb70
-rw-r--r--meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb24
-rw-r--r--meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb17
-rw-r--r--meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb35
-rw-r--r--meta-filesystems/recipes-support/fuse/files/aarch64.patch33
-rw-r--r--meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch92
-rw-r--r--meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb46
-rw-r--r--meta-filesystems/recipes-support/physfs/physfs_2.0.3.bb11
-rw-r--r--meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.0.1.bb29
-rw-r--r--meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.1.0.bb22
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch93
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch205
-rw-r--r--meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.1.11.bb56
21 files changed, 1097 insertions, 0 deletions
diff --git a/meta-filesystems/COPYING.MIT b/meta-filesystems/COPYING.MIT
new file mode 100644
index 0000000000..89de354795
--- /dev/null
+++ b/meta-filesystems/COPYING.MIT
@@ -0,0 +1,17 @@
1Permission is hereby granted, free of charge, to any person obtaining a copy
2of this software and associated documentation files (the "Software"), to deal
3in the Software without restriction, including without limitation the rights
4to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
5copies of the Software, and to permit persons to whom the Software is
6furnished to do so, subject to the following conditions:
7
8The above copyright notice and this permission notice shall be included in
9all copies or substantial portions of the Software.
10
11THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
17THE SOFTWARE.
diff --git a/meta-filesystems/README b/meta-filesystems/README
new file mode 100644
index 0000000000..d2716f8f1f
--- /dev/null
+++ b/meta-filesystems/README
@@ -0,0 +1,138 @@
1This README file contains information on the contents of the
2filesystems layer.
3
4Please see the corresponding sections below for details.
5
6
7Dependencies
8============
9
10This layer depends on:
11
12 URI: git://git.openembedded.org/bitbake
13 branch: master
14
15 URI: git://git.openembedded.org/openembedded-core
16 layers: meta
17 branch: master
18
19 URI: git://git.openembedded.org/meta-openembedded
20 layers: meta-oe
21 branch: master
22
23Patches
24=======
25
26Please submit any patches against the filesystems layer to the
27OpenEmbedded development mailing list (openembedded-devel@lists.openembedded.org)
28with '[meta-filesystems]' in the subject.
29
30Maintainers List:
31 physfs Andreas Müller <schnitzeltony@googlemail.com>
32
33 fuse Koen Kooi <koen@dominion.thruhere.net>
34 Philip Balister <philip@balister.org>
35 hongxu jia <hongxu.jia@windriver.com>
36
37 ifuse Sander van Grieken <sander@outrightsolutions.nl>
38 Koen Kooi <koen@dominion.thruhere.net>
39
40 sshfs-fuse Philip Balister <philip@balister.org>
41 Koen Kooi <koen@dominion.thruhere.net>
42
43 owfs Otavio Salvador <otavio@ossystems.com.br>
44 Koen Kooi <koen@dominion.thruhere.net>
45 hongxu jia <hongxu.jia@windriver.com>
46
47 ntfs-3g-ntfsprogs Otavio Salvador <otavio@ossystems.com.br>
48 hongxu jia <hongxu.jia@windriver.com>
49
50 cramfs Koen Kooi <koen@dominion.thruhere.net>
51
52 smbnetfs Sander van Grieken <sander@outrightsolutions.nl>
53 Koen Kooi <koen@dominion.thruhere.net>
54
55 fuse-exfat hongxu jia <hongxu.jia@windriver.com>
56
57 exfat-utils hongxu jia <hongxu.jia@windriver.com>
58
59 f2fs-tools Martin Jansa <Martin.Jansa@gmail.com>
60 Koen Kooi <koen@dominion.thruhere.net>
61
62 xfsprogs Koen Kooi <koen@dominion.thruhere.net>
63 hongxu jia <hongxu.jia@windriver.com>
64
65When sending single patches, please use something like:
66
67 git send-email -1 -M \
68 --to openembedded-devel@lists.openembedded.org \
69 --subject-prefix=meta-filesystems][PATCH
70
71
72Table of Contents
73=================
74
75 I. Adding the filesystems layer to your build
76 II. Misc
77
78
79I. Adding the filesystems layer to your build
80=================================================
81
82In order to use this layer, you need to make the build system aware of
83it.
84
85Assuming the filesystems layer exists at the top-level of your
86yocto build tree, you can add it to the build system by adding the
87location of the filesystems layer to bblayers.conf, along with any
88other layers needed. e.g.:
89
90 BBLAYERS ?= " \
91 /path/to/yocto/meta \
92 /path/to/yocto/meta-oe \
93 /path/to/yocto/meta-filesystems \
94 "
95
96
97II. Misc
98========
99
100 --- physfs ---
101 A library to provide abstract access to various archives
102
103 --- fuse ---
104 Filesystem in Userspace (FUSE) is a simple interface for userspace programs
105 to export a virtual filesystem to the Linux kernel.
106
107 --- ifuse ---
108 A fuse filesystem to access the contents of an iPhone or iPod Touch
109
110 --- sshfs-fuse ---
111 A filesystem client based on the SSH File Transfer Protocol
112
113 --- owfs ---
114 An easy way to use the 1-Wire file system
115
116 --- ntfs-3g-ntfsprogs ---
117 The ntfs-3g is a freely available read/write NTFS driver for Linux and
118 ntfsprogs includes utilities for doing all required tasks to NTFS partitions.
119
120 --- cramfs ---
121 Builds cramfs filesystems for embedded systems
122
123 --- smbnetfs ---
124 SMBNetFS is a Linux/FreeBSD filesystem that allow you to use samba/microsoft
125 network in the same manner as the network neighborhood in Microsoft Windows.
126
127 --- fuse-exfat ---
128 A read and write exFAT driver for FUSE
129
130 --- exfat-utils ---
131 Utilities to create, check, label and dump exFAT filesystem
132
133 --- f2fs-tools ---
134 Tools needed for creating and managing f2fs partitions
135
136 --- xfsprogs ---
137 It provides XFS filesystem utilities.
138
diff --git a/meta-filesystems/conf/layer.conf b/meta-filesystems/conf/layer.conf
new file mode 100644
index 0000000000..c0bbd78216
--- /dev/null
+++ b/meta-filesystems/conf/layer.conf
@@ -0,0 +1,10 @@
1# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "filesystems-layer"
9BBFILE_PATTERN_filesystems-layer = "^${LAYERDIR}/"
10BBFILE_PRIORITY_filesystems-layer = "6"
diff --git a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb
new file mode 100644
index 0000000000..f984c4bb77
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb
@@ -0,0 +1,26 @@
1SUMMARY = "read and write exFAT driver for FUSE"
2DESCRIPTION = "fuse-exfat is a read and write driver implementing the \
3extended file allocation table as a filesystem in userspace. A mounthelper \
4is provided unter the name mount.exfat-fuse. \
5"
6HOMEPAGE = "http://code.google.com/p/exfat/"
7SECTION = "universe/otherosfs"
8LICENSE = "GPLv3"
9LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
10SRC_URI = "${DEBIAN_MIRROR}/main/f/fuse-exfat/fuse-exfat_${PV}.orig.tar.gz \
11"
12DEPENDS = "fuse virtual/libc"
13RRECOMMENDS_${PN} = "util-linux-mount"
14
15inherit scons
16
17SRC_URI[md5sum] = "7988a5111841593231f20af22153362d"
18SRC_URI[sha256sum] = "12ac1ba1b7d4343bef64e7898176705a41cfe3b5a7a179e28549d242e2854758"
19
20EXTRA_OESCONS = " \
21 DESTDIR=${D}/${base_sbindir} \
22"
23
24do_install_prepend() {
25 install -d ${D}/${base_sbindir}
26}
diff --git a/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.2.bb b/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.2.bb
new file mode 100644
index 0000000000..f0b58b9673
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/ifuse/ifuse_1.1.2.bb
@@ -0,0 +1,15 @@
1SUMMARY = "A fuse filesystem to access the contents of an iPhone or iPod Touch"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7"
4HOMEPAGE ="http://www.libimobiledevice.org/"
5
6DEPENDS = "fuse libimobiledevice"
7
8SRC_URI = " \
9 http://www.libimobiledevice.org/downloads/ifuse-${PV}.tar.bz2 \
10"
11
12SRC_URI[md5sum] = "4152526b2ac3c505cb41797d997be14d"
13SRC_URI[sha256sum] = "47835c8afb72588b3202fe0b206d7ea37a68663d9aa4eaf73f0a4bcb6215fc05"
14
15inherit autotools pkgconfig
diff --git a/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb
new file mode 100644
index 0000000000..2e7a6166ba
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/ntfs-3g-ntfsprogs/ntfs-3g-ntfsprogs_2013.1.13.bb
@@ -0,0 +1,39 @@
1DESCRIPTION = "The NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support."
2HOMEPAGE = "http://www.ntfs-3g.org/"
3DEPENDS = "fuse libgcrypt"
4PROVIDES = "ntfsprogs ntfs-3g"
5LICENSE = "GPLv2 & LGPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"
8
9SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz"
10S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}"
11
12SRC_URI[md5sum] = "2d6fb47ddf62b51733227126fe9227fe"
13SRC_URI[sha256sum] = "4b383f0074a3ab7683339d1f18222b107aaeb4983db119292c43c2b275cefb27"
14
15inherit autotools
16
17PACKAGECONFIG ??= ""
18PACKAGECONFIG[uuid] = "--with-uuid,--without-uuid,util-linux"
19
20# required or it calls ldconfig at install step
21EXTRA_OEMAKE = "LDCONFIG=echo"
22
23PACKAGES =+ "ntfs-3g ntfsprogs libntfs-3g"
24
25FILES_ntfs-3g = "${base_sbindir}/*.ntfs-3g ${bindir}/ntfs-3g* ${base_sbindir}/mount.ntfs"
26RDEPENDS_ntfs-3g += "fuse"
27RRECOMMENDS_ntfs-3g = "util-linux-mount"
28
29FILES_ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*"
30FILES_libntfs-3g = "${libdir}/*${SOLIBS}"
31
32do_install_append() {
33 # Standard mount will execute the program /sbin/mount.TYPE
34 # when called. Add the symbolic to let mount could find ntfs.
35 ln -sf mount.ntfs-3g ${D}/${base_sbindir}/mount.ntfs
36}
37
38# Satisfy the -dev runtime dependency
39ALLOW_EMPTY_${PN} = "1"
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs/owhttpd b/meta-filesystems/recipes-filesystems/owfs/owfs/owhttpd
new file mode 100755
index 0000000000..5d74d13d9d
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/owfs/owfs/owhttpd
@@ -0,0 +1,60 @@
1#!/bin/sh
2
3PATH=/sbin:/bin:/usr/bin
4
5DAEMON="owhttpd"
6
7test -f /usr/bin/${DAEMON} || exit 0
8
9if test -f /etc/default/${DAEMON} ; then
10. /etc/default/${DAEMON}
11else
12:
13fi
14
15if [ "$START_OWHTTPD" != "yes" ]
16then
17 exit 0
18fi
19
20
21startdaemon(){
22 echo -n "Starting ${DAEMON}: "
23 start-stop-daemon --start -x /usr/bin/${DAEMON} -- ${CMDLINE} --pid_file /var/run/${DAEMON}.pid
24 echo "done"
25}
26
27stopdaemon(){
28 echo -n "Stopping ${DAEMON}: "
29 start-stop-daemon --stop -p /var/run/${DAEMON}.pid
30 echo "done"
31}
32
33
34
35case "$1" in
36 start)
37 startdaemon
38 ;;
39 stop)
40 stopdaemon
41 ;;
42 force-reload)
43 stopdaemon
44 startdaemon
45 ;;
46 restart)
47 stopdaemon
48 startdaemon
49 ;;
50 reload)
51 stopdaemon
52 startdaemon
53 ;;
54 *)
55 echo "Usage: ${DAEMON} { start | stop | restart | reload }" >&2
56 exit 1
57 ;;
58esac
59
60exit 0
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs/owserver b/meta-filesystems/recipes-filesystems/owfs/owfs/owserver
new file mode 100755
index 0000000000..b69ea53e37
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/owfs/owfs/owserver
@@ -0,0 +1,59 @@
1#!/bin/sh
2
3PATH=/sbin:/bin:/usr/bin
4
5DAEMON="owserver"
6
7test -f /usr/bin/${DAEMON} || exit 0
8
9if test -f /etc/default/${DAEMON} ; then
10. /etc/default/${DAEMON}
11else
12:
13fi
14
15if [ "$START_OWSERVER" != "yes" ]
16then
17 exit 0
18fi
19
20startdaemon(){
21 echo -n "Starting ${DAEMON}: "
22 start-stop-daemon --start -x /usr/bin/${DAEMON} -- ${CMDLINE} --pid_file /var/run/${DAEMON}.pid
23 echo "done"
24}
25
26stopdaemon(){
27 echo -n "Stopping ${DAEMON}: "
28 start-stop-daemon --stop -p /var/run/${DAEMON}.pid
29 echo "done"
30}
31
32
33
34case "$1" in
35 start)
36 startdaemon
37 ;;
38 stop)
39 stopdaemon
40 ;;
41 force-reload)
42 stopdaemon
43 startdaemon
44 ;;
45 restart)
46 stopdaemon
47 startdaemon
48 ;;
49 reload)
50 stopdaemon
51 startdaemon
52 ;;
53 *)
54 echo "Usage: ${DAEMON} { start | stop | restart | reload }" >&2
55 exit 1
56 ;;
57esac
58
59exit 0
diff --git a/meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb b/meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb
new file mode 100644
index 0000000000..b46940e9bc
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/owfs/owfs_2.9p1.bb
@@ -0,0 +1,70 @@
1SUMMARY = "1-Wire file system"
2DESCRIPTION = "OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim"
3HOMEPAGE = "http://www.owfs.org/"
4SECTION = "console/network"
5
6LICENSE = "GPLv2 & LGPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=a0bc427f423a41220ab79a0b392218bd \
8 file://COPYING.LIB;md5=865c4bd642d9e04f43925ad7e929ae87"
9
10DEPENDS = "fuse virtual/libusb0"
11
12SRC_URI = "${SOURCEFORGE_MIRROR}/owfs/owfs-${PV}.tar.gz \
13 file://owhttpd \
14 file://owserver "
15SRC_URI[md5sum] = "56ba145be208002e58775a7203369851"
16SRC_URI[sha256sum] = "9d22dbff72d235476688c02669f7171b23e21dffadf40bbdd3b8263908218424"
17
18inherit autotools update-rc.d
19
20EXTRA_OECONF = " \
21 --with-fuseinclude=${STAGING_INCDIR} \
22 --with-fuselib=${STAGING_LIBDIR} \
23 --enable-owfs \
24 --enable-owhttpd \
25 --enable-cache \
26 --enable-mt \
27 --enable-w1 \
28 --disable-swig \
29 --disable-owtcl \
30 --disable-owphp \
31 --disable-owpython \
32 --disable-owperl \
33"
34
35do_install_prepend() {
36 install -d ${D}${sysconfdir}/default/
37 install -d ${D}${sysconfdir}/init.d/
38 install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
39 install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
40}
41
42PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap"
43
44DESCRIPTION_owftpd = "Anoymous FTP server for 1-wire access"
45DESCRIPTION_owhttpd = "Tiny webserver for 1-wire control"
46DESCRIPTION_owserver = "Backend server (daemon) for 1-wire control"
47DESCRIPTION_owshell = "owdir owread owwrite owpresent owget - lightweight owserver access"
48DESCRIPTION_libowcapi = "easy C-language 1-wire interface "
49DESCRIPTION_libow = "easy C-language 1-wire interface to the owserver protocol"
50DESCRIPTION_libownet = "easy C-language 1-wire interface to the owserver protocol"
51DESCRIPTION_owmon = "Monitor for owserver settings and statistics"
52DESCRIPTION_owtap = "Packet sniffer for the owserver protocol"
53
54FILES_owftpd = "${bindir}/owftpd"
55FILES_owhttpd = "${bindir}/owhttpd ${sysconfdir}/init.d/owhttpd"
56FILES_owserver = "${bindir}/owserver ${sysconfdir}/init.d/owserver"
57FILES_owshell = "${bindir}/owread ${bindir}/owwrite \
58 ${bindir}/owdir ${bindir}/owpresent \
59 ${bindir}/owget ${bindir}/owside"
60FILES_owmon = "${bindir}/owmon"
61FILES_owtap = "${bindir}/owtap"
62FILES_libowcapi = "${libdir}/libowcapi-*"
63FILES_libow = "${libdir}/libow-*"
64FILES_libownet = "${libdir}/libownet-*"
65
66INITSCRIPT_PACKAGES = "owhttpd owserver"
67INITSCRIPT_NAME_owserver = "owserver"
68INITSCRIPT_NAME_owhttpd = "owhttpd"
69INITSCRIPT_PARAMS_owserver = "defaults 20"
70INITSCRIPT_PARAMS_owhttpd = "defaults 21"
diff --git a/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
new file mode 100644
index 0000000000..350dad5be6
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/smbnetfs/smbnetfs_git.bb
@@ -0,0 +1,24 @@
1SUMMARY = "FUSE module for mounting an entire SMB/NMB network in a single directory"
2DESCRIPTION = "SMBNetFS is a Linux/FreeBSD filesystem that allow you to use \
3 samba/microsoft network in the same manner as the network \
4 neighborhood in Microsoft Windows. Please donate me to help \
5 in SMBNetFS development."
6
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
9HOMEPAGE ="http://sourceforge.net/projects/smbnetfs"
10
11DEPENDS = "fuse samba"
12
13inherit autotools gitpkgv
14
15PKGV = "${GITPKGVTAG}"
16
17SRCREV = "ace1c519d45fe488b9b7e6cc77a2bcadb6c83464"
18
19SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=master"
20
21PACKAGECONFIG ??= ""
22PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring=yes,--with-gnome-keyring=no,libgnome-keyring"
23
24S = "${WORKDIR}/git"
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb
new file mode 100644
index 0000000000..722d0ede98
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_2.5.bb
@@ -0,0 +1,17 @@
1SUMMARY = "This is a filesystem client based on the SSH File Transfer Protocol using FUSE"
2AUTHOR = "Miklos Szeredi <miklos@szeredi.hu>"
3HOMEPAGE = "http://fuse.sourceforge.net/sshfs.html"
4SECTION = "console/network"
5LICENSE = "GPLv2"
6DEPENDS = "glib-2.0 fuse"
7LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
8
9SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/${P}.tar.gz"
10S = "${WORKDIR}/${P}"
11
12inherit autotools
13
14FILES_${PN} += "${libdir}/sshnodelay.so"
15
16SRC_URI[md5sum] = "17494910db8383a366b1301e5f5148a9"
17SRC_URI[sha256sum] = "e9171452e5d0150b9c6a2158fd2e2dcefb5d5d03ba4d208949e00a3a46c6e63e"
diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
new file mode 100644
index 0000000000..0e1e460b64
--- /dev/null
+++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
@@ -0,0 +1,35 @@
1SUMMARY = "Yet Another Flash File System"
2DESCRIPTION = "Tools for managing 'yaffs2' file systems."
3
4SECTION = "base"
5HOMEPAGE = "http://www.yaffs.net"
6
7LICENSE = "GPLv2"
8LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561"
9
10PV = "0.0+git${SRCPV}"
11
12DEPENDS = "mtd-utils"
13
14# Source is the HEAD of master branch at the time of writing this recipe
15SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master"
16SRCREV = "bc76682d93955cfb33051beb503ad9f8a5450578"
17S = "${WORKDIR}/git"
18
19CFLAGS_append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES"
20
21do_compile() {
22 cd utils && oe_runmake
23}
24
25INSTALL_FILES = "mkyaffsimage \
26 mkyaffs2image \
27 "
28do_install() {
29 install -d ${D}${sbindir}/
30 for i in ${INSTALL_FILES}; do
31 install -m 0755 utils/$i ${D}${sbindir}/
32 done
33}
34
35BBCLASSEXTEND = "native"
diff --git a/meta-filesystems/recipes-support/fuse/files/aarch64.patch b/meta-filesystems/recipes-support/fuse/files/aarch64.patch
new file mode 100644
index 0000000000..050d1146a9
--- /dev/null
+++ b/meta-filesystems/recipes-support/fuse/files/aarch64.patch
@@ -0,0 +1,33 @@
1fuse: add aarch64 support
2
3u64/u32 is not defined in sys/types.h, include linux/types.h like
4the kernel version of fuse.h does. Patch sent to upstream mailing list.
5
6Upstream-Status: Submitted
7Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9---
10 include/fuse_kernel.h | 7 +------
11 1 file changed, 1 insertion(+), 6 deletions(-)
12
13diff --git a/include/fuse_kernel.h b/include/fuse_kernel.h
14index c632b58..e804278 100644
15--- a/include/fuse_kernel.h
16+++ b/include/fuse_kernel.h
17@@ -88,12 +88,7 @@
18 #ifndef _LINUX_FUSE_H
19 #define _LINUX_FUSE_H
20
21-#include <sys/types.h>
22-#define __u64 uint64_t
23-#define __s64 int64_t
24-#define __u32 uint32_t
25-#define __s32 int32_t
26-#define __u16 uint16_t
27+#include <linux/types.h>
28
29 /*
30 * Version negotiation:
31--
321.8.1.2
33
diff --git a/meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch b/meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch
new file mode 100644
index 0000000000..d47f692c0e
--- /dev/null
+++ b/meta-filesystems/recipes-support/fuse/files/gold-unversioned-symbol.patch
@@ -0,0 +1,92 @@
1fuse: Fix linking issues with gold linker
2
3fuse has problems when linking with gold since it uses version
4scripts in a way thats so perticular to bfd ld
5
6/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstro
7error: symbol __fuse_exited has undefined version
8| collect2: ld returned 1 exit status
9| make[1]: *** [libfuse.la] Error 1
10| make[1]: *** Waiting for unfinished jobs....
11
12For more details
13
14http://blog.flameeyes.eu/2011/06/01/gold-readiness-obstacle-2-base-versioning
15http://sources.redhat.com/bugzilla/show_bug.cgi?id=10861
16http://comments.gmane.org/gmane.comp.file-systems.fuse.devel/9524
17http://www.airs.com/blog/archives/300
18
19Upstream-Status: Pending
20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
22Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
23---
24 lib/fuse.c | 10 +++++-----
25 lib/fuse_mt.c | 2 +-
26 lib/fuse_versionscript | 3 +++
27 lib/helper.c | 6 +++---
28 4 files changed, 12 insertions(+), 9 deletions(-)
29
30diff --git a/lib/fuse.c b/lib/fuse.c
31index 067d0dc..6d27711 100644
32--- a/lib/fuse.c
33+++ b/lib/fuse.c
34@@ -4873,11 +4873,11 @@ struct fuse *fuse_new_compat1(int fd, int flags,
35 11);
36 }
37
38-FUSE_SYMVER(".symver fuse_exited,__fuse_exited@");
39-FUSE_SYMVER(".symver fuse_process_cmd,__fuse_process_cmd@");
40-FUSE_SYMVER(".symver fuse_read_cmd,__fuse_read_cmd@");
41-FUSE_SYMVER(".symver fuse_set_getcontext_func,__fuse_set_getcontext_func@");
42-FUSE_SYMVER(".symver fuse_new_compat2,fuse_new@");
43+FUSE_SYMVER(".symver fuse_exited,__fuse_exited@FUSE_UNVERSIONED");
44+FUSE_SYMVER(".symver fuse_process_cmd,__fuse_process_cmd@FUSE_UNVERSIONED");
45+FUSE_SYMVER(".symver fuse_read_cmd,__fuse_read_cmd@FUSE_UNVERSIONED");
46+FUSE_SYMVER(".symver fuse_set_getcontext_func,__fuse_set_getcontext_func@FUSE_UNVERSIONED");
47+FUSE_SYMVER(".symver fuse_new_compat2,fuse_new@FUSE_UNVERSIONED");
48 FUSE_SYMVER(".symver fuse_new_compat22,fuse_new@FUSE_2.2");
49
50 #endif /* __FreeBSD__ || __NetBSD__ */
51diff --git a/lib/fuse_mt.c b/lib/fuse_mt.c
52index f6dbe71..fd5ac23 100644
53--- a/lib/fuse_mt.c
54+++ b/lib/fuse_mt.c
55@@ -119,4 +119,4 @@ int fuse_loop_mt(struct fuse *f)
56 return res;
57 }
58
59-FUSE_SYMVER(".symver fuse_loop_mt_proc,__fuse_loop_mt@");
60+FUSE_SYMVER(".symver fuse_loop_mt_proc,__fuse_loop_mt@FUSE_UNVERSIONED");
61diff --git a/lib/fuse_versionscript b/lib/fuse_versionscript
62index 8d91887..de16ab2 100644
63--- a/lib/fuse_versionscript
64+++ b/lib/fuse_versionscript
65@@ -1,3 +1,6 @@
66+FUSE_UNVERSIONED {
67+};
68+
69 FUSE_2.2 {
70 global:
71 fuse_destroy;
72diff --git a/lib/helper.c b/lib/helper.c
73index b644012..c5349bf 100644
74--- a/lib/helper.c
75+++ b/lib/helper.c
76@@ -436,10 +436,10 @@ int fuse_mount_compat1(const char *mountpoint, const char *args[])
77 return fuse_mount_compat22(mountpoint, NULL);
78 }
79
80-FUSE_SYMVER(".symver fuse_setup_compat2,__fuse_setup@");
81+FUSE_SYMVER(".symver fuse_setup_compat2,__fuse_setup@FUSE_UNVERSIONED");
82 FUSE_SYMVER(".symver fuse_setup_compat22,fuse_setup@FUSE_2.2");
83-FUSE_SYMVER(".symver fuse_teardown,__fuse_teardown@");
84-FUSE_SYMVER(".symver fuse_main_compat2,fuse_main@");
85+FUSE_SYMVER(".symver fuse_teardown,__fuse_teardown@FUSE_UNVERSIONED");
86+FUSE_SYMVER(".symver fuse_main_compat2,fuse_main@FUSE_UNVERSIONED");
87 FUSE_SYMVER(".symver fuse_main_real_compat22,fuse_main_real@FUSE_2.2");
88
89 #endif /* __FreeBSD__ || __NetBSD__ */
90--
911.8.1.2
92
diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb b/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb
new file mode 100644
index 0000000000..1e8f958af7
--- /dev/null
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.3.bb
@@ -0,0 +1,46 @@
1SUMMARY = "Implementation of a fully functional filesystem in a userspace program"
2DESCRIPTION = "FUSE (Filesystem in Userspace) is a simple interface for userspace \
3 programs to export a virtual filesystem to the Linux kernel. FUSE \
4 also aims to provide a secure method for non privileged users to \
5 create and mount their own filesystem implementations. \
6 "
7HOMEPAGE = "http://fuse.sf.net"
8SECTION = "libs"
9LICENSE = "GPLv2 & LGPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
11 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/fuse/fuse-${PV}.tar.gz \
14 file://gold-unversioned-symbol.patch \
15 file://aarch64.patch \
16"
17SRC_URI[md5sum] = "33cae22ca50311446400daf8a6255c6a"
18SRC_URI[sha256sum] = "0beb83eaf2c5e50730fc553406ef124d77bc02c64854631bdfc86bfd6437391c"
19
20inherit autotools pkgconfig
21
22EXTRA_OECONF = "--disable-kernel-module"
23
24PACKAGES =+ "fuse-utils-dbg fuse-utils libulockmgr libulockmgr-dev \
25 libulockmgr-dbg fusermount"
26
27RRECOMMENDS_${PN} = "kernel-module-fuse"
28
29FILES_${PN} += "${libdir}/libfuse.so.*"
30FILES_${PN}-dev += "${libdir}/libfuse*.la"
31
32FILES_libulockmgr = "${libdir}/libulockmgr.so.*"
33FILES_libulockmgr-dev += "${libdir}/libulock*.la"
34FILES_libulockmgr-dbg += "${libdir}/.debug/libulock*"
35
36# Forbid auto-renaming to libfuse-utils
37FILES_fuse-utils = "${bindir} ${base_sbindir}"
38FILES_fuse-utils-dbg = "${bindir}/.debug ${base_sbindir}/.debug"
39DEBIAN_NOAUTONAME_fuse-utils = "1"
40DEBIAN_NOAUTONAME_fuse-utils-dbg = "1"
41
42do_install_append() {
43 rm -rf ${D}${base_prefix}/dev
44 install -d ${D}${base_bindir}
45 install -m 0755 ${B}/util/fusermount -t ${D}${base_bindir}
46}
diff --git a/meta-filesystems/recipes-support/physfs/physfs_2.0.3.bb b/meta-filesystems/recipes-support/physfs/physfs_2.0.3.bb
new file mode 100644
index 0000000000..9ad7fabfbd
--- /dev/null
+++ b/meta-filesystems/recipes-support/physfs/physfs_2.0.3.bb
@@ -0,0 +1,11 @@
1SUMMARY = "PhysicsFS is a library to provide abstract access to various archives"
2HOMEAPAGE = "http://icculus.org/physfs"
3LICENSE = "Zlib"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5d94e3eaaa10b00ca803ba35a3e87cde"
5DEPENDS = "readline zlib"
6
7inherit cmake
8
9SRC_URI = "http://icculus.org/${PN}/downloads/${PN}-${PV}.tar.bz2"
10SRC_URI[md5sum] = "c2c727a8a8deb623b521b52d0080f613"
11SRC_URI[sha256sum] = "ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69"
diff --git a/meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.0.1.bb b/meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.0.1.bb
new file mode 100644
index 0000000000..a5a314fb60
--- /dev/null
+++ b/meta-filesystems/recipes-utils/exfat-utils/exfat-utils_1.0.1.bb
@@ -0,0 +1,29 @@
1SUMMARY = "utilities to create, check, label and dump exFAT filesystem"
2DESCRIPTION = "Utilities to manage extended file allocation table filesystem. \
3This package provides tools to create, check and label the filesystem. It \
4contains \
5 - dumpexfat to dump properties of the filesystem \
6 - exfatfsck / fsck.exfat to report errors found on a exFAT filesystem \
7 - exfatlabel to label a exFAT filesystem \
8 - mkexfatfs / mkfs.exfat to create a exFAT filesystem. \
9"
10HOMEPAGE = "http://code.google.com/p/exfat/"
11SECTION = "universe/otherosfs"
12LICENSE = "GPLv3"
13LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
14SRC_URI = "${DEBIAN_MIRROR}/main/e/exfat-utils/exfat-utils_${PV}.orig.tar.gz \
15"
16DEPENDS = "virtual/libc"
17
18inherit scons
19
20SRC_URI[md5sum] = "e592130829d0bf61fa5e3cd1c759d329"
21SRC_URI[sha256sum] = "eeacedca1878065dc3886674ae39cd51149c37bd7d6d7e9325c971a1d1acdab3"
22
23EXTRA_OESCONS = " \
24 DESTDIR=${D}/${base_sbindir} \
25"
26
27do_install_prepend() {
28 install -d ${D}/${base_sbindir}
29}
diff --git a/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.1.0.bb b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.1.0.bb
new file mode 100644
index 0000000000..267aef0563
--- /dev/null
+++ b/meta-filesystems/recipes-utils/f2fs-tools/f2fs-tools_1.1.0.bb
@@ -0,0 +1,22 @@
1SUMMARY = "Tools for Flash-Friendly File System (F2FS)"
2HOMEPAGE = "http://sourceforge.net/projects/f2fs-tools/"
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=15667d9b3cb737b57471c148b7c50734"
6
7# to provide libuuid
8DEPENDS = "util-linux"
9
10SRCREV = "da59f6146c37e727bb83ae4922ca56d42958e61c"
11SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git"
12S = "${WORKDIR}/git"
13
14inherit autotools
15
16BBCLASSEXTEND = "native"
17
18do_configure_prepend() {
19 # workaround for endless do_configure loop:
20 # make: Warning: File `Makefile.am' has modification time 5.3e+04 s in the future
21 touch ${S}/*
22}
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch b/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch
new file mode 100644
index 0000000000..760109506c
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/files/drop-configure-check-for-aio.patch
@@ -0,0 +1,93 @@
1xfsprogs: drop configure check for aio
2
3It's unused and breaks compilation with uclibc.
4
5Upstream-Status: Pending
6Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
7---
8 configure.ac | 6 +++---
9 m4/Makefile | 1 -
10 m4/package_aiodev.m4 | 36 ------------------------------------
11 3 files changed, 3 insertions(+), 40 deletions(-)
12
13diff --git a/configure.ac b/configure.ac
14index b968977..4e2a263 100644
15--- a/configure.ac
16+++ b/configure.ac
17@@ -47,6 +47,9 @@ AC_ARG_ENABLE(lib64,
18 enable_lib64=yes)
19 AC_SUBST(enable_lib64)
20
21+librt="-lrt"
22+AC_SUBST(librt)
23+
24 #
25 # If the user specified a libdir ending in lib64 do not append another
26 # 64 to the library names.
27@@ -92,9 +95,6 @@ AC_PACKAGE_GLOBALS(xfsprogs)
28 AC_PACKAGE_UTILITIES(xfsprogs)
29 AC_MULTILIB($enable_lib64)
30
31-AC_PACKAGE_NEED_AIO_H
32-AC_PACKAGE_NEED_LIO_LISTIO
33-
34 AC_PACKAGE_NEED_UUID_H
35 AC_PACKAGE_NEED_UUIDCOMPARE
36
37diff --git a/m4/Makefile b/m4/Makefile
38index 654a4fb..d282f0a 100644
39--- a/m4/Makefile
40+++ b/m4/Makefile
41@@ -14,7 +14,6 @@ CONFIGURE = \
42
43 LSRCFILES = \
44 manual_format.m4 \
45- package_aiodev.m4 \
46 package_blkid.m4 \
47 package_globals.m4 \
48 package_libcdev.m4 \
49diff --git a/m4/package_aiodev.m4 b/m4/package_aiodev.m4
50index 490d9c8..8b13789 100644
51--- a/m4/package_aiodev.m4
52+++ b/m4/package_aiodev.m4
53@@ -1,37 +1 @@
54-#
55-# Check if we have a libaio.h installed
56-#
57-AC_DEFUN([AC_PACKAGE_WANT_AIO],
58- [ AC_CHECK_HEADERS(libaio.h, [ have_aio=true ], [ have_aio=false ])
59- AC_SUBST(have_aio)
60- ])
61-
62-#
63-# Check if we have an aio.h installed
64-#
65-AC_DEFUN([AC_PACKAGE_NEED_AIO_H],
66- [ AC_CHECK_HEADERS(aio.h)
67- if test $ac_cv_header_aio_h = no; then
68- echo
69- echo 'FATAL ERROR: could not find a valid <aio.h> header.'
70- exit 1
71- fi
72- ])
73-
74-#
75-# Check if we have the lio_listio routine in either libc/librt
76-#
77-AC_DEFUN([AC_PACKAGE_NEED_LIO_LISTIO],
78- [ AC_CHECK_FUNCS(lio_listio)
79- if test $ac_cv_func_lio_listio = yes; then
80- librt=""
81- else
82- AC_CHECK_LIB(rt, lio_listio,, [
83- echo
84- echo 'FATAL ERROR: could not find a library with lio_listio.'
85- exit 1],[-lpthread])
86- librt="-lrt"
87- fi
88- AC_SUBST(librt)
89- ])
90
91--
921.8.1.2
93
diff --git a/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch b/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch
new file mode 100644
index 0000000000..e761db371f
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/files/remove-install-as-user.patch
@@ -0,0 +1,205 @@
1remove install as user
2
3Upstream-Status: Inappropriate [configuration]
4
5Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
6---
7 include/buildmacros | 2 +-
8 include/install-sh | 95 ++++++++---------------------------------------------
9 2 files changed, 14 insertions(+), 83 deletions(-)
10
11diff --git a/include/buildmacros b/include/buildmacros
12index 7a01880..0840d55 100644
13--- a/include/buildmacros
14+++ b/include/buildmacros
15@@ -30,7 +30,7 @@ OBJECTS = $(ASFILES:.s=.o) \
16 $(LFILES:.l=.o) \
17 $(YFILES:%.y=%.tab.o)
18
19-INSTALL = $(TOPDIR)/install-sh -o $(PKG_USER) -g $(PKG_GROUP)
20+INSTALL = $(TOPDIR)/install-sh
21
22 IMAGES_DIR = $(TOPDIR)/all-images
23 DIST_DIR = $(TOPDIR)/dist
24diff --git a/include/install-sh b/include/install-sh
25index c952a71..b9d66f7 100755
26--- a/include/install-sh
27+++ b/include/install-sh
28@@ -24,11 +24,11 @@
29 # set set | yes yes
30 #
31 _usage() {
32- echo "Usage: $prog [-o owner] [-g group] [-m mode] -d directory"
33- echo "or $prog [-D] [-o owner] [-g group] [-m mode] file directory/file"
34- echo "or $prog [-o owner] [-g group] [-m mode] file [file ...] directory"
35+ echo "Usage: $prog [-m mode] -d directory"
36+ echo "or $prog [-m mode] file directory/file"
37+ echo "or $prog [-m mode] file [file ...] directory"
38 echo "or $prog -S file target (creates \"target\" symlink)"
39- echo "or $prog -T lt_arg [-o owner] [-g group] [-m mode] libtool.lai directory"
40+ echo "or $prog -T lt_arg [-m mode] libtool.lai directory"
41 echo ""
42 echo "The \$DIST_MANIFEST and \$DIST_ROOT environment variables affect the"
43 echo "behaviour of this command - see comments in the script."
44@@ -38,32 +38,6 @@ _usage() {
45 exit 1
46 }
47
48-_chown ()
49-{
50- _st=255
51- if [ $# -eq 3 ] ; then
52- chown $1:$2 $3
53- _st=$?
54- if [ $_st -ne 0 ] ; then
55- if [ $REAL_UID != '0' ] ; then
56- if [ ! -f $DIST_ROOT/.chown.quiet ] ; then
57- echo '==============================================='
58- echo Ownership of files under ${DIST_ROOT:-/}
59- echo cannot be changed
60- echo '==============================================='
61- if [ -n "$DIST_ROOT" ] ; then
62- touch $DIST_ROOT/.chown.quiet
63- fi
64- fi
65- _st=0
66- fi
67- fi
68- fi
69-
70- return $_st
71-}
72-
73-
74 _manifest ()
75 {
76 echo $* | sed -e 's/\/\//\//g' >>${DIST_MANIFEST:-/dev/null}
77@@ -77,9 +51,6 @@ Sflag=false
78 Tflag=false
79 DIRMODE=755
80 FILEMODE=644
81-OWNER=`id -u`
82-GROUP=`id -g`
83-REAL_UID=$OWNER
84
85 # default is to install and don't append manifest
86 INSTALL=true
87@@ -94,24 +65,16 @@ MANIFEST=:
88
89 if $INSTALL
90 then
91- CP=cp; LN=ln; MKDIR=mkdir; CHMOD=chmod; CHOWN=_chown
92+ CP=cp; LN=ln; MKDIR=mkdir; CHMOD=chmod;
93 else
94- CP=true; LN=true; MKDIR=true; CHMOD=true; CHOWN=true
95+ CP=true; LN=true; MKDIR=true; CHMOD=true;
96 fi
97
98-[ -n "$DIST_ROOT" -a $REAL_UID -ne 0 ] && CHOWN=true
99-
100-while getopts "Dcm:d:S:o:g:T:" c $*
101+while getopts "Dcm:d:S:T:" c $*
102 do
103 case $c in
104 c)
105 ;;
106- g)
107- GROUP=$OPTARG
108- ;;
109- o)
110- OWNER=$OPTARG
111- ;;
112 m)
113 DIRMODE=`expr $OPTARG`
114 FILEMODE=$DIRMODE
115@@ -146,18 +109,7 @@ then
116 # first usage
117 #
118 $MKDIR -p $dir
119- status=$?
120- if [ $status -eq 0 ]
121- then
122- $CHMOD $DIRMODE $dir
123- status=$?
124- fi
125- if [ $status -eq 0 ]
126- then
127- $CHOWN $OWNER $GROUP $dir
128- status=$?
129- fi
130- $MANIFEST d $DIRMODE $OWNER $GROUP ${dir#$DIST_ROOT}
131+ $MANIFEST d $DIRMODE ${dir#$DIST_ROOT}
132 elif $Sflag
133 then
134 #
135@@ -203,7 +155,7 @@ then
136 install_name=$target/$solib
137 $CP $solib $install_name
138 status=$?
139- $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$solib ${install_name#$DIST_ROOT}
140+ $MANIFEST f $FILEMODE $HERE/$solib ${install_name#$DIST_ROOT}
141 break
142 fi
143 done
144@@ -254,7 +206,7 @@ then
145 install_name=$target/$old_library
146 $CP $old_library $install_name
147 status=$?
148- $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$old_library ${install_name#$DIST_ROOT}
149+ $MANIFEST f $FILEMODE $HERE/$old_library ${install_name#$DIST_ROOT}
150 ;;
151 *)
152 echo "$prog: -T $lt_install invalid"
153@@ -267,7 +219,6 @@ then
154 if [ $status -eq 0 ]
155 then
156 $CHMOD $FILEMODE $install_name
157- $CHOWN $OWNER $GROUP $install_name
158 fi
159 ;;
160 esac
161@@ -292,23 +243,10 @@ else
162 then
163 if [ -f $dir/$f ]
164 then
165- $CHMOD $FILEMODE $dir/$f
166- status=$?
167- if [ $status -eq 0 ]
168- then
169- $CHOWN $OWNER $GROUP $dir/$f
170- status=$?
171- fi
172- $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$f ${dir#$DIST_ROOT}/$f
173+ $MANIFEST f $FILEMODE $HERE/$f ${dir#$DIST_ROOT}/$f
174 else
175 $CHMOD $FILEMODE $dir
176- status=$?
177- if [ $status -eq 0 ]
178- then
179- $CHOWN $OWNER $GROUP $dir
180- status=$?
181- fi
182- $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$dir ${dir#$DIST_ROOT}
183+ $MANIFEST f $FILEMODE $HERE/$dir ${dir#$DIST_ROOT}
184 fi
185 fi
186 else
187@@ -334,14 +272,7 @@ else
188 status=$?
189 if [ $status -eq 0 ]
190 then
191- $CHMOD $FILEMODE $dir/$f
192- status=$?
193- if [ $status -eq 0 ]
194- then
195- $CHOWN $OWNER $GROUP $dir/$f
196- status=$?
197- fi
198- $MANIFEST f $FILEMODE $OWNER $GROUP $HERE/$f ${dir#$DIST_ROOT}/$f
199+ $MANIFEST f $FILEMODE $HERE/$f ${dir#$DIST_ROOT}/$f
200 fi
201 [ $status -ne 0 ] && break
202 done
203--
2041.8.1.2
205
diff --git a/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.1.11.bb b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.1.11.bb
new file mode 100644
index 0000000000..4c3f8fabee
--- /dev/null
+++ b/meta-filesystems/recipes-utils/xfsprogs/xfsprogs_3.1.11.bb
@@ -0,0 +1,56 @@
1SUMMARY = "XFS Filesystem Utilities"
2HOMEPAGE = "http://oss.sgi.com/projects/xfs"
3SECTION = "base"
4LICENSE = "GPLv2"
5LICENSE_libhandle = "LGPLv2.1"
6LIC_FILES_CHKSUM = "file://doc/COPYING;md5=dbdb5f4329b7e7145de650e9ecd4ac2a"
7DEPENDS = "util-linux"
8
9SRC_URI = "ftp://oss.sgi.com/projects/xfs/cmd_tars/${P}.tar.gz \
10 file://remove-install-as-user.patch \
11 file://drop-configure-check-for-aio.patch \
12"
13
14SRC_URI[md5sum] = "de9f1f45026c2f4e0776058d429ff4b6"
15SRC_URI[sha256sum] = "adf4980177b5c890c1ca86b9c0e3e4d69a3f95bfc01746844280c2393cf4d6be"
16
17inherit autotools-brokensep
18
19PACKAGES =+ "${PN}-fsck ${PN}-mkfs libhandle"
20
21RDEPENDS_${PN} = "${PN}-fsck ${PN}-mkfs"
22
23FILES_${PN}-fsck = "${base_sbindir}/fsck.xfs"
24FILES_${PN}-mkfs = "${base_sbindir}/mkfs.xfs"
25FILES_libhandle = "${base_libdir}/libhandle${SOLIBS}"
26
27EXTRA_OECONF = "--enable-gettext=no"
28do_configure () {
29 # Prevent Makefile from calling configure without arguments,
30 # when do_configure gets called for a second time.
31 rm -f include/builddefs include/platform_defs.h
32 # Recreate configure script.
33 rm -f configure
34 oe_runmake configure
35 # Configure.
36 export DEBUG="-DNDEBUG"
37 gnu-configize --force
38 oe_runconf
39}
40
41LIBTOOL = "${HOST_SYS}-libtool"
42EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'"
43TARGET_CC_ARCH += "${LDFLAGS}"
44PARALLEL_MAKE = ""
45
46do_install () {
47 export DIST_ROOT=${D}
48 oe_runmake install
49 # needed for xfsdump
50 oe_runmake install-dev
51 rm ${D}${base_libdir}/libhandle.a
52 rm ${D}${base_libdir}/libhandle.la
53 rm ${D}${base_libdir}/libhandle.so
54 rm ${D}${libdir}/libhandle.so
55 ln -s ../..${base_libdir}/libhandle.so.1 ${D}${libdir}/libhandle.so
56}