* [Buildroot] [PATCH 1/1] package/quota: bump to version 4.09
@ 2022-11-01 22:55 Fabrice Fontaine
2022-11-03 22:07 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-11-01 22:55 UTC (permalink / raw)
To: buildroot; +Cc: Jarkko Sakkinen, Fabrice Fontaine
Drop patch (already in version)
https://sourceforge.net/p/linuxquota/code/ci/master/tree/Changelog
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
...-realloc-3-instead-of-reallocarray-3.patch | 34 -------------------
package/quota/quota.hash | 8 ++---
package/quota/quota.mk | 2 +-
3 files changed, 5 insertions(+), 39 deletions(-)
delete mode 100644 package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch
diff --git a/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch b/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch
deleted file mode 100644
index 093d7cc821..0000000000
--- a/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 02b222a335527f1031cc9495d8c5ebc1bc5b1d4e Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Wed, 11 Nov 2020 15:00:47 +0100
-Subject: [PATCH] quota: Use realloc(3) instead of reallocarray(3)
-
-reallocarray(3) has been added to glibc relatively recently (version
-2.26, from 2017) and apparently not all users run new enough glibc. Just
-use realloc(3) for now since in this case there's no real risk of
-overflow.
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Signed-off-by: Jan Kara <jack@suse.cz>
-[Retrieved from:
-https://sourceforge.net/p/linuxquota/code/ci/02b222a335527f1031cc9495d8c5ebc1bc5b1d4e]
----
- quota.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/quota.c b/quota.c
-index a6ed61f..a60de12 100644
---- a/quota.c
-+++ b/quota.c
-@@ -385,7 +385,7 @@ int main(int argc, char **argv)
- break;
- case 259:
- fscount++;
-- fsnames = reallocarray(fsnames, fscount, sizeof(char *));
-+ fsnames = realloc(fsnames, fscount * sizeof(char *));
- if (!fsnames)
- die(1, _("Not enough memory for filesystem names"));
- fsnames[fscount - 1] = optarg;
---
-2.28.0
-
diff --git a/package/quota/quota.hash b/package/quota/quota.hash
index 354a3e2de4..5b083c911c 100644
--- a/package/quota/quota.hash
+++ b/package/quota/quota.hash
@@ -1,7 +1,7 @@
-# From http://sourceforge.net/projects/linuxquota/files/quota-tools/4.06/ (click on info button)
-md5 aef94648438832b684978d46fdf75110 quota-4.06.tar.gz
-sha1 98288699cc14da42f762301c2b6731ec7c777681 quota-4.06.tar.gz
+# From http://sourceforge.net/projects/linuxquota/files/quota-tools/4.09/ (click on info button)
+md5 f85c2e15d9a735640675ff4977b57bb6 quota-4.09.tar.gz
+sha1 5c215d869626b532be2773f4161bdcc8b9f97126 quota-4.09.tar.gz
# Locally calculated
-sha256 2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d quota-4.06.tar.gz
+sha256 9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9 quota-4.09.tar.gz
sha256 32a5fd41e7a257f7f0373988ea8d45cebdbf376060703c242c11c000751b1203 COPYING
diff --git a/package/quota/quota.mk b/package/quota/quota.mk
index 0c751d4436..1b6a4b1975 100644
--- a/package/quota/quota.mk
+++ b/package/quota/quota.mk
@@ -4,7 +4,7 @@
#
################################################################################
-QUOTA_VERSION = 4.06
+QUOTA_VERSION = 4.09
QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION)
QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils
QUOTA_LICENSE = GPL-2.0+
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/quota: bump to version 4.09
2022-11-01 22:55 [Buildroot] [PATCH 1/1] package/quota: bump to version 4.09 Fabrice Fontaine
@ 2022-11-03 22:07 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-11-03 22:07 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Jarkko Sakkinen, buildroot
On Tue, 1 Nov 2022 23:55:50 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Drop patch (already in version)
>
> https://sourceforge.net/p/linuxquota/code/ci/master/tree/Changelog
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> ...-realloc-3-instead-of-reallocarray-3.patch | 34 -------------------
> package/quota/quota.hash | 8 ++---
> package/quota/quota.mk | 2 +-
> 3 files changed, 5 insertions(+), 39 deletions(-)
> delete mode 100644 package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-11-03 22:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 22:55 [Buildroot] [PATCH 1/1] package/quota: bump to version 4.09 Fabrice Fontaine
2022-11-03 22:07 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.