Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
SUMMARY = "library to write an ISO-9660 file system to physical media"
|
||||
HOMEPAGE = "https://libburnia-project.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
|
||||
file://COPYRIGHT;md5=a91b9b862895b64e68e5b321873c9111"
|
||||
|
||||
SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz"
|
||||
SRC_URI[sha256sum] = "7295491b4be5eeac5e7a3fb2067e236e2955ffdc6bbd45f546466edee321644b"
|
||||
|
||||
inherit autotools pkgconfig lib_package
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "library and tool to create and burn ISO-9660 images"
|
||||
HOMEPAGE = "https://libburnia-project.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
|
||||
file://COPYRIGHT;md5=43cfe25a7e4a65f722d6253fa0649bb1"
|
||||
|
||||
SRC_URI = "http://files.libburnia-project.org/releases/libisoburn-${PV}.tar.gz"
|
||||
SRC_URI[sha256sum] = "2b80a6f73dd633a5d243facbe97a15e5c9a07644a5e1a242c219b9375a45f71b"
|
||||
|
||||
DEPENDS = "libisofs libburn"
|
||||
# This replaces the xorriso recipe
|
||||
PROVIDES += "xorriso"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--enable-pkg-check-modules"
|
||||
|
||||
do_install:append() {
|
||||
# This is a proof-of-concept UI using Tk, don't ship it
|
||||
rm -f ${D}${bindir}/xorriso-tcltk
|
||||
}
|
||||
|
||||
PACKAGE_BEFORE_PN = "xorriso"
|
||||
FILES:xorriso = "${bindir}"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,15 @@
|
||||
SUMMARY = "library to create an ISO-9660 filesystem"
|
||||
HOMEPAGE = "https://libburnia-project.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \
|
||||
file://COPYRIGHT;md5=1c1e5a960562d65f6449bb1d21e1dffc"
|
||||
|
||||
SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz"
|
||||
SRC_URI[sha256sum] = "0152d66a9d340b659fe9c880eb9190f3570fb477ac07cf52e8bcd134a1d30d70"
|
||||
|
||||
DEPENDS = "acl zlib"
|
||||
|
||||
inherit autotools
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "read and write exFAT driver for FUSE"
|
||||
DESCRIPTION = "fuse-exfat is a read and write driver implementing the \
|
||||
extended file allocation table as a filesystem in userspace. A mounthelper \
|
||||
is provided under the name mount.exfat-fuse. \
|
||||
"
|
||||
HOMEPAGE = "https://github.com/relan/exfat"
|
||||
SECTION = "universe/otherosfs"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
SRC_URI = "https://github.com/relan/exfat/releases/download/v${PV}/${BP}.tar.gz"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/relan/exfat/releases"
|
||||
|
||||
DEPENDS = "fuse virtual/libc"
|
||||
RRECOMMENDS:${PN} = "util-linux-mount"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI[sha256sum] = "a1cfedc55e0e7a12c184605aa0f0bf44b24a3fb272449b20b2c8bbe6edb3001e"
|
||||
|
||||
EXTRA_OECONF += "sbindir=${base_sbindir}"
|
||||
@@ -0,0 +1,22 @@
|
||||
SUMMARY = "This is a filesystem client based on the HTTP using FUSE"
|
||||
HOMEPAGE = "http://httpfs.sourceforge.net"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://debian/copyright;md5=83f224c5182f148ec92e0b9f84b3c6c7"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
DEPENDS += "fuse"
|
||||
RDEPENDS:${PN} += "fuse"
|
||||
|
||||
SRC_URI += "${SOURCEFORGE_MIRROR}/project/httpfs/httpfs2/httpfs2-${PV}.tar.gz"
|
||||
SRC_URI[sha256sum] = "01cb4bb38deb344f540da6f1464dc7edbdeb51213ad810b8c9c282c1e17e0fc1"
|
||||
|
||||
S = "${WORKDIR}/httpfs2-${PV}"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake -C ${S} httpfs2
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -Dm 0755 ${S}/httpfs2 ${D}${bindir}/httpfs2
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
SUMMARY = "A fuse filesystem to access the contents of an iPhone or iPod Touch"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=6ab17b41640564434dda85c06b7124f7"
|
||||
HOMEPAGE ="http://www.libimobiledevice.org/"
|
||||
|
||||
DEPENDS = "fuse libimobiledevice"
|
||||
|
||||
SRC_URI = "https://github.com/libimobiledevice/ifuse/releases/download/${PV}/ifuse-${PV}.tar.bz2"
|
||||
|
||||
SRC_URI[md5sum] = "cd31fbd0ea945b2ff1e39eac8d198fdd"
|
||||
SRC_URI[sha256sum] = "3550702ef94b2f5f16c7db91c6b3282b2aed1340665834a03e47458e09d98d87"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
@@ -0,0 +1,3 @@
|
||||
require recipes-core/images/core-image-base.bb
|
||||
|
||||
IMAGE_INSTALL += "packagegroup-meta-filesystems"
|
||||
@@ -0,0 +1,25 @@
|
||||
DESCRIPTION = "Recipe to trigger execution of all meta-filesystems ptest images."
|
||||
HOMEPAGE = "https://www.openembedded.org/"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit features_check nopackages
|
||||
REQUIRED_DISTRO_FEATURES = "ptest"
|
||||
|
||||
require conf/include/ptest-packagelists-meta-filesystems.inc
|
||||
|
||||
# Include the full set of ptests
|
||||
PTESTS_META_FILESYSTEMS = "${PTESTS_FAST_META_FILESYSTEMS} ${PTESTS_SLOW_META_FILESYSTEMS} ${PTESTS_PROBLEMS_META_FILESYSTEMS}"
|
||||
|
||||
do_testimage[noexec] = "1"
|
||||
do_testimage[depends] = "${@' '.join(['meta-filesystems-image-ptest-'+x+':do_testimage' for x in d.getVar('PTESTS_META_FILESYSTEMS').split()])}"
|
||||
|
||||
do_build[depends] = "${@' '.join(['meta-filesystems-image-ptest-'+x+':do_build' for x in d.getVar('PTESTS_META_FILESYSTEMS').split()])}"
|
||||
|
||||
# normally image.bbclass would do this
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
|
||||
python () {
|
||||
if bb.utils.contains('IMAGE_CLASSES', 'testimage', True, False, d):
|
||||
bb.build.addtask("do_testimage", "", "", d)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
require meta-filesystems-image-ptest-all.bb
|
||||
|
||||
DESCRIPTION = "Recipe to trigger execution of all fast meta-filesystems ptest images."
|
||||
|
||||
PTESTS_META_FILESYSTEMS = "${PTESTS_FAST_META_FILESYSTEMS}"
|
||||
@@ -0,0 +1,40 @@
|
||||
inherit features_check
|
||||
REQUIRED_DISTRO_FEATURES = "ptest"
|
||||
|
||||
require recipes-core/images/core-image-minimal.bb
|
||||
require conf/include/ptest-packagelists-meta-filesystems.inc
|
||||
|
||||
SUMMARY = "meta-filesystems ptest test image"
|
||||
|
||||
DESCRIPTION += "Also including the ${MCNAME} ptest package."
|
||||
HOMEPAGE = "https://www.openembedded.org/"
|
||||
|
||||
PTESTS_META_FILESYSTEMS = "${PTESTS_SLOW_META_FILESYSTEMS} ${PTESTS_FAST_META_FILESYSTEMS} ${PTESTS_PROBLEMS_META_FILESYSTEMS}"
|
||||
|
||||
IMAGE_INSTALL:append = " ${MCNAME}-ptest openssh"
|
||||
|
||||
BBCLASSEXTEND = "${@' '.join(['mcextend:'+x for x in d.getVar('PTESTS_META_FILESYSTEMS').split()])}"
|
||||
|
||||
# The image can be sufficiently large (~1.8GB) that we need to be careful that it fits in a live
|
||||
# image (which has a 4GB limit), so nullify the overhead factor (1.3x out of the
|
||||
# box) and explicitly add up to 1500MB.
|
||||
IMAGE_OVERHEAD_FACTOR = "1.0"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE = "324288"
|
||||
# If a particular ptest needs more space, it can be customized:
|
||||
#IMAGE_ROOTFS_EXTRA_SPACE:virtclass-mcextend-<pn> = "1024288"
|
||||
|
||||
# ptests need more memory than standard to avoid the OOM killer
|
||||
QB_MEM = "-m 1024"
|
||||
# If a particular ptest needs more memroy, it can be customized:
|
||||
#QB_MEM:virtclass-mcextend-<pn> = "-m 4096"
|
||||
|
||||
TEST_SUITES = "ping ssh parselogs ptest"
|
||||
|
||||
# Sadly at the moment the full set of ptests is not robust enough and sporadically fails in random places
|
||||
PTEST_EXPECT_FAILURE = "1"
|
||||
|
||||
python () {
|
||||
if not d.getVar("MCNAME"):
|
||||
raise bb.parse.SkipRecipe("No class extension set")
|
||||
}
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
From a322794f80f2718ae4463669c4b6ab2fbb15ffec Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 5 Apr 2017 17:36:45 +0000
|
||||
Subject: [PATCH] Add $(LDFLAGS) to linker cmdline
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
Makefile | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
Index: git/Makefile
|
||||
===================================================================
|
||||
--- git.orig/Makefile
|
||||
+++ git/Makefile
|
||||
@@ -14,7 +14,7 @@ ZLIB_O := crc32.o deflate.o adler32.o co
|
||||
CC := gcc
|
||||
CHECK := cgcc
|
||||
CHECKFLAGS := -D__CHECK_ENDIAN__
|
||||
-CFLAGS := -std=gnu99
|
||||
+CFLAGS += -std=gnu99
|
||||
CFLAGS += -Wall
|
||||
CFLAGS += -Os
|
||||
CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||
@@ -28,18 +28,18 @@ $(ZLIB_O): /usr/lib/libz.a
|
||||
|
||||
ifdef S
|
||||
EXTRA_OBJ := $(ZLIB_O)
|
||||
-CFLAGS += -static
|
||||
+LDFLAGS += -static
|
||||
else
|
||||
-CFLAGS += -lz
|
||||
+LDFLAGS += -lz
|
||||
endif
|
||||
|
||||
mklogfs: $(EXTRA_OBJ)
|
||||
mklogfs: mkfs.o lib.o btree.o segment.o readwrite.o
|
||||
- $(CC) $(CFLAGS) -o $@ $^
|
||||
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
logfsck: $(ZLIB_O)
|
||||
logfsck: fsck.o lib.o journal.o super.o
|
||||
- $(CC) $(CFLAGS) -o $@ $^
|
||||
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
$(OBJ): kerncompat.h logfs.h logfs_abi.h btree.h
|
||||
|
||||
@@ -0,0 +1,137 @@
|
||||
From 5a8e26157d9642f022587cc1ca7525213c7a5379 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Jul 2017 18:41:53 -0700
|
||||
Subject: [PATCH] btree: Avoid conflicts with libc namespace about setkey()
|
||||
|
||||
This issue is highlighted with musl mainly because the
|
||||
function signature from stdlib.h does not match the local
|
||||
static function
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
btree.c | 32 ++++++++++++++++----------------
|
||||
1 file changed, 16 insertions(+), 16 deletions(-)
|
||||
|
||||
diff --git a/btree.c b/btree.c
|
||||
index eddc33b..dd3fef9 100644
|
||||
--- a/btree.c
|
||||
+++ b/btree.c
|
||||
@@ -123,7 +123,7 @@ static unsigned long bval(struct btree_geo *geo, unsigned long *node, int n)
|
||||
return node[geo->no_pairs * geo->keylen + n];
|
||||
}
|
||||
|
||||
-static void setkey(struct btree_geo *geo, unsigned long *node,
|
||||
+static void _setkey(struct btree_geo *geo, unsigned long *node,
|
||||
unsigned long *key, int n)
|
||||
{
|
||||
longcpy(bkey(geo, node, n), key, geo->keylen);
|
||||
@@ -292,7 +292,7 @@ static unsigned long *find_level(struct btree_head *head, struct btree_geo *geo,
|
||||
/* FIXME: If the right-most key on higher levels is
|
||||
* always zero, this wouldn't be necessary. */
|
||||
i--;
|
||||
- setkey(geo, node, key, i);
|
||||
+ _setkey(geo, node, key, i);
|
||||
}
|
||||
BUG_ON(i < 0);
|
||||
node = (unsigned long *)bval(geo, node, i);
|
||||
@@ -311,7 +311,7 @@ static int btree_grow(struct btree_head *head, struct btree_geo *geo)
|
||||
return -ENOMEM;
|
||||
if (head->node) {
|
||||
fill = getfill(geo, head->node, 0);
|
||||
- setkey(geo, node, bkey(geo, head->node, fill - 1), 0);
|
||||
+ _setkey(geo, node, bkey(geo, head->node, fill - 1), 0);
|
||||
setval(geo, node, (unsigned long)head->node, 0);
|
||||
}
|
||||
head->node = node;
|
||||
@@ -342,16 +342,16 @@ static void steal_l(struct btree_head *head, struct btree_geo *geo, int level,
|
||||
|
||||
for (i = rfill - 1; i >= 0; i--) {
|
||||
/* Shift entries on the right */
|
||||
- setkey(geo, right, bkey(geo, right, i), i + no_entries);
|
||||
+ _setkey(geo, right, bkey(geo, right, i), i + no_entries);
|
||||
setval(geo, right, bval(geo, right, i), i + no_entries);
|
||||
}
|
||||
for (i = 0; i < no_entries; i++) {
|
||||
/* Move some entries to the right */
|
||||
- setkey(geo, right, bkey(geo, left, lfill - no_entries + i), i);
|
||||
+ _setkey(geo, right, bkey(geo, left, lfill - no_entries + i), i);
|
||||
setval(geo, right, bval(geo, left, lfill - no_entries + i), i);
|
||||
}
|
||||
/* Set parent key */
|
||||
- setkey(geo, parent, bkey(geo, left, lfill - no_entries - 1), lpos);
|
||||
+ _setkey(geo, parent, bkey(geo, left, lfill - no_entries - 1), lpos);
|
||||
for (i = lfill - no_entries; i < lfill; i++)
|
||||
clearpair(geo, left, i);
|
||||
}
|
||||
@@ -366,14 +366,14 @@ static void steal_r(struct btree_head *head, struct btree_geo *geo, int level,
|
||||
|
||||
for (i = 0; i < no_entries; i++) {
|
||||
/* Move some entries to the left */
|
||||
- setkey(geo, left, bkey(geo, right, i), lfill + i);
|
||||
+ _setkey(geo, left, bkey(geo, right, i), lfill + i);
|
||||
setval(geo, left, bval(geo, right, i), lfill + i);
|
||||
}
|
||||
/* Set parent key */
|
||||
- setkey(geo, parent, bkey(geo, right, no_entries - 1), lpos);
|
||||
+ _setkey(geo, parent, bkey(geo, right, no_entries - 1), lpos);
|
||||
/* Shift entries on the right */
|
||||
for ( ; i < rfill; i++) {
|
||||
- setkey(geo, right, bkey(geo, right, i), i - no_entries);
|
||||
+ _setkey(geo, right, bkey(geo, right, i), i - no_entries);
|
||||
setval(geo, right, bval(geo, right, i), i - no_entries);
|
||||
}
|
||||
for (i = rfill - no_entries; i < rfill; i++)
|
||||
@@ -399,14 +399,14 @@ static int split(struct btree_head *head, struct btree_geo *geo,
|
||||
return err;
|
||||
}
|
||||
for (i = 0; i < fill / 2; i++) {
|
||||
- setkey(geo, new, bkey(geo, node, i), i);
|
||||
+ _setkey(geo, new, bkey(geo, node, i), i);
|
||||
setval(geo, new, bval(geo, node, i), i);
|
||||
- setkey(geo, node, bkey(geo, node, i + fill / 2), i);
|
||||
+ _setkey(geo, node, bkey(geo, node, i + fill / 2), i);
|
||||
setval(geo, node, bval(geo, node, i + fill / 2), i);
|
||||
clearpair(geo, node, i + fill / 2);
|
||||
}
|
||||
if (fill & 1) {
|
||||
- setkey(geo, node, bkey(geo, node, fill - 1), i);
|
||||
+ _setkey(geo, node, bkey(geo, node, fill - 1), i);
|
||||
setval(geo, node, bval(geo, node, fill - 1), i);
|
||||
clearpair(geo, node, fill - 1);
|
||||
}
|
||||
@@ -487,10 +487,10 @@ retry:
|
||||
|
||||
/* shift and insert */
|
||||
for (i = fill; i > pos; i--) {
|
||||
- setkey(geo, node, bkey(geo, node, i - 1), i);
|
||||
+ _setkey(geo, node, bkey(geo, node, i - 1), i);
|
||||
setval(geo, node, bval(geo, node, i - 1), i);
|
||||
}
|
||||
- setkey(geo, node, key, pos);
|
||||
+ _setkey(geo, node, key, pos);
|
||||
setval(geo, node, val, pos);
|
||||
|
||||
return 0;
|
||||
@@ -513,7 +513,7 @@ static void merge(struct btree_head *head, struct btree_geo *geo, int level,
|
||||
|
||||
for (i = 0; i < rfill; i++) {
|
||||
/* Move all entries to the left */
|
||||
- setkey(geo, left, bkey(geo, right, i), lfill + i);
|
||||
+ _setkey(geo, left, bkey(geo, right, i), lfill + i);
|
||||
setval(geo, left, bval(geo, right, i), lfill + i);
|
||||
}
|
||||
/* Exchange left and right child in parent */
|
||||
@@ -615,7 +615,7 @@ static void *btree_remove_level(struct btree_head *head, struct btree_geo *geo,
|
||||
|
||||
/* remove and shift */
|
||||
for (i = pos; i < fill - 1; i++) {
|
||||
- setkey(geo, node, bkey(geo, node, i + 1), i);
|
||||
+ _setkey(geo, node, bkey(geo, node, i + 1), i);
|
||||
setval(geo, node, bval(geo, node, i + 1), i);
|
||||
}
|
||||
clearpair(geo, node, fill - 1);
|
||||
--
|
||||
2.13.2
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
From 3b02acbb3d5bc93422a6821ce47568633ef4ae5e Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 11 Aug 2018 15:09:24 -0700
|
||||
Subject: [PATCH] include sys/sysmacros.h for major/minor definition
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
mkfs.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/mkfs.c b/mkfs.c
|
||||
index e612cbd..b6aa63d 100644
|
||||
--- a/mkfs.c
|
||||
+++ b/mkfs.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
#define __USE_UNIX98
|
||||
#include <unistd.h>
|
||||
#include <zlib.h>
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "LogFS Programs: used to create LogFS file system"
|
||||
DESCRIPTION = "\
|
||||
LogFS is a Linux log-structured and scalable flash file system, intended \
|
||||
for use on large devices of flash memory. It is written by Jörn Engel and \
|
||||
in part sponsored by the CE Linux Forum. \
|
||||
LogFS is included in the mainline Linux kernel and was introduced in \
|
||||
version 2.6.34, released on May 16, 2010."
|
||||
HOMEPAGE = "https://github.com/prasad-joshi/logfsprogs"
|
||||
SECTION = "base"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://fsck.c;md5=3859dc73da97909ff1d0125e88a27e02"
|
||||
DEPENDS = "zlib"
|
||||
|
||||
SRC_URI = "git://github.com/prasad-joshi/logfsprogs.git;branch=master;protocol=https \
|
||||
file://0001-Add-LDFLAGS-to-linker-cmdline.patch \
|
||||
file://0001-btree-Avoid-conflicts-with-libc-namespace-about-setk.patch \
|
||||
file://0001-include-sys-sysmacros.h-for-major-minor-definition.patch \
|
||||
"
|
||||
SRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}""
|
||||
|
||||
do_install () {
|
||||
mkdir -p ${D}${bindir}
|
||||
install -m 0755 ${S}/mklogfs ${D}${bindir}/mklogfs
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,52 @@
|
||||
From 575591caf1e8972f765885679b76787ef92de77b Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Mon, 24 Apr 2017 04:24:10 -0400
|
||||
Subject: [PATCH] libntfs-3g/Makefile.am: fix install failed while host dir not exist
|
||||
|
||||
While cross compiling, if the dir of "$(rootlibdir)" and "$(libdir)"
|
||||
(such as "/usr/lib64") do not exist on host system, the do_instal failed.
|
||||
-----------------------
|
||||
make[3]: Entering directory `tmp/work/core2-64-wrs-linux/ntfs-3g-ntfsprogs/2017.3.23-r0/build/libntfs-3g'
|
||||
if [ ! "/usr/lib64" -ef "/usr/lib64" ]; then \
|
||||
mv -f "tmp/work/core2-64-wrs-linux/ntfs-3g-ntfsprogs/2017.3.23-r0/image//usr/lib64"/libntfs-3g.so* \
|
||||
"tmp/work/core2-64-wrs-linux/ntfs-3g-ntfsprogs/2017.3.23-r0/image//usr/lib64"; \
|
||||
fi
|
||||
mv:...are the same file
|
||||
-----------------------
|
||||
|
||||
Use `=' rather than `-ef' to compare them, the cross compile does not
|
||||
care about host dir.
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
libntfs-3g/Makefile.am | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/libntfs-3g/Makefile.am b/libntfs-3g/Makefile.am
|
||||
index d6b150e..806109d 100644
|
||||
--- a/libntfs-3g/Makefile.am
|
||||
+++ b/libntfs-3g/Makefile.am
|
||||
@@ -59,15 +59,15 @@ endif
|
||||
# And create ldscript or symbolic link from /usr
|
||||
install-exec-hook: install-rootlibLTLIBRARIES
|
||||
if INSTALL_LIBRARY
|
||||
- if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
|
||||
+ if [ "$(rootlibdir)" != "$(libdir)" ]; then \
|
||||
$(MV) -f "$(DESTDIR)/$(libdir)"/libntfs-3g.so* "$(DESTDIR)/$(rootlibdir)"; \
|
||||
fi
|
||||
if GENERATE_LDSCRIPT
|
||||
- if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
|
||||
+ if [ "$(rootlibdir)" != "$(libdir)" ]; then \
|
||||
$(install_sh_PROGRAM) "libntfs-3g.script.so" "$(DESTDIR)/$(libdir)/libntfs-3g.so"; \
|
||||
fi
|
||||
else
|
||||
- if [ ! "$(rootlibdir)" -ef "$(libdir)" ]; then \
|
||||
+ if [ "$(rootlibdir)" != "$(libdir)" ]; then \
|
||||
$(LN_S) "$(rootlibdir)/libntfs-3g.so" "$(DESTDIR)/$(libdir)/libntfs-3g.so"; \
|
||||
fi
|
||||
endif
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
DESCRIPTION = "The NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support."
|
||||
HOMEPAGE = "http://www.ntfs-3g.org/"
|
||||
DEPENDS = "fuse libgcrypt"
|
||||
PROVIDES = "ntfsprogs ntfs-3g"
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
||||
file://COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a"
|
||||
|
||||
SRC_URI = "http://tuxera.com/opensource/ntfs-3g_ntfsprogs-${PV}.tgz \
|
||||
file://0001-libntfs-3g-Makefile.am-fix-install-failed-while-host.patch \
|
||||
"
|
||||
S = "${WORKDIR}/ntfs-3g_ntfsprogs-${PV}"
|
||||
SRC_URI[sha256sum] = "f20e36ee68074b845e3629e6bced4706ad053804cbaf062fbae60738f854170c"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://www.tuxera.com/community/open-source-ntfs-3g/"
|
||||
UPSTREAM_CHECK_REGEX = "ntfs-3g_ntfsprogs-(?P<pver>\d+(\.\d+)+)\.tgz"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[uuid] = "--with-uuid,--without-uuid,util-linux"
|
||||
|
||||
# required or it calls ldconfig at install step
|
||||
EXTRA_OEMAKE = "LDCONFIG=echo"
|
||||
|
||||
PACKAGES =+ "ntfs-3g ntfsprogs libntfs-3g"
|
||||
|
||||
FILES:ntfs-3g = "${base_sbindir}/*.ntfs-3g ${bindir}/ntfs-3g* ${base_sbindir}/mount.ntfs"
|
||||
RDEPENDS:ntfs-3g += "fuse"
|
||||
RRECOMMENDS:ntfs-3g = "util-linux-mount"
|
||||
|
||||
FILES:ntfsprogs = "${base_sbindir}/* ${bindir}/* ${sbindir}/*"
|
||||
FILES:libntfs-3g = "${libdir}/*${SOLIBS}"
|
||||
|
||||
do_install:append() {
|
||||
# Standard mount will execute the program /sbin/mount.TYPE when called.
|
||||
# Add a symbolic link to let mount find ntfs.
|
||||
ln -sf mount.ntfs-3g ${D}${base_sbindir}/mount.ntfs
|
||||
rmdir ${D}${libdir}/ntfs-3g
|
||||
|
||||
# Handle when usrmerge is in effect. Some files are installed to /sbin
|
||||
# regardless of the value of ${base_sbindir}.
|
||||
if [ "${base_sbindir}" != /sbin ] && [ -d ${D}/sbin ]; then
|
||||
mkdir -p ${D}${base_sbindir}
|
||||
mv ${D}/sbin/* ${D}${base_sbindir}
|
||||
rmdir ${D}/sbin
|
||||
fi
|
||||
}
|
||||
|
||||
# Satisfy the -dev runtime dependency
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
CVE_PRODUCT = "tuxera:ntfs-3g"
|
||||
@@ -0,0 +1,27 @@
|
||||
From dfeadd4eb43e829aafb0d10f611fa22ae81bfca4 Mon Sep 17 00:00:00 2001
|
||||
From: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
|
||||
Date: Sun, 20 Oct 2019 17:00:45 +0900
|
||||
Subject: [PATCH] Add build rule for README.
|
||||
|
||||
fix do_configure error:
|
||||
Makefile.am: required file `./README' not found
|
||||
|
||||
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index e0c4ad6..0449321 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -35,3 +35,4 @@ rpmcvs: preparerpm
|
||||
@LN_S@ -f `pwd`/@PACKAGE@-@VERSION@.tar.gz ${RPMDIR}/SOURCES/@PACKAGE@-@VERSION@_cvs_`date +"%Y%m%d"`.tar.gz
|
||||
cd ${RPMDIR}/SPECS && @RPMBUILD@ -ba @PACKAGE@.spec --define 'cvs 1'
|
||||
|
||||
+README: README.md
|
||||
--
|
||||
2.7.4
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
From a812202d22a2861318b8e39f1cd74cd222f8e76f Mon Sep 17 00:00:00 2001
|
||||
From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
|
||||
Date: Tue, 9 Jun 2020 11:30:38 +0300
|
||||
Subject: [PATCH] Fix compilation with GCC10
|
||||
|
||||
Fixed compilation with -fno-common, which enabled in GCC 10 by default.
|
||||
See https://bugs.gentoo.org/707438.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/owfs/owfs/pull/62]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
module/owserver/src/c/owserver.c | 2 ++
|
||||
module/owserver/src/include/owserver.h | 2 +-
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/module/owserver/src/c/owserver.c b/module/owserver/src/c/owserver.c
|
||||
index db29988e..2ed29161 100644
|
||||
--- a/module/owserver/src/c/owserver.c
|
||||
+++ b/module/owserver/src/c/owserver.c
|
||||
@@ -36,6 +36,8 @@
|
||||
|
||||
#include "owserver.h"
|
||||
|
||||
+pthread_mutex_t persistence_mutex ;
|
||||
+
|
||||
/* --- Prototypes ------------ */
|
||||
static void SetupAntiloop(int argc, char **argv);
|
||||
|
||||
diff --git a/module/owserver/src/include/owserver.h b/module/owserver/src/include/owserver.h
|
||||
index 8be582f0..a257ed02 100644
|
||||
--- a/module/owserver/src/include/owserver.h
|
||||
+++ b/module/owserver/src/include/owserver.h
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "ow.h"
|
||||
#include "ow_connection.h"
|
||||
|
||||
-pthread_mutex_t persistence_mutex ;
|
||||
+extern pthread_mutex_t persistence_mutex ;
|
||||
#define PERSISTENCELOCK _MUTEX_LOCK( persistence_mutex ) ;
|
||||
#define PERSISTENCEUNLOCK _MUTEX_UNLOCK( persistence_mutex ) ;
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH=/sbin:/bin:/usr/bin
|
||||
|
||||
DAEMON="owhttpd"
|
||||
|
||||
test -f /usr/bin/${DAEMON} || exit 0
|
||||
|
||||
if test -f /etc/default/${DAEMON} ; then
|
||||
. /etc/default/${DAEMON}
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
if [ "$START_OWHTTPD" != "yes" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
startdaemon(){
|
||||
echo -n "Starting ${DAEMON}: "
|
||||
start-stop-daemon --start -x /usr/bin/${DAEMON} -- ${CMDLINE} --pid_file /var/run/${DAEMON}.pid
|
||||
echo "done"
|
||||
}
|
||||
|
||||
stopdaemon(){
|
||||
echo -n "Stopping ${DAEMON}: "
|
||||
start-stop-daemon --stop -p /var/run/${DAEMON}.pid
|
||||
echo "done"
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
startdaemon
|
||||
;;
|
||||
stop)
|
||||
stopdaemon
|
||||
;;
|
||||
force-reload)
|
||||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
restart)
|
||||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
reload)
|
||||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
*)
|
||||
echo "Usage: ${DAEMON} { start | stop | restart | reload }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,59 @@
|
||||
#!/bin/sh
|
||||
|
||||
PATH=/sbin:/bin:/usr/bin
|
||||
|
||||
DAEMON="owserver"
|
||||
|
||||
test -f /usr/bin/${DAEMON} || exit 0
|
||||
|
||||
if test -f /etc/default/${DAEMON} ; then
|
||||
. /etc/default/${DAEMON}
|
||||
else
|
||||
:
|
||||
fi
|
||||
|
||||
if [ "$START_OWSERVER" != "yes" ]
|
||||
then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
startdaemon(){
|
||||
echo -n "Starting ${DAEMON}: "
|
||||
start-stop-daemon --start -x /usr/bin/${DAEMON} -- ${CMDLINE} --pid_file /var/run/${DAEMON}.pid
|
||||
echo "done"
|
||||
}
|
||||
|
||||
stopdaemon(){
|
||||
echo -n "Stopping ${DAEMON}: "
|
||||
start-stop-daemon --stop -p /var/run/${DAEMON}.pid
|
||||
echo "done"
|
||||
}
|
||||
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
startdaemon
|
||||
;;
|
||||
stop)
|
||||
stopdaemon
|
||||
;;
|
||||
force-reload)
|
||||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
restart)
|
||||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
reload)
|
||||
stopdaemon
|
||||
startdaemon
|
||||
;;
|
||||
*)
|
||||
echo "Usage: ${DAEMON} { start | stop | restart | reload }" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,81 @@
|
||||
SUMMARY = "1-Wire file system"
|
||||
DESCRIPTION = "OWFS is an easy way to use the powerful 1-wire system of Dallas/Maxim"
|
||||
HOMEPAGE = "http://www.owfs.org/"
|
||||
SECTION = "console/network"
|
||||
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=628b867016631792781a8735a04760e5 \
|
||||
file://COPYING.LIB;md5=9021b7435efdd9fb22beef8291134099"
|
||||
|
||||
DEPENDS = "fuse virtual/libusb0"
|
||||
# v3.2p3
|
||||
SRCREV = "3744375dfaa350e31c9b360eb1e1a517bbeb5c47"
|
||||
SRC_URI = "git://github.com/owfs/owfs;branch=master;protocol=https \
|
||||
file://0001-Add-build-rule-for-README.patch \
|
||||
file://0001-Fix-compilation-with-GCC10.patch \
|
||||
file://owhttpd \
|
||||
file://owserver \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools-brokensep update-rc.d pkgconfig systemd
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
--with-fuseinclude=${STAGING_INCDIR} \
|
||||
--with-fuselib=${STAGING_LIBDIR} \
|
||||
--enable-owfs \
|
||||
--enable-owhttpd \
|
||||
--enable-w1 \
|
||||
--disable-swig \
|
||||
--disable-owtcl \
|
||||
--disable-owphp \
|
||||
--disable-owpython \
|
||||
--disable-owperl \
|
||||
"
|
||||
|
||||
do_install:prepend() {
|
||||
install -d ${D}${sysconfdir}/default/
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
|
||||
install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
|
||||
}
|
||||
|
||||
PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap"
|
||||
|
||||
DESCRIPTION:owftpd = "Anoymous FTP server for 1-wire access"
|
||||
DESCRIPTION:owhttpd = "Tiny webserver for 1-wire control"
|
||||
DESCRIPTION:owserver = "Backend server (daemon) for 1-wire control"
|
||||
DESCRIPTION:owshell = "owdir owread owwrite owpresent owget - lightweight owserver access"
|
||||
DESCRIPTION:libowcapi = "easy C-language 1-wire interface "
|
||||
DESCRIPTION:libow = "easy C-language 1-wire interface to the owserver protocol"
|
||||
DESCRIPTION:libownet = "easy C-language 1-wire interface to the owserver protocol"
|
||||
DESCRIPTION:owmon = "Monitor for owserver settings and statistics"
|
||||
DESCRIPTION:owtap = "Packet sniffer for the owserver protocol"
|
||||
|
||||
FILES:owftpd = "${bindir}/owftpd ${systemd_system_unitdir}/owftpd.service"
|
||||
FILES:owhttpd = "${bindir}/owhttpd ${sysconfdir}/init.d/owhttpd \
|
||||
${systemd_system_unitdir}/owhttpd.service"
|
||||
FILES:owserver = "${bindir}/owserver ${sysconfdir}/init.d/owserver \
|
||||
${systemd_system_unitdir}/owserver.service \
|
||||
${systemd_system_unitdir}/owserver.socket"
|
||||
FILES:owshell = "${bindir}/owread ${bindir}/owwrite \
|
||||
${bindir}/owdir ${bindir}/owpresent \
|
||||
${bindir}/owget ${bindir}/owside"
|
||||
FILES:owmon = "${bindir}/owmon"
|
||||
FILES:owtap = "${bindir}/owtap"
|
||||
FILES:libowcapi = "${libdir}/libowcapi-*"
|
||||
FILES:libow = "${libdir}/libow-*"
|
||||
FILES:libownet = "${libdir}/libownet-*"
|
||||
FILES:${PN} += "${systemd_system_unitdir}/owfs.service"
|
||||
|
||||
INITSCRIPT_PACKAGES = "owhttpd owserver"
|
||||
INITSCRIPT_NAME:owserver = "owserver"
|
||||
INITSCRIPT_NAME:owhttpd = "owhttpd"
|
||||
INITSCRIPT_PARAMS:owserver = "defaults 20"
|
||||
INITSCRIPT_PARAMS:owhttpd = "defaults 21"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "owfs.service"
|
||||
SYSTEMD_SERVICE:${PN}-owftpd = "owftpd.service"
|
||||
SYSTEMD_SERVICE:${PN}-owhttpd = "owhttpd.service"
|
||||
SYSTEMD_SERVICE:${PN}-owserver = "owserver.service owserver.socket"
|
||||
@@ -0,0 +1,55 @@
|
||||
SUMMARY = "Meta-filesystem packagegroups"
|
||||
|
||||
PACKAGE_ARCH = "${TUNE_PKGARCH}"
|
||||
inherit packagegroup
|
||||
|
||||
PROVIDES = "${PACKAGES}"
|
||||
PACKAGES = ' \
|
||||
packagegroup-meta-filesystems \
|
||||
packagegroup-meta-filesystems-support \
|
||||
packagegroup-meta-filesystems-utils \
|
||||
'
|
||||
|
||||
RDEPENDS:packagegroup-meta-filesystems = "\
|
||||
packagegroup-meta-filesystems \
|
||||
packagegroup-meta-filesystems-support \
|
||||
packagegroup-meta-filesystems-utils \
|
||||
"
|
||||
|
||||
RDEPENDS:packagegroup-meta-filesystems = "\
|
||||
ifuse \
|
||||
libisofs \
|
||||
libburn \
|
||||
libisoburn \
|
||||
logfsprogs \
|
||||
fuse-exfat \
|
||||
owfs \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "pam", "smbnetfs", "", d)} \
|
||||
simple-mtpfs \
|
||||
yaffs2-utils \
|
||||
ntfs-3g-ntfsprogs \
|
||||
httpfs2 \
|
||||
unionfs-fuse \
|
||||
sshfs-fuse \
|
||||
"
|
||||
|
||||
RDEPENDS:packagegroup-meta-filesystems-support = "\
|
||||
fuse3 \
|
||||
fuse \
|
||||
physfs \
|
||||
"
|
||||
|
||||
RDEPENDS:packagegroup-meta-filesystems-utils = "\
|
||||
aufs-util \
|
||||
exfat-utils \
|
||||
fatcat \
|
||||
xfsdump \
|
||||
f2fs-tools \
|
||||
fatresize \
|
||||
udevil \
|
||||
ufs-utils \
|
||||
xfsprogs \
|
||||
xorriso \
|
||||
"
|
||||
|
||||
EXCLUDE_FROM_WORLD = "1"
|
||||
@@ -0,0 +1,14 @@
|
||||
DESCRIPTION = "SIMPLE-MTPFS is a FUSE based filsystem for MTP devices connected via USB"
|
||||
HOMEPAGE = "https://github.com/phatina/simple-mtpfs"
|
||||
BUGTRACKER = "19e7bb9b608b0c0dce2ee6f56fac75901bc69529"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e"
|
||||
|
||||
DEPENDS = "fuse libmtp autoconf-archive"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
SRC_URI = "git://github.com/phatina/simple-mtpfs.git;protocol=https;branch=master"
|
||||
SRCREV = "19e7bb9b608b0c0dce2ee6f56fac75901bc69529"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -0,0 +1,44 @@
|
||||
From 7a524d49b3d4459280f18942df2980603400ec52 Mon Sep 17 00:00:00 2001
|
||||
From: Bian Naimeng <biannm@cn.fujitsu.com>
|
||||
Date: Fri, 19 Jun 2015 11:54:44 +0900
|
||||
Subject: [PATCH] Using PKG_CHECK_MODULES to found headers and libraries of
|
||||
smbclient
|
||||
|
||||
Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
configure.in | 5 +++++
|
||||
src/Makefile.am | 3 +++
|
||||
2 files changed, 8 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4c03409..8d22e71 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -119,6 +119,11 @@ AC_CHECK_LIB(smbclient, smbc_setOptionUseCCache, [], [
|
||||
LIBS="$LIBS $SMBCLIENT_LIBS"
|
||||
CFLAGS="$CFLAGS $SMBCLIENT_CFLAGS"
|
||||
|
||||
+dnl *****************************************************************
|
||||
+dnl *** Check libsmbclient by pkgconfig to get cflags and ldflags ***
|
||||
+dnl *****************************************************************
|
||||
+PKG_CHECK_MODULES(SMBCLIENT, smbclient)
|
||||
+
|
||||
dnl ******************
|
||||
dnl *** Final step ***
|
||||
dnl ******************
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index ccaa8c3..6598317 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -17,3 +17,6 @@ smbnetfs_SOURCES = \
|
||||
event.c event.h \
|
||||
reconfigure.c reconfigure.h \
|
||||
main.c
|
||||
+
|
||||
+smbnetfs_CFLAGS=${SMBCLIENT_CFLAGS}
|
||||
+smbnetfs_LDFLAGS=${SMBCLIENT_LDFLAGS}
|
||||
--
|
||||
1.8.4.2
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1,5 +1,5 @@
|
||||
AC_INIT([SMBNetFS],[0.6.3])
|
||||
-AM_INIT_AUTOMAKE
|
||||
+AM_INIT_AUTOMAKE([foreign])
|
||||
AC_CONFIG_HEADERS([src/config.h])
|
||||
AC_PROG_CC
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "FUSE module for mounting an entire SMB/NMB network in a single directory"
|
||||
DESCRIPTION = "SMBNetFS is a Linux/FreeBSD filesystem that allow you to use \
|
||||
samba/microsoft network in the same manner as the network \
|
||||
neighborhood in Microsoft Windows. Please donate me to help \
|
||||
in SMBNetFS development."
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
|
||||
HOMEPAGE ="http://sourceforge.net/projects/smbnetfs"
|
||||
|
||||
DEPENDS = "fuse samba"
|
||||
DEPENDS:append:libc-musl = " libexecinfo"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
# samba depends on libpam
|
||||
REQUIRED_DISTRO_FEATURES = "pam"
|
||||
|
||||
PV = "0.6.3"
|
||||
|
||||
SRCREV = "736d5e599df3bebce3450125118ac2e70358b0c9"
|
||||
|
||||
SRC_URI = "git://smbnetfs.git.sourceforge.net/gitroot/smbnetfs/smbnetfs;branch=master \
|
||||
file://configure.patch \
|
||||
file://Using-PKG_CHECK_MODULES-to-found-headers-and-libraries.patch"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[libsecret] = "--with-libsecret=yes,--with-libsecret=no,libsecret"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
LDFLAGS:append:libc-musl = " -lexecinfo"
|
||||
@@ -0,0 +1,34 @@
|
||||
From 03ee1f8aa0899268ec02b2f54849352df92a3a1d Mon Sep 17 00:00:00 2001
|
||||
From: Gabriel Staples <ercaguy@gmail.com>
|
||||
Date: Tue, 22 Dec 2020 23:33:55 -0800
|
||||
Subject: [PATCH] pytest.ini: fix test warning
|
||||
|
||||
Warning:
|
||||
|
||||
```
|
||||
test/util.py:99
|
||||
sshfs/build/test/util.py:99: PytestUnknownMarkWarning: Unknown pytest.mark.uses_fuse - is this a typo?
|
||||
You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
|
||||
return pytest.mark.uses_fuse()
|
||||
```
|
||||
|
||||
References for the fix:
|
||||
|
||||
1. https://stackoverflow.com/questions/60806473/pytestunknownmarkwarning-unknown-pytest-mark-xxx-is-this-a-typo/60813297#60813297
|
||||
1. https://docs.pytest.org/en/stable/mark.html
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/libfuse/sshfs/pull/238]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
test/pytest.ini | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/test/pytest.ini b/test/pytest.ini
|
||||
index 95161546..7a7efed4 100644
|
||||
--- a/test/pytest.ini
|
||||
+++ b/test/pytest.ini
|
||||
@@ -1,2 +1,4 @@
|
||||
[pytest]
|
||||
addopts = --verbose --assert=rewrite --tb=native -x -r a
|
||||
+markers =
|
||||
+ uses_fuse
|
||||
@@ -0,0 +1,31 @@
|
||||
From a1d58ae1be99571a88b8439b027abe6349b74658 Mon Sep 17 00:00:00 2001
|
||||
From: Gabriel Staples <ercaguy@gmail.com>
|
||||
Date: Tue, 22 Dec 2020 23:26:40 -0800
|
||||
Subject: [PATCH] Fix deprecated warning in conftest.py
|
||||
|
||||
```
|
||||
test/conftest.py:66
|
||||
sshfs/build/test/conftest.py:66: PytestDeprecationWarning: @pytest.yield_fixture is deprecated.
|
||||
Use @pytest.fixture instead; they are the same.
|
||||
@pytest.yield_fixture(autouse=True)
|
||||
```
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/libfuse/sshfs/pull/238]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
test/conftest.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/test/conftest.py b/test/conftest.py
|
||||
index 70cd0c62..d58d45b2 100644
|
||||
--- a/test/conftest.py
|
||||
+++ b/test/conftest.py
|
||||
@@ -63,7 +63,7 @@ def register_output(self, pattern, count=1, flags=re.MULTILINE):
|
||||
# relies on tests running sequential (i.e., don't dare to use e.g. the xdist
|
||||
# plugin)
|
||||
current_capfd = None
|
||||
-@pytest.yield_fixture(autouse=True)
|
||||
+@pytest.fixture(autouse=True)
|
||||
def save_cap_fixtures(request, capfd):
|
||||
global current_capfd
|
||||
capfd.false_positives = []
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "This is a filesystem client based on the SSH File Transfer Protocol using FUSE"
|
||||
HOMEPAGE = "https://github.com/libfuse/sshfs"
|
||||
SECTION = "console/network"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
DEPENDS = "glib-2.0 fuse3"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
SRC_URI = "git://github.com/libfuse/sshfs;branch=master;protocol=https \
|
||||
file://03ee1f8aa0899268ec02b2f54849352df92a3a1d.patch \
|
||||
file://a1d58ae1be99571a88b8439b027abe6349b74658.patch \
|
||||
"
|
||||
SRCREV = "c91eb9a9a992f1a36c49a8e6f1146e45b5e1c8e7"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson pkgconfig ptest
|
||||
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
bash \
|
||||
fuse \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/test
|
||||
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
From 6e794a36564a2639a07d8720260e33d7c9435aa4 Mon Sep 17 00:00:00 2001
|
||||
From: Alper Ak <alperyasinak1@gmail.com>
|
||||
Date: Fri, 10 Nov 2023 20:50:48 +0300
|
||||
Subject: [PATCH] support cross compiling
|
||||
|
||||
Do not override OE CMAKE variables
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
|
||||
|
||||
Upstream-Status: Pending
|
||||
---
|
||||
src/CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index f549496..ab71fb2 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -4,9 +4,9 @@ set(UNIONFS_SRCS unionfs.c opts.c debug.c findbranch.c readdir.c
|
||||
fuse_ops.c)
|
||||
set(UNIONFSCTL_SRCS unionfsctl.c)
|
||||
|
||||
-SET(CMAKE_C_FLAGS "-pipe -W -Wall -D_FORTIFY_SOURCE=2")
|
||||
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pipe -W -Wall -D_FORTIFY_SOURCE=2")
|
||||
SET(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g")
|
||||
-SET(CMAKE_C_FLAGS_RELEASE "-O2")
|
||||
+SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -O2")
|
||||
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g -DDEBUG")
|
||||
|
||||
add_executable(unionfs ${UNIONFS_SRCS} ${HASHTABLE_SRCS})
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "A FUSE based implemention of unionfs"
|
||||
HOMEPAGE = "https://github.com/rpodgorny/unionfs-fuse"
|
||||
SECTION = "console/network"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://src/unionfs.c;beginline=3;endline=8;md5=30fa8de70fd8abab00b483a1b7943a32 \
|
||||
file://LICENSE;md5=7e5a37fce17307066eec6b23546da3b3 \
|
||||
"
|
||||
|
||||
SRC_URI = "git://github.com/rpodgorny/${BPN}.git;branch=master;protocol=https \
|
||||
file://0001-support-cross-compiling.patch \
|
||||
"
|
||||
SRCREV = "773f1853b043eeb64b7459f903a2c65bd096f9d9"
|
||||
|
||||
DEPENDS = "fuse3"
|
||||
RDEPENDS:${PN} = "bash"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake pkgconfig
|
||||
@@ -0,0 +1,32 @@
|
||||
From 848717da4a28d33f8aa8f889377e61e6b1b8ae67 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Jul 2017 18:29:52 -0700
|
||||
Subject: [PATCH] define loff_t if not already defined
|
||||
|
||||
Helps to build with musl
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
yaffs_guts.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/yaffs_guts.h b/yaffs_guts.h
|
||||
index 6bcf12d..4af17ce 100644
|
||||
--- a/yaffs_guts.h
|
||||
+++ b/yaffs_guts.h
|
||||
@@ -18,6 +18,10 @@
|
||||
|
||||
#include "yportenv.h"
|
||||
|
||||
+#ifndef loff_t
|
||||
+#define loff_t off_t
|
||||
+#endif
|
||||
+
|
||||
#define YAFFS_OK 1
|
||||
#define YAFFS_FAIL 0
|
||||
|
||||
--
|
||||
2.13.2
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 05cc2b958090f96d6fa128da43aa69669625e529 Mon Sep 17 00:00:00 2001
|
||||
From: Robert Yang <liezhi.yang@windriver.com>
|
||||
Date: Tue, 5 Mar 2024 12:03:23 +0000
|
||||
Subject: [PATCH] yaffs_guts.h: define YTIME_T if not already defined
|
||||
|
||||
Fixed:
|
||||
yaffs_guts.h:501:9: error: unknown type name 'YTIME_T'
|
||||
501 | YTIME_T yst_uid;
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
||||
---
|
||||
yaffs_guts.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/yaffs_guts.h b/yaffs_guts.h
|
||||
index 74ded0b..598271b 100644
|
||||
--- a/yaffs_guts.h
|
||||
+++ b/yaffs_guts.h
|
||||
@@ -487,6 +487,10 @@ struct yaffs_obj {
|
||||
|
||||
YCHAR short_name[YAFFS_SHORT_NAME_LENGTH + 1];
|
||||
|
||||
+#ifndef YTIME_T
|
||||
+#define YTIME_T time_t
|
||||
+#endif
|
||||
+
|
||||
#ifdef CONFIG_YAFFS_WINCE
|
||||
//these are always 64 bits
|
||||
u32 win_ctime[2];
|
||||
--
|
||||
2.35.5
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
|
||||
|
||||
diff --git a/utils/Makefile b/utils/Makefile
|
||||
index 710ebbf..6259893 100644
|
||||
--- a/utils/Makefile
|
||||
+++ b/utils/Makefile
|
||||
@@ -57,10 +57,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c
|
||||
$(CC) -c $(CFLAGS) $< -o $@
|
||||
|
||||
mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS)
|
||||
- $(CC) -o $@ $^
|
||||
+ $(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS)
|
||||
- $(CC) -o $@ $^
|
||||
+ $(CC) $(LDFLAGS) -o $@ $^
|
||||
|
||||
|
||||
clean:
|
||||
@@ -0,0 +1,53 @@
|
||||
SUMMARY = "Yet Another Flash File System"
|
||||
DESCRIPTION = "Tools for managing 'yaffs2' file systems."
|
||||
|
||||
SECTION = "base"
|
||||
HOMEPAGE = "http://www.yaffs.net"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=11;endline=13;md5=5f5464f9b3e981ca574e65b00e438561 \
|
||||
file://utils/mkyaffsimage.c;beginline=10;endline=12;md5=5f5464f9b3e981ca574e65b00e438561 \
|
||||
"
|
||||
|
||||
# The commit date of SRCREV
|
||||
PV = "20221209"
|
||||
|
||||
DEPENDS = "mtd-utils"
|
||||
|
||||
# Source is the HEAD of master branch at the time of writing this recipe
|
||||
SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
|
||||
file://makefile-add-ldflags.patch \
|
||||
file://0001-define-loff_t-if-not-already-defined.patch \
|
||||
file://0001-yaffs_guts.h-define-YTIME_T-if-not-already-defined.patch \
|
||||
"
|
||||
|
||||
SRCREV = "613a901a229e8a701c18f003dd0aee18453e0670"
|
||||
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
CFLAGS:append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES"
|
||||
EXTRA_OEMAKE = "-e MAKEFLAGS="
|
||||
|
||||
do_compile() {
|
||||
cd utils && oe_runmake
|
||||
}
|
||||
|
||||
INSTALL_FILES = "mkyaffsimage \
|
||||
mkyaffs2image \
|
||||
"
|
||||
do_install() {
|
||||
install -d ${D}${sbindir}/
|
||||
for i in ${INSTALL_FILES}; do
|
||||
install -m 0755 utils/$i ${D}${sbindir}/
|
||||
done
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
# Fixed make clean error:
|
||||
#make -C /lib/modules/4.4.0-112-generic/build M=<snip>
|
||||
#make: *** /lib/modules/4.4.0-112-generic/build: No such file or directory. Stop.
|
||||
#make: *** [clean] Error 2
|
||||
CLEANBROKEN = "1"
|
||||
@@ -0,0 +1,34 @@
|
||||
From cc0cd6f71f6ef96fca2d7b730a3f0f6722fec696 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 7 May 2022 12:15:22 -0700
|
||||
Subject: [PATCH] Define strndupa if it does not exist
|
||||
|
||||
musl e.g. does not supply strndupa, unlike glibc
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
---
|
||||
etc/systemd/system-generators/zfs-mount-generator.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/etc/systemd/system-generators/zfs-mount-generator.c b/etc/systemd/system-generators/zfs-mount-generator.c
|
||||
index f4c6c26..255bee4 100644
|
||||
--- a/etc/systemd/system-generators/zfs-mount-generator.c
|
||||
+++ b/etc/systemd/system-generators/zfs-mount-generator.c
|
||||
@@ -193,6 +193,15 @@ fopenat(int dirfd, const char *pathname, int flags,
|
||||
return (fdopen(fd, stream_mode));
|
||||
}
|
||||
|
||||
+#ifndef strndupa
|
||||
+#define strndupa(s, n) \
|
||||
+ (__extension__ ({const char *__in = (s); \
|
||||
+ size_t __len = strnlen (__in, (n)) + 1; \
|
||||
+ char *__out = (char *) alloca (__len); \
|
||||
+ __out[__len-1] = '\0'; \
|
||||
+ (char *) memcpy (__out, __in, __len-1);}))
|
||||
+#endif
|
||||
+
|
||||
static int
|
||||
line_worker(char *line, const char *cachefile)
|
||||
{
|
||||
@@ -0,0 +1,46 @@
|
||||
From 1f9a5cb860b3509791e59a8cae9d5f265e832ed0 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sun, 28 May 2023 16:33:15 -0700
|
||||
Subject: [PATCH] fs-tests/cmd/readmmap: Replace uint_t with uint32_t
|
||||
|
||||
Makes it portable across glibc and musl
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tests/zfs-tests/cmd/readmmap.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/zfs-tests/cmd/readmmap.c b/tests/zfs-tests/cmd/readmmap.c
|
||||
index 704ffd55c8..a2590e0e8d 100644
|
||||
--- a/tests/zfs-tests/cmd/readmmap.c
|
||||
+++ b/tests/zfs-tests/cmd/readmmap.c
|
||||
@@ -38,6 +38,7 @@
|
||||
* 0 : no errors
|
||||
* --------------------------------------------------------------
|
||||
*/
|
||||
+#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -55,7 +56,7 @@ main(int argc, char **argv)
|
||||
char *buf = NULL;
|
||||
char *map = NULL;
|
||||
int fd = -1, bytes, retval = 0;
|
||||
- uint_t seed;
|
||||
+ uint32_t seed;
|
||||
|
||||
if (argc < 2 || optind == argc) {
|
||||
(void) fprintf(stderr,
|
||||
@@ -92,7 +93,7 @@ main(int argc, char **argv)
|
||||
retval = 1;
|
||||
goto end;
|
||||
}
|
||||
- seed = (uint_t)time(NULL);
|
||||
+ seed = (uint32_t)time(NULL);
|
||||
srandom(seed);
|
||||
|
||||
idx = random() % size;
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
From aaf28a4630af60496c9d33db1d06a7d7d8983422 Mon Sep 17 00:00:00 2001
|
||||
From: Sebastian Gottschall <s.gottschall@dd-wrt.com>
|
||||
Date: Tue, 23 May 2023 13:50:24 +0600
|
||||
Subject: [PATCH] fixes broken aarch64 inline assembly for gcc 13.1
|
||||
|
||||
fixes the following error
|
||||
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_aarch64_neon_common.h:549:24: error: the register specified for 'w7' is not general enough to be used as a register variable
|
||||
549 | register unsigned char w7 asm("v7") __attribute__((vector_size(16)));
|
||||
| ^~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_aarch64_neonx2.c:193:9: note: in expansion of macro 'GEN_X_DEFINE_6_7'
|
||||
193 | GEN_X_DEFINE_6_7() \
|
||||
| ^~~~~~~~~~~~~~~~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_impl.h:1360:9: note: in expansion of macro 'REC_PQR_DEFINE'
|
||||
1360 | REC_PQR_DEFINE();
|
||||
| ^~~~~~~~~~~~~~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_aarch64_neon_common.h:551:24: error: the register specified for 'w8' is not general enough to be used as a register variable
|
||||
551 | register unsigned char w8 asm("v8") __attribute__((vector_size(16))); \
|
||||
| ^~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_aarch64_neonx2.c:194:9: note: in expansion of macro 'GEN_X_DEFINE_8_9'
|
||||
194 | GEN_X_DEFINE_8_9() \
|
||||
| ^~~~~~~~~~~~~~~~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_impl.h:1360:9: note: in expansion of macro 'REC_PQR_DEFINE'
|
||||
1360 | REC_PQR_DEFINE();
|
||||
| ^~~~~~~~~~~~~~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_aarch64_neon_common.h:552:24: error: the register specified for 'w9' is not general enough to be used as a register variable
|
||||
552 | register unsigned char w9 asm("v9") __attribute__((vector_size(16)));
|
||||
| ^~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_aarch64_neonx2.c:194:9: note: in expansion of macro 'GEN_X_DEFINE_8_9'
|
||||
194 | GEN_X_DEFINE_8_9() \
|
||||
| ^~~~~~~~~~~~~~~~
|
||||
/mnt/b/yoe/master/build/tmp/work/imx8qm_var_som-yoe-linux/zfs/2.1.9-r0/build/../zfs-2.1.9/module/zfs/vdev_raidz_math_impl.h:1360:9: note: in expansion of macro 'REC_PQR_DEFINE'
|
||||
1360 | REC_PQR_DEFINE();
|
||||
|
||||
Upstream-Status: Pending [https://github.com/BrainSlayer/zfs/commit/aaf28a4630af60496c9d33db1d06a7d7d8983422]
|
||||
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
module/Kbuild.in | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
--- a/module/Kbuild.in
|
||||
+++ b/module/Kbuild.in
|
||||
@@ -57,9 +57,9 @@ asflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_
|
||||
ccflags-y := $(ZFS_MODULE_CFLAGS) $(ZFS_MODULE_CPPFLAGS)
|
||||
|
||||
ifeq ($(CONFIG_ARM64),y)
|
||||
-CFLAGS_REMOVE_zcommon/zfs_fletcher_aarch64_neon.o += -mgeneral-regs-only
|
||||
-CFLAGS_REMOVE_zfs/vdev_raidz_math_aarch64_neon.o += -mgeneral-regs-only
|
||||
-CFLAGS_REMOVE_zfs/vdev_raidz_math_aarch64_neonx2.o += -mgeneral-regs-only
|
||||
+CFLAGS_REMOVE_zcommon/zfs_fletcher_aarch64_neon.o = -mgeneral-regs-only
|
||||
+CFLAGS_REMOVE_zfs/vdev_raidz_math_aarch64_neon.o = -mgeneral-regs-only
|
||||
+CFLAGS_REMOVE_zfs/vdev_raidz_math_aarch64_neonx2.o = -mgeneral-regs-only
|
||||
endif
|
||||
|
||||
# Suppress unused-value warnings in sparc64 architecture headers
|
||||
@@ -0,0 +1,77 @@
|
||||
SUMMARY = "OpenZFS on Linux and FreeBSD"
|
||||
DESCRIPTION = "OpenZFS on Linux and FreeBSD"
|
||||
LICENSE = "CDDL-1.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa"
|
||||
HOMEPAGE ="https://github.com/openzfs/zfs"
|
||||
|
||||
SRCREV = "494aaaed89cb9fe9f2da3b6c6f465a4bc9f6a7e1"
|
||||
SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \
|
||||
file://0001-Define-strndupa-if-it-does-not-exist.patch \
|
||||
file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \
|
||||
file://0001-fs-tests-cmd-readmmap-Replace-uint_t-with-uint32_t.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
# Using both 'module' and 'autotools' classes seems a bit odd, they both
|
||||
# define a do_compile function.
|
||||
# That's why we opt for module-base, also this prevents module splitting.
|
||||
inherit module-base pkgconfig autotools bash-completion
|
||||
|
||||
DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl"
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}"
|
||||
|
||||
PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,"
|
||||
PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit,"
|
||||
|
||||
EXTRA_OECONF:append = " \
|
||||
--disable-pyzfs \
|
||||
--with-linux=${STAGING_KERNEL_DIR} --with-linux-obj=${STAGING_KERNEL_BUILDDIR} \
|
||||
--with-mounthelperdir=${base_sbin} \
|
||||
--with-udevdir=${base_libdir}/udev \
|
||||
--with-systemdunitdir=${systemd_system_unitdir} \
|
||||
--with-systemdgeneratordir=${nonarch_base_libdir}/systemd/system-generators \
|
||||
--with-systemdpresetdir=${nonarch_base_libdir}/systemd/system-preset \
|
||||
--with-systemdmodulesloaddir=${sysconfdir}/module-load.d \
|
||||
--without-dracutdir \
|
||||
"
|
||||
|
||||
EXTRA_OEMAKE:append = " \
|
||||
INSTALL_MOD_PATH=${D}${root_prefix} \
|
||||
"
|
||||
|
||||
do_install:append() {
|
||||
# /usr/share/zfs contains the zfs-tests folder which we do not need:
|
||||
rm -rf ${D}${datadir}/zfs
|
||||
|
||||
rm -rf ${D}${datadir}/initramfs-tools
|
||||
}
|
||||
|
||||
FILES:${PN} += "\
|
||||
${nonarch_base_libdir}/modules \
|
||||
${systemd_system_unitdir} \
|
||||
${nonarch_base_libdir}/systemd/system-generators \
|
||||
${nonarch_base_libdir}/systemd/system-preset \
|
||||
${sysconfdir}/modules-load.d/${BPN}.conf \
|
||||
${sysconfdir}/default/${BPN} \
|
||||
${sysconfdir}/sudoers.d/${BPN} \
|
||||
${sysconfdir}/${BPN} \
|
||||
${base_libdir}/udev \
|
||||
${sbindir} \
|
||||
${bindir} \
|
||||
${libexecdir}/${BPN} \
|
||||
${libdir} \
|
||||
"
|
||||
|
||||
FILES:${PN}-dev += "\
|
||||
${prefix}/src/zfs-${PV} \
|
||||
${prefix}/src/spl-${PV} \
|
||||
"
|
||||
# Not yet ported to rv32
|
||||
COMPATIBLE_HOST:riscv32 = "null"
|
||||
# conflicting definition of ABS macro from asm/asm.h from kernel
|
||||
COMPATIBLE_HOST:mips = "null"
|
||||
# FTBFS on aarch64 with 6.2+ kernel see https://github.com/openzfs/zfs/issues/14555
|
||||
COMPATIBLE_HOST:aarch64 = "null"
|
||||
Reference in New Issue
Block a user