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:
70
sources/poky/meta/recipes-extended/quota/quota/fcntl.patch
Normal file
70
sources/poky/meta/recipes-extended/quota/quota/fcntl.patch
Normal file
@@ -0,0 +1,70 @@
|
||||
From 00a456145531d194d3993c9f4cd404d5ca16c9df Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 6 Apr 2015 17:36:44 +0000
|
||||
Subject: [PATCH] quota: Fix build with musl
|
||||
|
||||
Include fcntl.h to pacify compiler errors on musl
|
||||
like
|
||||
|
||||
error: unknown type name 'loff_t'
|
||||
Cover rpc headers under proper conditional
|
||||
Dont use __P its undefined
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
---
|
||||
quotacheck.c | 1 +
|
||||
quotaio.c | 1 +
|
||||
rquota_client.c | 4 ++++
|
||||
3 files changed, 6 insertions(+)
|
||||
|
||||
diff --git a/quotacheck.c b/quotacheck.c
|
||||
index bd62d9a..772a27d 100644
|
||||
--- a/quotacheck.c
|
||||
+++ b/quotacheck.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
+#include <fcntl.h>
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
diff --git a/quotaio.c b/quotaio.c
|
||||
index 94ae458..d57fc1a 100644
|
||||
--- a/quotaio.c
|
||||
+++ b/quotaio.c
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
+#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/file.h>
|
||||
diff --git a/rquota_client.c b/rquota_client.c
|
||||
index 7f8e821..d48505a 100644
|
||||
--- a/rquota_client.c
|
||||
+++ b/rquota_client.c
|
||||
@@ -19,7 +19,9 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
+#if defined(RPC)
|
||||
#include <rpc/rpc.h>
|
||||
+#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
@@ -35,7 +37,9 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "mntopt.h"
|
||||
+#if defined(RPC)
|
||||
#include "rquota.h"
|
||||
+#endif
|
||||
#include "common.h"
|
||||
#include "quotaio.h"
|
||||
#include "quotasys.h"
|
||||
34
sources/poky/meta/recipes-extended/quota/quota_4.09.bb
Normal file
34
sources/poky/meta/recipes-extended/quota/quota_4.09.bb
Normal file
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Tools for monitoring & limiting user disk usage per filesystem"
|
||||
SECTION = "base"
|
||||
HOMEPAGE = "http://sourceforge.net/projects/linuxquota/"
|
||||
DESCRIPTION = "Tools and patches for the Linux Diskquota system as part of the Linux kernel"
|
||||
BUGTRACKER = "http://sourceforge.net/tracker/?group_id=18136&atid=118136"
|
||||
LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://rquota_server.c;beginline=1;endline=20;md5=fe7e0d7e11c6f820f8fa62a5af71230f \
|
||||
file://svc_socket.c;beginline=1;endline=17;md5=24d5a8792da45910786eeac750be8ceb"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/project/linuxquota/quota-tools/${PV}/quota-${PV}.tar.gz \
|
||||
file://fcntl.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9"
|
||||
|
||||
CVE_PRODUCT = "linux_diskquota"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/linuxquota/files/quota-tools/"
|
||||
UPSTREAM_CHECK_REGEX = "/quota-tools/(?P<pver>(\d+[\.\-_]*)+)/"
|
||||
|
||||
DEPENDS = "gettext-native e2fsprogs libnl dbus"
|
||||
|
||||
inherit autotools-brokensep gettext pkgconfig
|
||||
|
||||
CFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-I${STAGING_INCDIR}/tirpc', '', d)}"
|
||||
LDFLAGS += "${@bb.utils.contains('PACKAGECONFIG', 'rpc', '-ltirpc', '', d)}"
|
||||
ASNEEDED = ""
|
||||
|
||||
PACKAGECONFIG ??= "tcp-wrappers rpc bsd"
|
||||
PACKAGECONFIG:libc-musl = "tcp-wrappers rpc"
|
||||
|
||||
PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
|
||||
PACKAGECONFIG[rpc] = "--enable-rpc,--disable-rpc,libtirpc"
|
||||
PACKAGECONFIG[bsd] = "--enable-bsd_behaviour=yes,--enable-bsd_behaviour=no,"
|
||||
PACKAGECONFIG[ldapmail] = "--enable-ldapmail,--disable-ldapmail,openldap"
|
||||
Reference in New Issue
Block a user