quota: update to 4.09
authorW. Michael Petullo <redacted>
Tue, 20 Dec 2022 01:17:14 +0000 (19:17 -0600)
committerRosen Penev <redacted>
Fri, 23 Dec 2022 00:28:45 +0000 (16:28 -0800)
Signed-off-by: W. Michael Petullo <redacted>
utils/quota/Makefile
utils/quota/patches/010-cdefs.patch [deleted file]
utils/quota/patches/020-remove-reallocarray.patch [deleted file]

index 74b59429ce221a6c1817557a9798ab751f9c80fb..bb844173a9cae191a262ed858ce60eca1b0613f1 100644 (file)
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=quota
-PKG_VERSION:=4.06
+PKG_VERSION:=4.09
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/linuxquota
-PKG_HASH:=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
+PKG_HASH:=9cdaca154bc92afc3117f0e5f5b3208dd5f84583af1cf061c39baa0a2bb142f9
 
 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
 PKG_LICENSE:=GPL-2.0-or-later
diff --git a/utils/quota/patches/010-cdefs.patch b/utils/quota/patches/010-cdefs.patch
deleted file mode 100644 (file)
index a44978e..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/quota.h
-+++ b/quota.h
-@@ -1,7 +1,6 @@
- #ifndef GUARD_QUOTA_H
- #define GUARD_QUOTA_H
--#include <sys/cdefs.h>
- #include <sys/types.h>
- #include <stdint.h>
-@@ -182,6 +181,6 @@ enum {
-       #endif
- #endif
--long quotactl __P((int, const char *, qid_t, caddr_t));
-+long quotactl (int, const char *, qid_t, caddr_t);
- #endif /* _QUOTA_ */
diff --git a/utils/quota/patches/020-remove-reallocarray.patch b/utils/quota/patches/020-remove-reallocarray.patch
deleted file mode 100644 (file)
index 75c7a5d..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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;
git clone https://git.99rst.org/PROJECT