Accepting request 827361 from filesystems
OBS-URL: https://build.opensuse.org/request/show/827361 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=19
This commit is contained in:
commit
53fd92bbc9
@ -1,3 +1,11 @@
|
||||
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
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e34fa28d9ee06b47d080e4ed0c1f55fe2629ce974f1a7a7ec60dd6e87a9d21e9
|
||||
size 3769160
|
@ -1 +0,0 @@
|
||||
4cd70ea5f7ff9eae73c1a6f743414013 openafs-1.8.6-doc.tar.bz2
|
@ -1 +0,0 @@
|
||||
e34fa28d9ee06b47d080e4ed0c1f55fe2629ce974f1a7a7ec60dd6e87a9d21e9 openafs-1.8.6-doc.tar.bz2
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b4e9d3180f1ecd752753da17ac630df04eb7007c90a921a5f6403c0339d2945
|
||||
size 14874336
|
@ -1 +0,0 @@
|
||||
4685be799118697ffc724834db232c75 openafs-1.8.6-src.tar.bz2
|
@ -1 +0,0 @@
|
||||
8b4e9d3180f1ecd752753da17ac630df04eb7007c90a921a5f6403c0339d2945 openafs-1.8.6-src.tar.bz2
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e1a6db81264b5564831024790d3dad9ea7e32c6c372ef68dab26113fd580ab63
|
||||
size 3372854
|
@ -0,0 +1 @@
|
||||
da95030d4d5d5388090eac81c7399b45 openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-doc.tar.bz2
|
@ -0,0 +1 @@
|
||||
e1a6db81264b5564831024790d3dad9ea7e32c6c372ef68dab26113fd580ab63 openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-doc.tar.bz2
|
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6008caea98a6aadaf8a2f0bdb34e2b8a202d6905c95bac7cc686409a8d4464fb
|
||||
size 14538392
|
@ -0,0 +1 @@
|
||||
e5ba2a77bb544de54ad66fc8e7a12a2f openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-src.tar.bz2
|
@ -0,0 +1 @@
|
||||
6008caea98a6aadaf8a2f0bdb34e2b8a202d6905c95bac7cc686409a8d4464fb openafs-git-179a418ea5063785a23e4faf35134f063a6f3e1c-src.tar.bz2
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 17 12:49:33 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
|
||||
|
||||
- update to HEAD of git branch openafs-stable-1_8_x
|
||||
* kernel 5.8 not supported by 1.8.6
|
||||
and no official package-upates out yet.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 08:43:10 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
|
||||
|
||||
- add patch remove-get_ds-usage.patch to fix building KMP on aarch64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 1 08:53:44 UTC 2020 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
|
||||
|
||||
|
26
openafs.spec
26
openafs.spec
@ -57,23 +57,30 @@
|
||||
|
||||
# used for %setup only
|
||||
# leave upstream tar-balls untouched for integrity checks.
|
||||
%define upstream_version 1.8.6
|
||||
%define upstream_version git-179a418ea5063785a23e4faf35134f063a6f3e1c
|
||||
|
||||
Name: openafs
|
||||
|
||||
Version: 1.8.6
|
||||
Version: 1.8.6.1
|
||||
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: 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
|
||||
Source18: RELNOTES-%{upstream_version}
|
||||
@ -97,6 +104,8 @@ Patch3: dir_layout.patch
|
||||
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
|
||||
|
||||
#
|
||||
@ -308,6 +317,7 @@ done
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
|
||||
./regen.sh
|
||||
|
||||
|
22
remove-get_ds-usage.patch
Normal file
22
remove-get_ds-usage.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- openafs-1.8.6/src/afs/LINUX/osi_file.c.orig 2020-08-10 10:24:28.386857043 +0200
|
||||
+++ openafs-1.8.6/src/afs/LINUX/osi_file.c 2020-08-10 10:24:50.323153971 +0200
|
||||
@@ -388,7 +388,7 @@
|
||||
if (uiop->uio_seg == AFS_UIOSYS) {
|
||||
/* Switch into user space */
|
||||
old_fs = get_fs();
|
||||
- set_fs(get_ds());
|
||||
+ set_fs(KERNEL_DS);
|
||||
}
|
||||
#endif /* AFS_FILE_NEEDS_SET_FS */
|
||||
|
||||
--- openafs-1.8.6/src/afs/LINUX/osi_compat.orig 2020-08-10 10:23:11.657811615 +0200
|
||||
+++ openafs-1.8.6/src/afs/LINUX/osi_compat.h 2020-08-10 10:23:32.138091746 +0200
|
||||
@@ -323,7 +323,7 @@
|
||||
mm_segment_t old_fs = get_fs();
|
||||
int ret;
|
||||
|
||||
- set_fs(get_ds());
|
||||
+ set_fs(KERNEL_DS);
|
||||
ret = sockp->ops->setsockopt(sockp, level, name, val, len);
|
||||
set_fs(old_fs);
|
||||
|
Loading…
Reference in New Issue
Block a user