public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Xavier Bachelot <xavier@bachelot.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libnfs] rawhide: Update to 7.0.0 (RHBZ#2512689)
Date: Mon, 10 Aug 2026 22:10:07 GMT [thread overview]
Message-ID: <178639980730.1.12251349450383913857.rpms-libnfs-3607ab7448b5@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/libnfs
Branch : rawhide
Commit : 3607ab7448b536112920c93a3e0bff45e387120d
Author : Xavier Bachelot <xavier@bachelot.org>
Date : 2026-08-11T00:09:32+02:00
Stats : +8/-84 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/libnfs/c/3607ab7448b536112920c93a3e0bff45e387120d?branch=rawhide
Log:
Update to 7.0.0 (RHBZ#2512689)
---
diff --git a/.gitignore b/.gitignore
index 1116014..c1665ed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/libnfs-5.0.3.tar.gz
/libnfs-6.0.1.tar.gz
/libnfs-6.0.2.tar.gz
+/libnfs-7.0.0.tar.gz
diff --git a/libnfs-6.0.2-fix_gnutls_undefined_symbols.patch b/libnfs-6.0.2-fix_gnutls_undefined_symbols.patch
deleted file mode 100644
index c6494db..0000000
--- a/libnfs-6.0.2-fix_gnutls_undefined_symbols.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From d205297a10bf8d7f8846bf42f0ed618543a561a9 Mon Sep 17 00:00:00 2001
-From: fundawang <fundawang@yeah.net>
-Date: Sun, 26 Jan 2025 16:39:03 +0800
-Subject: [PATCH 1/2] move link against gnutls into main library, as it is
- referenced by tls/libtls.la
-
----
- lib/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/Makefile.am b/lib/Makefile.am
-index 82376cb3..33be5e41 100644
---- a/lib/Makefile.am
-+++ b/lib/Makefile.am
-@@ -48,5 +48,5 @@ libnfs_la_LIBADD = \
-
- if HAVE_TLS
- libnfs_la_CPPFLAGS += -I$(abs_top_srcdir)/tls
--libnfs_la_LIBADD += ../tls/libtls.la
-+libnfs_la_LIBADD += ../tls/libtls.la -lgnutls
- endif
-
-From 546c9ed8624403078ef993138b56dce4c3558523 Mon Sep 17 00:00:00 2001
-From: fundawang <fundawang@yeah.net>
-Date: Sun, 26 Jan 2025 16:39:59 +0800
-Subject: [PATCH 2/2] move link against gnutls into main library, as it is
- referenced by tls/libtls.la
-
----
- utils/Makefile.am | 3 ---
- 1 file changed, 3 deletions(-)
-
-diff --git a/utils/Makefile.am b/utils/Makefile.am
-index bd584b8d..2ae7636f 100644
---- a/utils/Makefile.am
-+++ b/utils/Makefile.am
-@@ -16,9 +16,6 @@ AM_CPPFLAGS = \
- "-D_U_=__attribute__((unused))"
-
- COMMON_LIBS = ../lib/libnfs.la $(LIBSOCKET)
--if HAVE_TLS
--COMMON_LIBS += -lgnutls
--endif
-
- nfs_cat_LDADD = $(COMMON_LIBS)
- nfs_ls_LDADD = $(COMMON_LIBS)
diff --git a/libnfs-6.0.2-fix_missing_include.patch b/libnfs-6.0.2-fix_missing_include.patch
deleted file mode 100644
index 25bca07..0000000
--- a/libnfs-6.0.2-fix_missing_include.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 2cdfedaba379cbb512d3c203a1b9eae795f4fb23 Mon Sep 17 00:00:00 2001
-From: kangjialong <kjialong@163.com>
-Date: Sun, 30 Mar 2025 14:26:18 +0800
-Subject: [PATCH] Fix using size_t without including 'stddef.h'
-
----
- include/nfsc/libnfs.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h
-index 6f910024..2bd5c3b0 100755
---- a/include/nfsc/libnfs.h
-+++ b/include/nfsc/libnfs.h
-@@ -27,6 +27,7 @@
- #include "ps2_compat.h"
- #endif
-
-+#include <stddef.h>
- #include <stdint.h>
- #if !defined(_WIN32)
- #include <sys/time.h>
diff --git a/libnfs.spec b/libnfs.spec
index a9ec970..477fe7d 100644
--- a/libnfs.spec
+++ b/libnfs.spec
@@ -1,6 +1,6 @@
Name: libnfs
-Version: 6.0.2
-Release: 9%{?dist}
+Version: 7.0.0
+Release: 1%{?dist}
Summary: Client library for accessing NFS shares over a network
# The library is licensed as LGPL-2.1-or-later
# The protocol definition is BSD-2-Clause
@@ -9,15 +9,6 @@ License: LGPL-2.1-or-later AND BSD-2-Clause AND GPL-3.0-or-later
URL: https://github.com/sahlberg/libnfs
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
-# https://github.com/sahlberg/libnfs/pull/518
-Patch0: libnfs-6.0.2-fix_gnutls_undefined_symbols.patch
-# https://github.com/sahlberg/libnfs/commit/2cdfedaba379cbb512d3c203a1b9eae795f4fb23
-Patch1: libnfs-6.0.2-fix_missing_include.patch
-# https://github.com/sahlberg/libnfs/commit/55c18ea33a83d667f79f0ef209c96895795c729f
-Patch2: libnfs-6.0.2-CVE-2026-53689.patch
-# https://github.com/sahlberg/libnfs/commit/935b8db712b3c6649bc57ddc276526c4a31680de
-Patch3: libnfs-6.0.2-CVE-2026-57918.patch
-
BuildRequires: automake
BuildRequires: gcc
BuildRequires: gnutls-devel
@@ -59,10 +50,6 @@ NFS servers using libnfs.
%prep
%setup -q -n %{name}-%{name}-%{version}
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
-%patch -P3 -p1
autoreconf -vif
%build
@@ -81,7 +68,7 @@ rm -f %{buildroot}%{_libdir}/*.la
%ldconfig_scriptlets
%files
-%{_libdir}/libnfs.so.16*
+%{_libdir}/libnfs.so.17*
%doc README
%license COPYING
%license LICENCE-*.txt
@@ -97,6 +84,9 @@ rm -f %{buildroot}%{_libdir}/*.la
%{_mandir}/man1/nfs-*.1*
%changelog
+* Mon Aug 10 2026 Xavier Bachelot <xavier@bachelot.org> - 7.0.0-1
+- Update to 7.0.0 (RHBZ#2512689)
+
* Mon Aug 10 2026 Xavier Bachelot <xavier@bachelot.org> - 6.0.2-9
- Add upstream patches for CVE-2026-53689 and CVE-2026-57918
diff --git a/sources b/sources
index 525708b..c906942 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libnfs-6.0.2.tar.gz) = 539790ab98aac7b2f25755b745d1f5e016518f1adb3748b8c58df187048bc31e091915d59e6359bb95c49dd986361cbbf2536edcda02598b0fac236762b61a46
+SHA512 (libnfs-7.0.0.tar.gz) = 16464129a827af897af35120d8b495993ea9bc56889fa815230e6fd999f391834256a83f3b58060b4c8e0c5d0608e2ca76f3716cff05ca15c40551a2be4aa8ad
reply other threads:[~2026-08-10 22:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178639980730.1.12251349450383913857.rpms-libnfs-3607ab7448b5@fedoraproject.org \
--to=xavier@bachelot.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox