SHA256
1
0
forked from pool/openafs

138 Commits

Author SHA256 Message Date
e135b1291b Accepting request 1268384 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1268384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=53
2025-04-10 19:59:55 +00:00
Christof Hanke
945e15c009 - add perl-rpm-packaging to BuildRequires: to resolve
"Have Choice"-Error  for arch ppc64le 
- update to latest git branch stable-1_8_x
- add upstream-patches required for kernel 6.14
  + 4702930f8dd87a6cad1d59ef8c127003fded1f31.patch
    (LINUX: Refactor afs_linux_dentry_revalidate())
  + 0306f3fdac736e15620f5802bdce510d25bb2450.patch 
    (Linux-6.14: Handle dops.d_revalidate with parent)

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=135
2025-04-10 12:18:55 +00:00
7eaf4bf86a Accepting request 1240464 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1240464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=52
2025-01-27 19:55:48 +00:00
Christof Hanke
4b04ae24c9 - update to latest git branch stable-1_8_x, required to support kernel 6.13
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=133
2025-01-27 09:20:35 +00:00
039ad2d6b2 Accepting request 1233121 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1233121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=51
2024-12-23 15:54:16 +00:00
Christof Hanke
f555479f0c - update to latest git branch stable-1_8_x, required to support kernel 6.12
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=131
2024-12-23 08:16:22 +00:00
adb1a41ded Accepting request 1226440 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1226440
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=50
2024-11-26 19:56:11 +00:00
Christof Hanke
d3db42d252 - update to latest git branch stable-1_8_x, includes security update 1.8.13
- change version to openafs-1.8.13.g... since the new stable release is 1.8.13 
- remove patch handle_backports.diff, it is now included upstream 
- remove intermediate patches:
  * 03b280649f5e22ed74c217d7c98c3416a2fa9052: Linux-6.10: remove includes for asm/ia32_unistd.h
  * 0f6a3a402f4a66114da9231032bd68cdc4dee7bc: Linux-6.10: Use filemap_alloc_folio when avail
  * 658942f2791fad5e33ec7542158c16dfc66eed39: Linux-6.10: define a wrapper for vmalloc
  * d8b56f21994ce66d8daebb7d69e792f34c1a19ed: afs: avoid empty-body warning
  * 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7: Linux 6.10: Move 'inline' before func return type

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=129
2024-11-26 08:10:26 +00:00
fc4b27cba6 Accepting request 1193857 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1193857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=49
2024-08-14 12:16:35 +00:00
643cb5ea44 Accepting request 1180888 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1180888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=48
2024-06-14 17:02:58 +00:00
Christof Hanke
53290b76ce - 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

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=125
2024-06-14 11:35:14 +00:00
Christof Hanke
ceb6128488 Accepting request 1170222 from home:hauky:branches:filesystems
remove superfluous patch

OBS-URL: https://build.opensuse.org/request/show/1170222
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=124
2024-04-26 04:40:06 +00:00
Christof Hanke
cfa65eea8c Accepting request 1170220 from home:hauky:branches:filesystems
- update to openafs-1.8.11
- apply upstream patches for kernel 6.8
  * 056a7a8.diff
  * 05ac614.diff
  * 073adec.diff
  * 0d9f6cf.diff
  * 0e983a9.diff
  * 112fb94.diff
  * 1e1bf8e.diff
  * 2056ce8.diff
  * 5312d06.diff
  * 67e48c8.diff
  * 6b20756.diff
  * 743d72f.diff
  * 7cae97b.diff
  * 81b910a.diff
  * 87ab04a.diff
  * 9f052c1.diff
  * a14a9ad.diff
  * a87845d.diff
  * aae8b00.diff
  * b77b304.diff
  * d1c89ac.diff
  * d9f3a2c.diff
  * db91384.diff
  * dffd0e1.diff
  * e0f425a.diff
  * e157f8f.diff
  * e428053.diff
  * ef7b8c5.diff
  * f5bafb0.diff
  * fca6fd9.diff

OBS-URL: https://build.opensuse.org/request/show/1170220
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=123
2024-04-26 04:08:22 +00:00
beb54cbeb2 Accepting request 1151811 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1151811
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=47
2024-02-26 18:49:36 +00:00
Christof Hanke
ab436effad Accepting request 1151404 from home:dimstar:rpm4.20:o
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1151404
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=121
2024-02-26 15:42:15 +00:00
9a82fe51f5 Accepting request 1142227 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1142227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=46
2024-01-29 21:32:41 +00:00
Christof Hanke
dfe10ed156 Accepting request 1142226 from home:hauky:branches:filesystems
- 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

OBS-URL: https://build.opensuse.org/request/show/1142226
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=119
2024-01-29 11:05:40 +00:00
dba25596c1 Accepting request 1132415 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1132415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=45
2023-12-11 20:51:07 +00:00
Christof Hanke
5fe09f63e9 Accepting request 1132414 from home:hauky:branches:filesystems
- patch upstream patch fef2457.diff for 6.5 to handle backport by SUSE
  * handle_backports.diff

OBS-URL: https://build.opensuse.org/request/show/1132414
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=117
2023-12-11 07:04:11 +00:00
2fdb6138ed Accepting request 1126553 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1126553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=44
2023-11-15 20:08:56 +00:00
Christof Hanke
9eaec5f97f Accepting request 1126552 from home:hauky:branches:filesystems
- apply upstream-patches for kernel 6.6: 
  * 5b647bf.diff
  * 6413fdb.diff
  * 4f1d810.diff
- replace upstream-patch for kernel 6.5 474750a.diff by correct commit 
  6de0a64.diff for branch openafs-stable-1_8_x
  
- apply upstream-patches for kernel 6.5: 
  * 63801cf.diff
  * d15c7ab.diff
  * fef2457.diff
  * 538f450.diff
  * 474750a.diff
- update to official openafs-1.8.10
- remove obsolete patches:
  * 7a3ad3bc.diff
  * b885159.diff
  * f6fbb85.diff 
  * 4cf7a9a.diff
- remove obsolete macro-call %{stop_on_removal} from spec-file
- apply upstream-patches for kernel 6.3:
  * f6fbb85.diff
  * 7a3ad3bc.diff
- apply patch from upstream for kernel 6.2:
  * b885159.diff
- change BuildArch for subpackage kernel-source to noarch
- update to offical openafs-1.8.9
  * all changes as openafs-1.8.9pre2
  * fix possible DoS attack 
- 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 
- update to openafs-1.8.9pre1 
- remove obsolete patches:
  * 05b722d.diff
  * cc8edf7.diff
  * 6348262.diff
- apply patch for kernel 6.0:
  * 79f03c2.diff
- 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
- 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
- apply patches marked for upcoming release:
  * kernel 5.17: a714e86.diff and 449d1fa.diff
  * gcc-11: gcc-11.diff 
- do not create client-package without KMP 
- 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.
- 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
- re-add linux-kmp.patch. Required for 5.15  
- Fix %ifarch for 32-bit arm
- update to openafs version 1.8.8 
- remove linux-kmp.patch. Not required at the minute.
- add patches for kernel 5.12 to linux-kmp.patch 
- add patches for kernel 5.11 to linux-kmp.patch 
- fix building of perl module AFS::ukernel  
- 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.
- use stock 1.8.7 from openafs.org
  * git-version might contain experimental code
  * add linux-kmp.patch for newer kernels 
- 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
- cleanup spec-file
  * do not include firewalld-stuff for SLE_12
  * use %ifarch instead of %if %{_arch} 
  * enable retpol line for TW x86_64 again
- update to HEAD of git branch openafs-stable-1_8_x 
- add firewalld-configuration files
- enable loading of unsupported kernel-module on SLES15 
- 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. 
- add patch remove-get_ds-usage.patch to fix building KMP on aarch64 
- update to official 1.8.6
 * remove patch 4c4bdde.diff
 * remove patch d3c7f75.diff
 * use source URLs again 
- remove fix_timeval_i586.patch 
- disable retpol line for TW x86_64. It does not compile. 
- update to HEAD of git branch openafs-stable-1_8_x.
  * 1.8.6pre3 is not out yet. 
  * disable source URLs, none are present
- Fix build with GCC-10
  * add patch 4c4bdde.diff
  * add patch d3c7f75.diff
- create ld.so.conf-file dynamically 
- update to 1.8.6pre2
- disable fix_timeval_i586.patch 
- update to HEAD of git branch openafs-stable-1_8_x.
  * 1.8.6pre2 is not out yet.
  * disable source URLs, none are present
  * remove patch forward-to-1.8.6.pre1.patch
- fix build of i586 with fix_timeval_i586.patch
- update to pre-release 1.8.6pre1: forward-to-1.8.6.pre1.patch
- update to security-release 1.8.5, adresses:
 * OPENAFS-SA-2019-001: Skip server OUT args on error 
 * OPENAFS-SA-2019-002: Zero all server RPC args
 * OPENAFS-SA-2019-003: ubik: Avoid unlocked ubik_currentTrans deref
- update to official version 1.8.4 
- support Linux-kernel 5.3
- Avoid non-dir ENOENT errors in afs_lookup
- fix parsing of fileservers with -vlruthresh, etc.
- other bugfixes  
- update to pre-release 1.8.4pre2
  * fix builds for Linux-kernels 5.3
- disable compilation with LTO, does not work yet. 
- update to 1.8.3
- Require krb5-client for package openafs-client 
- fix broken directory layout
- fix broken post-install script
- allow crypt to be set/unset on startup of client
- clean up source-filenames
- Use source URLs.
- update to pre-release 1.8.3pre1
  * fix builds for Linux-kernels 4.20 and 5.0 
  * other fixes, see RELNOTES-1.8.3pre1
  * remove obsolete Linux-4.20.patch
- Fix build for Lunux-4.20: Linux-4.20.patch
- use proper log-directory: dir_layout.patch
- Fix build for aarch64
- Quote "*.c", and avoid unnecessary pass through xargs.
- update to security-release 1.8.2
  * fix CVE-2018-16947 (OPENAFS-SA-2018-001)
  * fix CVE-2018-16948 (OPENAFS-SA-2018-002)
  * fix CVE-2018-16949 (OPENAFS-SA-2018-003)
- add retpoline support
- update to version 1.8.1.1
- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated. 
- Fix 32Bit build by adding 
  commit 554176bd236d772d670df9bdd2496facd5a4209a as
  use_timespec64_for_kernel_4.18.patch
- Update to 1.8.1 
- Remove backporting patches for AArch64 build:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- adjust building of KMP to new kernels (see boo 1098050)
  add patch add_arch_to_linux_kernel_make.patch for this
- add libtirpc-devel to BuildRequires:
- minor cleanups 
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- remove package krb5-mit. It contained binaries for server and client.
  Besides, client and server already had an implicit dependency on krb5.
  Put the binaries to client and server-package respectively.
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
  SUSE does not provide a proper heimdal and it's untested for a long
  time.
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var
- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds. 
- rename binary backup to afs_backup.
  - rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page     
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros 
- make whitespace more consistent
- minor syntax and typo fixes
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
- cleanup last cleanup: also remove rc.* files
- cleanup package for Factory:
   - rename package to openafs.
   - remove sys-v init stuff.
   - apply recommendations given in Request 581009
- add compat macro for new _fillupdir macro introduced in Nov 2017
- update to 1.8.0pre5 
- update to 1.8.0pre4
- add patch for ncurses detection 
- update to 1.8.0pre3
- add integrity check of tar-balls 
- do not strip binaries on install
- fix %postun server 
- update to 1.8.0pre2
- use a preamble-file for KMP
- sort/cleanup/beautify spec-file 
- spec-file: 
  + use hardlinks for fdupes to provide correct header files in
             kernel-source
  + minor bugfixes, reorganization 
- rename changes file to openafs18.changes
- rename package to openafs18-* so they don't override 
  stable openafs-1.6 ones
- move ld.so to main package -- was in server-packages 
- enable building of KMP
- make openafs-krb5-mit package dependend on openafs-client package
- add ld.so - config to main package 
- remove pam, is not build on x86_64 and i596 
- first version of 1.8
- remove docs package, put man pages in induvidual packets  
- remove layout-patch, deal with this in spec file directly
- add new ChangeLog 
- update to version 1.6.20 
- add missing RemainAfterExit=true to client-systemd unit. 
- update to version 1.6.19 
- Update README: Change SuSE to SUSE.
- update to version 1.6.18.2 
- update to version 1.6.18.1 
- update to version 1.6.18 
- update to version 1.6.17 
- cleanup
- update to version 1.6.16
- remove fix for configure for new ncurses, now dealt with in 
  shipped package
- start using change.log again
- fix configure test for new ncurses 
- update to version 1.4.12.1 
- converted neededforbuild to BuildRequires
- fixed kernel module to compile
- add openafs.SuidCells and openafs.CellServDB
- cleanup SPEC-file(s)
- finally adopt
	sysconfig.transarcmode.openafs-client
	rc.transarcmode.afs-server
	rc.transarcmode.afs-client
  to transarc mode; and fix a small typo in
	rc.defaultmode.afs-client
- set "%defattr(-,root,root)" for transarcmode-file-lists
- fix lib64 build problem in transarcmode
- introduce transarc-mode and default-mode
- introduce "options"
- build for SLES 9
- with heimdal krb5 support
- enable-largefile-fileserver
- updated to 1.4.0
- fixed dangerous compiler warnings
- don't build as root 
- fixed kernel module to build
- fixed sysconfig file name
- updated to 1.3.85
- used LSB conforming init script names
- Update for linux 2.6.13.
- gcc4 fixes in kernel module
- fixed to compile with gcc4
- fixed memory leaks and 64bit fixes backported from 1.3.79
- updated README.SUSE
- updated to 1.3.78 
- fixed afs.h to be usable from userspace [#50283]
- updated to latest snapshot
- added requres: kernel-nongpl [#45167]
- fixed kernel module oops [#44618]
- use kernel module from openafs 1.3.70 to support kernel 2.6
- updated to 1.2.11
- added note that client for kernel 2.6 is not available
- added pam-devel to neededforbuild 
- Added hack if no MTU came from userspace.
- Removed superflous ppc64 patch part.
- ppc64 port added (status: no longer crashes, talks to the network,
  but not successfully).
- Change headerfiles to make it possible to do a ppc -> ppc64 crosscompile. 
- build with -fPIC on ppc32
- patch from cvs to use AllocLargeSpace for struct osi_file to prevent
  oopses with some kernel configurations
- added option DYNROOT to sysconfig and enabled it by default [#27205]
- added cleanup before module build [#29649]
- fixed possible segfault
- set permissions of /var/lib/openafs to 700
- README.SuSE fixes
- use ghost for /afs, the directory is created by init-script
- fixed README.SuSE
- moved all static libraries to /usr/lib/afs, fixes conflict with libdes
- used default value for THIS_CELL_SERVER_NAME
- removed old patches
- fixed a bug in init script
- updated to final 1.2.10
- updated to 1.2.10-rc4
- do not destroy CellServDB even if REGENERATE_CELL_INFO=yes
- fixed to compile on x86_64
-  use %_lib where it was missing
- fixed conflicts in filelist
- improved init scripts
- added README.SuSE
- fixed init scripts [#27426]
- installed man pages
- add /usr/src/kernel-modules to the file list
- Fix SMP configuration detection.
- rework filelists:
  - package/remove unpackaged files
  - move some files into the server & client subpackages
  - use %defattr
- fix deprecated tail -1 syntax (fixes building the kernel module)
- updated to 1.2.9
- added DATA_ENCRYPTION option to sysconfig
- x86_64: add -lresolv, -fPIC
- fix lib path on all 64 bit platforms
- added sysconfig metadata
- added dirs /afs, /etc/openafs, /var/lib/openafs to filelist
- workaround broken -lresolv detection, lib64 fixes
- fixed multiline strings in kernel module
- updated to 1.2.8
- improved init script
- included errno.h
- fixed multiline strings
- first version of init scripts
- initial draft of a package. Lots of stuff missing, like init
  scripts, or the kerberos 5 migration toolkit.

OBS-URL: https://build.opensuse.org/request/show/1126552
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=115
2023-11-15 09:17:24 +00:00
Christof Hanke
dcfebbed7c Accepting request 1126517 from home:hauky:branches:filesystems
actually remove patch  474750a.diff

OBS-URL: https://build.opensuse.org/request/show/1126517
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=114
2023-11-15 05:57:31 +00:00
Christof Hanke
074981dc71 Accepting request 1126478 from home:hauky:branches:filesystems
- apply upstream-patches for kernel 6.6: 
  * 5b647bf.diff
  * 6413fdb.diff
  * 4f1d810.diff
- replace upstream-patch for kernel 6.5 474750a.diff by correct commit 
  6de0a64.diffa for branch openafs-stable-1_8_x

OBS-URL: https://build.opensuse.org/request/show/1126478
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=113
2023-11-15 05:33:04 +00:00
d8f7e154b8 Accepting request 1114721 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1114721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=43
2023-10-02 18:04:50 +00:00
Christof Hanke
709654e78b Accepting request 1114718 from home:hauky:branches:filesystems
- apply upstream-patches for kernel 6.5: 
  * 63801cf.diff
  * d15c7ab.diff
  * fef2457.diff
  * 538f450.diff
  * 474750a.diff

OBS-URL: https://build.opensuse.org/request/show/1114718
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=111
2023-10-02 07:54:59 +00:00
a12eb975b7 Accepting request 1098043 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1098043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=42
2023-07-11 13:57:13 +00:00
Christof Hanke
bce285df84 Accepting request 1097970 from home:hauky:branches:filesystems
- update to official openafs-1.8.10
- remove obsolete patches:
  * 7a3ad3bc.diff
  * b885159.diff
  * f6fbb85.diff 
  * 4cf7a9a.diff

OBS-URL: https://build.opensuse.org/request/show/1097970
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=109
2023-07-11 05:38:45 +00:00
16a6de7045 Accepting request 1089819 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1089819
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=41
2023-05-30 20:03:14 +00:00
Christof Hanke
22909dc896 Accepting request 1089809 from home:hauky:branches:filesystems
- remove obsolete macro-call %{stop_on_removal} from spec-file

OBS-URL: https://build.opensuse.org/request/show/1089809
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=107
2023-05-30 13:18:21 +00:00
4a4cfad9b7 Accepting request 1087206 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1087206
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=40
2023-05-15 14:54:40 +00:00
Christof Hanke
00cbd11d18 Accepting request 1087205 from home:hauky:branches:filesystems
- apply upstream-patches for kernel 6.3:
  * f6fbb85.diff
  * 7a3ad3bc.diff

OBS-URL: https://build.opensuse.org/request/show/1087205
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=105
2023-05-15 10:59:16 +00:00
b964da02f4 Accepting request 1069164 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1069164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=39
2023-03-03 21:28:45 +00:00
Christof Hanke
b1c152b8d6 Accepting request 1069163 from home:hauky:branches:filesystems
- apply patch from upstream for kernel 6.2:
  * b885159.diff
- change BuildArch for subpackage kernel-source to noarch

OBS-URL: https://build.opensuse.org/request/show/1069163
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=103
2023-03-03 13:27:16 +00:00
0818bf5700 Accepting request 1047127 from filesystems
OBS-URL: https://build.opensuse.org/request/show/1047127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=38
2023-01-04 16:52:58 +00:00
Christof Hanke
4c14b2923e Accepting request 1047094 from home:hauky:branches:filesystems
- update to offical openafs-1.8.9
  * all changes as openafs-1.8.9pre2
  * fix possible DoS attack

OBS-URL: https://build.opensuse.org/request/show/1047094
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=101
2023-01-04 09:37:51 +00:00
49900a6294 Accepting request 1042678 from filesystems
- 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

OBS-URL: https://build.opensuse.org/request/show/1042678
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=37
2022-12-13 17:55:11 +00:00
Christof Hanke
563ee2c3aa * Support mainline kernels up to 6.0
* Support for building with more recent compilers
  * some bugfixes, more see RELNOTES

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=99
2022-12-13 13:05:37 +00:00
Christof Hanke
816a373c2d Accepting request 1042282 from home:hauky:branches:filesystems
- update to openafs-1.8.9pre2
- remove obsolete patches:
  * 79f03c2.diff

OBS-URL: https://build.opensuse.org/request/show/1042282
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=98
2022-12-12 08:36:34 +00:00
c78bf9392c Accepting request 1010499 from filesystems
- update to openafs-1.8.9~pre1 
- remove obsolete patches:
  * 05b722d.diff
  * cc8edf7.diff
  * 6348262.diff
- apply patch for kernel 6.0:
  * 79f03c2.diff

OBS-URL: https://build.opensuse.org/request/show/1010499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=36
2022-10-14 13:42:06 +00:00
Christof Hanke
70be4b62ab Accepting request 1010498 from home:hauky:branches:filesystems
fix version string.

OBS-URL: https://build.opensuse.org/request/show/1010498
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=96
2022-10-13 15:11:44 +00:00
Christof Hanke
7021c20d4c Accepting request 1010301 from home:hauky:branches:filesystems
- update to openafs-1.8.9pre1
 - remove obsolete patches:
   * 05b722d.diff
   * cc8edf7.diff
   * 6348262.diff
 - apply patch for kernel 6.0:
   * 79f03c2.diff

OBS-URL: https://build.opensuse.org/request/show/1010301
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=95
2022-10-12 17:38:57 +00:00
Christof Hanke
b59d3999b8 Accepting request 1010296 from home:hauky:branches:filesystems
- update to openafs-1.8.9pre1 
- apply patch for kernel 6.0:
  * 79f03c2.diff

OBS-URL: https://build.opensuse.org/request/show/1010296
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=94
2022-10-12 17:23:47 +00:00
28c12c556f Accepting request 997369 from filesystems
OBS-URL: https://build.opensuse.org/request/show/997369
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=35
2022-08-16 15:08:47 +00:00
Christof Hanke
a77b606a5f Accepting request 997368 from home:hauky:branches:filesystems
- 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

OBS-URL: https://build.opensuse.org/request/show/997368
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=92
2022-08-16 13:16:31 +00:00
88b6e65737 Accepting request 984721 from filesystems
OBS-URL: https://build.opensuse.org/request/show/984721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=34
2022-06-24 06:45:46 +00:00
Christof Hanke
758d3807f5 Accepting request 984720 from home:hauky:branches:filesystems
- 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

OBS-URL: https://build.opensuse.org/request/show/984720
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=90
2022-06-23 13:39:36 +00:00
92f6081bbd Accepting request 970995 from filesystems
OBS-URL: https://build.opensuse.org/request/show/970995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=33
2022-04-20 14:57:14 +00:00
Christof Hanke
7cc4103382 Accepting request 970993 from home:hauky:branches:filesystems
- apply patches marked for upcoming release:
  * kernel 5.17: a714e86.diff and 449d1fa.diff
  * gcc-11: gcc-11.diff 
- do not create client-package without KMP 
- 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.

OBS-URL: https://build.opensuse.org/request/show/970993
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=88
2022-04-20 07:42:54 +00:00
8c6153b346 Accepting request 948297 from filesystems
OBS-URL: https://build.opensuse.org/request/show/948297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=32
2022-01-24 22:09:37 +00:00
Christof Hanke
cc1f459a9f Accepting request 948296 from home:hauky:branches:filesystems
- 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
- re-add linux-kmp.patch. Required for 5.15  
- Fix %ifarch for 32-bit arm
- update to openafs version 1.8.8 
- remove linux-kmp.patch. Not required at the minute.
- add patches for kernel 5.12 to linux-kmp.patch 
- add patches for kernel 5.11 to linux-kmp.patch 
- fix building of perl module AFS::ukernel  
- 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.
- use stock 1.8.7 from openafs.org
  * git-version might contain experimental code
  * add linux-kmp.patch for newer kernels 
- 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
- cleanup spec-file
  * do not include firewalld-stuff for SLE_12
  * use %ifarch instead of %if %{_arch} 
  * enable retpol line for TW x86_64 again
- update to HEAD of git branch openafs-stable-1_8_x 
- add firewalld-configuration files
- enable loading of unsupported kernel-module on SLES15 
- 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. 
- add patch remove-get_ds-usage.patch to fix building KMP on aarch64 
- update to official 1.8.6
 * remove patch 4c4bdde.diff
 * remove patch d3c7f75.diff
 * use source URLs again 
- remove fix_timeval_i586.patch 
- disable retpol line for TW x86_64. It does not compile. 
- update to HEAD of git branch openafs-stable-1_8_x.
  * 1.8.6pre3 is not out yet. 
  * disable source URLs, none are present
- Fix build with GCC-10
  * add patch 4c4bdde.diff
  * add patch d3c7f75.diff
- create ld.so.conf-file dynamically 
- update to 1.8.6pre2
- disable fix_timeval_i586.patch 
- update to HEAD of git branch openafs-stable-1_8_x.
  * 1.8.6pre2 is not out yet.
  * disable source URLs, none are present
  * remove patch forward-to-1.8.6.pre1.patch
- fix build of i586 with fix_timeval_i586.patch
- update to pre-release 1.8.6pre1: forward-to-1.8.6.pre1.patch
- update to security-release 1.8.5, adresses:
 * OPENAFS-SA-2019-001: Skip server OUT args on error 
 * OPENAFS-SA-2019-002: Zero all server RPC args
 * OPENAFS-SA-2019-003: ubik: Avoid unlocked ubik_currentTrans deref
- update to official version 1.8.4 
- support Linux-kernel 5.3
- Avoid non-dir ENOENT errors in afs_lookup
- fix parsing of fileservers with -vlruthresh, etc.
- other bugfixes  
- update to pre-release 1.8.4pre2
  * fix builds for Linux-kernels 5.3
- disable compilation with LTO, does not work yet. 
- update to 1.8.3
- Require krb5-client for package openafs-client 
- fix broken directory layout
- fix broken post-install script
- allow crypt to be set/unset on startup of client
- clean up source-filenames
- Use source URLs.
- update to pre-release 1.8.3pre1
  * fix builds for Linux-kernels 4.20 and 5.0 
  * other fixes, see RELNOTES-1.8.3pre1
  * remove obsolete Linux-4.20.patch
- Fix build for Lunux-4.20: Linux-4.20.patch
- use proper log-directory: dir_layout.patch
- Fix build for aarch64
- Quote "*.c", and avoid unnecessary pass through xargs.
- update to security-release 1.8.2
  * fix CVE-2018-16947 (OPENAFS-SA-2018-001)
  * fix CVE-2018-16948 (OPENAFS-SA-2018-002)
  * fix CVE-2018-16949 (OPENAFS-SA-2018-003)
- add retpoline support
- update to version 1.8.1.1
- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated. 
- Fix 32Bit build by adding 
  commit 554176bd236d772d670df9bdd2496facd5a4209a as
  use_timespec64_for_kernel_4.18.patch
- Update to 1.8.1 
- Remove backporting patches for AArch64 build:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- adjust building of KMP to new kernels (see boo 1098050)
  add patch add_arch_to_linux_kernel_make.patch for this
- add libtirpc-devel to BuildRequires:
- minor cleanups 
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- remove package krb5-mit. It contained binaries for server and client.
  Besides, client and server already had an implicit dependency on krb5.
  Put the binaries to client and server-package respectively.
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
  SUSE does not provide a proper heimdal and it's untested for a long
  time.
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var
- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds. 
- rename binary backup to afs_backup.
  - rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page     
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros 
- make whitespace more consistent
- minor syntax and typo fixes
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
- cleanup last cleanup: also remove rc.* files
- cleanup package for Factory:
   - rename package to openafs.
   - remove sys-v init stuff.
   - apply recommendations given in Request 581009
- add compat macro for new _fillupdir macro introduced in Nov 2017
- update to 1.8.0pre5 
- update to 1.8.0pre4
- add patch for ncurses detection 
- update to 1.8.0pre3
- add integrity check of tar-balls 
- do not strip binaries on install
- fix %postun server 
- update to 1.8.0pre2
- use a preamble-file for KMP
- sort/cleanup/beautify spec-file 
- spec-file: 
  + use hardlinks for fdupes to provide correct header files in
             kernel-source
  + minor bugfixes, reorganization 
- rename changes file to openafs18.changes
- rename package to openafs18-* so they don't override 
  stable openafs-1.6 ones
- move ld.so to main package -- was in server-packages 
- enable building of KMP
- make openafs-krb5-mit package dependend on openafs-client package
- add ld.so - config to main package 
- remove pam, is not build on x86_64 and i596 
- first version of 1.8
- remove docs package, put man pages in induvidual packets  
- remove layout-patch, deal with this in spec file directly
- add new ChangeLog 
- update to version 1.6.20 
- add missing RemainAfterExit=true to client-systemd unit. 
- update to version 1.6.19 
- Update README: Change SuSE to SUSE.
- update to version 1.6.18.2 
- update to version 1.6.18.1 
- update to version 1.6.18 
- update to version 1.6.17 
- cleanup
- update to version 1.6.16
- remove fix for configure for new ncurses, now dealt with in 
  shipped package
- start using change.log again
- fix configure test for new ncurses 
- update to version 1.4.12.1 
- converted neededforbuild to BuildRequires
- fixed kernel module to compile
- add openafs.SuidCells and openafs.CellServDB
- cleanup SPEC-file(s)
- finally adopt
	sysconfig.transarcmode.openafs-client
	rc.transarcmode.afs-server
	rc.transarcmode.afs-client
  to transarc mode; and fix a small typo in
	rc.defaultmode.afs-client
- set "%defattr(-,root,root)" for transarcmode-file-lists
- fix lib64 build problem in transarcmode
- introduce transarc-mode and default-mode
- introduce "options"
- build for SLES 9
- with heimdal krb5 support
- enable-largefile-fileserver
- updated to 1.4.0
- fixed dangerous compiler warnings
- don't build as root 
- fixed kernel module to build
- fixed sysconfig file name
- updated to 1.3.85
- used LSB conforming init script names
- Update for linux 2.6.13.
- gcc4 fixes in kernel module
- fixed to compile with gcc4
- fixed memory leaks and 64bit fixes backported from 1.3.79
- updated README.SUSE
- updated to 1.3.78 
- fixed afs.h to be usable from userspace [#50283]
- updated to latest snapshot
- added requres: kernel-nongpl [#45167]
- fixed kernel module oops [#44618]
- use kernel module from openafs 1.3.70 to support kernel 2.6
- updated to 1.2.11
- added note that client for kernel 2.6 is not available
- added pam-devel to neededforbuild 
- Added hack if no MTU came from userspace.
- Removed superflous ppc64 patch part.
- ppc64 port added (status: no longer crashes, talks to the network,
  but not successfully).
- Change headerfiles to make it possible to do a ppc -> ppc64 crosscompile. 
- build with -fPIC on ppc32
- patch from cvs to use AllocLargeSpace for struct osi_file to prevent
  oopses with some kernel configurations
- added option DYNROOT to sysconfig and enabled it by default [#27205]
- added cleanup before module build [#29649]
- fixed possible segfault
- set permissions of /var/lib/openafs to 700
- README.SuSE fixes
- use ghost for /afs, the directory is created by init-script
- fixed README.SuSE
- moved all static libraries to /usr/lib/afs, fixes conflict with libdes
- used default value for THIS_CELL_SERVER_NAME
- removed old patches
- fixed a bug in init script
- updated to final 1.2.10
- updated to 1.2.10-rc4
- do not destroy CellServDB even if REGENERATE_CELL_INFO=yes
- fixed to compile on x86_64
-  use %_lib where it was missing
- fixed conflicts in filelist
- improved init scripts
- added README.SuSE
- fixed init scripts [#27426]
- installed man pages
- add /usr/src/kernel-modules to the file list
- Fix SMP configuration detection.
- rework filelists:
  - package/remove unpackaged files
  - move some files into the server & client subpackages
  - use %defattr
- fix deprecated tail -1 syntax (fixes building the kernel module)
- updated to 1.2.9
- added DATA_ENCRYPTION option to sysconfig
- x86_64: add -lresolv, -fPIC
- fix lib path on all 64 bit platforms
- added sysconfig metadata
- added dirs /afs, /etc/openafs, /var/lib/openafs to filelist
- workaround broken -lresolv detection, lib64 fixes
- fixed multiline strings in kernel module
- updated to 1.2.8
- improved init script
- included errno.h
- fixed multiline strings
- first version of init scripts
- initial draft of a package. Lots of stuff missing, like init
  scripts, or the kerberos 5 migration toolkit.

OBS-URL: https://build.opensuse.org/request/show/948296
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=87
2022-01-24 00:18:09 +00:00
Christof Hanke
0bd6c11791 Accepting request 948262 from home:hauky:branches:filesystems
- update to 1.8.8.1
- remove linux-kmp.patch.

OBS-URL: https://build.opensuse.org/request/show/948262
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=86
2022-01-23 20:41:03 +00:00
d15b019300 Accepting request 934617 from filesystems
OBS-URL: https://build.opensuse.org/request/show/934617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=31
2021-11-30 22:15:58 +00:00
Christof Hanke
73a5f28975 Accepting request 934616 from home:hauky:branches:filesystems
- re-add linux-kmp.patch. Required for 5.15

OBS-URL: https://build.opensuse.org/request/show/934616
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=85
2021-11-29 17:49:19 +00:00
6fab3d252e Accepting request 922940 from filesystems
OBS-URL: https://build.opensuse.org/request/show/922940
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=30
2021-10-04 16:40:28 +00:00
Christof Hanke
2f2c0801dd Accepting request 922526 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix %ifarch for 32-bit arm

OBS-URL: https://build.opensuse.org/request/show/922526
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=84
2021-10-04 07:06:14 +00:00
e39e5b90c9 Accepting request 910195 from filesystems
OBS-URL: https://build.opensuse.org/request/show/910195
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=29
2021-08-05 18:48:02 +00:00
Christof Hanke
e24f820df0 Accepting request 910194 from home:hauky:branches:filesystems
cleanup

OBS-URL: https://build.opensuse.org/request/show/910194
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=83
2021-08-04 23:53:27 +00:00
Christof Hanke
9e626f9fc0 Accepting request 910047 from home:hauky:branches:filesystems
- update to openafs version 1.8.8 
- remove linux-kmp.patch. Not required at the minute.

OBS-URL: https://build.opensuse.org/request/show/910047
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=82
2021-08-04 07:22:38 +00:00
d7dc38dd95 Accepting request 889242 from filesystems
OBS-URL: https://build.opensuse.org/request/show/889242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=28
2021-04-29 20:46:37 +00:00
Christof Hanke
987491f1d7 Accepting request 889241 from home:hauky:branches:filesystems
- add patches for kernel 5.12 to linux-kmp.patch

OBS-URL: https://build.opensuse.org/request/show/889241
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=80
2021-04-29 09:22:36 +00:00
8d43dccc33 Accepting request 878121 from filesystems
OBS-URL: https://build.opensuse.org/request/show/878121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=27
2021-03-11 19:10:32 +00:00
Christof Hanke
e01133ba4d Accepting request 878120 from home:hauky:branches:filesystems
- add patches for kernel 5.11 to linux-kmp.patch

OBS-URL: https://build.opensuse.org/request/show/878120
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=78
2021-03-10 08:11:37 +00:00
Richard Brown
270daaeee4 Accepting request 874978 from filesystems
OBS-URL: https://build.opensuse.org/request/show/874978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=26
2021-02-25 17:29:48 +00:00
Christof Hanke
9637ad5cc6 Accepting request 874976 from home:hauky:branches:filesystems
- fix building of perl module AFS::ukernel

OBS-URL: https://build.opensuse.org/request/show/874976
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=76
2021-02-25 07:14:33 +00:00
c9b8a52431 Accepting request 874346 from filesystems
OBS-URL: https://build.opensuse.org/request/show/874346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=25
2021-02-23 19:20:52 +00:00
Christof Hanke
8e6465d313 Accepting request 874301 from home:mgerstner:branches:filesystems
- 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.

OBS-URL: https://build.opensuse.org/request/show/874301
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=74
2021-02-22 14:22:09 +00:00
c93026cfaa Accepting request 869710 from filesystems
OBS-URL: https://build.opensuse.org/request/show/869710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=24
2021-02-07 14:21:06 +00:00
Christof Hanke
34888c6390 Accepting request 869709 from home:hauky:branches:filesystems
- use stock 1.8.7 from openafs.org
  * git-version might contain experimental code
  * add linux-kmp.patch for newer kernels

OBS-URL: https://build.opensuse.org/request/show/869709
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=72
2021-02-05 10:03:35 +00:00
31c1315789 Accepting request 863771 from filesystems
OBS-URL: https://build.opensuse.org/request/show/863771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=23
2021-01-18 10:28:58 +00:00
Christof Hanke
1e38642ced Accepting request 863770 from home:hauky:branches:filesystems
- 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

OBS-URL: https://build.opensuse.org/request/show/863770
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=70
2021-01-17 03:29:07 +00:00
b444c592d9 Accepting request 862419 from filesystems
OBS-URL: https://build.opensuse.org/request/show/862419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=22
2021-01-13 17:19:38 +00:00
Christof Hanke
40f8d92b98 Accepting request 862418 from home:hauky:branches:filesystems
- cleanup spec-file
  * do not include firewalld-stuff for SLE_12
  * use %ifarch instead of %if %{_arch} 
  * enable retpol line for TW x86_64 again

OBS-URL: https://build.opensuse.org/request/show/862418
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=68
2021-01-11 17:54:53 +00:00
ff629a7564 Accepting request 845591 from filesystems
OBS-URL: https://build.opensuse.org/request/show/845591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=21
2020-11-17 20:21:31 +00:00
Christof Hanke
5f80e8fd08 Accepting request 845590 from home:hauky:branches:filesystems_GA
- update to HEAD of git branch openafs-stable-1_8_x

OBS-URL: https://build.opensuse.org/request/show/845590
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=66
2020-11-03 07:17:17 +00:00
475c88ef96 Accepting request 841588 from filesystems
OBS-URL: https://build.opensuse.org/request/show/841588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=20
2020-10-14 13:38:51 +00:00
Christof Hanke
e21b3aa4cd Accepting request 841586 from home:hauky:branches:filesystems_GA
- add firewalld-configuration files
- enable loading of unsupported kernel-module on SLES15

OBS-URL: https://build.opensuse.org/request/show/841586
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=64
2020-10-13 16:00:02 +00:00
53fd92bbc9 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
2020-08-18 10:00:11 +00:00
Christof Hanke
b4eac99a3b Accepting request 827360 from home:hauky:branches:filesystems_GA
- 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. 
- add patch remove-get_ds-usage.patch to fix building KMP on aarch64

OBS-URL: https://build.opensuse.org/request/show/827360
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=62
2020-08-17 14:35:19 +00:00
3d9fbd420f Accepting request 818145 from filesystems
OBS-URL: https://build.opensuse.org/request/show/818145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=18
2020-07-02 22:10:54 +00:00
Christof Hanke
8227c45232 Accepting request 818144 from home:hauky:branches:filesystems_GA
Remove complexity from spec-file

OBS-URL: https://build.opensuse.org/request/show/818144
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=60
2020-07-01 15:36:29 +00:00
Christof Hanke
b0f4faac89 Accepting request 818075 from home:hauky:branches:filesystems_GA
- update to official 1.8.6
 * remove patch 4c4bdde.diff
 * remove patch d3c7f75.diff
 * use source URLs again

OBS-URL: https://build.opensuse.org/request/show/818075
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=59
2020-07-01 10:46:52 +00:00
843f90684a Accepting request 815312 from filesystems
OBS-URL: https://build.opensuse.org/request/show/815312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=17
2020-06-17 12:53:03 +00:00
Christof Hanke
5be17a65b4 Accepting request 815311 from home:hauky:branches:filesystems_GA
- remove fix_timeval_i586.patch 
- disable retpol line for TW x86_64. It does not compile. 
- update to HEAD of git branch openafs-stable-1_8_x.
  * 1.8.6pre3 is not out yet. 
  * disable source URLs, none are present
- Fix build with GCC-10
  * add patch 4c4bdde.diff
  * add patch d3c7f75.diff
- create ld.so.conf-file dynamically 
- update to 1.8.6pre2
- disable fix_timeval_i586.patch

OBS-URL: https://build.opensuse.org/request/show/815311
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=57
2020-06-16 19:03:57 +00:00
4a93c82cab Accepting request 792910 from filesystems
OBS-URL: https://build.opensuse.org/request/show/792910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=16
2020-04-10 21:53:38 +00:00
Christof Hanke
365f701453 Accepting request 792909 from home:hauky:branches:filesystems_GA
- update to HEAD of git branch openafs-stable-1_8_x.
  * 1.8.6pre2 is not out yet.
  * do not use source URLs, none are present
  * remove patch forward-to-1.8.6.pre1.patch
- fix build of i586 with fix_timeval_i586.patch
- update to pre-release 1.8.6pre1: forward-to-1.8.6.pre1.patch

OBS-URL: https://build.opensuse.org/request/show/792909
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=55
2020-04-10 08:25:55 +00:00
4b8b14656c Accepting request 742532 from filesystems
security update 1.8.5

OBS-URL: https://build.opensuse.org/request/show/742532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=15
2019-10-24 21:10:51 +00:00
Christof Hanke
6c196918ce - update to security-release 1.8.5, adresses:
* OPENAFS-SA-2019-001: Skip server OUT args on error 
 * OPENAFS-SA-2019-002: Zero all server RPC args
 * OPENAFS-SA-2019-003: ubik: Avoid unlocked ubik_currentTrans deref

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=53
2019-10-23 13:54:43 +00:00
e98e8182c2 Accepting request 736843 from filesystems
OBS-URL: https://build.opensuse.org/request/show/736843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=14
2019-10-11 13:16:55 +00:00
Christof Hanke
5c1f4cc784 Accepting request 736840 from home:hauky:branches:filesystems_GA
- update to official version 1.8.4 
- support Linux-kernel 5.3
- Avoid non-dir ENOENT errors in afs_lookup
- fix parsing of fileservers with -vlruthresh, etc.
- other bugfixes  
- update to pre-release 1.8.4pre2
  * fix builds for Linux-kernels 5.3
- disable compilation with LTO, does not work yet. 
- update to 1.8.3
- Require krb5-client for package openafs-client 
- fix broken directory layout
- fix broken post-install script
- allow crypt to be set/unset on startup of client
- clean up source-filenames
- Use source URLs.
- update to pre-release 1.8.3pre1
  * fix builds for Linux-kernels 4.20 and 5.0 
  * other fixes, see RELNOTES-1.8.3pre1
  * remove obsolete Linux-4.20.patch
- Fix build for Lunux-4.20: Linux-4.20.patch
- use proper log-directory: dir_layout.patch
- Fix build for aarch64
- Quote "*.c", and avoid unnecessary pass through xargs.
- update to security-release 1.8.2
  * fix CVE-2018-16947 (OPENAFS-SA-2018-001)
  * fix CVE-2018-16948 (OPENAFS-SA-2018-002)
  * fix CVE-2018-16949 (OPENAFS-SA-2018-003)
- add retpoline support
- update to version 1.8.1.1
- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated. 
- Fix 32Bit build by adding 
  commit 554176bd236d772d670df9bdd2496facd5a4209a as
  use_timespec64_for_kernel_4.18.patch
- Update to 1.8.1 
- Remove backporting patches for AArch64 build:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- adjust building of KMP to new kernels (see boo 1098050)
  add patch add_arch_to_linux_kernel_make.patch for this
- add libtirpc-devel to BuildRequires:
- minor cleanups 
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- remove package krb5-mit. It contained binaries for server and client.
  Besides, client and server already had an implicit dependency on krb5.
  Put the binaries to client and server-package respectively.
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
  SUSE does not provide a proper heimdal and it's untested for a long
  time.
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var
- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds. 
- rename binary backup to afs_backup.
  - rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page     
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros 
- make whitespace more consistent
- minor syntax and typo fixes
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
- cleanup last cleanup: also remove rc.* files
- cleanup package for Factory:
   - rename package to openafs.
   - remove sys-v init stuff.
   - apply recommendations given in Request 581009
- add compat macro for new _fillupdir macro introduced in Nov 2017
- update to 1.8.0pre5 
- update to 1.8.0pre4
- add patch for ncurses detection 
- update to 1.8.0pre3
- add integrity check of tar-balls 
- do not strip binaries on install
- fix %postun server 
- update to 1.8.0pre2
- use a preamble-file for KMP
- sort/cleanup/beautify spec-file 
- spec-file: 
  + use hardlinks for fdupes to provide correct header files in
             kernel-source
  + minor bugfixes, reorganization 
- rename changes file to openafs18.changes
- rename package to openafs18-* so they don't override 
  stable openafs-1.6 ones
- move ld.so to main package -- was in server-packages 
- enable building of KMP
- make openafs-krb5-mit package dependend on openafs-client package
- add ld.so - config to main package 
- remove pam, is not build on x86_64 and i596 
- first version of 1.8
- remove docs package, put man pages in induvidual packets  
- remove layout-patch, deal with this in spec file directly
- add new ChangeLog 
- update to version 1.6.20 
- add missing RemainAfterExit=true to client-systemd unit. 
- update to version 1.6.19 
- Update README: Change SuSE to SUSE.
- update to version 1.6.18.2 
- update to version 1.6.18.1 
- update to version 1.6.18 
- update to version 1.6.17 
- cleanup
- update to version 1.6.16
- remove fix for configure for new ncurses, now dealt with in 
  shipped package
- start using change.log again
- fix configure test for new ncurses 
- update to version 1.4.12.1 
- converted neededforbuild to BuildRequires
- fixed kernel module to compile
- add openafs.SuidCells and openafs.CellServDB
- cleanup SPEC-file(s)
- finally adopt
	sysconfig.transarcmode.openafs-client
	rc.transarcmode.afs-server
	rc.transarcmode.afs-client
  to transarc mode; and fix a small typo in
	rc.defaultmode.afs-client
- set "%defattr(-,root,root)" for transarcmode-file-lists
- fix lib64 build problem in transarcmode
- introduce transarc-mode and default-mode
- introduce "options"
- build for SLES 9
- with heimdal krb5 support
- enable-largefile-fileserver
- updated to 1.4.0
- fixed dangerous compiler warnings
- don't build as root 
- fixed kernel module to build
- fixed sysconfig file name
- updated to 1.3.85
- used LSB conforming init script names
- Update for linux 2.6.13.
- gcc4 fixes in kernel module
- fixed to compile with gcc4
- fixed memory leaks and 64bit fixes backported from 1.3.79
- updated README.SUSE
- updated to 1.3.78 
- fixed afs.h to be usable from userspace [#50283]
- updated to latest snapshot
- added requres: kernel-nongpl [#45167]
- fixed kernel module oops [#44618]
- use kernel module from openafs 1.3.70 to support kernel 2.6
- updated to 1.2.11
- added note that client for kernel 2.6 is not available
- added pam-devel to neededforbuild 
- Added hack if no MTU came from userspace.
- Removed superflous ppc64 patch part.
- ppc64 port added (status: no longer crashes, talks to the network,
  but not successfully).
- Change headerfiles to make it possible to do a ppc -> ppc64 crosscompile. 
- build with -fPIC on ppc32
- patch from cvs to use AllocLargeSpace for struct osi_file to prevent
  oopses with some kernel configurations
- added option DYNROOT to sysconfig and enabled it by default [#27205]
- added cleanup before module build [#29649]
- fixed possible segfault
- set permissions of /var/lib/openafs to 700
- README.SuSE fixes
- use ghost for /afs, the directory is created by init-script
- fixed README.SuSE
- moved all static libraries to /usr/lib/afs, fixes conflict with libdes
- used default value for THIS_CELL_SERVER_NAME
- removed old patches
- fixed a bug in init script
- updated to final 1.2.10
- updated to 1.2.10-rc4
- do not destroy CellServDB even if REGENERATE_CELL_INFO=yes
- fixed to compile on x86_64
-  use %_lib where it was missing
- fixed conflicts in filelist
- improved init scripts
- added README.SuSE
- fixed init scripts [#27426]
- installed man pages
- add /usr/src/kernel-modules to the file list
- Fix SMP configuration detection.
- rework filelists:
  - package/remove unpackaged files
  - move some files into the server & client subpackages
  - use %defattr
- fix deprecated tail -1 syntax (fixes building the kernel module)
- updated to 1.2.9
- added DATA_ENCRYPTION option to sysconfig
- x86_64: add -lresolv, -fPIC
- fix lib path on all 64 bit platforms
- added sysconfig metadata
- added dirs /afs, /etc/openafs, /var/lib/openafs to filelist
- workaround broken -lresolv detection, lib64 fixes
- fixed multiline strings in kernel module
- updated to 1.2.8
- improved init script
- included errno.h
- fixed multiline strings
- first version of init scripts
- initial draft of a package. Lots of stuff missing, like init
  scripts, or the kerberos 5 migration toolkit.

OBS-URL: https://build.opensuse.org/request/show/736840
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=51
2019-10-10 11:10:46 +00:00
Christof Hanke
3c95a9aa95 Accepting request 736383 from home:hauky:branches:filesystems_GA
update to 1.8.4

OBS-URL: https://build.opensuse.org/request/show/736383
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=50
2019-10-09 14:47:26 +00:00
b49e8fb635 Accepting request 734081 from filesystems
OBS-URL: https://build.opensuse.org/request/show/734081
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=13
2019-10-02 09:57:52 +00:00
Christof Hanke
723df74672 Accepting request 734068 from home:hauky:branches:filesystems_GA
Fix silly typo

OBS-URL: https://build.opensuse.org/request/show/734068
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=48
2019-09-30 13:30:02 +00:00
Christof Hanke
499b7a4ddc Accepting request 733917 from home:hauky:branches:filesystems_GA
- update to pre-release 1.8.4pre2
  * fix builds for Linux-kernels 5.3

OBS-URL: https://build.opensuse.org/request/show/733917
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=47
2019-09-29 15:08:44 +00:00
49d6932bb2 Accepting request 719428 from filesystems
- disable compilation with LTO, does not work yet. 
- update to 1.8.3
- Require krb5-client for package openafs-client 
- fix broken directory layout
- fix broken post-install script
- allow crypt to be set/unset on startup of client
- clean up source-filenames
- Use source URLs.
- update to pre-release 1.8.3pre1
  * fix builds for Linux-kernels 4.20 and 5.0 
  * other fixes, see RELNOTES-1.8.3pre1
  * remove obsolete Linux-4.20.patch
- Fix build for Lunux-4.20: Linux-4.20.patch
- use proper log-directory: dir_layout.patch
- Fix build for aarch64
- Quote "*.c", and avoid unnecessary pass through xargs.
- update to security-release 1.8.2
  * fix CVE-2018-16947 (OPENAFS-SA-2018-001)
  * fix CVE-2018-16948 (OPENAFS-SA-2018-002)
  * fix CVE-2018-16949 (OPENAFS-SA-2018-003)
- add retpoline support
- update to version 1.8.1.1
- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated. 
- Fix 32Bit build by adding 
  commit 554176bd236d772d670df9bdd2496facd5a4209a as
  use_timespec64_for_kernel_4.18.patch
- Update to 1.8.1 
- Remove backporting patches for AArch64 build:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- adjust building of KMP to new kernels (see boo 1098050)
  add patch add_arch_to_linux_kernel_make.patch for this
- add libtirpc-devel to BuildRequires:
- minor cleanups 
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- remove package krb5-mit. It contained binaries for server and client.
  Besides, client and server already had an implicit dependency on krb5.
  Put the binaries to client and server-package respectively.
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
  SUSE does not provide a proper heimdal and it's untested for a long
  time.
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var
- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds. 
- rename binary backup to afs_backup.
  - rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page     
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros 
- make whitespace more consistent
- minor syntax and typo fixes
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
- cleanup last cleanup: also remove rc.* files
- cleanup package for Factory:
   - rename package to openafs.
   - remove sys-v init stuff.
   - apply recommendations given in Request 581009
- add compat macro for new _fillupdir macro introduced in Nov 2017
- update to 1.8.0pre5 
- update to 1.8.0pre4
- add patch for ncurses detection 
- update to 1.8.0pre3
- add integrity check of tar-balls 
- do not strip binaries on install
- fix %postun server 
- update to 1.8.0pre2
- use a preamble-file for KMP
- sort/cleanup/beautify spec-file 
- spec-file: 
  + use hardlinks for fdupes to provide correct header files in
             kernel-source
  + minor bugfixes, reorganization 
- rename changes file to openafs18.changes
- rename package to openafs18-* so they don't override 
  stable openafs-1.6 ones
- move ld.so to main package -- was in server-packages 
- enable building of KMP
- make openafs-krb5-mit package dependend on openafs-client package
- add ld.so - config to main package 
- remove pam, is not build on x86_64 and i596 
- first version of 1.8
- remove docs package, put man pages in induvidual packets  
- remove layout-patch, deal with this in spec file directly
- add new ChangeLog 
- update to version 1.6.20 
- add missing RemainAfterExit=true to client-systemd unit. 
- update to version 1.6.19 
- Update README: Change SuSE to SUSE.
- update to version 1.6.18.2 
- update to version 1.6.18.1 
- update to version 1.6.18 
- update to version 1.6.17 
- cleanup
- update to version 1.6.16
- remove fix for configure for new ncurses, now dealt with in 
  shipped package
- start using change.log again
- fix configure test for new ncurses 
- update to version 1.4.12.1 
- converted neededforbuild to BuildRequires
- fixed kernel module to compile
- add openafs.SuidCells and openafs.CellServDB
- cleanup SPEC-file(s)
- finally adopt
	sysconfig.transarcmode.openafs-client
	rc.transarcmode.afs-server
	rc.transarcmode.afs-client
  to transarc mode; and fix a small typo in
	rc.defaultmode.afs-client
- set "%defattr(-,root,root)" for transarcmode-file-lists
- fix lib64 build problem in transarcmode
- introduce transarc-mode and default-mode
- introduce "options"
- build for SLES 9
- with heimdal krb5 support
- enable-largefile-fileserver
- updated to 1.4.0
- fixed dangerous compiler warnings
- don't build as root 
- fixed kernel module to build
- fixed sysconfig file name
- updated to 1.3.85
- used LSB conforming init script names
- Update for linux 2.6.13.
- gcc4 fixes in kernel module
- fixed to compile with gcc4
- fixed memory leaks and 64bit fixes backported from 1.3.79
- updated README.SUSE
- updated to 1.3.78 
- fixed afs.h to be usable from userspace [#50283]
- updated to latest snapshot
- added requres: kernel-nongpl [#45167]
- fixed kernel module oops [#44618]
- use kernel module from openafs 1.3.70 to support kernel 2.6
- updated to 1.2.11
- added note that client for kernel 2.6 is not available
- added pam-devel to neededforbuild 
- Added hack if no MTU came from userspace.
- Removed superflous ppc64 patch part.
- ppc64 port added (status: no longer crashes, talks to the network,
  but not successfully).
- Change headerfiles to make it possible to do a ppc -> ppc64 crosscompile. 
- build with -fPIC on ppc32
- patch from cvs to use AllocLargeSpace for struct osi_file to prevent
  oopses with some kernel configurations
- added option DYNROOT to sysconfig and enabled it by default [#27205]
- added cleanup before module build [#29649]
- fixed possible segfault
- set permissions of /var/lib/openafs to 700
- README.SuSE fixes
- use ghost for /afs, the directory is created by init-script
- fixed README.SuSE
- moved all static libraries to /usr/lib/afs, fixes conflict with libdes
- used default value for THIS_CELL_SERVER_NAME
- removed old patches
- fixed a bug in init script
- updated to final 1.2.10
- updated to 1.2.10-rc4
- do not destroy CellServDB even if REGENERATE_CELL_INFO=yes
- fixed to compile on x86_64
-  use %_lib where it was missing
- fixed conflicts in filelist
- improved init scripts
- added README.SuSE
- fixed init scripts [#27426]
- installed man pages
- add /usr/src/kernel-modules to the file list
- Fix SMP configuration detection.
- rework filelists:
  - package/remove unpackaged files
  - move some files into the server & client subpackages
  - use %defattr
- fix deprecated tail -1 syntax (fixes building the kernel module)
- updated to 1.2.9
- added DATA_ENCRYPTION option to sysconfig
- x86_64: add -lresolv, -fPIC
- fix lib path on all 64 bit platforms
- added sysconfig metadata
- added dirs /afs, /etc/openafs, /var/lib/openafs to filelist
- workaround broken -lresolv detection, lib64 fixes
- fixed multiline strings in kernel module
- updated to 1.2.8
- improved init script
- included errno.h
- fixed multiline strings
- first version of init scripts
- initial draft of a package. Lots of stuff missing, like init
  scripts, or the kerberos 5 migration toolkit.

OBS-URL: https://build.opensuse.org/request/show/719428
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=12
2019-07-29 15:30:29 +00:00
Christof Hanke
bc5edbf762 - disable compilation with LTO, does not work yet.
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=45
2019-07-28 18:35:37 +00:00
3bbec68f8a Accepting request 700218 from filesystems
- update to 1.8.3
- Require krb5-client for package openafs-client 
- fix broken directory layout
- fix broken post-install script
- allow crypt to be set/unset on startup of client
- clean up source-filenames

OBS-URL: https://build.opensuse.org/request/show/700218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=11
2019-05-03 20:47:06 +00:00
Christof Hanke
fb378dc590 OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=42 2019-05-02 18:48:31 +00:00
Christof Hanke
015d3b1635 make openafs-clien and openafs-fuse-client more consistent
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=41
2019-05-02 18:14:05 +00:00
Christof Hanke
40131623c2 - allow crypt to be set/unset on startup of client
- clean up source-filenames

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=40
2019-05-02 15:05:02 +00:00
Christof Hanke
ed81373f8d - fix broken directory layout
- fix broken post-install script

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=39
2019-04-30 12:46:43 +00:00
Christof Hanke
d1f52cb09e - update to 1.8.3
- Require krb5-client for package openafs-client

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=38
2019-04-30 10:37:47 +00:00
cb268a9a6c Accepting request 688258 from filesystems
OBS-URL: https://build.opensuse.org/request/show/688258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=10
2019-03-26 21:33:11 +00:00
Christof Hanke
4019d02154 Accepting request 688204 from home:jengelh:branches:filesystems
- Use source URLs.

OBS-URL: https://build.opensuse.org/request/show/688204
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=36
2019-03-25 13:13:43 +00:00
Christof Hanke
4beaafc2bb * remove obsolete Linux-4.20.patch
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=35
2019-03-25 04:56:11 +00:00
Christof Hanke
25f10a55af - update to pre-release 1.8.3pre1
* fix builds for Linux-kernels 4.20 and 5.0 
  * other fixes, see RELNOTES-1.8.3pre1

OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=34
2019-03-14 08:42:07 +00:00
bbebafda5a Accepting request 667635 from filesystems
OBS-URL: https://build.opensuse.org/request/show/667635
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=9
2019-01-24 13:12:32 +00:00
Christof Hanke
76b05411fa Accepting request 666535 from home:hauky:branches:filesystems_GA
- Fix build for Lunux-4.20: Linux-4.20.patch
- use proper log-directory: dir_layout.patch

OBS-URL: https://build.opensuse.org/request/show/666535
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=32
2019-01-21 16:15:53 +00:00
61e28f5e92 Accepting request 639353 from filesystems
OBS-URL: https://build.opensuse.org/request/show/639353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=8
2018-10-02 17:47:50 +00:00
Christof Hanke
58e3df498f Accepting request 639066 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Fix build for aarch64

OBS-URL: https://build.opensuse.org/request/show/639066
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=30
2018-10-01 09:34:36 +00:00
6c8bc69187 Accepting request 635326 from filesystems
OBS-URL: https://build.opensuse.org/request/show/635326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=7
2018-09-13 22:01:01 +00:00
Christof Hanke
ca0fd16660 Accepting request 635321 from home:jengelh:branches:filesystems
- Quote "*.c", and avoid unnecessary pass through xargs.

OBS-URL: https://build.opensuse.org/request/show/635321
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=28
2018-09-12 12:46:35 +00:00
Christof Hanke
50a70779f9 Accepting request 635319 from home:hauky:branches:filesystems_GA
* fix CVE-2018-16947 (OPENAFS-SA-2018-001)
  * fix CVE-2018-16948 (OPENAFS-SA-2018-002)
  * fix CVE-2018-16949 (OPENAFS-SA-2018-003)

OBS-URL: https://build.opensuse.org/request/show/635319
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=27
2018-09-12 12:36:07 +00:00
Christof Hanke
e2b9e1fb04 Accepting request 635311 from home:hauky:branches:filesystems_GA
- update to security-release 1.8.2

OBS-URL: https://build.opensuse.org/request/show/635311
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=26
2018-09-12 12:20:13 +00:00
Christof Hanke
7fd66bcc31 Accepting request 635286 from home:hauky:branches:filesystems_GA
- add retpoline support

OBS-URL: https://build.opensuse.org/request/show/635286
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=25
2018-09-12 10:25:00 +00:00
Christof Hanke
3c6be877a4 Accepting request 634682 from home:hauky:branches:filesystems_GA
- update to version 1.8.1.1
- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated.

OBS-URL: https://build.opensuse.org/request/show/634682
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=24
2018-09-10 09:00:47 +00:00
e7a0bd6fa0 Accepting request 630333 from filesystems
OBS-URL: https://build.opensuse.org/request/show/630333
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=6
2018-08-20 14:19:53 +00:00
Christof Hanke
2617ef7613 Accepting request 630332 from home:hauky:branches:filesystems
- Fix 32Bit build by adding 
  commit 554176bd236d772d670df9bdd2496facd5a4209a as
  use_timespec64_for_kernel_4.18.patch
- Update to 1.8.1 
- Remove backporting patches for AArch64 build:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- adjust building of KMP to new kernels (see boo 1098050)
  add patch add_arch_to_linux_kernel_make.patch for this
- add libtirpc-devel to BuildRequires:
- minor cleanups 
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch
- remove package krb5-mit. It contained binaries for server and client.
  Besides, client and server already had an implicit dependency on krb5.
  Put the binaries to client and server-package respectively.
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
  SUSE does not provide a proper heimdal and it's untested for a long
  time.
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var
- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds. 
- rename binary backup to afs_backup.
  - rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page     
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros 
- make whitespace more consistent
- minor syntax and typo fixes
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.
- cleanup last cleanup: also remove rc.* files
- cleanup package for Factory:
   - rename package to openafs.
   - remove sys-v init stuff.
   - apply recommendations given in Request 581009
- add compat macro for new _fillupdir macro introduced in Nov 2017
- update to 1.8.0pre5 
- update to 1.8.0pre4
- add patch for ncurses detection 
- update to 1.8.0pre3
- add integrity check of tar-balls 
- do not strip binaries on install
- fix %postun server 
- update to 1.8.0pre2
- use a preamble-file for KMP
- sort/cleanup/beautify spec-file 
- spec-file: 
  + use hardlinks for fdupes to provide correct header files in
             kernel-source
  + minor bugfixes, reorganization 
- rename changes file to openafs18.changes
- rename package to openafs18-* so they don't override 
  stable openafs-1.6 ones
- move ld.so to main package -- was in server-packages 
- enable building of KMP
- make openafs-krb5-mit package dependend on openafs-client package
- add ld.so - config to main package 
- remove pam, is not build on x86_64 and i596 
- first version of 1.8
- remove docs package, put man pages in induvidual packets  
- remove layout-patch, deal with this in spec file directly
- add new ChangeLog 
- update to version 1.6.20 
- add missing RemainAfterExit=true to client-systemd unit. 
- update to version 1.6.19 
- Update README: Change SuSE to SUSE.
- update to version 1.6.18.2 
- update to version 1.6.18.1 
- update to version 1.6.18 
- update to version 1.6.17 
- cleanup
- update to version 1.6.16
- remove fix for configure for new ncurses, now dealt with in 
  shipped package
- start using change.log again
- fix configure test for new ncurses 
- update to version 1.4.12.1 
- converted neededforbuild to BuildRequires
- fixed kernel module to compile
- add openafs.SuidCells and openafs.CellServDB
- cleanup SPEC-file(s)
- finally adopt
	sysconfig.transarcmode.openafs-client
	rc.transarcmode.afs-server
	rc.transarcmode.afs-client
  to transarc mode; and fix a small typo in
	rc.defaultmode.afs-client
- set "%defattr(-,root,root)" for transarcmode-file-lists
- fix lib64 build problem in transarcmode
- introduce transarc-mode and default-mode
- introduce "options"
- build for SLES 9
- with heimdal krb5 support
- enable-largefile-fileserver
- updated to 1.4.0
- fixed dangerous compiler warnings
- don't build as root 
- fixed kernel module to build
- fixed sysconfig file name
- updated to 1.3.85
- used LSB conforming init script names
- Update for linux 2.6.13.
- gcc4 fixes in kernel module
- fixed to compile with gcc4
- fixed memory leaks and 64bit fixes backported from 1.3.79
- updated README.SUSE
- updated to 1.3.78 
- fixed afs.h to be usable from userspace [#50283]
- updated to latest snapshot
- added requres: kernel-nongpl [#45167]
- fixed kernel module oops [#44618]
- use kernel module from openafs 1.3.70 to support kernel 2.6
- updated to 1.2.11
- added note that client for kernel 2.6 is not available
- added pam-devel to neededforbuild 
- Added hack if no MTU came from userspace.
- Removed superflous ppc64 patch part.
- ppc64 port added (status: no longer crashes, talks to the network,
  but not successfully).
- Change headerfiles to make it possible to do a ppc -> ppc64 crosscompile. 
- build with -fPIC on ppc32
- patch from cvs to use AllocLargeSpace for struct osi_file to prevent
  oopses with some kernel configurations
- added option DYNROOT to sysconfig and enabled it by default [#27205]
- added cleanup before module build [#29649]
- fixed possible segfault
- set permissions of /var/lib/openafs to 700
- README.SuSE fixes
- use ghost for /afs, the directory is created by init-script
- fixed README.SuSE
- moved all static libraries to /usr/lib/afs, fixes conflict with libdes
- used default value for THIS_CELL_SERVER_NAME
- removed old patches
- fixed a bug in init script
- updated to final 1.2.10
- updated to 1.2.10-rc4
- do not destroy CellServDB even if REGENERATE_CELL_INFO=yes
- fixed to compile on x86_64
-  use %_lib where it was missing
- fixed conflicts in filelist
- improved init scripts
- added README.SuSE
- fixed init scripts [#27426]
- installed man pages
- add /usr/src/kernel-modules to the file list
- Fix SMP configuration detection.
- rework filelists:
  - package/remove unpackaged files
  - move some files into the server & client subpackages
  - use %defattr
- fix deprecated tail -1 syntax (fixes building the kernel module)
- updated to 1.2.9
- added DATA_ENCRYPTION option to sysconfig
- x86_64: add -lresolv, -fPIC
- fix lib path on all 64 bit platforms
- added sysconfig metadata
- added dirs /afs, /etc/openafs, /var/lib/openafs to filelist
- workaround broken -lresolv detection, lib64 fixes
- fixed multiline strings in kernel module
- updated to 1.2.8
- improved init script
- included errno.h
- fixed multiline strings
- first version of init scripts
- initial draft of a package. Lots of stuff missing, like init
  scripts, or the kerberos 5 migration toolkit.

OBS-URL: https://build.opensuse.org/request/show/630332
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=22
2018-08-18 23:32:20 +00:00
Christof Hanke
d4bcbf7d60 Accepting request 630053 from home:hauky:branches:filesystems
- Fix 32Bit build by adding 
  commit 554176bd236d772d670df9bdd2496facd5a4209a as
  use_timespec64_for_kernel_4.18.patch
- Update to 1.8.1

OBS-URL: https://build.opensuse.org/request/show/630053
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=21
2018-08-18 08:24:54 +00:00
8f745ac6dd Accepting request 619532 from filesystems
minor cleanups (forwarded request 619531 from hauky)

OBS-URL: https://build.opensuse.org/request/show/619532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=5
2018-06-28 13:14:50 +00:00
Christof Hanke
5828a742ca Accepting request 619531 from home:hauky:branches:filesystems
minor cleanups

OBS-URL: https://build.opensuse.org/request/show/619531
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=19
2018-06-28 09:17:29 +00:00
Christof Hanke
deab0d5754 mention add_arch_to_linux_kernel_make.patch in changes
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=18
2018-06-27 19:57:46 +00:00
Christof Hanke
eabdd5c650 Accepting request 619443 from home:hauky:branches:filesystems
- adjust building of KMP to new kernels (see boo 1098050)
- add libtirpc-devel to BuildRequires:
- minor cleanups

OBS-URL: https://build.opensuse.org/request/show/619443
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=17
2018-06-27 19:41:18 +00:00
af3b597c44 Accepting request 604661 from filesystems
OBS-URL: https://build.opensuse.org/request/show/604661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=4
2018-05-08 11:37:24 +00:00
Christof Hanke
882dc0c539 Accepting request 604055 from home:Guillaume_G:branches:openSUSE:Factory:ARM
- Update to 1.8.0
- Fix AArch64 build by updating spec and backporting patches:
  * add_support_fo_arm64_linux26.patch
  * dont_require_AFS_SYSCALL.patch
  * add_AFS_STRINGIZE_macro.patch
  * avoid_double_param_in_arm64_kernel.patch

OBS-URL: https://build.opensuse.org/request/show/604055
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=15
2018-05-07 04:15:49 +00:00
5ee2e655cf Accepting request 598777 from filesystems
OBS-URL: https://build.opensuse.org/request/show/598777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=3
2018-04-22 12:39:54 +00:00
Christof Hanke
5b37094eaf Accepting request 598776 from home:hauky
- Remove openafs-1.8.x.heimdal.patch and everything heimdal-related.
  SUSE does not provide a proper heimdal and it's untested for a long
  time.

OBS-URL: https://build.opensuse.org/request/show/598776
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=13
2018-04-19 16:57:21 +00:00
Christof Hanke
f6a979f3d4 Accepting request 598765 from home:hauky
- remove package krb5-mit. It contained binaries for server and client.
  Besides, client and server already had an implicit dependency on krb5.
  Put the binaries to client and server-package respectively.
- Remove heimdal stuff. Untested for a long time.

OBS-URL: https://build.opensuse.org/request/show/598765
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=12
2018-04-19 16:50:20 +00:00
f4d391d977 Accepting request 597537 from filesystems
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var

- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client

- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds.

OBS-URL: https://build.opensuse.org/request/show/597537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=2
2018-04-19 13:31:10 +00:00
Christof Hanke
48f66f978a remove bogues fdupes on /lib
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=10
2018-04-17 12:54:00 +00:00
Christof Hanke
27f7b34920 Accepting request 597165 from home:hauky
- fdupes: use symlinks instead of hardlinks. Do not fdupe
  /etc and /var

OBS-URL: https://build.opensuse.org/request/show/597165
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=9
2018-04-16 17:13:02 +00:00
Christof Hanke
40da544675 Accepting request 594123 from home:hauky:branches:filesystems
Fix pathes in unti-files

OBS-URL: https://build.opensuse.org/request/show/594123
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=8
2018-04-07 07:37:28 +00:00
Christof Hanke
6a6c897bc0 Accepting request 594016 from home:hauky
- fix dependencies between packages, so that fuse-client
  can be installed.
- cleanup old sys-v sysconfig files and other minor fixes
- fix unit file for fuse-client

OBS-URL: https://build.opensuse.org/request/show/594016
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=7
2018-04-06 14:29:11 +00:00
Christof Hanke
419c541150 Accepting request 593027 from home:hauky:branches:filesystems
- build fuse-client unconditionally.
- do not build KMP on unsupported architectures so that overall
  build succeeds.

OBS-URL: https://build.opensuse.org/request/show/593027
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=6
2018-04-03 07:19:18 +00:00
5a93aebabd Accepting request 591860 from filesystems
renamed binary "backup" and other trivial fixes in specfile

OBS-URL: https://build.opensuse.org/request/show/591860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openafs?expand=0&rev=1
2018-03-31 13:36:47 +00:00
Christof Hanke
45ef8e8161 Accepting request 591809 from home:hauky:branches:filesystems
- rename binary backup to afs_backup.
  - rename man pages and prefix "backup" in content
- prefix "scout" by "afs_" in man-page     
- remove unnecessary macro indirection %ARCH
- replace hard-coded paths by macros 
- make whitespace more consistent
- minor syntax and typo fixes

OBS-URL: https://build.opensuse.org/request/show/591809
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=4
2018-03-28 06:39:12 +00:00
Christof Hanke
b3066963ed Accepting request 588627 from home:jengelh:branches:filesystems
- Replace old $RPM_* vars (most of them) by macros.
- Replace unnecessary macro indirections like %bindir by %_bindir.

OBS-URL: https://build.opensuse.org/request/show/588627
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=3
2018-03-22 07:40:27 +00:00
Christof Hanke
c4146b5b07 - cleanup last cleanup: also remove rc.* files
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=2
2018-03-15 08:28:02 +00:00
David Sterba
a7c8d16e59 Accepting request 586757 from home:hauky
Hello,

this package should replace the package openafs18.
The reason for this request is that I would like to
get this software into Factory, but it violaites the nameing
convention. Thus, I decided to have one package "openafs"
with the up-to-date version of the software.
The package "openafs16" should still stay in filesystems.
Once this is accepted, I will create a deletion request
for filesystems/openafs18

Many thanks.

OBS-URL: https://build.opensuse.org/request/show/586757
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=1
2018-03-14 17:57:49 +00:00
18 changed files with 1299 additions and 1875 deletions

View File

@@ -0,0 +1,133 @@
commit 0306f3fdac736e15620f5802bdce510d25bb2450
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Fri Feb 7 11:10:27 2025 -0700
Linux-6.14: Handle dops.d_revalidate with parent
The Linux 6.14 commit:
'5be1fa8abd7b0 Pass parent directory inode and expected name to
->d_revalidate()'
added 2 parameters to the dentry_operations.d_revalidate method. These
new parameters are being provided as a convenience so a filesystem's
d_revalidate function can avoid some boilerplate code for obtaining the
dentry's ->d_parent and ->d_name. The caller ensures that these two
values are stable.
Add a new autoconf test to determine if dentry_operations.d_revalidate
has the new parameters.
Update afs_linux_dentry_revalidate() to accept the new parameters.
Change-Id: I7676ce9ae6ac48e37c8d9fbb3fefc455f80c41e1
Reviewed-on: https://gerrit.openafs.org/16253
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index afd2f8112..82c74c431 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -1592,32 +1592,43 @@ dentry_revalidate_common(struct vcache *pvcp, const char *name, struct dentry *d
#endif
}
-#if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
+#if defined(DOP_REVALIDATE_TAKES_PARENT_INODE)
+static int
+afs_linux_dentry_revalidate(struct inode *parent_inode, const struct qstr *name,
+ struct dentry *dp, unsigned int flags)
+{
+ if ((flags & LOOKUP_RCU) != 0) {
+ return -ECHILD;
+ }
+ return dentry_revalidate_common(VTOAFS(parent_inode), name->name, dp);
+}
+#else
+# if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
static int
afs_linux_dentry_revalidate(struct dentry *dp, unsigned int flags)
-#elif defined(DOP_REVALIDATE_TAKES_NAMEIDATA)
+# elif defined(DOP_REVALIDATE_TAKES_NAMEIDATA)
static int
afs_linux_dentry_revalidate(struct dentry *dp, struct nameidata *nd)
-#else
+# else
static int
afs_linux_dentry_revalidate(struct dentry *dp, int flags)
-#endif
+# endif
{
int code;
struct dentry *parent;
-#ifdef LOOKUP_RCU
+# ifdef LOOKUP_RCU
/* We don't support RCU path walking */
-# if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
+# if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
if ((flags & LOOKUP_RCU) != 0) {
return -ECHILD;
}
-# else
+# else
if ((nd->flags & LOOKUP_RCU) != 0) {
return -ECHILD;
}
+# endif
# endif
-#endif
parent = dget_parent(dp);
code = dentry_revalidate_common(VTOAFS(parent->d_inode),
@@ -1626,6 +1637,7 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
return code;
}
+#endif /* DOP_REVALIDATE_TAKES_PARENT_INODE */
static void
afs_dentry_iput(struct dentry *dp, struct inode *ip)
diff --git a/src/cf/linux-kernel-assorted.m4 b/src/cf/linux-kernel-assorted.m4
index 88f9e1897..03459137f 100644
--- a/src/cf/linux-kernel-assorted.m4
+++ b/src/cf/linux-kernel-assorted.m4
@@ -17,6 +17,7 @@ LINUX_IOP_I_PERMISSION_TAKES_NAMEIDATA
LINUX_IOP_I_PUT_LINK_TAKES_COOKIE
LINUX_DOP_D_DELETE_TAKES_CONST
LINUX_DOP_D_REVALIDATE_TAKES_NAMEIDATA
+LINUX_DOP_D_REVALIDATE_TAKES_PARENT_INODE
LINUX_FOP_F_FLUSH_TAKES_FL_OWNER_T
LINUX_FOP_F_FSYNC_TAKES_DENTRY
LINUX_FOP_F_FSYNC_TAKES_RANGE
diff --git a/src/cf/linux-test4.m4 b/src/cf/linux-test4.m4
index b22930690..c7c0c2318 100644
--- a/src/cf/linux-test4.m4
+++ b/src/cf/linux-test4.m4
@@ -885,3 +885,21 @@ AC_DEFUN([LINUX_FILE_LOCK_CORE], [
[define if file_lock_core exists],
[])
])
+
+dnl linux 6.14 updated dentry_operations.d_revalidate with 2 additional
+dnl parameters, the inode of the parent directory and the name the dentry
+dnl is expected to have. Using these are optional. Both parameters are
+dnl stable.
+AC_DEFUN([LINUX_DOP_D_REVALIDATE_TAKES_PARENT_INODE], [
+ AC_CHECK_LINUX_BUILD([whether dop.d_revalidate takes inode and qstr],
+ [ac_cv_linux_func_d_revalidate_takes_parent_inode],
+ [#include <linux/fs.h>
+ #include <linux/namei.h>
+ static int reval(struct inode *parent_inode, const struct qstr *name,
+ struct dentry *d, unsigned int flags) { return 0; }
+ struct dentry_operations dops;],
+ [dops.d_revalidate = reval;],
+ [DOP_REVALIDATE_TAKES_PARENT_INODE],
+ [define if your dops.d_revalidate takes a parent inode],
+ [-Werror])
+])
\ No newline at end of file

View File

@@ -1,111 +0,0 @@
commit 03b280649f5e22ed74c217d7c98c3416a2fa9052
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 13:56:44 2024 -0600
Linux-6.10: remove includes for asm/ia32_unistd.h
The Linux 6.10 commit:
"x86/syscall/compat: Remove ia32_unistd.h" (e2d168328e)
Removed the header ia32_unistd.h since it was just a wrapper for the
unistd_32_ia32.h.
The commit:
"linux-afs-translator-xen-20060731" (29dd792381)
added an ia32_unistd.h include to several files; all were not needed
(as they didn't reference any of the contents from the header file, e.g
_NR_ia32_*).
The commit:
"amd64-hook-ia32-table-20030519" (831e172463)
added an include for ia32_unistd.h to osi_module.c.
A later commit:
"osi-probe-syscall-20050129" (f126dbdbe2)
removed many of the references to defines from ia32_unistd.h, but did
not remove the include for the header.
Currently the only remaining files (linux-kernel-syscall-probe.m4,
LINUX/osi_probe.c and LINUX/osi_syscall.c) continue to reference the
items from ia32_unistd.h, but only when building older kernels that
either don't have LINUX_KEYRING_SUPPORT or when
ENABLE_LINUX_SYSCALL_PROBING is enabled (in both cases, these are only
applicable for older kernels where the asm/ia32_unistd.h file would be
present).
For the files that don't have references (i.e. _NR_ia32_*), we can
simply remove the include for asm/ia32_unistd.h. For the remaining set
of files, we can leave the include for asm/ia32_unistd.h since the code
already has preprocessor conditionals so it's only included for older
Linux kernels where the header file will be present.
We noted above, the include for asm/ia32_unistd.h is already conditional
on the checks for LINUX_KEYRING_SUPPORT and ENABLE_LINUX_SYSCALL_PROBING
so we do not need to add any additional configure checks.
Change-Id: I901b5c0f0ff86272b02f898f3951325533d22f4f
Reviewed-on: https://gerrit.openafs.org/15763
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/LINUX/osi_ioctl.c b/src/afs/LINUX/osi_ioctl.c
index 3e797745c..d964d8103 100644
--- a/src/afs/LINUX/osi_ioctl.c
+++ b/src/afs/LINUX/osi_ioctl.c
@@ -21,10 +21,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-#include <asm/ia32_unistd.h>
-#endif
-
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/sched.h>
diff --git a/src/afs/LINUX/osi_module.c b/src/afs/LINUX/osi_module.c
index 8ace127f4..499810cc6 100644
--- a/src/afs/LINUX/osi_module.c
+++ b/src/afs/LINUX/osi_module.c
@@ -21,10 +21,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-#include <asm/ia32_unistd.h>
-#endif
-
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/init.h>
diff --git a/src/afs/LINUX/osi_pag_module.c b/src/afs/LINUX/osi_pag_module.c
index ea3d1bd2c..346108489 100644
--- a/src/afs/LINUX/osi_pag_module.c
+++ b/src/afs/LINUX/osi_pag_module.c
@@ -20,10 +20,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-#include <asm/ia32_unistd.h>
-#endif
-
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/init.h>
diff --git a/src/afs/LINUX/osi_proc.c b/src/afs/LINUX/osi_proc.c
index 9c5a080f0..ad7c695b9 100644
--- a/src/afs/LINUX/osi_proc.c
+++ b/src/afs/LINUX/osi_proc.c
@@ -25,10 +25,6 @@
#include <linux/unistd.h> /* For syscall numbers. */
#include <linux/mm.h>
-#ifdef AFS_AMD64_LINUX_ENV
-# include <asm/ia32_unistd.h>
-#endif
-
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/sched.h>

View File

@@ -1,96 +0,0 @@
commit 0f6a3a402f4a66114da9231032bd68cdc4dee7bc
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:13:59 2024 -0600
Linux-6.10: Use filemap_alloc_folio when avail
The Linux 6.10 commit:
"mm: remove page_cache_alloc()" (3f2ae4ebd5)
removed the page_cache_alloc(), with a note that callers would be using
filemap_alloc_folio instead.
The function filemap_alloc_folio() was introduced in Linux 5.15 commit:
"mm/filemap: Add filemap_alloc_folio" (bb3c579e25)
Add a configure check for filemap_alloc_folio and update the function
afs_linux_read_cache() to use a wrapper that calls filemap_alloc_folio()
if available otherwise calls page_cache_alloc().
Minor whitespace/style cleanup
Note: The function filemap_alloc_folio() was introduced in Linux 5.15,
so this change affects builds using the Linux kernel 5.15 and later.
Change-Id: Ia17aefc38fe9787e54b315c864da726d610b8bb9
Reviewed-on: https://gerrit.openafs.org/15764
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 511b0838f..18809c89f 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -2320,6 +2320,24 @@ mapping_read_page(struct address_space *mapping, struct page *page)
#endif
}
+/*
+ * small compat wrapper for filemap_alloc_folio/page_cache_alloc
+ */
+static struct page *
+afs_page_cache_alloc(struct address_space *cachemapping)
+{
+#if defined(HAVE_LINUX_FILEMAP_ALLOC_FOLIO)
+ struct folio *folio;
+ folio = filemap_alloc_folio(mapping_gfp_mask(cachemapping), 0);
+ if (folio == NULL) {
+ return NULL;
+ }
+ return &folio->page;
+#else
+ return page_cache_alloc(cachemapping);
+#endif
+}
+
/* Populate a page by filling it from the cache file pointed at by cachefp
* (which contains indicated chunk)
* If task is NULL, the page copy occurs syncronously, and the routine
@@ -2358,11 +2376,12 @@ afs_linux_read_cache(struct file *cachefp, struct page *page,
pageindex = (offset - AFS_CHUNKTOBASE(chunk)) >> PAGE_SHIFT;
while (cachepage == NULL) {
- cachepage = find_get_page(cachemapping, pageindex);
+ cachepage = find_get_page(cachemapping, pageindex);
if (!cachepage) {
- if (!newpage)
- newpage = page_cache_alloc(cachemapping);
- if (!newpage) {
+ if (newpage == NULL) {
+ newpage = afs_page_cache_alloc(cachemapping);
+ }
+ if (newpage == NULL) {
code = -ENOMEM;
goto out;
}
diff --git a/src/cf/linux-kernel-func.m4 b/src/cf/linux-kernel-func.m4
index 93f96f5ad..83ea354b0 100644
--- a/src/cf/linux-kernel-func.m4
+++ b/src/cf/linux-kernel-func.m4
@@ -253,6 +253,16 @@ AC_CHECK_LINUX_FUNC([no_strlcpy],
size_t s;
s = strlcpy(buff);]])
+dnl Linux 5.15 introduced filemap_alloc_folio() as a replacement for
+dnl page_cache_alloc(). page_cache_alloc() was updated to become just a
+dnl wrapper for filemap_alloc_folio().
+dnl Linux 6.10 removed page_cache_alloc().
+AC_CHECK_LINUX_FUNC([filemap_alloc_folio],
+ [#include <linux/kernel.h>
+ #include <linux/pagemap.h>],
+ [[static struct folio *folio;
+ folio = filemap_alloc_folio(0, 0);]])
+
dnl Consequences - things which get set as a result of the
dnl above tests
AS_IF([test "x$ac_cv_linux_func_d_alloc_anon" = "xno"],

View File

@@ -0,0 +1,211 @@
commit 4702930f8dd87a6cad1d59ef8c127003fded1f31
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Fri Feb 14 15:18:52 2025 -0700
LINUX: Refactor afs_linux_dentry_revalidate()
The signature for Linux's dentry_operations.d_revalidate method has
undergone several changes, leading to increased use of #if directives in
afs_linux_dentry_revalidate().
To make the code more maintainable for future changes involving the
parent inode and the dentry's name, split out most of our logic in
afs_linux_dentry_revalidate() into a new function,
dentry_revalidate_common(). Keep the logic for getting the parent and
checking for LOOKUP_RCU in the caller, afs_linux_dentry_revalidate().
Written in collaboration with adeason@sinenomine.net.
Change-Id: Ic45ac12fceba8c5ba98d2b9c454ed28c44f3ece2
Reviewed-on: https://gerrit.openafs.org/16258
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 91f7e76be..afd2f8112 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -1373,43 +1373,24 @@ check_dentry_race(struct dentry *dp)
}
#endif /* D_SPLICE_ALIAS_RACE */
-/* Validate a dentry. Return 1 if unchanged, 0 if VFS layer should re-evaluate.
- * In kernels 2.2.10 and above, we are passed an additional flags var which
- * may have either the LOOKUP_FOLLOW OR LOOKUP_DIRECTORY set in which case
- * we are advised to follow the entry if it is a link or to make sure that
- * it is a directory. But since the kernel itself checks these possibilities
- * later on, we shouldn't have to do it until later. Perhaps in the future..
+/*
+ * Validate a dentry. Return 1 if unchanged, 0 if VFS layer should re-evaluate.
*
- * The code here assumes that on entry the global lock is not held
+ * @param[in] pvcp vcache for the parent directory containing 'dp'
+ * @param[in] name the name of the directory entry for 'dp'
+ * @param[in] dp the dentry we are checking
*/
static int
-#if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
-afs_linux_dentry_revalidate(struct dentry *dp, unsigned int flags)
-#elif defined(DOP_REVALIDATE_TAKES_NAMEIDATA)
-afs_linux_dentry_revalidate(struct dentry *dp, struct nameidata *nd)
-#else
-afs_linux_dentry_revalidate(struct dentry *dp, int flags)
-#endif
+dentry_revalidate_common(struct vcache *pvcp, const char *name, struct dentry *dp)
{
cred_t *credp = NULL;
- struct vcache *vcp, *pvcp, *tvc = NULL;
- struct dentry *parent;
+ struct vcache *vcp, *tvc = NULL;
int valid;
struct afs_fakestat_state fakestate;
int force_drop = 0;
afs_uint32 parent_dv;
int code = 0;
-#ifdef LOOKUP_RCU
- /* We don't support RCU path walking */
-# if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
- if (flags & LOOKUP_RCU)
-# else
- if (nd->flags & LOOKUP_RCU)
-# endif
- return -ECHILD;
-#endif
-
#ifdef D_SPLICE_ALIAS_RACE
if (check_dentry_race(dp)) {
valid = 0;
@@ -1437,7 +1418,7 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
if (code) {
goto error;
}
- if ((strcmp(dp->d_name.name, ".directory") == 0)) {
+ if ((strcmp(name, ".directory") == 0)) {
tryEvalOnly = 1;
}
if (tryEvalOnly)
@@ -1453,13 +1434,11 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
goto bad_dentry;
}
}
- } else if (vcp->mvstat == AFS_MVSTAT_ROOT && *dp->d_name.name != '/') {
+ } else if (vcp->mvstat == AFS_MVSTAT_ROOT && name[0] != '/') {
osi_Assert(vcp->mvid.parent != NULL);
}
- parent = dget_parent(dp);
- pvcp = VTOAFS(parent->d_inode);
- parent_dv = parent_vcache_dv(parent->d_inode, credp);
+ parent_dv = parent_vcache_dv(AFSTOV(pvcp), credp);
/* If the parent's DataVersion has changed or the vnode
* is longer valid, we need to do a full lookup. VerifyVCache
@@ -1472,7 +1451,7 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
if (credp == NULL) {
credp = crref();
}
- code = afs_lookup(pvcp, (char *)dp->d_name.name, &tvc, credp);
+ code = afs_lookup(pvcp, (char *)name, &tvc, credp);
code = filter_enoent(code);
if (code == ENOENT) {
/* ENOENT is not an error here. */
@@ -1483,7 +1462,6 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
if (code) {
/* We couldn't perform the lookup, so we don't know if the
* dentry is valid or not. */
- dput(parent);
goto error;
}
@@ -1506,19 +1484,16 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
* _not_ okay. Force it to be unhashed, since the given name
* doesn't point to this file anymore.
*/
- dput(parent);
force_drop = 1;
goto bad_dentry;
}
code = afs_CreateAttr(&vattr);
if (code) {
- dput(parent);
goto error;
}
if (afs_getattr(vcp, vattr, credp)) {
- dput(parent);
afs_DestroyAttr(vattr);
code = EIO;
goto error;
@@ -1533,23 +1508,15 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
/* should we always update the attributes at this point? */
/* unlikely--the vcache entry hasn't changed */
- dput(parent);
-
} else {
-
/* 'dp' represents a cached negative lookup. */
- parent = dget_parent(dp);
- pvcp = VTOAFS(parent->d_inode);
- parent_dv = parent_vcache_dv(parent->d_inode, credp);
+ parent_dv = parent_vcache_dv(AFSTOV(pvcp), credp);
if (parent_dv > dp->d_time || !(pvcp->f.states & CStatd)
|| afs_IsDynroot(pvcp)) {
- dput(parent);
goto bad_dentry;
}
-
- dput(parent);
}
good_dentry:
@@ -1625,6 +1592,41 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
#endif
}
+#if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
+static int
+afs_linux_dentry_revalidate(struct dentry *dp, unsigned int flags)
+#elif defined(DOP_REVALIDATE_TAKES_NAMEIDATA)
+static int
+afs_linux_dentry_revalidate(struct dentry *dp, struct nameidata *nd)
+#else
+static int
+afs_linux_dentry_revalidate(struct dentry *dp, int flags)
+#endif
+{
+ int code;
+ struct dentry *parent;
+
+#ifdef LOOKUP_RCU
+ /* We don't support RCU path walking */
+# if defined(DOP_REVALIDATE_TAKES_UNSIGNED)
+ if ((flags & LOOKUP_RCU) != 0) {
+ return -ECHILD;
+ }
+# else
+ if ((nd->flags & LOOKUP_RCU) != 0) {
+ return -ECHILD;
+ }
+# endif
+#endif
+
+ parent = dget_parent(dp);
+ code = dentry_revalidate_common(VTOAFS(parent->d_inode),
+ dp->d_name.name, dp);
+ dput(parent);
+
+ return code;
+}
+
static void
afs_dentry_iput(struct dentry *dp, struct inode *ip)
{

View File

@@ -1,66 +0,0 @@
commit 658942f2791fad5e33ec7542158c16dfc66eed39
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:16:43 2024 -0600
Linux-6.10: define a wrapper for vmalloc
The Linux 6.10 commit:
"mm: vmalloc: enable memory allocation profiling" (88ae5fb755)
changed vmalloc from a function to a wrapper macro.
This change results in build errors:
"error: implicit declaration of function vmalloc; did you mean
kmalloc? [-Werror=implicit-function-declaration]"
when vmalloc is passed as a parameter to the afs_atomlist_create() and
afs_lhash_create() functions.
Add a little wrapper function around vmalloc() to use for the parameter
to afs_atomlist_create() and afs_lhash_create().
Note: A configure test was not needed for this change since the name
and functionality of Linux's vmalloc did not change.
Change-Id: I69c1da9eea5d1de11c1628bbcef427f81f5c01e1
Reviewed-on: https://gerrit.openafs.org/15765
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
diff --git a/src/afs/LINUX/osi_alloc.c b/src/afs/LINUX/osi_alloc.c
index 86cd0e571..7c4b4a1ca 100644
--- a/src/afs/LINUX/osi_alloc.c
+++ b/src/afs/LINUX/osi_alloc.c
@@ -196,6 +196,15 @@ local_free(void *p, size_t n)
vfree(p);
}
+/*
+ * wrapper for vmalloc(), since vmalloc() may be a macro
+ */
+static void *
+local_vmalloc(size_t size)
+{
+ return vmalloc(size);
+}
+
/* linux_alloc_init(): Initializes the kernel memory allocator. As part
* of this process, it also initializes a pool of osi_linux_mem
* structures as well as the hash table itself.
@@ -209,14 +218,14 @@ linux_alloc_init(void)
/* initiate our pool of osi_linux_mem structs */
al_mem_pool =
afs_atomlist_create(sizeof(struct osi_linux_mem), sizeof(long) * 1024,
- (void *)vmalloc, local_free);
+ local_vmalloc, local_free);
if (!al_mem_pool) {
printf("afs_osi_Alloc: Error in initialization(atomlist_create)\n");
return 0;
}
/* initialize the hash table to hold references to alloc'ed chunks */
- lh_mem_htab = afs_lhash_create(hash_equal, (void *)vmalloc, local_free);
+ lh_mem_htab = afs_lhash_create(hash_equal, local_vmalloc, local_free);
if (!lh_mem_htab) {
printf("afs_osi_Alloc: Error in initialization(lhash_create)\n");
return 0;

View File

@@ -1,51 +0,0 @@
commit 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Thu Jun 6 10:42:57 2024 -0600
Linux 6.10: Move 'inline' before func return type
With Linux 6.10 commit:
"kbuild: turn on -Wextra by default" (f5982cceb3)
there are additional compiler warnings that can turn
into build errors when --enable-checking is used.
"error: inline is not at beginning of declaration
[-Werror=old-style-declaration]"
The error is due to the return type preceding the "inline" keyword
in function declarations.
Fix the declarations for file_can_read_pages() and
afs_linux_readpage_fastpath() to have the proper ordering of the
static/inline keywords attributes so they precede the return type.
Just a note that the `static` and `inline` keywords must precede a
function's return type.
Change-Id: I3ff9d45c119e70a90faf18fbf6d49fb6b9adcf33
Reviewed-on: https://gerrit.openafs.org/15768
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
index 18809c89f..c6c3bfe39 100644
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -2443,7 +2443,7 @@ afs_linux_read_cache(struct file *cachefp, struct page *page,
/*
* Return true if the file has a mapping that can read pages
*/
-static int inline
+static inline int
file_can_read_pages(struct file *fp)
{
#if defined(STRUCT_ADDRESS_SPACE_OPERATIONS_HAS_READ_FOLIO)
@@ -2456,7 +2456,7 @@ file_can_read_pages(struct file *fp)
return 0;
}
-static int inline
+static inline int
afs_linux_readpage_fastpath(struct file *fp, struct page *pp, int *codep)
{
loff_t offset = page_offset(pp);

2203
ChangeLog

File diff suppressed because it is too large Load Diff

View File

@@ -1,104 +1,27 @@
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 when looking up volumes by name in
the vlserver (15538)
* Fix off-by-one directory entry name size check in salvager (15598)
All client platforms
* Updated the CellServDB to the latest version from grand.central.org
(15603)
All UNIX/Linux client platforms
* Fix PAG object memory leak which can degrade performance (15506)
* Improve kernel memory reclamation after accessing a large number of
files (15536)
* Improve cache corruption detection and refetch cache entries
when cache entry size mismatches are detected (15532 15533 15535)
* Fix panic in user-space client (libuafs, Fuse client) (15539)
Linux clients
* Add support for Linux 6.7 (15600)
* Add support for Linux 6.6 (15575 15589 15590)
* Add support for Linux 6.5 (15520 15521 15522 15523 15558)
* Fix BUG when directory entry names are longer than 16 characters.
Affects Linux 6.5 or higher built with GCC 13 or higher (15599)
* Invalidate Linux VFS dentry caches in the AFS filesystem when running
"fs flush*" commands. This reduces the need to drop Linux VFS caches
by writing to the "/proc/sys/vm/drop_caches" file when
troubleshooting (15515)
* Fix build failures (15507 15508 15596 15542 15549)
macOS
* Add support for MacOS 14 ("Sonoma") (15602)
<!--NO-FRAMELESS-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3c.org/TR/html4/frameset.dtd">
<html><head>
<meta name="verify-v1" content="I/X2Wfxkt50ZaXkdbfIow6iFQIZ71o0o2b6sPTOGmPE=" /><!-- shadow -->
<META name="verify-v1" content="THAFicQcPIBMrawRwzaJg3JK8FArpvoecAy5Zx7v9DM=" /><!-- cg2v -->
<META name="verify-v1" content="VMsthPusbXnedJuKjM0/lhH0uzVj79aQ/lPfk2FLXsA=" /><!-- jaltman -->
<META name="verify-v1" content="fijqhqC5PvhJOATNi4e6h2uSK0v1deFiKXL+yItw/5w=" /><!-- jhutz -->
<title>OpenAFS</title>
<link href="/openafs.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5995928-1");
pageTracker._trackPageview();
</script>
</head>
<frameset cols="265,*" border=0>
<frame src="/navbar.html" name="navbar">
<frameset rows="170,*" border=0>
<frame src="/top.html" scrolling=no name="top">
<frame src="/dl/openafs/1.8.13/RELNOTES-1.8.13" name="openafs_main">
</frameset>
</frameset>
</html>

View File

@@ -1,76 +0,0 @@
commit d8b56f21994ce66d8daebb7d69e792f34c1a19ed
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Wed Jun 12 14:24:01 2024 -0600
afs: avoid empty-body warning
With Linux 6.10 commit:
"kbuild: turn on -Wextra by default" (f5982cceb3)
there are additional compiler warnings that can turn
into build errors when --enable-checking is used.
"error: suggest braces around empty body in an if
statement [-Werror=empty-body]"
when there is an empty body, e.g.
if (foo)
;
Most cases are due to the macros afs_PutCell and afs_PutServer which are
"empty" macros.
Update the afs_PutCell and afs_PutServer macros so they expand to
do {} while(0)
Add a comment at the definitions for afs_PutCell and afs_PutServer to
document the reason for keeping them.
Add braces to conditionals that have an empty body.
There are no functional changes with this commit.
Change-Id: I359723eb6a19d1c78449902b4f477da131b0fa18
Reviewed-on: https://gerrit.openafs.org/15766
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
diff --git a/src/afs/afs.h b/src/afs/afs.h
index 4bde047e8..621a8a517 100644
--- a/src/afs/afs.h
+++ b/src/afs/afs.h
@@ -349,7 +349,8 @@ struct cell_alias {
char *cell;
};
-#define afs_PutCell(cellp, locktype)
+/* In case someday a counterpart for afs_GetCell is needed */
+#define afs_PutCell(cellp, locktype) do {} while(0)
/* the unixuser flag bit definitions */
#define UHasTokens 1 /* are the st and ct fields valid (ever set)? */
@@ -537,7 +538,8 @@ struct server {
afs_int32 capabilities;
};
-#define afs_PutServer(servp, locktype)
+/* In case someday a counterpart for afs_GetServer is needed */
+#define afs_PutServer(servp, locktype) do {} while(0)
/* structs for some pioctls - these are (or should be)
* also in venus.h
diff --git a/src/afs/afs_cbqueue.c b/src/afs/afs_cbqueue.c
index 2dd633588..11e3aa3f1 100644
--- a/src/afs/afs_cbqueue.c
+++ b/src/afs/afs_cbqueue.c
@@ -139,7 +139,9 @@ afs_DequeueCallback(struct vcache *avc)
debugvc = avc;
if (avc->callsort.prev) {
QRemove(&(avc->callsort));
- } else; /* must have got dequeued in a race */
+ } else {
+ /* must have got dequeued in a race */
+ }
return;
} /* afs_DequeueCallback */

View File

@@ -1,11 +0,0 @@
--- a/src/afs/LINUX/osi_vnodeops.c
+++ b/src/afs/LINUX/osi_vnodeops.c
@@ -971,7 +971,7 @@
# else
.splice_write = generic_file_splice_write,
# endif
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
+# if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,0)
.splice_read = filemap_splice_read,
# else
.splice_read = generic_file_splice_read,

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:20c484ebfcedae2f5c3f7fe3ea5b0b02d7a05c0490ea75c80d255b1fe6e336fd
size 3370191
oid sha256:05e7d966cffd6fe72fd6976065200e5573457aa35748874d57eec6ecbed23670
size 3373158

View File

@@ -1 +1 @@
0fa436de034023841082afa08ab08bdf /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-doc.tar.bz2
6cce2b29b2027dcbed7911da86f2f5e5 /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-doc.tar.bz2

View File

@@ -1 +1 @@
20c484ebfcedae2f5c3f7fe3ea5b0b02d7a05c0490ea75c80d255b1fe6e336fd /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-doc.tar.bz2
05e7d966cffd6fe72fd6976065200e5573457aa35748874d57eec6ecbed23670 /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-doc.tar.bz2

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7afd3cab43d1dd6078c944cfb97ca2aee622187a5443b97166a3a25384fb01a
size 14596525
oid sha256:5088353cec7628b9ab0640e2ab8a228add749669ff3f7567b760ccedda64f830
size 14654297

View File

@@ -1 +1 @@
63de2df7b8b37f9305a12024ed400fb6 /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-src.tar.bz2
c35b8393068ac020d8d0a3baa9ac7fc5 /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-src.tar.bz2

View File

@@ -1 +1 @@
c7afd3cab43d1dd6078c944cfb97ca2aee622187a5443b97166a3a25384fb01a /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-src.tar.bz2
5088353cec7628b9ab0640e2ab8a228add749669ff3f7567b760ccedda64f830 /home/hanke/obs/home:hauky:branches:filesystems/openafs/openafs-stable-1_8_x-src.tar.bz2

View File

@@ -1,3 +1,42 @@
-------------------------------------------------------------------
Wed Apr 9 06:47:28 UTC 2025 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- add perl-rpm-packaging to BuildRequires: to resolve
"Have Choice"-Error for arch ppc64le
-------------------------------------------------------------------
Wed Apr 9 05:28:26 UTC 2025 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to latest git branch stable-1_8_x
- add upstream-patches required for kernel 6.14
+ 4702930f8dd87a6cad1d59ef8c127003fded1f31.patch
(LINUX: Refactor afs_linux_dentry_revalidate())
+ 0306f3fdac736e15620f5802bdce510d25bb2450.patch
(Linux-6.14: Handle dops.d_revalidate with parent)
-------------------------------------------------------------------
Mon Jan 27 08:28:38 UTC 2025 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to latest git branch stable-1_8_x, required to support kernel 6.13
-------------------------------------------------------------------
Mon Dec 23 07:44:52 UTC 2024 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to latest git branch stable-1_8_x, required to support kernel 6.12
-------------------------------------------------------------------
Mon Nov 25 10:54:35 UTC 2024 - Christof Hanke <christof.hanke@mpcdf.mpg.de>
- update to latest git branch stable-1_8_x, includes security update 1.8.13
- change version to openafs-1.8.13.g... since the new stable release is 1.8.13
- remove patch handle_backports.diff, it is now included upstream
- remove intermediate patches:
* 03b280649f5e22ed74c217d7c98c3416a2fa9052: Linux-6.10: remove includes for asm/ia32_unistd.h
* 0f6a3a402f4a66114da9231032bd68cdc4dee7bc: Linux-6.10: Use filemap_alloc_folio when avail
* 658942f2791fad5e33ec7542158c16dfc66eed39: Linux-6.10: define a wrapper for vmalloc
* d8b56f21994ce66d8daebb7d69e792f34c1a19ed: afs: avoid empty-body warning
* 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7: Linux 6.10: Move 'inline' before func return type
-------------------------------------------------------------------
Wed Aug 14 06:46:15 UTC 2024 - Christof Hanke <christof.hanke@mpcdf.mpg.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package openafs
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -61,7 +61,7 @@
Name: openafs
Version: 1.8.12.g20240711
Version: 1.8.13.g20250116
Release: 0
Summary: OpenAFS Distributed File System
License: IPL-1.0
@@ -103,15 +103,9 @@ Source58: openafs.cacheinfo
Source98: kmp_only.files
Source99: openafs.changes
# PATCH-UPSTREAM required for kernel 6.10
Patch1: 03b280649f5e22ed74c217d7c98c3416a2fa9052
Patch2: 0f6a3a402f4a66114da9231032bd68cdc4dee7bc
Patch3: 658942f2791fad5e33ec7542158c16dfc66eed39
Patch4: d8b56f21994ce66d8daebb7d69e792f34c1a19ed
Patch5: 7097eec17bc01bcfc12c4d299136b2d3b94ec3d7
# PATCH-HANDLE-BACKPORTS
# some kernel-features from 6.5 are apparently in 6.4
Patch99: handle_backports.diff
# FIX build of kernel module for version 6.14
Patch01: 4702930f8dd87a6cad1d59ef8c127003fded1f31.patch
Patch02: 0306f3fdac736e15620f5802bdce510d25bb2450.patch
# GENERAL BuildRequires and Requires
#
@@ -134,6 +128,9 @@ BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkg-config
BuildRequires: swig
%ifarch ppc64le
BuildRequires: perl-rpm-packaging
%endif
Requires(post): %fillup_prereq
@@ -323,14 +320,9 @@ for src_file in %{S:0} %{S:1}; do
done
%setup -q -n openafs-%{upstream_version} -T -b 0 -b 1
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
%patch -P 5 -p1
%if 0%{?sle_version} == 150600
%patch -P 99 -p1
%endif
%patch -P 01 -p1
%patch -P 02 -p1
./regen.sh