[packages/cifs-utils] up to 7.7
atler
atler at pld-linux.org
Sat Jul 11 14:35:28 CEST 2026
commit a7e22e3ab6ba47016e66bac492e3dacc1314d37f
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Jul 10 13:26:31 2026 +0200
up to 7.7
cifs-utils-heimdal.patch | 2 +-
cifs-utils.spec | 6 ++++--
includes.patch | 10 ++++++++++
3 files changed, 15 insertions(+), 3 deletions(-)
---
diff --git a/cifs-utils.spec b/cifs-utils.spec
index 32f6e18..d3d8f43 100644
--- a/cifs-utils.spec
+++ b/cifs-utils.spec
@@ -1,14 +1,15 @@
Summary: Utilities for mounting and managing CIFS mounts
Summary(pl.UTF-8): Narzędzia do montowania i zarządzania montowaniami CIFS
Name: cifs-utils
-Version: 7.5
+Version: 7.7
Release: 1
License: GPL v3+
Group: Daemons
Source0: https://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
-# Source0-md5: c091101fcf202e729407b110979b5990
+# Source0-md5: d175c5a0cf077963e1ccc46c7100408b
Patch0: %{name}-heimdal.patch
Patch1: python3.patch
+Patch2: includes.patch
URL: https://wiki.samba.org/index.php/LinuxCIFS_utils
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -58,6 +59,7 @@ Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' \
-e '1s,/usr/bin/env python3,%{__python3},' \
diff --git a/cifs-utils-heimdal.patch b/cifs-utils-heimdal.patch
index 88dbe02..73ab847 100644
--- a/cifs-utils-heimdal.patch
+++ b/cifs-utils-heimdal.patch
@@ -29,7 +29,7 @@
syslog(LOG_DEBUG, "%s: unable to set flags", __func__);
@@ -162,7 +162,7 @@
&& creds.times.endtime > time(NULL))
- credtime = creds.times.endtime;
+ credtime = (unsigned)creds.times.endtime;
krb5_free_cred_contents(context, &creds);
- krb5_free_unparsed_name(context, name);
+ krb5_xfree(name);
diff --git a/includes.patch b/includes.patch
new file mode 100644
index 0000000..679c5b6
--- /dev/null
+++ b/includes.patch
@@ -0,0 +1,10 @@
+--- cifs-utils-7.7/cifs.upcall.c.orig 2026-07-10 13:20:49.927895541 +0200
++++ cifs-utils-7.7/cifs.upcall.c 2026-07-10 13:22:44.029085309 +0200
+@@ -59,6 +59,7 @@
+ #include <sys/mman.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <limits.h>
+
+ #include "data_blob.h"
+ #include "spnego.h"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cifs-utils.git/commitdiff/a7e22e3ab6ba47016e66bac492e3dacc1314d37f
More information about the pld-cvs-commit
mailing list