package/nut: bump version to 2.8.1

Release notes:
https://github.com/networkupstools/nut/blob/master/NEWS.adoc

Removed patch which is included in this release.

Updated license hash due to upstream commit:
3b37731950

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2023-11-01 19:21:55 +01:00 committed by Thomas Petazzoni
parent 30cb3d784c
commit 9c874557aa
4 changed files with 3 additions and 39 deletions

View File

@ -976,7 +976,6 @@ package/ntp/S49ntp.in Variables
package/ntpsec/0001-wscript-remove-checks-for-bsd-string.h-fixes-host-co.patch Upstream
package/ntpsec/0002-wscript-fix-build-without-stack-protector.patch Upstream
package/numactl/0001-link-with-latomic-if-needed-again.patch Upstream
package/nut/0001-clients-upsclient-h-ensure-time_t-is-defined.patch Upstream
package/nuttcp/0001-susv3-legacy.patch Upstream
package/nvidia-driver/0001-use-LDFLAGS.patch Upstream
package/octave/0001-Fix-BLAS-library-integer-size-detection.patch Upstream

View File

@ -1,35 +0,0 @@
From cafd77993ec5e16634b774b65bf6da9b34a21fc5 Mon Sep 17 00:00:00 2001
From: Jim Klimov <jimklimov+nut@gmail.com>
Date: Wed, 31 Aug 2022 11:24:19 +0200
Subject: [PATCH] clients/upsclient.h: ensure time_t is defined
[Retrieved from:
https://github.com/networkupstools/nut/commit/cafd77993ec5e16634b774b65bf6da9b34a21fc5]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
clients/upsclient.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/clients/upsclient.h b/clients/upsclient.h
index 08574b8f8b..e346d8f519 100644
--- a/clients/upsclient.h
+++ b/clients/upsclient.h
@@ -41,6 +41,18 @@
#include <limits.h>
#endif
+/* Not including NUT timehead.h because this is part of end-user API */
+#ifdef TIME_WITH_SYS_TIME
+# include <sys/time.h>
+# include <time.h>
+#else
+# ifdef HAVE_SYS_TIME_H
+# include <sys/time.h>
+# else
+# include <time.h>
+# endif
+#endif
+
#ifdef __cplusplus
/* *INDENT-OFF* */
extern "C" {

View File

@ -1,5 +1,5 @@
# Locally computed
sha256 c3e5a708da797b7c70b653d37b1206a000fcb503b85519fe4cdf6353f792bfe5 nut-2.8.0.tar.gz
sha256 9f562d0e6be5108a06684dd249686d378abe1653df14b1944e971e084f6751f0 COPYING
sha256 7da48ee23b1f0d8d72560bb0af84f5c5ae4dbe35452b84cb49840132e47f099c nut-2.8.1.tar.gz
sha256 8a3de48b86daffcbe822dd94e514c8a77fe70f77c9005ffd9dcf1709dbdc80c7 COPYING
sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE-GPL2
sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 LICENSE-GPL3

View File

@ -4,7 +4,7 @@
#
################################################################################
NUT_VERSION = 2.8.0
NUT_VERSION = 2.8.1
NUT_SITE = https://github.com/networkupstools/nut/releases/download/v$(NUT_VERSION)
NUT_LICENSE = GPL-2.0+, GPL-3.0+ (python scripts), GPL/Artistic (perl client)
NUT_LICENSE_FILES = COPYING LICENSE-GPL2 LICENSE-GPL3