package/quota: bump version to 4.11
PATCH 1/1 package/quota: bump version to 4.11
Bump version to 4.11. Removed patches given [1] has:
* setproject: Fix openWRT build (Jan Kara)
* setproject: fix openat() call (Konstantin Demin)
[1] https://sourceforge.net/p/linuxquota/code/ci/v4.11/tree/Changelog
Signed-off-by Jarkko Sakkinen <[email protected]>
--- .../0001-setproject-fix-openat-call.patch | 41 ------------------- .../0002-setproject-Fix-openWRT-build.patch | 32 --------------- package/quota/quota.hash | 6 +-- package/quota/quota.mk | 2 +- 4 files changed, 2 insertions(+), 79 deletions(-) delete mode 100644 package/quota/0001-setproject-fix-openat-call.patch delete mode 100644 package/quota/0002-setproject-Fix-openWRT-build.patch
package/quota/0001-setproject-fix-openat-call.patch deleted +0 -41
@@ -1,41 +0,0 @@ -From d9852bd5b76ca65f283929e803b87343942ecb1f Mon Sep 17 00:00:00 2001 -From: Konstantin Demin <[email protected]> -Date: Tue, 1 Jul 2025 14:35:36 +0200 -Subject: [PATCH] setproject: fix openat() call - -It looks like that openat() call was copy-pasted from above fstatat() call. -However, manpage for openat() doesn't mention AT_SYMLINK_NOFOLLOW. -Furthermore, AT_SYMLINK_NOFOLLOW constant value (0x100) sometimes (!) clashes -with O_CREAT constant value which is defined as 0100 (0x40) OR 0x100 (yes, two -different values for the same constant appear in headers). This produces build -errors when fortifying defines (-D_FORTIFY_SOURCE) are in effect (e.g. with -glibc 2.41). In order to keep correct behavior, use O_NOFOLLOW instead of -AT_SYMLINK_NOFOLLOW. - -Fixes: e61d46c65899ced9599c93a6128f19d8759fcad8 -Signed-off-by: Konstantin Demin <[email protected]> -Signed-off-by: Jan Kara <[email protected]> - -Upstream: https://sourceforge.net/p/linuxquota/code/ci/d9852bd5b76ca65f283929e803b87343942ecb1f/ - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - setproject.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setproject.c b/setproject.c -index 3047c3d..e688dcd 100644 ---- a/setproject.c -+++ b/setproject.c -@@ -73,7 +73,7 @@ static void setproject_recurse(int dirfd, unsigned id, unsigned dev) - if (!S_ISDIR(st.st_mode) && !S_ISREG(st.st_mode)) - continue; - -- int fd = openat(dirfd, d->d_name, AT_SYMLINK_NOFOLLOW); -+ int fd = openat(dirfd, d->d_name, O_NOFOLLOW); - if (fd < 0) { - errstr(_("error opening %s: %m"), d->d_name); - errno = 0; --- -2.47.3 -
package/quota/0002-setproject-Fix-openWRT-build.patch deleted +0 -32
@@ -1,32 +0,0 @@ -From 41ba7031ca4852739dd1f66102d34e4a98490906 Mon Sep 17 00:00:00 2001 -From: Jan Kara <[email protected]> -Date: Tue, 1 Jul 2025 15:41:56 +0200 -Subject: [PATCH] setproject: Fix openWRT build - -basename() needs libgen.h include in openWRT build environment. Add it. - -Reported-by: "W. Michael Petullo" <[email protected]> -Signed-off-by: Jan Kara <[email protected]> - -Upstream: https://sourceforge.net/p/linuxquota/code/ci/41ba7031ca4852739dd1f66102d34e4a98490906/ - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - setproject.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/setproject.c b/setproject.c -index e688dcd..4308435 100644 ---- a/setproject.c -+++ b/setproject.c -@@ -13,6 +13,7 @@ - #include <sys/stat.h> - #include <sys/types.h> - #include <unistd.h> -+#include <libgen.h> - - #include <linux/fs.h> - --- -2.47.3 -
package/quota/quota.hash +1 -5
@@ -1,6 +1,2 @@ -# From https://sourceforge.net/projects/linuxquota/files/quota-tools/4.10/ -sha1 343f26a6f1b6a8dbbd7d89045b0c087efb08d553 quota-4.10.tar.gz - -# Locally calculated -sha256 a04a0cafca29c15be8b6ac660e06188bccb802c19efe2e7c19ed7f3d667ecf5e quota-4.10.tar.gz +sha256 0a51b8f920254d8e83c34a4c3082b7d241f5d6fd65188afadf29859d5223ef78 quota-4.11.tar.gz sha256 32a5fd41e7a257f7f0373988ea8d45cebdbf376060703c242c11c000751b1203 COPYING
package/quota/quota.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -QUOTA_VERSION = 4.10 +QUOTA_VERSION = 4.11 QUOTA_SITE = https://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION) QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils QUOTA_LICENSE = GPL-2.0+
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 8 lines · Jarkko Sakkinen via buildroot
Bump version to 4.11. Removed patches given [1] has:
* setproject: Fix openWRT build (Jan Kara)
* setproject: fixopenat()call (Konstantin Demin)[1] https://sourceforge.net/p/linuxquota/code/ci/v4.11/tree/Changelog
Signed-off-by Jarkko Sakkinen <[email protected]>
Applied to next, thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot