commit openafs for openSUSE:Factory

2024-06-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2024-06-14 19:02:58

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.19518 (New)


Package is "openafs"

Fri Jun 14 19:02:58 2024 rev:48 rq:1180888 version:1.8.11.g20240530

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2024-02-26 
19:50:54.237867091 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.19518/openafs.changes   
2024-06-14 19:07:40.443678955 +0200
@@ -1,0 +2,9 @@
+Fri Jun 14 05:47:03 UTC 2024 - Christof Hanke 
+
+- change source-code base to git branch stable-1_8_x
+  * required for keeping up with Linux kernel development.
+- new versioning scheme: 
openafs-$LAST_OFFICIAL_RELEASE.git$DATE_OF_NEWEST_COMMIT
+- add note in RELNOTES about this change
+- update ChangeLog from git
+
+---

Old:

  RELNOTES-1.8.11pre1
  openafs-1.8.11pre1-doc.tar.bz2
  openafs-1.8.11pre1-doc.tar.bz2.md5
  openafs-1.8.11pre1-doc.tar.bz2.sha256
  openafs-1.8.11pre1-src.tar.bz2
  openafs-1.8.11pre1-src.tar.bz2.md5
  openafs-1.8.11pre1-src.tar.bz2.sha256

New:

  RELNOTES-stable-1_8_x
  openafs-stable-1_8_x-doc.tar.bz2
  openafs-stable-1_8_x-doc.tar.bz2.md5
  openafs-stable-1_8_x-doc.tar.bz2.sha256
  openafs-stable-1_8_x-src.tar.bz2
  openafs-stable-1_8_x-src.tar.bz2.md5
  openafs-stable-1_8_x-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.runJMw/_old  2024-06-14 19:07:41.387712512 +0200
+++ /var/tmp/diff_new_pack.runJMw/_new  2024-06-14 19:07:41.391712655 +0200
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.11pre1
+%define upstream_version stable-1_8_x
 
 Name:   openafs
 
-Version:1.8.11~pre1
+Version:1.8.11.g20240530
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -103,7 +103,6 @@
 Source98:   kmp_only.files
 Source99:   openafs.changes
 
-# PATCH-FIX-UPSTREAM fix build with kernel 6.5
 # PATCH-HANDLE-BACKPORTS
 # some kernel-features from 6.5 are apparently in 6.4
 Patch99:handle_backports.diff

++ ChangeLog ++
 3019 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.19518/ChangeLog

++ RELNOTES-stable-1_8_x ++
Preface: 


This is the Release-Notes of the last official release.
However,
this version is based on the git branch "openafs-stable-1_8_x"
and thus has additional changes beside the ones for 1.8.11.
The reason for this is the compatibility with current Linux-Kernels.
The ChangeLog gives you all commits applied since then.
The versioning-scheme of these packages is: 
openafs-$LAST_OFFICIAL_RELEASE.git$DATE_OF_NEWEST_COMMIT

The package-maintainer.


   User-Visible OpenAFS Changes

OpenAFS 1.8.11

  All platforms

* Check Rx RPC call number in incoming packets before allocating new
  RPC calls to avoid re-running RPC calls when spurious packets are
  received (15562)

* Fix memory leaks (15516 15517)

* Fix build failure when building with _FORTIFY_SOURCE (15518 15519)

* Fix build failures when building with the clang compiler (15540 15541
  15547 15548)

* Improve error detection in OpenAFS directories for both clients
  and servers (15544 15545 15546)

* Add a Makefile target to build Red Hat RPM packages (15514)

* Add support for custom version numbers in Red Hat RPM packages (15513)

  All server platforms

* Fix File Server and Protection Server crashes due to recursive thread
  lock bug (15609)

* Fix fileserver crashes during startup (15509 15543)

* The bosserver no longer creates the client configuration directory and
  "ThisCell" and "CellServDB" symlinks.  The "vos", "pts", and "bos"
  commands now read cell configuration from the server cell configuration
  directory when the client cell configuration directory is not present.
  This change allows server packaging to be independent of client packaging
  and removes the need for client configuration artifacts on hosts running
  server processes only (15510 15511 15512)

* Print a warning in the volserver log when an older version of a volume
  is restored over an existing volume, unless the volume was restored with
  "-overwrite full" (15531)

* Print a warning in the bosserver log when the bosserver was not started
  in restricted mode (15537)

* Avoid unbounded string copies wh

commit openafs for openSUSE:Factory

2024-02-26 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2024-02-26 19:49:36

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1770 (New)


Package is "openafs"

Mon Feb 26 19:49:36 2024 rev:47 rq:1151811 version:1.8.11~pre1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2024-01-29 
22:33:02.658193923 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1770/openafs.changes
2024-02-26 19:50:54.237867091 +0100
@@ -1,0 +2,5 @@
+Mon Feb 26 12:45:02 UTC 2024 - Dominique Leuenberger 
+
+- Use %patch -P N instead of deprecated %patchN.
+
+---



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.lG79Ez/_old  2024-02-26 19:50:55.225902810 +0100
+++ /var/tmp/diff_new_pack.lG79Ez/_new  2024-02-26 19:50:55.229902954 +0100
@@ -318,7 +318,7 @@
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %if 0%{?sle_version} == 150600
-%patch99 -p1
+%patch -P 99 -p1
 %endif
 
 ./regen.sh


commit openafs for openSUSE:Factory

2024-01-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2024-01-29 22:32:41

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1815 (New)


Package is "openafs"

Mon Jan 29 22:32:41 2024 rev:46 rq:1142227 version:1.8.11~pre1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2023-12-11 
21:51:18.50129 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1815/openafs.changes
2024-01-29 22:33:02.658193923 +0100
@@ -1,0 +2,14 @@
+Mon Jan 29 09:56:45 UTC 2024 - Christof Hanke 
+
+- update to openafs-1.8.11~pre1 
+- remove intermediate patches for newer Linux-kernels:
+  * fef2457.diff
+  * d15c7ab.diff
+  * 63801cf.diff
+  * 538f450.diff
+  * 6de0a64.diff
+  * 5b647bf.diff
+  * 6413fdb.diff
+  * 4f1d810.diff
+
+---

Old:

  4f1d810.diff
  538f450.diff
  5b647bf.diff
  63801cf.diff
  6413fdb.diff
  6de0a64.diff
  RELNOTES-1.8.10
  d15c7ab.diff
  fef2457.diff
  openafs-1.8.10-doc.tar.bz2
  openafs-1.8.10-doc.tar.bz2.md5
  openafs-1.8.10-doc.tar.bz2.sha256
  openafs-1.8.10-src.tar.bz2
  openafs-1.8.10-src.tar.bz2.md5
  openafs-1.8.10-src.tar.bz2.sha256

New:

  RELNOTES-1.8.11pre1
  openafs-1.8.11pre1-doc.tar.bz2
  openafs-1.8.11pre1-doc.tar.bz2.md5
  openafs-1.8.11pre1-doc.tar.bz2.sha256
  openafs-1.8.11pre1-src.tar.bz2
  openafs-1.8.11pre1-src.tar.bz2.md5
  openafs-1.8.11pre1-src.tar.bz2.sha256

BETA DEBUG BEGIN:
  Old:  * 6413fdb.diff
  * 4f1d810.diff
  Old:  * 63801cf.diff
  * 538f450.diff
  * 6de0a64.diff
  Old:  * 6de0a64.diff
  * 5b647bf.diff
  * 6413fdb.diff
  Old:  * d15c7ab.diff
  * 63801cf.diff
  * 538f450.diff
  Old:  * 5b647bf.diff
  * 6413fdb.diff
  * 4f1d810.diff
  Old:  * 538f450.diff
  * 6de0a64.diff
  * 5b647bf.diff
  Old:  * fef2457.diff
  * d15c7ab.diff
  * 63801cf.diff
  Old:- remove intermediate patches for newer Linux-kernels:
  * fef2457.diff
  * d15c7ab.diff
BETA DEBUG END:



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.dqeb6p/_old  2024-01-29 22:33:04.010242858 +0100
+++ /var/tmp/diff_new_pack.dqeb6p/_new  2024-01-29 22:33:04.014243003 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openafs
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.10
+%define upstream_version 1.8.11pre1
 
 Name:   openafs
 
-Version:1.8.10.1
+Version:1.8.11~pre1
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -104,15 +104,6 @@
 Source99:   openafs.changes
 
 # PATCH-FIX-UPSTREAM fix build with kernel 6.5
-Patch1: fef2457.diff
-Patch2: d15c7ab.diff
-Patch3: 63801cf.diff
-Patch4: 538f450.diff
-Patch6: 6de0a64.diff
-# PATCH-FIX-UPSTREAM fix build with kernel 6.6
-Patch5: 5b647bf.diff
-Patch7: 6413fdb.diff
-Patch8: 4f1d810.diff
 # PATCH-HANDLE-BACKPORTS
 # some kernel-features from 6.5 are apparently in 6.4
 Patch99:handle_backports.diff
@@ -326,14 +317,6 @@
 done
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
 %if 0%{?sle_version} == 150600
 %patch99 -p1
 %endif

++ ChangeLog ++
 5162 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.1815/ChangeLog

++ RELNOTES-1.8.11pre1 ++
   User-Visible OpenAFS Changes

++ openafs-1.8.11pre1-doc.tar.bz2.md5 ++
fbb93c3e4e580271d7f134ced201576e  ../1.8.11pre1/openafs-1.8.11pre1-doc.tar.bz2

++ openafs-1.8.11pre1-doc.tar.bz2.sha256 ++
db72ffc092f562d3c3d500b0d9f8541df5c3f83a4d80b32a242773cbfda5b040  
openafs-1.8.11pre1-doc.tar.bz2

++ openafs-1.8.11pre1-src.tar.bz2.md5 ++
89602a759c60b491863c0e4c8545b2ea  ../1.8.11pre1/openafs-1.8.11pre1-src.tar.bz2

++ openafs-1.8.11pre1-src.tar.bz2.sha256 ++
dfdb4bcd79e060180ebfd127d0447eceb716be0fbe07712ee7f9ac1904b42c82  
openafs-1.8.11pre1-src.tar.bz2


commit openafs for openSUSE:Factory

2023-10-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2023-10-02 20:04:50

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.28202 (New)


Package is "openafs"

Mon Oct  2 20:04:50 2023 rev:43 rq:1114721 version:1.8.10.1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2023-07-11 
15:57:32.509254621 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.28202/openafs.changes   
2023-10-02 20:06:13.842295843 +0200
@@ -1,0 +2,10 @@
+Mon Oct  2 07:29:50 UTC 2023 - Christof Hanke 
+
+- apply upstream-patches for kernel 6.5: 
+  * 63801cf.diff
+  * d15c7ab.diff
+  * fef2457.diff
+  * 538f450.diff
+  * 474750a.diff
+
+---

New:

  474750a.diff
  538f450.diff
  63801cf.diff
  d15c7ab.diff
  fef2457.diff



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.1Cszl7/_old  2023-10-02 20:06:16.954407763 +0200
+++ /var/tmp/diff_new_pack.1Cszl7/_new  2023-10-02 20:06:16.954407763 +0200
@@ -61,7 +61,7 @@
 
 Name:   openafs
 
-Version:1.8.10
+Version:1.8.10.1
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -103,6 +103,13 @@
 Source98:   kmp_only.files
 Source99:   openafs.changes
 
+# PATCH-FIX-UPSTREAM fix build with kernel 6.5
+Patch1: fef2457.diff
+Patch2: d15c7ab.diff
+Patch3: 63801cf.diff
+Patch4: 538f450.diff
+Patch5: 474750a.diff
+
 #  GENERAL BuildRequires and Requires
 #
 
@@ -312,6 +319,11 @@
 done
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 ./regen.sh
 

++ 474750a.diff ++
>From 474750a2008b2de37a05d6e51b31447d3a721dd4 Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Tue, 29 Aug 2023 14:58:10 -0600
Subject: [PATCH] linux: Replace fop iterate with fop iterate_shared

The Linux 6.5 commit:
  'vfs: get rid of old '->iterate' directory operation' (3e32715496)
removed the filesystem_operations iterate method.  The replacement
method, iterate_shared, was introduced with the Linux 4.6 commit:
  'introduce a parallel variant of ->iterate()' (6192269444)

The above commits indicate that the iterate_shared is an "almost"
drop-in replacement for iterate.  The vfs documentation for
iterate_shared has caveats on the implementation (serializing in-core
per-inode or per-dentry modifications and using d_alloc_parallel if
doing dcache pre-seeding).  A wrapper is provided to assist filesystems
with the migration from iterate to iterate_shared.  Until it can be
verified that afs_linux_readdir meets the above requirements, we will
use the wrapper (ref 3e32715496 commit)

Add configure tests for the iterate_shared file_operations member and
for the wrap_directory_iterator function.

Update osi_vnodeops.c to use iterate_shared and the wrapper if they are
both available.

Reviewed-on: https://gerrit.openafs.org/15528
Reviewed-by: Benjamin Kaduk 
Reviewed-by: Andrew Deason 
Tested-by: BuildBot 
(cherry picked from commit 7437f4d37719ea53711e06ac9675dad1abd6769e)

Change-Id: Id00cfab2c0b51c2167fe19cd9cf7f136450ff174
---

diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index dd8b39d..fb62752 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -54,14 +54,16 @@
 # define D_SPLICE_ALIAS_RACE
 #endif
 
+#if defined(STRUCT_FILE_OPERATIONS_HAS_ITERATE_SHARED) && 
defined(HAVE_LINUX_WRAP_DIRECTORY_ITERATOR)
+# define USE_FOP_ITERATE 1
+#elif defined(STRUCT_FILE_OPERATIONS_HAS_ITERATE) && 
!defined(FMODE_KABI_ITERATE)
 /* Workaround for RH 7.5 which introduced file operation iterate() but requires
  * each file->f_mode to be marked with FMODE_KABI_ITERATE.  Instead OpenAFS 
will
  * continue to use file opearation readdir() in this case.
  */
-#if defined(STRUCT_FILE_OPERATIONS_HAS_ITERATE) && !defined(FMODE_KABI_ITERATE)
-#define USE_FOP_ITERATE 1
+# define USE_FOP_ITERATE 1
 #else
-#undef USE_FOP_ITERATE
+# undef USE_FOP_ITERATE
 #endif
 
 /* Kernels from before 2.6.19 may not be able to return errors from
@@ -909,10 +911,19 @@
 crfree(credp);
 return afs_convert_code(code);
 }
+#if defined(STRUCT_FILE_OPERATIONS_HAS_ITERATE_SHARED) && 
defined(HAVE_LINUX_WRAP_DIRECTORY_ITERATOR)
+# if defined(WRAP_DIR_ITER)
+WRAP_DIR_ITER(afs_linux_readdir)   /* Adds necessary locking for 
iterate_shared */
+# else
+#  error the Linux provided macro WRAP_DIR_ITER is not available
+# endif
+#endif
 
 struct file_operations afs_dir_fops = {
   .read =  generic_read_dir,
-#if defined(USE_FOP_ITERATE)

commit openafs for openSUSE:Factory

2023-07-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2023-07-11 15:57:13

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.8922 (New)


Package is "openafs"

Tue Jul 11 15:57:13 2023 rev:42 rq:1098043 version:1.8.10

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2023-05-30 
22:03:30.375386490 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.8922/openafs.changes
2023-07-11 15:57:32.509254621 +0200
@@ -1,0 +2,10 @@
+Mon Jul 10 10:24:31 UTC 2023 - Christof Hanke 
+
+- update to official openafs-1.8.10
+- remove obsolete patches:
+  * 7a3ad3bc.diff
+  * b885159.diff
+  * f6fbb85.diff 
+  * 4cf7a9a.diff
+
+---

Old:

  4cf7a9a.diff
  7a3ad3bc.diff
  RELNOTES-1.8.9
  b885159.diff
  f6fbb85.diff
  openafs-1.8.9-doc.tar.bz2
  openafs-1.8.9-doc.tar.bz2.md5
  openafs-1.8.9-doc.tar.bz2.sha256
  openafs-1.8.9-src.tar.bz2
  openafs-1.8.9-src.tar.bz2.md5
  openafs-1.8.9-src.tar.bz2.sha256

New:

  RELNOTES-1.8.10
  openafs-1.8.10-doc.tar.bz2
  openafs-1.8.10-doc.tar.bz2.md5
  openafs-1.8.10-doc.tar.bz2.sha256
  openafs-1.8.10-src.tar.bz2
  openafs-1.8.10-src.tar.bz2.md5
  openafs-1.8.10-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.js8PxG/_old  2023-07-11 15:57:33.973263138 +0200
+++ /var/tmp/diff_new_pack.js8PxG/_new  2023-07-11 15:57:33.981263184 +0200
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.9
+%define upstream_version 1.8.10
 
 Name:   openafs
 
-Version:1.8.9
+Version:1.8.10
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -103,14 +103,6 @@
 Source98:   kmp_only.files
 Source99:   openafs.changes
 
-# PATCH-FIX-UPSTREAM fix build with kernel 6.2
-Patch1: b885159.diff
-# PATCH-FIX-UPSTREAM fix build with kernel 6.3
-Patch2: f6fbb85.diff
-Patch3: 7a3ad3bc.diff
-# PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
-Patch4: 4cf7a9a.diff
-
 #  GENERAL BuildRequires and Requires
 #
 
@@ -320,10 +312,6 @@
 done
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 ./regen.sh
 
@@ -367,7 +355,6 @@
 export afsdbdir='/var/lib/openafs/db'
 %configure \
 --disable-transarc-paths \
---disable-pam \
 --disable-strip-binaries \
 --includedir=%{_includedir}/openafs \
 --sysconfdir=%{_sysconfdir} \

++ ChangeLog ++
 5921 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.8922/ChangeLog

++ RELNOTES-1.8.9 -> RELNOTES-1.8.10 ++
--- /work/SRC/openSUSE:Factory/openafs/RELNOTES-1.8.9   2023-01-04 
17:53:09.674379126 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.8922/RELNOTES-1.8.10
2023-07-11 15:57:32.197252806 +0200
@@ -1,69 +1,65 @@
User-Visible OpenAFS Changes
 
-OpenAFS 1.8.9
+OpenAFS 1.8.10
 
   All platforms
 
-* Support for building with more recent compilers (14970 14982..14987
-  14990 14991 15056 15057 15061..15064)
+* Improved error messages and diagnostics (15302 15313)
 
-* Build fixes and improvements around the test suite (14879 14880
-  14909..14911 15133)
+* Fixes for parallel or out of tree builds (15297..9)
 
-* Removed a vestigial autoconf check for GSSAPI support that could
-  cause unnecessary configure errors (15137)
+* Fixed "make clean" to remove several artifacts overlooked in the past
+  (15377)
 
-* Documentation improvements (14980 15047)
+* Fixed the autoconf check for ncurses to catch libs built with
+  "--enable-reentrant" (15296)
 
-* Improved diagnostics and error messages. In particular, warn when
-  server processes are started without keys and properly print the
-  volume transaction flags in "vos status" output (14594 14968)
+* Removed the obsolete kdump debugging tool (15315)
 
-  All server platforms
+* Avoid some more possible string buffer overflows (15240)
 
-* Avoid several second delays in some situations when the file server
-  is breaking callbacks on clients with alternate addresses. Avoid
-  unnecessary several second delays in some cases during database
-  quorum processing (14815)
+  All client platforms
 
-* Detect invalid (negative) inputs to FetchData RPCs and reject them
-  early.  The previous behavior only detected the error when actually
-

commit openafs for openSUSE:Factory

2023-05-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2023-05-30 22:03:14

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1533 (New)


Package is "openafs"

Tue May 30 22:03:14 2023 rev:41 rq:1089819 version:1.8.9

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2023-05-15 
16:54:55.392372698 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.1533/openafs.changes
2023-05-30 22:03:30.375386490 +0200
@@ -1,0 +2,5 @@
+Tue May 30 12:21:37 UTC 2023 - Christof Hanke 
+
+- remove obsolete macro-call %{stop_on_removal} from spec-file
+
+---



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.paATdt/_old  2023-05-30 22:03:31.291391889 +0200
+++ /var/tmp/diff_new_pack.paATdt/_new  2023-05-30 22:03:31.299391936 +0200
@@ -612,7 +612,6 @@
 
 %preun fuse_client
 %service_del_preun openafs-fuse-client.service
-%{stop_on_removal}
 
 %post fuse_client
 if [ ! -d /afs ]; then
@@ -676,7 +675,6 @@
 fi
 
 %preun client
-%{stop_on_removal}
 %service_del_preun openafs-client.service
 
 %postun client
@@ -713,7 +711,6 @@
 
 %preun server
 %service_del_preun openafs-server.service
-%{stop_on_removal}
 
 %postun server
 /sbin/ldconfig


commit openafs for openSUSE:Factory

2023-05-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2023-05-15 16:54:40

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1533 (New)


Package is "openafs"

Mon May 15 16:54:40 2023 rev:40 rq:1087206 version:1.8.9

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2023-03-03 
22:31:51.684147455 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1533/openafs.changes
2023-05-15 16:54:55.392372698 +0200
@@ -1,0 +2,7 @@
+Mon May 15 06:48:21 UTC 2023 - Christof Hanke 
+
+- apply upstream-patches for kernel 6.3:
+  * f6fbb85.diff
+  * 7a3ad3bc.diff
+
+---

New:

  7a3ad3bc.diff
  f6fbb85.diff



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.l06DB3/_old  2023-05-15 16:54:56.144376849 +0200
+++ /var/tmp/diff_new_pack.l06DB3/_new  2023-05-15 16:54:56.144376849 +0200
@@ -105,6 +105,9 @@
 
 # PATCH-FIX-UPSTREAM fix build with kernel 6.2
 Patch1: b885159.diff
+# PATCH-FIX-UPSTREAM fix build with kernel 6.3
+Patch2: f6fbb85.diff
+Patch3: 7a3ad3bc.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: 4cf7a9a.diff
 
@@ -318,6 +321,8 @@
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 %patch4 -p1
 
 ./regen.sh

++ 7a3ad3bc.diff ++
>From 7a3ad3bc1c87e525698f7dda1e4b0fbbd913da03 Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Wed, 22 Mar 2023 16:56:09 -0600
Subject: [PATCH] Linux 6.3: Include linux/filelock.h if available

Linux 6.3 commit
  'filelock: move file locking definitions to separate header file'
  (5970e15dbc)

relocated file lock related declarations from 'linux/fs.h' into its own
header file, 'linux/filelock.h'.

Add autoconf tests to check for the header file 'linux/filelock.h' and
update function checks for locks_lock_file_wait() and posix_lock_file().

Update osi_compat.h to include linux/filelock.h if it is available.

Reviewed-on: https://gerrit.openafs.org/15346
Tested-by: BuildBot 
Reviewed-by: Benjamin Kaduk 
Reviewed-by: Andrew Deason 
(cherry picked from commit 6873dc925c5acc0ce7d65cf778ffee09c82a9898)

Change-Id: If131bee5b466a119f54b05388a065e6af23698cf
Reviewed-on: https://gerrit.openafs.org/15388
Tested-by: BuildBot 
Reviewed-by: Andrew Deason 
Reviewed-by: Michael Meffie 
Reviewed-by: Kailas Zadbuke 
Reviewed-by: Stephan Wiesand 
---

diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h
index 9a080da..808c608 100644
--- a/src/afs/LINUX/osi_compat.h
+++ b/src/afs/LINUX/osi_compat.h
@@ -13,6 +13,10 @@
 # include 
 #endif
 
+#if defined(HAVE_LINUX_FILELOCK_H)
+# include 
+#endif
+
 #if defined(LINUX_KEYRING_SUPPORT)
 # include 
 # include 
diff --git a/src/cf/linux-kernel-func.m4 b/src/cf/linux-kernel-func.m4
index a53c186..ee22158 100644
--- a/src/cf/linux-kernel-func.m4
+++ b/src/cf/linux-kernel-func.m4
@@ -94,7 +94,11 @@
 [struct timespec64 *s;
 ktime_get_real_ts64(s);])
 AC_CHECK_LINUX_FUNC([locks_lock_file_wait],
-[#include ],
+   [#ifdef HAVE_LINUX_FILELOCK_H
+# include 
+#else
+# include 
+#endif],
 [locks_lock_file_wait(NULL, NULL);])
 AC_CHECK_LINUX_FUNC([override_creds],
 [#include ],
diff --git a/src/cf/linux-kernel-header.m4 b/src/cf/linux-kernel-header.m4
index 8507eaa..fc52830 100644
--- a/src/cf/linux-kernel-header.m4
+++ b/src/cf/linux-kernel-header.m4
@@ -10,4 +10,6 @@
 AC_CHECK_LINUX_HEADER([sched/signal.h])
 AC_CHECK_LINUX_HEADER([uaccess.h])
 AC_CHECK_LINUX_HEADER([stdarg.h])
+dnl Linux 6.3 relocated file locking related declarations into it's own header
+AC_CHECK_LINUX_HEADER([filelock.h])
 ])
diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4
index f7699ce..0d6b645 100644
--- a/src/cf/linux-test4.m4
+++ b/src/cf/linux-test4.m4
@@ -142,7 +142,11 @@
 AC_DEFUN([LINUX_KERNEL_POSIX_LOCK_FILE_WAIT_ARG], [
   AC_CHECK_LINUX_BUILD([for 3rd argument in posix_lock_file found in new 
kernels],
   [ac_cv_linux_kernel_posix_lock_file_wait_arg],
-  [#include ],
+  [#ifdef HAVE_LINUX_FILELOCK_H
+   # include 
+   #else
+   # include 
+   #endif],
   [posix_lock_file(0,0,0);],
   [POSIX_LOCK_FILE_WAIT_ARG],
   [define if your kernel uses 3 arguments for 
posix_lock_file],

commit openafs for openSUSE:Factory

2023-03-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2023-03-03 22:28:45

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.31432 (New)


Package is "openafs"

Fri Mar  3 22:28:45 2023 rev:39 rq:1069164 version:1.8.9

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2023-01-04 
17:53:09.910380518 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.31432/openafs.changes   
2023-03-03 22:31:51.684147455 +0100
@@ -1,0 +2,7 @@
+Thu Mar  2 14:01:53 UTC 2023 - Christof Hanke 
+
+- apply patch from upstream for kernel 6.2:
+  * b885159.diff
+- change BuildArch for subpackage kernel-source to noarch
+
+---

New:

  b885159.diff



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.tZ0B0z/_old  2023-03-03 22:31:53.580155541 +0100
+++ /var/tmp/diff_new_pack.tZ0B0z/_new  2023-03-03 22:31:53.58418 +0100
@@ -103,6 +103,8 @@
 Source98:   kmp_only.files
 Source99:   openafs.changes
 
+# PATCH-FIX-UPSTREAM fix build with kernel 6.2
+Patch1: b885159.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: 4cf7a9a.diff
 
@@ -215,6 +217,7 @@
 and load balancing, and ACLs. This package contains the OpenAFS server.
 
 %package kernel-source
+BuildArch:  noarch
 Summary:OpenAFS Kernel Module source tree
 Group:  System/Filesystems
 Requires:   bison
@@ -314,6 +317,7 @@
 done
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
+%patch1 -p1
 %patch4 -p1
 
 ./regen.sh

++ b885159.diff ++
>From b885159cc2bc6c746aec1d54cdd8a515d1115d14 Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Wed, 14 Dec 2022 13:40:48 -0700
Subject: [PATCH] Linux: Replace lru_cache_add with folio_add_lru

The Linux 6.2 commit:
"folio-compat: remove lru_cache_add()" (6e1ca48d0)
removed the lru_cache_add() function (which was introduced in Linux 5.8)

The replacement function is folio_add_lru(), which was introduced with
the Linux 5.16 commit:
"mm/lru: Add folio_add_lru()" (0d31125d2d)

Reviewed-on: https://gerrit.openafs.org/15227
Reviewed-by: Benjamin Kaduk 
Tested-by: Benjamin Kaduk 
(cherry picked from commit cfac0df9cd7152be2672c665442aac84215494d6)

Change-Id: I74535bf83cdd47c9dd60a7114ec7694ae9981c9b
Reviewed-on: https://gerrit.openafs.org/15281
Reviewed-by: Andrew Deason 
Tested-by: BuildBot 
Reviewed-by: Michael Meffie 
Reviewed-by: Stephan Wiesand 
---

diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 5ff3a16..d875788 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -32,7 +32,7 @@
 #endif
 #include 
 #include 
-#if defined(HAVE_LINUX_LRU_CACHE_ADD_FILE)
+#if defined(HAVE_LINUX_FOLIO_ADD_LRU) || defined(HAVE_LINUX_LRU_CACHE_ADD_FILE)
 # include 
 #else
 # include 
@@ -78,7 +78,8 @@
 
 /* Handle interfacing with Linux's pagevec/lru facilities */
 
-#if defined(HAVE_LINUX_LRU_CACHE_ADD_FILE) || defined(HAVE_LINUX_LRU_CACHE_ADD)
+#if defined(HAVE_LINUX_FOLIO_ADD_LRU) || \
+defined(HAVE_LINUX_LRU_CACHE_ADD_FILE) || defined(HAVE_LINUX_LRU_CACHE_ADD)
 
 /*
  * Linux's lru_cache_add_file provides a simplified LRU interface without
@@ -97,7 +98,10 @@
 static inline void
 afs_lru_cache_add(struct afs_lru_pages *alrupages, struct page *page)
 {
-# if defined(HAVE_LINUX_LRU_CACHE_ADD)
+# if defined(HAVE_LINUX_FOLIO_ADD_LRU)
+struct folio *folio = page_folio(page);
+folio_add_lru(folio);
+# elif defined(HAVE_LINUX_LRU_CACHE_ADD)
 lru_cache_add(page);
 # elif defined(HAVE_LINUX_LRU_CACHE_ADD_FILE)
 lru_cache_add_file(page);
diff --git a/src/cf/linux-kernel-func.m4 b/src/cf/linux-kernel-func.m4
index 504c731..a53c186 100644
--- a/src/cf/linux-kernel-func.m4
+++ b/src/cf/linux-kernel-func.m4
@@ -173,10 +173,17 @@
 
 dnl lru_cache_add exported in Linux 5.8
 dnlreplaces lru_cache_add_file
+dnl removed in linux 6.1.  folio_add_lru is a replacement
 AC_CHECK_LINUX_FUNC([lru_cache_add],
 [#include ],
 [lru_cache_add(NULL);])
 
+dnl Linux 5.16 added folio_add_lru as a replacement for
+dnl lru_cache_add
+AC_CHECK_LINUX_FUNC([folio_add_lru],
+[#include ],
+   [folio_add_lru(NULL);])
+
 dnl Linux 5.8 replaced kernel_setsockopt with helper functions
 dnl e.g. ip_sock_set_mtu_discover, ip_sock_set_recverr
 AC_CHECK_LINUX_FUNC([ip_sock_set],


commit openafs for openSUSE:Factory

2023-01-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2023-01-04 17:52:58

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1563 (New)


Package is "openafs"

Wed Jan  4 17:52:58 2023 rev:38 rq:1047127 version:1.8.9

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2022-12-13 
18:55:24.083182153 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1563/openafs.changes
2023-01-04 17:53:09.910380518 +0100
@@ -1,0 +2,7 @@
+Wed Jan  4 08:14:39 UTC 2023 - Christof Hanke 
+
+- update to offical openafs-1.8.9
+  * all changes as openafs-1.8.9pre2
+  * fix possible DoS attack 
+
+---

Old:

  RELNOTES-1.8.9pre2
  openafs-1.8.9pre2-doc.tar.bz2
  openafs-1.8.9pre2-doc.tar.bz2.md5
  openafs-1.8.9pre2-doc.tar.bz2.sha256
  openafs-1.8.9pre2-src.tar.bz2
  openafs-1.8.9pre2-src.tar.bz2.md5
  openafs-1.8.9pre2-src.tar.bz2.sha256

New:

  RELNOTES-1.8.9
  openafs-1.8.9-doc.tar.bz2
  openafs-1.8.9-doc.tar.bz2.md5
  openafs-1.8.9-doc.tar.bz2.sha256
  openafs-1.8.9-src.tar.bz2
  openafs-1.8.9-src.tar.bz2.md5
  openafs-1.8.9-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.LFGTbm/_old  2023-01-04 17:53:10.866386153 +0100
+++ /var/tmp/diff_new_pack.LFGTbm/_new  2023-01-04 17:53:10.870386176 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openafs
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.9pre2
+%define upstream_version 1.8.9
 
 Name:   openafs
 
-Version:1.8.9~pre2
+Version:1.8.9
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0

++ ChangeLog ++
--- /var/tmp/diff_new_pack.LFGTbm/_old  2023-01-04 17:53:10.914386435 +0100
+++ /var/tmp/diff_new_pack.LFGTbm/_new  2023-01-04 17:53:10.918386458 +0100
@@ -1,3 +1,76 @@
+commit 6cb9320825c3617abcb48e7fbd9d0d64f0c2f65b
+Author: Stephan Wiesand 
+Date:   Thu Dec 8 18:49:41 2022 +0100
+
+Make OpenAFS 1.8.9
+
+Update version strings for the 1.8.9 release, and add the
+finishing touch to NEWS.
+
+Change-Id: I8185cc177c1150d29d802df522e3b161dac7d75e
+Reviewed-on: https://gerrit.openafs.org/15215
+Reviewed-by: Michael Meffie 
+Reviewed-by: Cheyenne Wills 
+Tested-by: BuildBot 
+Reviewed-by: Stephan Wiesand 
+
+commit 0ad4c50f91c2d322688981b97aa05ba471b848c1
+Author: Benjamin Kaduk 
+Date:   Fri Oct 8 20:11:19 2021 -0700
+
+viced: cope with signed length/position in FetchData
+
+For legacy reasons, the "Pos" (initial position) and "Len" (length)
+inputs to the RXAFS_FetchData and RXAFS_FetchData64 RPCs are represented
+as signed integers (the corresponding StoreData RPCs use unsigned values).
+
+The use of signed values allows for the possibility of negative inputs,
+and of signed integer overflow (undefined behavior in C), though the latter
+is unlikely to arise naturally given that the implementation uses a
+common backend with 64-bit values.
+
+In particular, if a negative "Pos" value is supplied, we end up in
+FetchData_RXStyle() that performs either FDH_PREAD() or FDH_PREADV()
+with the negative value as the position from which to read, which is
+an error.  The error handling for those calls treats any error as
+indicative of a problem with the volume or its underlying storage,
+and takes the volume offline for salvage.  Furthermore, after the
+maximum number of automatic salvages the volume is left offline for
+administrator action.  This presents a simple route for
+(unauthenticated) denial of service, as root.cell.readonly must be
+available to all users of the cell, and can be brought offline in this
+way; rendering root.cell.readonly unavailable would bring essentially
+all access to the cell to a halt.  (Other volumes could be targeted as
+well, subject to their corresponding ACLs.)
+
+Since there is no valid use for a negative position or length input,
+reject them outright from the common_FetchData64() implementation.
+Also check for whether the combination requests a read that would
+overflow a signed integer and reject that as well.
+
+Thanks to Jeffrey Altman and Chaskiel Grundman for collaborating on
+this change.

commit openafs for openSUSE:Factory

2022-12-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2022-12-13 18:55:11

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1835 (New)


Package is "openafs"

Tue Dec 13 18:55:11 2022 rev:37 rq:1042678 version:1.8.9~pre2

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2022-10-14 
15:43:13.515987127 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.1835/openafs.changes
2022-12-13 18:55:24.083182153 +0100
@@ -1,0 +2,10 @@
+Mon Dec 12 07:40:28 UTC 2022 - Christof Hanke 
+
+- update to openafs-1.8.9pre2
+  * Support mainline kernels up to 6.0
+  * Support for building with more recent compilers
+  * some bugfixes, more see RELNOTES
+- remove obsolete patches:
+  * 79f03c2.diff 
+
+---

Old:

  79f03c2.diff
  RELNOTES-1.8.9pre1
  openafs-1.8.9pre1-doc.tar.bz2
  openafs-1.8.9pre1-doc.tar.bz2.md5
  openafs-1.8.9pre1-doc.tar.bz2.sha256
  openafs-1.8.9pre1-src.tar.bz2
  openafs-1.8.9pre1-src.tar.bz2.md5
  openafs-1.8.9pre1-src.tar.bz2.sha256

New:

  RELNOTES-1.8.9pre2
  openafs-1.8.9pre2-doc.tar.bz2
  openafs-1.8.9pre2-doc.tar.bz2.md5
  openafs-1.8.9pre2-doc.tar.bz2.sha256
  openafs-1.8.9pre2-src.tar.bz2
  openafs-1.8.9pre2-src.tar.bz2.md5
  openafs-1.8.9pre2-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.r6mO2p/_old  2022-12-13 18:55:25.975192251 +0100
+++ /var/tmp/diff_new_pack.r6mO2p/_new  2022-12-13 18:55:25.987192315 +0100
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.9pre1
+%define upstream_version 1.8.9pre2
 
 Name:   openafs
 
-Version:1.8.9~pre1
+Version:1.8.9~pre2
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -103,11 +103,6 @@
 Source98:   kmp_only.files
 Source99:   openafs.changes
 
-# PATCH-FIX-UPSTREAM KMP build and gcc
-# required patches for Linux-5.18 as mentionend on
-# https://wiki.openafs.org/devel/Whiteboard/ (June 2022)
-# PATCH-FIX-KMP-BUILDING
-Patch1: 79f03c2.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: 4cf7a9a.diff
 
@@ -319,7 +314,6 @@
 done
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
-%patch1 -p1
 %patch4 -p1
 
 ./regen.sh

++ ChangeLog ++
--- /var/tmp/diff_new_pack.r6mO2p/_old  2022-12-13 18:55:26.039192592 +0100
+++ /var/tmp/diff_new_pack.r6mO2p/_new  2022-12-13 18:55:26.043192614 +0100
@@ -1,3 +1,150 @@
+commit f812d1125f785df05bf1028f665d22c608006bae
+Author: Stephan Wiesand 
+Date:   Thu Nov 3 15:59:04 2022 +0100
+
+Make OpenAFS 1.8.9pre2
+
+Update version strings for the second 1.8.9 prerelease.
+
+Change-Id: Ic45d60180097f85263b2bd81b0beb039c36ad51f
+Reviewed-on: https://gerrit.openafs.org/15192
+Tested-by: BuildBot 
+Reviewed-by: Michael Meffie 
+Reviewed-by: Cheyenne Wills 
+Reviewed-by: Mark Vitale 
+Reviewed-by: Benjamin Kaduk 
+Reviewed-by: Stephan Wiesand 
+
+commit e8ead732246d7bd9c1e38fa806b19dfd9e38cf6a
+Author: Stephan Wiesand 
+Date:   Thu Nov 3 16:11:30 2022 +0100
+
+Update NEWS for 1.8.9pre2
+
+Release notes for the second 1.8.9 prerelease.
+
+Change-Id: I564ee4f4348ca3574a52c75fea30c55dac5e33a4
+Reviewed-on: https://gerrit.openafs.org/15193
+Reviewed-by: Michael Meffie 
+Reviewed-by: Mark Vitale 
+Reviewed-by: Benjamin Kaduk 
+Reviewed-by: Cheyenne Wills 
+Reviewed-by: Stephan Wiesand 
+Tested-by: Stephan Wiesand 
+
+commit fdf38483c7765270c24a01b65fc3d1173509136e
+Author: Cheyenne Wills 
+Date:   Thu Sep 22 13:04:59 2022 -0600
+
+Linux-6.0: Replace add_to_page_cache
+
+Linux 6.0 removed the add_to_page_cache function in the Linux commit:
+'filemap: Remove add_to_page_cache() and add_to_page_cache_locked()'
+(2bb876b58d593d7f2522ec0f41f20a74fde76822)
+
+The replacement function, filemap_add_folio function is exported as GPL,
+but a non-GPL wrapper was provided in the Linux 5.15 commit:
+'mm/filemap: Add filemap_add_folio()'
+(9dd3d069406cea073fc633e77bc59abbfde8c6c4)
+which changed the GPL exported function add_to_page_cache_lru to a
+non-GPL exported function.
+
+The function add_to_page_cache_lru functionally combines the
+add_to_page_cache with lru_cache_add.  Within afs, all the calls to
+add_to_page_cache follow the pattern of calling the lru_cache_add
+via the wrapper afs_lru_cache_add immediately after (except in one case
+ 

commit openafs for openSUSE:Factory

2022-10-14 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2022-10-14 15:42:06

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.2275 (New)


Package is "openafs"

Fri Oct 14 15:42:06 2022 rev:36 rq:1010499 version:1.8.9~pre1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2022-08-16 
17:08:56.160092026 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.2275/openafs.changes
2022-10-14 15:43:13.515987127 +0200
@@ -1,0 +2,12 @@
+Wed Oct 12 16:19:20 UTC 2022 - Christof Hanke 
+
+- update to openafs-1.8.9pre1 
+- remove obsolete patches:
+  * 05b722d.diff
+  * cc8edf7.diff
+  * 6348262.diff
+- apply patch for kernel 6.0:
+  * 79f03c2.diff
+
+
+---

Old:

  05b722d.diff
  6348262.diff
  RELNOTES-stable-1_8_x
  cc8edf7.diff
  openafs-stable-1_8_x-doc.tar.bz2
  openafs-stable-1_8_x-doc.tar.bz2.md5
  openafs-stable-1_8_x-doc.tar.bz2.sha256
  openafs-stable-1_8_x-src.tar.bz2
  openafs-stable-1_8_x-src.tar.bz2.md5
  openafs-stable-1_8_x-src.tar.bz2.sha256

New:

  79f03c2.diff
  RELNOTES-1.8.9pre1
  openafs-1.8.9pre1-doc.tar.bz2
  openafs-1.8.9pre1-doc.tar.bz2.md5
  openafs-1.8.9pre1-doc.tar.bz2.sha256
  openafs-1.8.9pre1-src.tar.bz2
  openafs-1.8.9pre1-src.tar.bz2.md5
  openafs-1.8.9pre1-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.zF62VH/_old  2022-10-14 15:43:14.475988730 +0200
+++ /var/tmp/diff_new_pack.zF62VH/_new  2022-10-14 15:43:14.479988737 +0200
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version stable-1_8_x
+%define upstream_version 1.8.9pre1
 
 Name:   openafs
 
-Version:1.8.8.2~rc1
+Version:1.8.9~pre1
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -106,9 +106,8 @@
 # PATCH-FIX-UPSTREAM KMP build and gcc
 # required patches for Linux-5.18 as mentionend on
 # https://wiki.openafs.org/devel/Whiteboard/ (June 2022)
-Patch1: cc8edf7.diff
-Patch2: 05b722d.diff
-Patch3: 6348262.diff
+# PATCH-FIX-KMP-BUILDING
+Patch1: 79f03c2.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: 4cf7a9a.diff
 
@@ -321,8 +320,6 @@
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
 %patch4 -p1
 
 ./regen.sh

++ 79f03c2.diff ++
>From 79f03c2d6714e653cee4aa6af81d6568ad4368b7 Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Thu, 22 Sep 2022 13:04:59 -0600
Subject: [PATCH] Linux-6.0: Replace add_to_page_cache

Linux 6.0 removed the add_to_page_cache function in the Linux commit:
'filemap: Remove add_to_page_cache() and add_to_page_cache_locked()'
(2bb876b58d593d7f2522ec0f41f20a74fde76822)

The replacement function, filemap_add_folio function is exported as GPL,
but a non-GPL wrapper was provided in the Linux 5.15 commit:
'mm/filemap: Add filemap_add_folio()'
(9dd3d069406cea073fc633e77bc59abbfde8c6c4)
which changed the GPL exported function add_to_page_cache_lru to a
non-GPL exported function.

The function add_to_page_cache_lru functionally combines the
add_to_page_cache with lru_cache_add.  Within afs, all the calls to
add_to_page_cache follow the pattern of calling the lru_cache_add
via the wrapper afs_lru_cache_add immediately after (except in one case
noted below).

Add an autoconf check to see if add_to_page_cache_lru is available.

Introduce a new wrapper function afs_add_to_page_cache_lru that handles
calling either add_to_page_cache/afs_lru_cache_add or
add_to_page_cache_lru.

As noted above there is one function, afs_linux_bypass_readpages, that
calls add_to_page_cache but does not immediately call afs_lru_cache_add.
This function is only used in Linux kernels prior to 5.18, see the
commit:
'Linux-5.18: replace readpages with readahead' (7a181415db)
Since this code path is only built for a Linux kernel level where
add_to_page_cache should also exists, we do not replace this call.

NOTE:
The add_to_page_cache_lru was moved into mm/folio-compat.c which has a
comment indicating that callers of these functions should migrate to
folio calls.  However the replacement folio call that is needed by afs,
filemap_add_folio, is exported as GPL.

Reviewed-on: https://gerrit.openafs.org/15132
Tested-by: BuildBot 
Reviewed-by: Andrew Deason 
Reviewed-by: Michael Meffie 
Reviewed-by: Benjamin Kaduk 
(cherry picked from commit 0ce315f0cee1cff7e19e6ebcc0e0e82e03719c20)

Change-Id: Ic0496c2fba00e7be467dbbcf52d9854495e1ad9f
---

diff --g

commit openafs for openSUSE:Factory

2022-08-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2022-08-16 17:08:47

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1521 (New)


Package is "openafs"

Tue Aug 16 17:08:47 2022 rev:35 rq:997369 version:1.8.8.2~rc1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2022-06-24 
08:45:48.543172681 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.1521/openafs.changes
2022-08-16 17:08:56.160092026 +0200
@@ -1,0 +2,9 @@
+Tue Aug 16 09:54:58 UTC 2022 - Christof Hanke 
+
+- update to current of upstream-branch openafs-stable-1_8_x
+- apply patches for 15.9:
+  * 05b722d.diff 6348262.diff cc8edf7.diff
+- remove patches now in openafs-stable-1_8_x
+  * fix_gcc_12_linux_5.18.diff
+
+---

Old:

  fix_gcc_12_linux_5.18.diff

New:

  05b722d.diff
  6348262.diff
  cc8edf7.diff



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.RTmYTo/_old  2022-08-16 17:08:57.208095160 +0200
+++ /var/tmp/diff_new_pack.RTmYTo/_new  2022-08-16 17:08:57.212095172 +0200
@@ -106,7 +106,9 @@
 # PATCH-FIX-UPSTREAM KMP build and gcc
 # required patches for Linux-5.18 as mentionend on
 # https://wiki.openafs.org/devel/Whiteboard/ (June 2022)
-Patch1: fix_gcc_12_linux_5.18.diff
+Patch1: cc8edf7.diff
+Patch2: 05b722d.diff
+Patch3: 6348262.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: 4cf7a9a.diff
 
@@ -319,6 +321,8 @@
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 %patch4 -p1
 
 ./regen.sh

++ 05b722d.diff ++
>From 05b722dd59ad2257986f9ab0739d03a1f4a76ee5 Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Tue, 05 Jul 2022 10:33:19 -0600
Subject: [PATCH] Linux-5.19: Remove flags from aops->write_begin

The Linux 5.19 commits:

 fs: Remove aop flags parameter from grab_cache_page_write_begin()
  (b7446e7c)
 fs: Remove flags parameter from aops->write_begin (9d6b0cd7)

removed the flags parameter from the address space operations
'write_begin' as well as removing the flags parameter from the Linux
function 'grab_cache_page_write_begin'.

Add an autoconf test to see if grab_cache_page_write_begin takes 2 or
3 parameters. Use this as a test to determine if the address space
operations 'write_begin' takes a flags parameter.

Create a version of afs_linux_write_begin that does not take a flags
parameter, which also calls grab_cache_page_write_begin without flags.

Reviewed-on: https://gerrit.openafs.org/15041
Tested-by: BuildBot 
Reviewed-by: Andrew Deason 
Reviewed-by: Michael Meffie 
Reviewed-by: Benjamin Kaduk 
(cherry picked from commit 52d8df218ff27c139ede221ec4decf593610fc47)

Change-Id: I20575c2e9d0979749078f4e3d6f862900c6b6561
---

diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h
index 53a079b..9a080da 100644
--- a/src/afs/LINUX/osi_compat.h
+++ b/src/afs/LINUX/osi_compat.h
@@ -138,7 +138,9 @@
 #define AOP_WRITEPAGE_ACTIVATE WRITEPAGE_ACTIVATE
 #endif
 
-#if defined(STRUCT_ADDRESS_SPACE_OPERATIONS_HAS_WRITE_BEGIN) && 
!defined(HAVE_LINUX_GRAB_CACHE_PAGE_WRITE_BEGIN)
+#if defined(STRUCT_ADDRESS_SPACE_OPERATIONS_HAS_WRITE_BEGIN) && \
+!defined(HAVE_LINUX_GRAB_CACHE_PAGE_WRITE_BEGIN_WITHFLAGS) && \
+!defined(HAVE_LINUX_GRAB_CACHE_PAGE_WRITE_BEGIN_NOFLAGS)
 static inline struct page *
 grab_cache_page_write_begin(struct address_space *mapping, pgoff_t index,
unsigned int flags) {
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 04f13a1..881d38e 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -3480,6 +3480,33 @@
 return code;
 }
 
+# if defined(HAVE_LINUX_GRAB_CACHE_PAGE_WRITE_BEGIN_NOFLAGS)
+static int
+afs_linux_write_begin(struct file *file, struct address_space *mapping,
+ loff_t pos, unsigned len,
+ struct page **pagep, void **fsdata)
+{
+struct page *page;
+pgoff_t index = pos >> PAGE_SHIFT;
+unsigned int from = pos & (PAGE_SIZE - 1);
+int code;
+
+page = grab_cache_page_write_begin(mapping, index);
+if (!page) {
+   return -ENOMEM;
+}
+
+*pagep = page;
+
+code = afs_linux_prepare_write(file, page, from, from + len);
+if (code) {
+   unlock_page(page);
+   put_page(page);
+}
+
+return code;
+}
+# else
 static int
 afs_linux_write_begin(struct file *file, struct address_space *mapping,
 loff_t pos, unsigned len, unsigned flags,
@@ -3505,7 +3532,8 @@
 
 return co

commit openafs for openSUSE:Factory

2022-06-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2022-06-24 08:45:46

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1548 (New)


Package is "openafs"

Fri Jun 24 08:45:46 2022 rev:34 rq:984721 version:1.8.8.2~rc1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2022-04-20 
16:57:42.962644683 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.1548/openafs.changes
2022-06-24 08:45:48.543172681 +0200
@@ -1,0 +2,9 @@
+Wed Jun 22 16:13:18 UTC 2022 - Christof Hanke 
+
+- apply patches adressing:
+  * Linux-5.17 and 5.18, gcc-11 and 12: fix_gcc_12_linux_5.18.diff
+- remove patches from previous commit:
+  * a714e86.diff and 449d1fa.diff
+  * gcc-11.diff
+
+---

Old:

  449d1fa.diff
  RELNOTES-1.8.8.1
  a714e86.diff
  gcc-11.diff
  openafs-1.8.8.1-doc.tar.bz2
  openafs-1.8.8.1-doc.tar.bz2.md5
  openafs-1.8.8.1-doc.tar.bz2.sha256
  openafs-1.8.8.1-src.tar.bz2
  openafs-1.8.8.1-src.tar.bz2.md5
  openafs-1.8.8.1-src.tar.bz2.sha256

New:

  RELNOTES-stable-1_8_x
  fix_gcc_12_linux_5.18.diff
  openafs-stable-1_8_x-doc.tar.bz2
  openafs-stable-1_8_x-doc.tar.bz2.md5
  openafs-stable-1_8_x-doc.tar.bz2.sha256
  openafs-stable-1_8_x-src.tar.bz2
  openafs-stable-1_8_x-src.tar.bz2.md5
  openafs-stable-1_8_x-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.X27NFu/_old  2022-06-24 08:45:50.007174321 +0200
+++ /var/tmp/diff_new_pack.X27NFu/_new  2022-06-24 08:45:50.015174330 +0200
@@ -57,23 +57,23 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.8.1
+%define upstream_version stable-1_8_x
 
 Name:   openafs
 
-Version:1.8.8.1
+Version:1.8.8.2~rc1
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
 Group:  System/Filesystems
 URL:http://www.openafs.org/
 
-Source0:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2
-Source1:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2
-Source2:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.md5
-Source3:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.md5
-Source4:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.sha256
-Source5:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.sha256
+Source0:openafs-%{upstream_version}-src.tar.bz2
+Source1:openafs-%{upstream_version}-doc.tar.bz2
+Source2:openafs-%{upstream_version}-src.tar.bz2.md5
+Source3:openafs-%{upstream_version}-doc.tar.bz2.md5
+Source4:openafs-%{upstream_version}-src.tar.bz2.sha256
+Source5:openafs-%{upstream_version}-doc.tar.bz2.sha256
 
 Source10:   README.SUSE.openafs
 Source15:   logrotate.openafs-server
@@ -102,15 +102,14 @@
 Source58:   openafs.cacheinfo
 Source98:   kmp_only.files
 Source99:   openafs.changes
-# PATCH-FIX-UPSTREAM KMP build
-Patch1: a714e86.diff
-Patch2: 449d1fa.diff
-# PATCH-FIX-UPSTREAM use gcc-11
-Patch3: gcc-11.diff
+
+# PATCH-FIX-UPSTREAM KMP build and gcc
+# required patches for Linux-5.18 as mentionend on
+# https://wiki.openafs.org/devel/Whiteboard/ (June 2022)
+Patch1: fix_gcc_12_linux_5.18.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: 4cf7a9a.diff
 
-#
 #  GENERAL BuildRequires and Requires
 #
 
@@ -320,8 +319,6 @@
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
 %patch4 -p1
 
 ./regen.sh

++ ChangeLog ++
 6373 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.1548/ChangeLog

++ RELNOTES-stable-1_8_x ++
   User-Visible OpenAFS Changes

OpenAFS 1.8.8.2~rc1

  Linux clients

* Support mainline kernels 5.17 and likely 5.18
* Support for gcc-12, clang-14

  Maybe others

This is an intermediate package based on the git-branch
stable-1_8_x with additional patches
to fill the need of supporting Linux-5.18


++ fix_gcc_12_linux_5.18.diff ++
 20317 lines (skipped)

++ openafs-stable-1_8_x-doc.tar.bz2.md5 ++
3206e88b7921851f627f0ec26103ab89  openafs-stable-1_8_x-doc.tar.bz2

++ openafs-sta

commit openafs for openSUSE:Factory

2022-04-20 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2022-04-20 16:57:14

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1941 (New)


Package is "openafs"

Wed Apr 20 16:57:14 2022 rev:33 rq:970995 version:1.8.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2022-01-24 
23:09:39.338896726 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1941/openafs.changes
2022-04-20 16:57:42.962644683 +0200
@@ -1,0 +2,20 @@
+Wed Apr 20 06:24:41 UTC 2022 - Christof Hanke 
+
+- apply patches marked for upcoming release:
+  * kernel 5.17: a714e86.diff and 449d1fa.diff
+  * gcc-11: gcc-11.diff 
+
+---
+Mon Mar 28 20:27:18 UTC 2022 - Christof Hanke 
+
+- do not create client-package without KMP 
+
+---
+Mon Feb 21 10:48:51 UTC 2022 - Christof Hanke 
+
+- remove patch dir_layout.patch
+  this can be done via environment-variables
+- replace openafs-1.8.x.ncurses6.patch with patch 4cf7a9a.diff.
+  4cf7a9a.diff is coming from upstream and will be incorporated at some point.
+
+---

Old:

  dir_layout.patch
  openafs-1.8.x.ncurses6.patch

New:

  449d1fa.diff
  4cf7a9a.diff
  a714e86.diff
  gcc-11.diff
  kmp_only.files



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.SAbUjm/_old  2022-04-20 16:57:45.298646866 +0200
+++ /var/tmp/diff_new_pack.SAbUjm/_new  2022-04-20 16:57:45.302646869 +0200
@@ -100,16 +100,21 @@
 Source56:   openafs.CellAlias
 Source57:   openafs.ThisCell
 Source58:   openafs.cacheinfo
+Source98:   kmp_only.files
 Source99:   openafs.changes
-# PATCH-SUSE-SPECIFIC use proper directory layout
-Patch3: dir_layout.patch
+# PATCH-FIX-UPSTREAM KMP build
+Patch1: a714e86.diff
+Patch2: 449d1fa.diff
+# PATCH-FIX-UPSTREAM use gcc-11
+Patch3: gcc-11.diff
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
-Patch4: openafs-1.8.x.ncurses6.patch
+Patch4: 4cf7a9a.diff
 
 #
 #  GENERAL BuildRequires and Requires
 #
 
+BuildRequires:  autoconf-archive
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  coreutils
@@ -124,15 +129,9 @@
 BuildRequires:  libtirpc-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
-%if 0%{?suse_version} < 1120
-BuildRequires:  perl-macros
-%endif
 BuildRequires:  pkg-config
 BuildRequires:  swig
 
-%if 0%{?suse_version} < 1210
-Requires(post): %insserv_prereq
-%endif
 Requires(post): %fillup_prereq
 
 %if %{build_kernel_modules} 
@@ -268,6 +267,7 @@
 This client is using the EXPERIMENTAL FUSE interface on LINUX.
 It does not offer authentication etc. 
 
+%if %{build_kernel_modules}
 %package client
 Summary:OpenAFS File System Client
 Group:  System/Filesystems
@@ -286,7 +286,7 @@
 In addition, among its features are authentication, encryption,
 caching, disconnected operations, replication for higher availability
 and load balancing, and ACLs. This package contains the OpenAFS client.
-
+%endif
 
 %prep
 
@@ -319,6 +319,8 @@
 done
 
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
+%patch1 -p1
+%patch2 -p1
 %patch3 -p1
 %patch4 -p1
 
@@ -358,7 +360,10 @@
 
 export KRB5LIBS='-lcom_err -lkrb5'
 export PATH_KRB5_CONFIG=%{krb5_config}
-
+export afsdbdir='/var/lib/openafs/db'
+export afslocaldir='/var/lib/openafs'
+export afslogsdir='/var/log/openafs'
+export afsdbdir='/var/lib/openafs/db'
 %configure \
 --disable-transarc-paths \
 --disable-pam \
@@ -393,7 +398,8 @@
 make
 popd
 done
-%endif # build_kernel_modules
+%endif
+# build_kernel_modules
 
 %install
 
@@ -424,11 +430,15 @@
 
 #
 # client
-cp -a src/afsd/CellServDB %{buildroot}/%{viceetcdir}/CellServDB
-cp -a %{S:55} %{buildroot}/%{viceetcdir}/SuidCells
+# also used by others
 cp -a %{S:56} %{buildroot}/%{viceetcdir}/CellAlias
 cp -a %{S:57} %{buildroot}/%{viceetcdir}/ThisCell
+cp -a src/afsd/CellServDB %{buildroot}/%{viceetcdir}/CellServDB
+cp -a %{S:55} %{buildroot}/%{viceetcdir}/SuidCells
 cp -a %{S:58} %{buildroot}/%{viceetcdir}/cacheinfo
+
+# kmp-only
+%if %{build_kernel_modules}
 cp -a src/afs/afszcm.cat %{buildroot}%{_datadir}/openafs/C
 install -m 644 %{S:27} %{buildroot}/%{_fillupdir}/sysconfig.openafs-client
 %if 0%{?sle_version} > 15 
@@ -437,9 +447,11 @@
 install -m 644 %{S:23} %{buildroot}/%_unitdir
 %endif
 ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rcopenafs-client
+%endif
 
 #
 # fuse client package
+
 install -m 644 %{S:29} %{buildroot}/%{_fil

commit openafs for openSUSE:Factory

2022-01-24 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2022-01-24 23:09:37

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1938 (New)


Package is "openafs"

Mon Jan 24 23:09:37 2022 rev:32 rq:948297 version:1.8.8.1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-12-02 
02:19:10.885878705 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1938/openafs.changes
2022-01-24 23:09:39.338896726 +0100
@@ -1,0 +2,8 @@
+Sun Jan 23 15:48:09 UTC 2022 - Christof Hanke 
+
+- Update to new upstream release 1.8.8.1
+  * Support mainline kernels 5.14, 5.15 and 5.16
+- remove local patch linux-kmp.patch:
+  * it supported mainline kernels only up to 5.15
+
+---

Old:

  RELNOTES-1.8.8
  linux-kmp.patch
  openafs-1.8.8-doc.tar.bz2
  openafs-1.8.8-doc.tar.bz2.md5
  openafs-1.8.8-doc.tar.bz2.sha256
  openafs-1.8.8-src.tar.bz2
  openafs-1.8.8-src.tar.bz2.md5
  openafs-1.8.8-src.tar.bz2.sha256

New:

  RELNOTES-1.8.8.1
  openafs-1.8.8.1-doc.tar.bz2
  openafs-1.8.8.1-doc.tar.bz2.md5
  openafs-1.8.8.1-doc.tar.bz2.sha256
  openafs-1.8.8.1-src.tar.bz2
  openafs-1.8.8.1-src.tar.bz2.md5
  openafs-1.8.8.1-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.Zf6G9z/_old  2022-01-24 23:09:40.470888989 +0100
+++ /var/tmp/diff_new_pack.Zf6G9z/_new  2022-01-24 23:09:40.474888962 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package openafs
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.8
+%define upstream_version 1.8.8.1
 
 Name:   openafs
 
-Version:1.8.8
+Version:1.8.8.1
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -105,8 +105,6 @@
 Patch3: dir_layout.patch
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: openafs-1.8.x.ncurses6.patch
-# PATCH-FIX-UPSTREAM make KMP bild on Factory
-Patch5: linux-kmp.patch
 
 #
 #  GENERAL BuildRequires and Requires
@@ -323,7 +321,6 @@
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 ./regen.sh
 

++ RELNOTES-1.8.8 -> RELNOTES-1.8.8.1 ++
--- /work/SRC/openSUSE:Factory/openafs/RELNOTES-1.8.8   2021-08-05 
20:48:28.659906814 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.1938/RELNOTES-1.8.8.1   
2022-01-24 23:09:38.334903589 +0100
@@ -1,200 +1,18 @@
User-Visible OpenAFS Changes
 
-
-OpenAFS 1.8.8
-
-  All platforms
-
-* Improved documentation, diagnostics and error messages (14311 14326
-  14331 14367 14399 14419 14420 14427 14434 14436 14437 14438 14439
-  14440 14502 14516 14518 14546)
-
-* Build fixes, mostly for recent compilers (14217 14298 14299 14668)
-
-* Avoid some potential performance losses in the wire protocol (14503
-  14514)
-
-* Avoid client connections hanging forever when the server is
-  restarted while they're active (14504 14505 14506 14507)
-
-  All server platforms
-
-* Avoid Rx calls getting stuck on the incoming call queue for busy
-  servers (14394)
-
-* Avoid a possible salvageserver deadlock (14283)
-
-* Fixed salvageserver's parsing of the "-parallel all" argument
-  (14285)
-
-* Avoid potential salvager crashes (14515 14614)
-
-* Fix "bos salvage -forceDAFS" when the BosConfig also contains a legacy
-  'fs' bnode in addition to the 'dafs' bnode (14665)
-
-* Avoid erratic vlserver behaviour due to overflowing the maximum
-  VLDB size of 2 GB. Log a message and return an error instead (14288)
-
-* Fixed a ptserver issue where 'pts mem -expandgroups' failed when
-  supergroups were enabled (14345) (RT #135147)
-
-* Take read-only volumes offline while being converted to read-write
-  ones with "vos convertROtoRW", preventing them from ending up in an
-  inconsistent state when accessed during the conversion (14433)
-
-* Avoid inconsistent volume states due to interrupted rename operations
-  and other potential issues (14449 14450)
-
-* Add new variants to asetkey's "delete" command to allow deleting
-  non-des keys (14293)
-
-* Improved ubik performance and robustness (14141 14142 14365)
-
-* Fixed building the vol-bless utility, which is n

commit openafs for openSUSE:Factory

2021-12-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-11-30 23:15:58

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.31177 (New)


Package is "openafs"

Tue Nov 30 23:15:58 2021 rev:31 rq:934617 version:1.8.8

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-10-04 
18:42:18.126285312 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.31177/openafs.changes   
2021-12-02 02:19:10.885878705 +0100
@@ -1,0 +2,5 @@
+Mon Nov 29 15:08:46 UTC 2021 - Christof Hanke 
+
+- re-add linux-kmp.patch. Required for 5.15  
+
+---

New:

  linux-kmp.patch



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.ler0i4/_old  2021-12-02 02:19:11.617876152 +0100
+++ /var/tmp/diff_new_pack.ler0i4/_new  2021-12-02 02:19:11.617876152 +0100
@@ -105,6 +105,8 @@
 Patch3: dir_layout.patch
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: openafs-1.8.x.ncurses6.patch
+# PATCH-FIX-UPSTREAM make KMP bild on Factory
+Patch5: linux-kmp.patch
 
 #
 #  GENERAL BuildRequires and Requires
@@ -321,6 +323,7 @@
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 ./regen.sh
 

++ linux-kmp.patch ++
>From 20b8a37950b3718b85a4a3d21b23469a5176eb6a Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Thu, 07 Oct 2021 11:15:58 -0600
Subject: [PATCH] LINUX 5.14: explicitly set set_page_dirty to default

Linux 5.14 commit: 'mm: require ->set_page_dirty to be explicitly wired
up' (0af573780b0b13) removed calling __set_page_dirty_buffers when the
address_space_operations structure member set_page_dirty was NULL.

A kernel RIP error can occur when the set_page_dirty operation is
requested. (Reproducible by running 'iozone -B -a')

Update the definition for afs_file_aops to explicitly set the
'set_page_dirty' member to '__set_page_dirty_buffers'.

There are no functional changes, since this commit is using the same
function that the Linux kernel was using if set_page_dirty had been
NULL.

Problem originally reported by "Andrej Filipcic"
 in the openafs-info mailing list.  The Linux
5.14 commit causing the openafs failure was identified by "Michael La??"
 also on in the openafs-info mailing list.

Note: The declaration for the function '__set_page_dirty_buffers' was
moved from linux/mm.h into linux/buffer_head.h in Linux 2.6.19.  Since
this is close to the minimum supported Linux version 2.6.18, we are not
introducing an additional autoconf test to determine which header file
the declaration for __set_page_dirty_buffers resides in.

Reviewed-on: https://gerrit.openafs.org/14826
Tested-by: BuildBot 
Reviewed-by: Mark Vitale 
Tested-by: Michael La?? 
Reviewed-by: Michael La?? 
Tested-by: Cheyenne Wills 
Reviewed-by: Ralf Brunckhorst 
Tested-by: Ralf Brunckhorst 
Reviewed-by: Benjamin Kaduk 
(cherry picked from commit ba485a13e965909b63b25103fdf810de381e4977)

Change-Id: Iae61573e5ccf9458646eba4403322536fd86f2bf
---

diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index f4bedae..00103a5 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -26,6 +26,7 @@
 #include "afsincludes.h"
 #include "afs/afs_stats.h"
 #include 
+#include 
 #ifdef HAVE_MM_INLINE_H
 #include 
 #endif
@@ -3287,6 +3288,7 @@
   .readpage =  afs_linux_readpage,
   .readpages = afs_linux_readpages,
   .writepage = afs_linux_writepage,
+  .set_page_dirty =__set_page_dirty_buffers,
 #if defined (STRUCT_ADDRESS_SPACE_OPERATIONS_HAS_WRITE_BEGIN)
   .write_begin =afs_linux_write_begin,
   .write_end =  afs_linux_write_end,
>From 4b752d855fb7315cbc119e39b1bbc0b50e6d56b4 Mon Sep 17 00:00:00 2001
From: Cheyenne Wills 
Date: Fri, 12 Nov 2021 14:42:57 -0700
Subject: [PATCH] Linux 5.15: Convert osi_Msg macro to a function

With Linux 5.15-prerc1 printk is defined as a macro instead of a
function ("printk: Userspace format indexing support" 33701557)

This change is causing a build failure:

 .../src/rx/rx_kernel.h:62:18: error: ???printk??? undeclared (first use in
   this function); did you mean ???_printk
   62 | # define osi_Msg printk)(
  |  ^~

The definition and use of the osi_Msg and osi_VMsg macros are
unconventional and the C preprocessor is not handling the macro
expansion when printk is itself a macro.

   #define osi_Msg printk)(
   ...
   (osi_Msg "%s", x);

Change osi_Msg to a function, and simply replace osi_VMsg with vprintf
since osi_VMsg is only used at one location

commit openafs for openSUSE:Factory

2021-10-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-10-04 18:40:28

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.2443 (New)


Package is "openafs"

Mon Oct  4 18:40:28 2021 rev:30 rq:922940 version:1.8.8

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-08-05 
20:48:29.151906262 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.2443/openafs.changes
2021-10-04 18:42:18.126285312 +0200
@@ -1,0 +2,5 @@
+Fri Oct  1 09:08:58 UTC 2021 - Guillaume GARDET 
+
+- Fix %ifarch for 32-bit arm
+
+---



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.8jFSeA/_old  2021-10-04 18:42:19.562287644 +0200
+++ /var/tmp/diff_new_pack.8jFSeA/_new  2021-10-04 18:42:19.562287644 +0200
@@ -51,7 +51,7 @@
 %define vicecachedir /var/cache/openafs
 %define afslocaldir   /var/lib/openafs
 
-%ifarch ppc64le ppc64 arm
+%ifarch ppc64le ppc64 %{arm}
 %define build_kernel_modules 0
 %endif
 
@@ -335,7 +335,7 @@
 sysbase=ppc64
 export LDFLAGS="$LDFLAGS -m64"
 %endif
-%ifarch arm
+%ifarch %{arm}
 sysbase=arm
 %endif
 %ifarch aarch64


commit openafs for openSUSE:Factory

2021-08-05 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-08-05 20:48:02

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1899 (New)


Package is "openafs"

Thu Aug  5 20:48:02 2021 rev:29 rq:910195 version:1.8.8

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-04-29 
22:53:16.981924374 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.1899/openafs.changes
2021-08-05 20:48:29.151906262 +0200
@@ -1,0 +2,6 @@
+Tue Aug  3 22:32:14 UTC 2021 - Christof Hanke 
+
+- update to openafs version 1.8.8 
+- remove linux-kmp.patch. Not required at the minute.
+
+---

Old:

  RELNOTES-1.8.7
  linux-kmp.patch
  openafs-1.8.7-doc.tar.bz2
  openafs-1.8.7-doc.tar.bz2.md5
  openafs-1.8.7-doc.tar.bz2.sha256
  openafs-1.8.7-src.tar.bz2
  openafs-1.8.7-src.tar.bz2.md5
  openafs-1.8.7-src.tar.bz2.sha256

New:

  RELNOTES-1.8.8
  openafs-1.8.8-doc.tar.bz2
  openafs-1.8.8-doc.tar.bz2.md5
  openafs-1.8.8-doc.tar.bz2.sha256
  openafs-1.8.8-src.tar.bz2
  openafs-1.8.8-src.tar.bz2.md5
  openafs-1.8.8-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.tFeWoQ/_old  2021-08-05 20:48:30.307904965 +0200
+++ /var/tmp/diff_new_pack.tFeWoQ/_new  2021-08-05 20:48:30.311904960 +0200
@@ -57,11 +57,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version 1.8.7
+%define upstream_version 1.8.8
 
 Name:   openafs
 
-Version:1.8.7
+Version:1.8.8
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -105,8 +105,6 @@
 Patch3: dir_layout.patch
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: openafs-1.8.x.ncurses6.patch
-# PATCH-FIX-UPSTREAM make KMP bild on Factory
-Patch5: linux-kmp.patch
 
 #
 #  GENERAL BuildRequires and Requires
@@ -323,7 +321,6 @@
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 ./regen.sh
 

++ ChangeLog ++
 5719 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.1899/ChangeLog

++ RELNOTES-1.8.7 -> RELNOTES-1.8.8 ++
--- /work/SRC/openSUSE:Factory/openafs/RELNOTES-1.8.7   2021-02-07 
15:23:51.622188302 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1899/RELNOTES-1.8.8 2021-08-05 
20:48:28.659906814 +0200
@@ -1,5 +1,119 @@
User-Visible OpenAFS Changes
 
+
+OpenAFS 1.8.8
+
+  All platforms
+
+* Improved documentation, diagnostics and error messages (14311 14326
+  14331 14367 14399 14419 14420 14427 14434 14436 14437 14438 14439
+  14440 14502 14516 14518 14546)
+
+* Build fixes, mostly for recent compilers (14217 14298 14299 14668)
+
+* Avoid some potential performance losses in the wire protocol (14503
+  14514)
+
+* Avoid client connections hanging forever when the server is
+  restarted while they're active (14504 14505 14506 14507)
+
+  All server platforms
+
+* Avoid Rx calls getting stuck on the incoming call queue for busy
+  servers (14394)
+
+* Avoid a possible salvageserver deadlock (14283)
+
+* Fixed salvageserver's parsing of the "-parallel all" argument
+  (14285)
+
+* Avoid potential salvager crashes (14515 14614)
+
+* Fix "bos salvage -forceDAFS" when the BosConfig also contains a legacy
+  'fs' bnode in addition to the 'dafs' bnode (14665)
+
+* Avoid erratic vlserver behaviour due to overflowing the maximum
+  VLDB size of 2 GB. Log a message and return an error instead (14288)
+
+* Fixed a ptserver issue where 'pts mem -expandgroups' failed when
+  supergroups were enabled (14345) (RT #135147)
+
+* Take read-only volumes offline while being converted to read-write
+  ones with "vos convertROtoRW", preventing them from ending up in an
+  inconsistent state when accessed during the conversion (14433)
+
+* Avoid inconsistent volume states due to interrupted rename operations
+  and other potential issues (14449 14450)
+
+* Add new variants to asetkey's "delete" command to allow deleting
+  non-des keys (14293)
+
+* Improved ubik performance and robustness (14141 14142 14365)
+
+* Fixed building the vol-bless utility, which is now also built by
+  default but still not installed and distributed (14601)
+
+* Fixed parsing of "-cores none" when bosserver is started this way
+  (14589)
+
+  All client platforms
+
+* Avoid crashes 

commit openafs for openSUSE:Factory

2021-04-29 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-04-29 22:46:37

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.1947 (New)


Package is "openafs"

Thu Apr 29 22:46:37 2021 rev:28 rq:889242 version:1.8.7

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-03-11 
20:12:37.108695365 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.1947/openafs.changes
2021-04-29 22:53:16.981924374 +0200
@@ -1,0 +2,5 @@
+Thu Apr 29 07:01:26 UTC 2021 - Christof Hanke 
+
+- add patches for kernel 5.12 to linux-kmp.patch 
+
+---



Other differences:
--
++ linux-kmp.patch ++
--- /var/tmp/diff_new_pack.ZHJi1a/_old  2021-04-29 22:53:17.801920595 +0200
+++ /var/tmp/diff_new_pack.ZHJi1a/_new  2021-04-29 22:53:17.801920595 +0200
@@ -1169,3 +1169,405 @@
  dnl lru_cache_add exported in Linux 5.8
  dnlreplaces lru_cache_add_file
  AC_CHECK_LINUX_FUNC([lru_cache_add],
+From cdec210405afb47ee338bfde9280710b64d7abc6 Mon Sep 17 00:00:00 2001
+From: Andrew Deason 
+Date: Tue, 23 Jul 2019 13:50:31 -0500
+Subject: [PATCH] LINUX: Introduce afs_d_path
+
+Move our preprocessor logic around d_path into an osi_compat.h
+wrapper, called afs_d_path. This just makes it a little easier to use
+d_path, and moves a tiny bit of #ifdef cruft away from real code.
+
+Reviewed-on: https://gerrit.openafs.org/13721
+Reviewed-by: Benjamin Kaduk 
+Tested-by: BuildBot 
+(cherry picked from commit 4c4fb6e36634e5663c8be25acd4a1ac872e4738c)
+
+Change-Id: I08763c71006e4ac6f2bf88d8ac71941fc44e6ab8
+Reviewed-on: https://gerrit.openafs.org/14563
+Tested-by: BuildBot 
+Reviewed-by: Cheyenne Wills 
+Reviewed-by: Andrew Deason 
+Reviewed-by: Stephan Wiesand 
+---
+
+diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h
+index 620b373..a1e7f21 100644
+--- a/src/afs/LINUX/osi_compat.h
 b/src/afs/LINUX/osi_compat.h
+@@ -737,4 +737,15 @@
+ #endif
+ }
+ 
++static inline char*
++afs_d_path(struct dentry *dp, struct vfsmount *mnt, char *buf, int buflen)
++{
++#ifdef D_PATH_TAKES_STRUCT_PATH
++afs_linux_path_t p = { .mnt = mnt, .dentry = dp };
++return d_path(&p, buf, buflen);
++#else
++return d_path(dp, mnt, buf, buflen);
++#endif
++}
++
+ #endif /* AFS_LINUX_OSI_COMPAT_H */
+diff --git a/src/afs/LINUX/osi_misc.c b/src/afs/LINUX/osi_misc.c
+index 0e9336d..aa5d5fc 100644
+--- a/src/afs/LINUX/osi_misc.c
 b/src/afs/LINUX/osi_misc.c
+@@ -138,13 +138,7 @@
+   return -PTR_ERR(name);
+ code = osi_lookupname_internal(name, followlink, &mnt, &dp);
+ if (!code) {
+-#if defined(D_PATH_TAKES_STRUCT_PATH)
+-  afs_linux_path_t p = { .mnt = mnt, .dentry = dp };
+-  path = d_path(&p, buf, buflen);
+-#else
+-  path = d_path(dp, mnt, buf, buflen);
+-#endif
+-
++  path = afs_d_path(dp, mnt, buf, buflen);
+   if (IS_ERR(path)) {
+   code = -PTR_ERR(path);
+   } else {
+From 5a5d358b02b88d6d2c7a27a75149e35b1de7db38 Mon Sep 17 00:00:00 2001
+From: Cheyenne Wills 
+Date: Mon, 08 Mar 2021 09:22:04 -0700
+Subject: [PATCH] Linux: Create wrapper for setattr_prepare
+
+Move call to setattr_prepare/inode_change_ok into an osi_compat.h
+wrapper called 'afs_setattr_prepare'.  This moves some of the #if logic
+out of the mainline code.
+
+Reviewed-on: https://gerrit.openafs.org/14548
+Tested-by: BuildBot 
+Reviewed-by: Andrew Deason 
+Reviewed-by: Benjamin Kaduk 
+(cherry picked from commit 12ae2beeeb172cebdfa24d5ea149f73fd85541f8)
+
+Change-Id: I1c7806893daf2404a8b3ac1b5c88ca04e6409226
+Reviewed-on: https://gerrit.openafs.org/14564
+Tested-by: BuildBot 
+Reviewed-by: Cheyenne Wills 
+Reviewed-by: Andrew Deason 
+Reviewed-by: Stephan Wiesand 
+---
+
+diff --git a/src/afs/LINUX/osi_compat.h b/src/afs/LINUX/osi_compat.h
+index a1e7f21..3ac4d79 100644
+--- a/src/afs/LINUX/osi_compat.h
 b/src/afs/LINUX/osi_compat.h
+@@ -748,4 +748,14 @@
+ #endif
+ }
+ 
++static inline int
++afs_setattr_prepare(struct dentry *dp, struct iattr *newattrs)
++{
++#if defined(HAVE_LINUX_SETATTR_PREPARE)
++return setattr_prepare(dp, newattrs);
++#else
++return inode_change_ok(dp->d_inode, newattrs);
++#endif
++}
++
+ #endif /* AFS_LINUX_OSI_COMPAT_H */
+diff --git a/src/afs/LINUX/osi_file.c b/src/afs/LINUX/osi_file.c
+index 0afb875..03777f5 100644
+--- a/src/afs/LINUX/osi_file.c
 b/src/afs/LINUX/osi_file.c
+@@ -230,11 +230,7 @@
+ AFS_CURRENT_TIME(&newattrs.ia_ctime);
+ 
+ /* avoid notify_change() since it wants to update dentry->d_parent */
+-#ifdef HAVE_LINUX_SETATTR_PREPARE
+-code = setattr_prepare(file_dentry(afile->filp), &newattrs);
+-#else
+

commit openafs for openSUSE:Factory

2021-03-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-03-11 20:10:32

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.2401 (New)


Package is "openafs"

Thu Mar 11 20:10:32 2021 rev:27 rq:878121 version:1.8.7

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-02-25 
18:29:49.498273531 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.2401/openafs.changes
2021-03-11 20:12:37.108695365 +0100
@@ -1,0 +2,5 @@
+Thu Mar  4 14:57:26 UTC 2021 - Christof Hanke 
+
+- add patches for kernel 5.11 to linux-kmp.patch 
+
+---



Other differences:
--
++ linux-kmp.patch ++
--- /var/tmp/diff_new_pack.grq0ov/_old  2021-03-11 20:12:37.988696793 +0100
+++ /var/tmp/diff_new_pack.grq0ov/_new  2021-03-11 20:12:37.988696793 +0100
@@ -805,3 +805,367 @@
  }
  
  static void
+commit aaa7043a154d35838e65bc28473355c452339bcc
+Author: Andrew Deason 
+Date:   Thu Jan 28 16:59:47 2021 -0600
+
+LINUX: Fix includes for fatal_signal_pending test
+
+Commit 8b6ae289 (LINUX: Avoid lookup ENOENT on fatal signals) added a
+configure test for fatal_signal_pending(). However, this check fails
+incorrectly ever since Linux 4.11, because fatal_signal_pending() was moved
+from linux/sched.h to linux/sched/signal.h in Linux commit 2a1f062a
+(sched/headers: Move signal wakeup [...]). Fix this by including
+linux/sched/signal.h if we have it during the configure test.
+
+A false negative on this configure test doesn't break the build, but
+it disables one of our safeguards preventing incorrect negative
+dentries at runtime. The function fatal_signal_pending() hasn't
+changed in quite some time (except for what header it lives in); it
+was introduced in Linux 2.6.25 via Linux commit f776d12d (Add
+fatal_signal_pending). So to try to avoid this mistake again in the
+future, make it so a missing fatal_signal_pending() breaks the build
+if we're on Linux 2.6.25+.
+
+Reviewed-on: https://gerrit.openafs.org/14508
+Reviewed-by: Benjamin Kaduk 
+Tested-by: BuildBot 
+(cherry picked from commit 0c1465e4f3310daa54f1e799f76237604222666d)
+
+Change-Id: I1334c060f8ab5733461ebf7c191dffa7be830021
+Reviewed-on: https://gerrit.openafs.org/14509
+Reviewed-by: Cheyenne Wills 
+Reviewed-by: Michael Meffie 
+Reviewed-by: Andrew Deason 
+Tested-by: BuildBot 
+Reviewed-by: Stephan Wiesand 
+
+diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
+index 593086d1e..1564f8986 100644
+--- a/src/afs/LINUX/osi_vnodeops.c
 b/src/afs/LINUX/osi_vnodeops.c
+@@ -1212,6 +1212,8 @@ filter_enoent(int code)
+ if (code == ENOENT && fatal_signal_pending(current)) {
+ return EINTR;
+ }
++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
++# error fatal_signal_pending not available, but it should be
+ #endif
+ return code;
+ }
+diff --git a/src/cf/linux-kernel-func.m4 b/src/cf/linux-kernel-func.m4
+index 10b7c97dd..4651b5b1a 100644
+--- a/src/cf/linux-kernel-func.m4
 b/src/cf/linux-kernel-func.m4
+@@ -42,8 +42,13 @@ AC_CHECK_LINUX_FUNC([d_make_root],
+ AC_CHECK_LINUX_FUNC([do_sync_read],
+ [#include ],
+ [do_sync_read(NULL, NULL, 0, NULL);])
++dnl - fatal_signal_pending introduced in 2.6.25
++dnl - moved from linux/sched.h to linux/sched/signal.h in 4.11
+ AC_CHECK_LINUX_FUNC([fatal_signal_pending],
+-[#include ],
++[#include 
++ #ifdef HAVE_LINUX_SCHED_SIGNAL_H
++ # include 
++ #endif],
+ [fatal_signal_pending(NULL);])
+ AC_CHECK_LINUX_FUNC([file_dentry],
+ [#include ],
+commit 4ad1057ab8fd206c9fa8d5e3bdde4f1a8417afdb
+Author: Cheyenne Wills 
+Date:   Fri Jan 29 11:32:36 2021 -0700
+
+Linux: Refactor test for 32bit compat
+
+Refactor the preprocessor checks for determining the method to test for
+32bit compatibility (64bit kernel performing work for a 32bit task) into
+a common inline function, 'afs_in_compat_syscall' that is defined in
+LINUX/osi_machdep.h.  Update osi_ioctl.c and afs_syscall.c to use
+afs_in_compat_syscall.
+
+Add include afs/sysincludes into osi_machdep.h to ensure linux/compat.h
+is pulled for the functions called in afs_in_compat_syscall.
+
+Reviewed-on: https://gerrit.openafs.org/14500
+Tested-by: BuildBot 
+Reviewed-by: Andrew Deason 
+Reviewed-by: Benjamin Kaduk 
+(cherry picked from co

commit openafs for openSUSE:Factory

2021-02-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-02-25 18:29:48

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.2378 (New)


Package is "openafs"

Thu Feb 25 18:29:48 2021 rev:26 rq:874978 version:1.8.7

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-02-23 
20:22:35.383771600 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.2378/openafs.changes
2021-02-25 18:29:49.498273531 +0100
@@ -1,0 +2,5 @@
+Mon Feb 22 16:38:07 UTC 2021 - Michael Meffie 
+
+- fix building of perl module AFS::ukernel  
+
+---



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.kjWOyE/_old  2021-02-25 18:29:50.846274406 +0100
+++ /var/tmp/diff_new_pack.kjWOyE/_new  2021-02-25 18:29:50.850274409 +0100
@@ -126,7 +126,11 @@
 BuildRequires:  libtirpc-devel
 BuildRequires:  libtool
 BuildRequires:  ncurses-devel
+%if 0%{?suse_version} < 1120
+BuildRequires:  perl-macros
+%endif
 BuildRequires:  pkg-config
+BuildRequires:  swig
 
 %if 0%{?suse_version} < 1210
 Requires(post): %insserv_prereq
@@ -366,7 +370,8 @@
 --sysconfdir=%{_sysconfdir} \
 --mandir=%{_mandir} \
 --with-afs-sysname=$afs_sysname \
---disable-kernel-module
+--disable-kernel-module \
+--with-swig
 
 make CCFLAGS="$CFLAGS" XCFLAGS="$CFLAGS" PAM_CFLAGS="$CFLAGS" KOPTS="$CFLAGS" 
all_nolibafs
 make CCFLAGS="$CFLAGS" XCFLAGS="$CFLAGS" PAM_CFLAGS="$CFLAGS" KOPTS="$CFLAGS" 
only_libafs_tree
@@ -385,7 +390,7 @@
 pushd obj/$flavor
 find . -name "*.c" -exec sed -i '/MODULE_LICENSE(/a MODULE_INFO(retpoline, 
"Y");' "{}" "+"
 ./configure  
--with-linux-kernel-build=/usr/src/linux-obj/%{_target_cpu}/$flavor 
--with-linux-kernel-headers=/usr/src/linux \
---disable-transarc-paths
+--disable-transarc-paths --without-swig
 export EXTRA_CFLAGS='-DVERSION=\"%version\"'
 export LINUX_MAKE_ARCH="ARCH=%{_arch}"
 make
@@ -504,6 +509,12 @@
 mv %{buildroot}/%{_libdir}/*.* %{buildroot}/%{_libdir}/openafs
 rm -rf %{buildroot}/%{_libdir}/afs
 
+# move perl module to perl vendor library path
+mkdir -p %{buildroot}/%{perl_vendorlib}/AFS
+mv %{buildroot}/%{_libdir}/perl/AFS/ukernel.pm 
%{buildroot}/%{perl_vendorlib}/AFS/ukernel.pm
+mkdir -p %{buildroot}%{perl_vendorarch}
+mv %{buildroot}/%{_libdir}/perl/ukernel.so 
%{buildroot}/%{perl_vendorarch}/ukernel.so
+
 # firewalld
 
 %if %{have_firewalld}
@@ -949,6 +960,9 @@
 %{_includedir}/openafs/
 %{_libdir}/openafs/libafshcrypto.so
 %{_libdir}/openafs/librokenafs.so
+%{perl_vendorarch}/ukernel.so
+%dir %{perl_vendorlib}/AFS
+%{perl_vendorlib}/AFS/ukernel.pm
 
 %files  kernel-source 
 %defattr(-,root,root)


commit openafs for openSUSE:Factory

2021-02-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-02-23 20:20:52

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.2378 (New)


Package is "openafs"

Tue Feb 23 20:20:52 2021 rev:25 rq:874346 version:1.8.7

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-02-07 
15:23:52.842189695 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.2378/openafs.changes
2021-02-23 20:22:35.383771600 +0100
@@ -1,0 +2,8 @@
+Mon Feb 22 11:44:25 UTC 2021 - Matthias Gerstner 
+
+- kernel-source.build-modules.sh: choose safe CWD while executing the build to
+  prevent files being created in unsafe locations. Use new SUSE naming
+  convention and rely on /etc/os-release, since /etc/SuSE-release no longer
+  exists.
+
+---



Other differences:
--
++ kernel-source.build-modules.sh ++
--- /var/tmp/diff_new_pack.GgoCcZ/_old  2021-02-23 20:22:36.947772983 +0100
+++ /var/tmp/diff_new_pack.GgoCcZ/_new  2021-02-23 20:22:36.947772983 +0100
@@ -1,20 +1,29 @@
-#!/bin/sh
+#!/bin/bash
 
 if [ $# != 1 ]; then
 echo building a openafs-kernel module for the running kernel
-echo Need one of: build build_debug install 
+echo Need one of: build build_debug install
 exit 1
 fi
 
+rootdir=`cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd`
+
+if [ -z "$rootdir" ]; then
+echo "failed to determine the dirname of this script"
+exit 1
+fi
+
+cd "$rootdir"
+
 LOGFILE=libafs_tree/build.log
-kernel_flavour=`uname -r | awk -F- '{print $NF}'` 
+kernel_flavour=`uname -r | awk -F- '{print $NF}'`
 kernel_version=`uname -r | sed "s/-$kernel_flavour//"`
 arch=`uname -m`
 
-suse_flavour=`cat /etc/SuSE-release | head -1 | awk '{print $1}' ` 
-suse_version=`cat /etc/SuSE-release | grep VERSION | awk '{print $NF}' ` 
+suse_flavour=`cat /etc/os-release | grep PRETTY_NAME | awk -F '=' '{print $2}'`
+suse_version=`cat /etc/os-release | grep VERSION_ID | awk -F '=' '{print $2}'`
 
-echo This SuSE is version \"$suse_version\" of flavour \"$suse_flavour\"
+echo This SUSE is version $suse_version of flavour $suse_flavour
 echo you are running the kernel \"$kernel_version\" of flavour 
\"$kernel_flavour\" on \"$arch\"
 echo all output is saved into $LOGFILE
 
@@ -25,14 +34,14 @@
 if [ $1 == "build" -o $1 == "build_debug" ]; then
cd libafs_tree
echo calling configure...
-   ./configure --with-linux-kernel-headers=/usr/src/linux/ 
--with-linux-kernel-build=/usr/src/linux-obj/$arch/$kernel_flavour $DEBUG_OPT > 
build.log 2>&1 
-   if [ $? != 0 ]; then 
+   ./configure --with-linux-kernel-headers=/usr/src/linux/ 
--with-linux-kernel-build=/usr/src/linux-obj/$arch/$kernel_flavour $DEBUG_OPT > 
build.log 2>&1
+   if [ $? != 0 ]; then
echo configure failed! See $LOGFILE for details
exit $?
fi
echo calling make
-   make >> build.log 2>&1 
-   if [ $? != 0 ]; then 
+   make >> build.log 2>&1
+   if [ $? != 0 ]; then
echo make failed! See $LOGFILE for details
exit $?
fi
@@ -47,9 +56,9 @@
module_files="afspag.ko libafs.ko"
build_dir=libafs_tree/src/libafs/MODLOAD-$kernel_version-$kernel_flavour-MP/
install_dir=/lib/modules/$kernel_version-$kernel_flavour
-   echo installing kernel-modules into 
+   echo installing kernel-modules into
for mod in $module_files; do
-  cp -v $build_dir/$mod $install_dir/$mod 
+  cp -v $build_dir/$mod $install_dir/$mod
done
/sbin/depmod -a
 fi


commit openafs for openSUSE:Factory

2021-02-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-02-07 15:21:06

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.28504 (New)


Package is "openafs"

Sun Feb  7 15:21:06 2021 rev:24 rq:869710 version:1.8.7

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-01-18 
11:33:00.264802070 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.28504/openafs.changes   
2021-02-07 15:23:52.842189695 +0100
@@ -1,0 +2,7 @@
+Fri Feb  5 08:41:48 UTC 2021 - Christof Hanke 
+
+- use stock 1.8.7 from openafs.org
+  * git-version might contain experimental code
+  * add linux-kmp.patch for newer kernels 
+
+---

Old:

  RELNOTES-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2.md5
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2.sha256
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2.md5
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2.sha256

New:

  RELNOTES-1.8.7
  linux-kmp.patch
  openafs-1.8.7-doc.tar.bz2
  openafs-1.8.7-doc.tar.bz2.md5
  openafs-1.8.7-doc.tar.bz2.sha256
  openafs-1.8.7-src.tar.bz2
  openafs-1.8.7-src.tar.bz2.md5
  openafs-1.8.7-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.Ur62Tt/_old  2021-02-07 15:23:54.378191449 +0100
+++ /var/tmp/diff_new_pack.Ur62Tt/_new  2021-02-07 15:23:54.378191449 +0100
@@ -35,9 +35,6 @@
 # build kernel modules
 %define build_kernel_modules 1
 
-# run regen to create new configure script
-%define run_regen 1
-
 # flag for firewalld, only required for SLE-12
 %if 0%{?sle_version} <= 120500 && !0%{?is_opensuse} 
 %define have_firewalld 0
@@ -60,7 +57,7 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
+%define upstream_version 1.8.7
 
 Name:   openafs
 
@@ -71,18 +68,12 @@
 Group:  System/Filesystems
 URL:http://www.openafs.org/
 
-#Source0:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2
-#Source1:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2
-#Source2:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.md5
-#Source3:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.md5
-#Source4:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.sha256
-#Source5:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.sha256
-Source0:openafs-%{upstream_version}-src.tar.bz2
-Source1:openafs-%{upstream_version}-doc.tar.bz2
-Source2:openafs-%{upstream_version}-src.tar.bz2.md5
-Source3:openafs-%{upstream_version}-doc.tar.bz2.md5 
-Source4:openafs-%{upstream_version}-src.tar.bz2.sha256
-Source5:openafs-%{upstream_version}-doc.tar.bz2.sha256
+Source0:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2
+Source1:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2
+Source2:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.md5
+Source3:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.md5
+Source4:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.sha256
+Source5:
http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.sha256
 
 Source10:   README.SUSE.openafs
 Source15:   logrotate.openafs-server
@@ -114,6 +105,8 @@
 Patch3: dir_layout.patch
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: openafs-1.8.x.ncurses6.patch
+# PATCH-FIX-UPSTREAM make KMP bild on Factory
+Patch5: linux-kmp.patch
 
 #
 #  GENERAL BuildRequires and Requires
@@ -326,6 +319,7 @@
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 ./regen.sh
 
@@ -930,7 +924,6 @@
 %{_sbindir}/voldump
 %{_sbindir}/volinfo
 %{_sbindir}/volscan
-%{_sbindir}/rxstat_*
 %_unitdir/openafs-

commit openafs for openSUSE:Factory

2021-01-18 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2021-01-18 11:28:58

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.28504 (New)


Package is "openafs"

Mon Jan 18 11:28:58 2021 rev:23 rq:863771 version:1.8.7

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2021-01-13 
18:30:48.809877193 +0100
+++ /work/SRC/openSUSE:Factory/.openafs.new.28504/openafs.changes   
2021-01-18 11:33:00.264802070 +0100
@@ -1,0 +2,9 @@
+Sat Jan 16 23:01:13 UTC 2021 - Christof Hanke 
+
+- update to HEAD of git branch openafs-stable-1_8_x 
+  * fix critical bug described in
+https://lists.openafs.org/pipermail/openafs-info/2021-January/043026.html 
+  * remove remove-get_ds-usage.patch
+  * remove add_arch_to_linux_kernel_make.patch
+
+---

Old:

  RELNOTES-git-62beb979b4e43c361db54fbf3084f876fd2c11da
  add_arch_to_linux_kernel_make.patch
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2.md5
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2.sha256
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2.md5
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2.sha256
  remove-get_ds-usage.patch

New:

  RELNOTES-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2.md5
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2.sha256
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2.md5
  openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.CPi6FG/_old  2021-01-18 11:33:01.984811191 +0100
+++ /var/tmp/diff_new_pack.CPi6FG/_new  2021-01-18 11:33:01.988811212 +0100
@@ -60,11 +60,11 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version git-62beb979b4e43c361db54fbf3084f876fd2c11da
+%define upstream_version git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13
 
 Name:   openafs
 
-Version:1.8.6.1
+Version:1.8.7
 Release:0
 Summary:OpenAFS Distributed File System
 License:IPL-1.0
@@ -114,11 +114,6 @@
 Patch3: dir_layout.patch
 # PATCH-FIX-UPSTREAM make configure detect ncurses 6 correctly
 Patch4: openafs-1.8.x.ncurses6.patch
-# PATCH-SUSE-SPECIFIC make KMP work again 
-Patch5: add_arch_to_linux_kernel_make.patch
-# PATCH-SUSE-SPECIFIC make KMP work on aarch64 
-Patch6: remove-get_ds-usage.patch
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 #
 #  GENERAL BuildRequires and Requires
@@ -331,8 +326,6 @@
 %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
-%patch6 -p1
 
 ./regen.sh
 
@@ -937,6 +930,7 @@
 %{_sbindir}/voldump
 %{_sbindir}/volinfo
 %{_sbindir}/volscan
+%{_sbindir}/rxstat_*
 %_unitdir/openafs-server.service
 %{_sbindir}/rcopenafs-server
 /%{_fillupdir}/sysconfig.openafs-server

++ ChangeLog ++
 1992 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.28504/ChangeLog

++ RELNOTES-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13 ++
   User-Visible OpenAFS Changes

OpenAFS 1.8.7

  All platforms

* Fix initial Rx Connection ID (CID) generation.
  Remove stale initialization and overflow detection logic that resulted
  in connection failures due to all CIDs being set to 0x8002.
  (14493, 14494, 14497)

on top of this add all changes up to 43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d1
++ openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2 -> 
openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2 ++
 112214 lines of diff (skipped)

++ openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2.md5 
++
df26c34917bbd381452e02eb7209cd7e  
openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2
++ openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2.sha256 
++
5f27b1e4659ac580c224b27051d7b1829acac54e1baa298ece01aab07f90080f  
openafs-git-43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13-doc.tar.bz2
++ openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2 -> 
openafs-git-43ef1f2a

[opensuse-commit] commit openafs for openSUSE:Factory

2020-11-17 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package openafs for openSUSE:Factory checked 
in at 2020-11-17 21:21:31

Comparing /work/SRC/openSUSE:Factory/openafs (Old)
 and  /work/SRC/openSUSE:Factory/.openafs.new.24930 (New)


Package is "openafs"

Tue Nov 17 21:21:31 2020 rev:21 rq:845591 version:1.8.6.1

Changes:

--- /work/SRC/openSUSE:Factory/openafs/openafs.changes  2020-10-14 
15:39:33.910370219 +0200
+++ /work/SRC/openSUSE:Factory/.openafs.new.24930/openafs.changes   
2020-11-17 21:21:55.309143561 +0100
@@ -1,0 +2,5 @@
+Mon Nov  2 09:20:37 UTC 2020 - Christof Hanke 
+
+- update to HEAD of git branch openafs-stable-1_8_x 
+
+---

Old:

  RELNOTES-git-179a418ea5063785a23e4faf35134f063a6f3e1c
  openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-doc.tar.bz2
  openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-doc.tar.bz2.md5
  openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-doc.tar.bz2.sha256
  openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-src.tar.bz2
  openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-src.tar.bz2.md5
  openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-src.tar.bz2.sha256

New:

  RELNOTES-git-62beb979b4e43c361db54fbf3084f876fd2c11da
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2.md5
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-doc.tar.bz2.sha256
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2.md5
  openafs-git-62beb979b4e43c361db54fbf3084f876fd2c11da-src.tar.bz2.sha256



Other differences:
--
++ openafs.spec ++
--- /var/tmp/diff_new_pack.FLoxhl/_old  2020-11-17 21:21:56.717145687 +0100
+++ /var/tmp/diff_new_pack.FLoxhl/_new  2020-11-17 21:21:56.721145693 +0100
@@ -57,7 +57,7 @@
 
 # used for %setup only
 # leave upstream tar-balls untouched for integrity checks.
-%define upstream_version git-179a418ea5063785a23e4faf35134f063a6f3e1c
+%define upstream_version git-62beb979b4e43c361db54fbf3084f876fd2c11da
 
 Name:   openafs
 

++ ChangeLog ++
 1636 lines (skipped)
 between /work/SRC/openSUSE:Factory/openafs/ChangeLog
 and /work/SRC/openSUSE:Factory/.openafs.new.24930/ChangeLog

++ RELNOTES-git-62beb979b4e43c361db54fbf3084f876fd2c11da ++
Attention:

This is a snapshot of the git branch openafs-stable-1_8_x to 
accomodate for the Linux kernel 5.8.

The original release notes of 1.8.6. read:


   User-Visible OpenAFS Changes

OpenAFS 1.8.6

  All platforms

* Address warnings and errors encountered when building OpenAFS with
  modern compilers like gcc9 or recent clang (13727..45 13749..50 13756
  13846 13879)

* Avoid some rare cases of Rx calls getting stuck in the incoming queue
  (13892)

* Display the usage of simple commands (commands without subcommands) when
  run only with the -help option (13894)

* Fix a memory leak in the cache manager and the fileserver while
  processing "fs uuid" or "fs setcbaddr" (13899)

* Fix a memory leak when reopening krb local realms configuration (13900)

* Avoid possible crashes when freeing kerberos contexts (13902)

  All server platforms

* Do not leave empty directories behind in the file server vice partition
  when running the "vos zap -force" command (13897)

* Fix "vos zap -force" failures when the volume being zapped does not have
  an entry in the fileserver's volume group cache (e.g., during fileserver
  startup) (13896)

* Relax the length limits on some membership lists used in ptserver RPCs,
  introduced in release 1.8.0 to prevent denial of service attacks, to
  accommodate use cases of some larger existing sites (13844)

* Improved diagnostics and error messages (13898 13906..8 13938)

* Ensure that fileservers running in readonly mode actually reject all
  write requests, but introduce a -admin-write switch allowing writes
  by members of the system:administrators group (14018 14019)

  All client platforms

* Require the -insecure_des switch to be passed to aklog and klog.krb5
  to make them work with single-DES encryption types (13791)

* Avoid a panic due to a retryable error - retry in a background request
  instead (13847)

* Avoid blocking other functions on the completion of some potentially
  long-running RPCs issued by the server (13893)

* Fix a potential memory leak in "fs getserverprefs" when the pioctl fails
  with E2BIG (13895)

* Avoid the local cache incorrectly reflecting the state of a file on the
  f