Hello community, here is the log from the commit of package openafs for openSUSE:Factory checked in at 2019-05-03 22:47:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openafs (Old) and /work/SRC/openSUSE:Factory/.openafs.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openafs" Fri May 3 22:47:06 2019 rev:11 rq:700218 version:1.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/openafs/openafs.changes 2019-03-26 22:33:40.765687583 +0100 +++ /work/SRC/openSUSE:Factory/.openafs.new.5148/openafs.changes 2019-05-03 22:47:16.391885831 +0200 @@ -1,0 +2,10 @@ +Tue Apr 30 10:17:44 UTC 2019 - Christof Hanke <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- RELNOTES-1.8.3pre1 openafs-1.8.3pre1-doc.tar.bz2 openafs-1.8.3pre1-doc.tar.bz2.md5 openafs-1.8.3pre1-doc.tar.bz2.sha256 openafs-1.8.3pre1-src.tar.bz2 openafs-1.8.3pre1-src.tar.bz2.md5 openafs-1.8.3pre1-src.tar.bz2.sha256 sysconfig.openafs-client-systemd sysconfig.openafs-fuse-client-systemd sysconfig.openafs-server-systemd New: ---- RELNOTES-1.8.3 openafs-1.8.3-doc.tar.bz2 openafs-1.8.3-doc.tar.bz2.md5 openafs-1.8.3-doc.tar.bz2.sha256 openafs-1.8.3-src.tar.bz2 openafs-1.8.3-src.tar.bz2.md5 openafs-1.8.3-src.tar.bz2.sha256 sysconfig.openafs-client sysconfig.openafs-server ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openafs.spec ++++++ --- /var/tmp/diff_new_pack.UZKDW3/_old 2019-05-03 22:47:17.499888375 +0200 +++ /var/tmp/diff_new_pack.UZKDW3/_new 2019-05-03 22:47:17.499888375 +0200 @@ -56,36 +56,35 @@ # used for %setup only # leave upstream tar-balls untouched for integrity checks. -%define upstream_version 1.8.3pre1 +%define upstream_version 1.8.3 Name: openafs -Version: 1.8.3~pre1 +Version: 1.8.3 Release: 0 Summary: OpenAFS Distributed File System License: IPL-1.0 Group: System/Filesystems Url: http://www.openafs.org/ -Source0: http://www.openafs.org/dl/openafs/candidate/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2 -Source1: http://www.openafs.org/dl/openafs/candidate/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2 -Source2: http://www.openafs.org/dl/openafs/candidate/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.md5 -Source3: http://www.openafs.org/dl/openafs/candidate/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.md5 -Source4: http://www.openafs.org/dl/openafs/candidate/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.sha256 -Source5: http://www.openafs.org/dl/openafs/candidate/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.sha256 +Source0: http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2 +Source1: http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2 +Source2: http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.md5 +Source3: http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.md5 +Source4: http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-src.tar.bz2.sha256 +Source5: http://www.openafs.org/dl/openafs/%{upstream_version}/openafs-%{upstream_version}-doc.tar.bz2.sha256 Source10: README.SUSE.openafs Source15: logrotate.openafs-server Source16: ld.conf.openafs Source18: RELNOTES-%{upstream_version} Source19: ChangeLog Source20: kernel-source.build-modules.sh -Source22: sysconfig.openafs-fuse-client Source23: openafs-client.service Source25: openafs-server.service Source26: openafs-fuse-client.service -Source27: sysconfig.openafs-client-systemd -Source28: sysconfig.openafs-server-systemd -Source29: sysconfig.openafs-fuse-client-systemd +Source27: sysconfig.openafs-client +Source28: sysconfig.openafs-server +Source29: sysconfig.openafs-fuse-client Source30: preamble Source55: openafs.SuidCells Source56: openafs.CellAlias @@ -260,6 +259,7 @@ Group: System/Filesystems Requires: %{name} = %{version} Requires: %{name}-kmp +Requires: krb5-client %description client AFS is a cross-platform distributed file system product pioneered at @@ -306,12 +306,10 @@ %setup -q -n openafs-%{upstream_version} -T -b 0 -b 1 %patch3 -p1 +%patch4 -p1 %patch5 -p1 -%if %{run_regen} -%patch4 -p1 - ./regen.sh -%endif +./regen.sh %build # architecture specific settings @@ -641,14 +639,14 @@ %{fillup_only -n openafs-server} %service_add_post openafs-server.service -if [ "x$1" = "x" ]; then - my_operation=0 -else - my_operation=$1 -fi -if [ $my_operation -gt 1 ]; then +if [ "$FIRST_ARG" -gt 1 ]; then + # update no new install echo Not stopping the possibly running services. echo You must restart the service to put the upgrade into effect. + if [ -d /var/openafs ]; then + echo To upgrade, stop the server, copy the contents of /var/openafs to /var/lib/openafs, + echo remove the empty directory /var/openafs and then start the server again. + fi else echo For configuring the server, please check /etc/sysconfig/openafs-server echo and/or follow the instructions found on http://www.openafs.org to install an openafs-client. ++++++ ChangeLog ++++++ --- /var/tmp/diff_new_pack.UZKDW3/_old 2019-05-03 22:47:17.527888439 +0200 +++ /var/tmp/diff_new_pack.UZKDW3/_new 2019-05-03 22:47:17.527888439 +0200 @@ -1,3 +1,31 @@ +commit ad37d5b186c7ea62c874546472a807310acf0e75 +Author: Stephan Wiesand <[email protected]> +Date: Fri Apr 12 16:53:40 2019 +0200 + + Make OpenAFS 1.8.3 + + Update version strings for the 1.8.3 release. + + Change-Id: Ie8b29765e4f45bc3ddbe1aba9e31068da0bb54cf + Reviewed-on: https://gerrit.openafs.org/13546 + Tested-by: BuildBot <[email protected]> + Reviewed-by: Michael Meffie <[email protected]> + Reviewed-by: Stephan Wiesand <[email protected]> + +commit 288c218fa96abd8c9ddb66bc6f6bc60a20311645 +Author: Stephan Wiesand <[email protected]> +Date: Fri Apr 12 16:47:28 2019 +0200 + + Update NEWS for 1.8.3 + + Finalize the release notes for OpenAFS 1.8.3 + + Change-Id: I5b5eeedde53a1135c003302719cfdeca4f67e8fd + Reviewed-on: https://gerrit.openafs.org/13545 + Tested-by: BuildBot <[email protected]> + Reviewed-by: Michael Meffie <[email protected]> + Reviewed-by: Stephan Wiesand <[email protected]> + commit dc16d6fffa69fe98e8bb338daea7b35ff59651c9 Author: Stephan Wiesand <[email protected]> Date: Fri Jan 25 16:08:34 2019 +0100 ++++++ RELNOTES-1.8.3pre1 -> RELNOTES-1.8.3 ++++++ --- /work/SRC/openSUSE:Factory/openafs/RELNOTES-1.8.3pre1 2019-03-26 22:33:35.781688786 +0100 +++ /work/SRC/openSUSE:Factory/.openafs.new.5148/RELNOTES-1.8.3 2019-05-03 22:47:11.107873701 +0200 @@ -1,6 +1,6 @@ User-Visible OpenAFS Changes -OpenAFS 1.8.3 (in progress) +OpenAFS 1.8.3 All platforms ++++++ dir_layout.patch ++++++ --- /var/tmp/diff_new_pack.UZKDW3/_old 2019-05-03 22:47:17.559888513 +0200 +++ /var/tmp/diff_new_pack.UZKDW3/_new 2019-05-03 22:47:17.559888513 +0200 @@ -1,11 +1,17 @@ ---- openafs-1.8.2/src/cf/dirpaths.m4.orig 2019-01-16 11:16:56.160768067 +0100 -+++ openafs-1.8.2/src/cf/dirpaths.m4 2019-01-16 11:17:49.300846193 +0100 -@@ -21,7 +21,7 @@ +--- openafs-1.8.3/src/cf/dirpaths.m4.orig 2019-04-30 13:38:33.411870333 +0200 ++++ openafs-1.8.3/src/cf/dirpaths.m4 2019-04-30 13:48:06.182604169 +0200 +@@ -20,10 +20,10 @@ + afssrvbindir=${afssrvbindir='${bindir}'} afssrvsbindir=${afssrvsbindir='${sbindir}'} afssrvlibexecdir=${afssrvlibexecdir='${libexecdir}/openafs'} - afsdbdir=${afsdbdir='${localstatedir}/openafs/db'} +- afsdbdir=${afsdbdir='${localstatedir}/openafs/db'} - afslogsdir=${afslogsdir='${localstatedir}/openafs/logs'} +- afslocaldir=${afslocaldir='${localstatedir}/openafs'} +- afsbackupdir=${afsbackupdir='${localstatedir}/openafs/backup'} ++ afsdbdir=${afsdbdir='/var/lib/openafs/db'} + afslogsdir=${afslogsdir='/var/log/openafs'} - afslocaldir=${afslocaldir='${localstatedir}/openafs'} - afsbackupdir=${afsbackupdir='${localstatedir}/openafs/backup'} ++ afslocaldir=${afslocaldir='/var/lib/openafs'} ++ afsbackupdir=${afsbackupdir='/var/lib/openafs/backup'} afsbosconfigdir=${afsbosconfigdir='${sysconfdir}/openafs'} + afsdatadir=${afsdatadir='${datadir}/openafs'} + fi ++++++ openafs-1.8.3pre1-doc.tar.bz2 -> openafs-1.8.3-doc.tar.bz2 ++++++ ++++ 4224 lines of diff (skipped) ++++++ openafs-1.8.3pre1-doc.tar.bz2.md5 -> openafs-1.8.3-doc.tar.bz2.md5 ++++++ --- /work/SRC/openSUSE:Factory/openafs/openafs-1.8.3pre1-doc.tar.bz2.md5 2019-03-26 22:33:36.989688494 +0100 +++ /work/SRC/openSUSE:Factory/.openafs.new.5148/openafs-1.8.3-doc.tar.bz2.md5 2019-05-03 22:47:12.383876630 +0200 @@ -1 +1 @@ -c0f7a24287d38d48445dac2d59abcd85 openafs-1.8.3pre1-doc.tar.bz2 +a10f9d79400352cdec886308c1936b52 openafs-1.8.3-doc.tar.bz2 ++++++ openafs-1.8.3pre1-doc.tar.bz2.sha256 -> openafs-1.8.3-doc.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/openafs/openafs-1.8.3pre1-doc.tar.bz2.sha256 2019-03-26 22:33:37.565688355 +0100 +++ /work/SRC/openSUSE:Factory/.openafs.new.5148/openafs-1.8.3-doc.tar.bz2.sha256 2019-05-03 22:47:12.411876694 +0200 @@ -1 +1 @@ -495e09a585a63e645437ecf42d43d2cfde3874de6e9c1d90cc7e41deb6309acd openafs-1.8.3pre1-doc.tar.bz2 +58da20546b5ad6ab8aebf3e701f13e61910a1a95f275bef762c319172c6c5593 openafs-1.8.3-doc.tar.bz2 ++++++ openafs-1.8.3pre1-src.tar.bz2 -> openafs-1.8.3-src.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/openafs/openafs-1.8.3pre1-src.tar.bz2 /work/SRC/openSUSE:Factory/.openafs.new.5148/openafs-1.8.3-src.tar.bz2 differ: char 11, line 1 ++++++ openafs-1.8.3pre1-src.tar.bz2.md5 -> openafs-1.8.3-src.tar.bz2.md5 ++++++ --- /work/SRC/openSUSE:Factory/openafs/openafs-1.8.3pre1-src.tar.bz2.md5 2019-03-26 22:33:40.165687728 +0100 +++ /work/SRC/openSUSE:Factory/.openafs.new.5148/openafs-1.8.3-src.tar.bz2.md5 2019-05-03 22:47:16.311885647 +0200 @@ -1 +1 @@ -f10b5048d256914d401c5b44f1533263 openafs-1.8.3pre1-src.tar.bz2 +1ede289bbfacf71dab09b20978b7e11a openafs-1.8.3-src.tar.bz2 ++++++ openafs-1.8.3pre1-src.tar.bz2.sha256 -> openafs-1.8.3-src.tar.bz2.sha256 ++++++ --- /work/SRC/openSUSE:Factory/openafs/openafs-1.8.3pre1-src.tar.bz2.sha256 2019-03-26 22:33:40.433687663 +0100 +++ /work/SRC/openSUSE:Factory/.openafs.new.5148/openafs-1.8.3-src.tar.bz2.sha256 2019-05-03 22:47:16.327885684 +0200 @@ -1 +1 @@ -95aa3fa70117f34f52a03cdb8abdd99db84850c4fb1067ac7202b049e7f64c2e openafs-1.8.3pre1-src.tar.bz2 +ead9c16c50404b98b06e1d22fb6359880bfc6e93a6108a12e5e4e1c73b64cea5 openafs-1.8.3-src.tar.bz2 ++++++ openafs-client.service ++++++ --- /var/tmp/diff_new_pack.UZKDW3/_old 2019-05-03 22:47:19.235892360 +0200 +++ /var/tmp/diff_new_pack.UZKDW3/_new 2019-05-03 22:47:19.235892360 +0200 @@ -11,6 +11,7 @@ ExecStartPre=/sbin/modprobe libafs ExecStart=/usr/sbin/afsd $AFSD_ARGS ExecStartPost=/usr/bin/fs sysname $SYSNAME +ExecStartPost=/usr/bin/fs setcrypt $CRYPT ExecStop=/usr/bin/umount /afs ExecStop=/usr/sbin/afsd -shutdown ExecStop=/sbin/rmmod libafs ++++++ openafs-fuse-client.service ++++++ --- /var/tmp/diff_new_pack.UZKDW3/_old 2019-05-03 22:47:19.247892388 +0200 +++ /var/tmp/diff_new_pack.UZKDW3/_new 2019-05-03 22:47:19.255892406 +0200 @@ -8,8 +8,9 @@ Type=forking RemainAfterExit=true EnvironmentFile=/etc/sysconfig/openafs-fuse-client -ExecStartPre=/bin/chmod 0644 /etc/openafs/CellServDB ExecStart=/usr/sbin/afsd.fuse $AFSD_ARGS +ExecStartPost=/usr/bin/fs sysname $SYSNAME +ExecStartPost=/usr/bin/fs setcrypt $CRYPT ExecStop=/usr/bin/umount /afs ExecStop=/usr/sbin/afsd.fuse -shutdown KillMode=none ++++++ sysconfig.openafs-client ++++++ # # startup options for the openAFS client. # see man afsd for details AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb" # # sysname to set after startup # leave empty for default setting. SYSNAME="" # # switch for encryption to be set after startup # must be one of "on" or "off" CRYPT="on" ++++++ sysconfig.openafs-fuse-client ++++++ --- /var/tmp/diff_new_pack.UZKDW3/_old 2019-05-03 22:47:19.323892562 +0200 +++ /var/tmp/diff_new_pack.UZKDW3/_new 2019-05-03 22:47:19.323892562 +0200 @@ -1,145 +1,17 @@ -## Path: Network/File systems/AFS client -## Description: AFS client configuration, default mode -## This package is for the fuse-client -## Type: yesno -## Default: no # -# Set to "yes" if you want to generate CellServDB and ThisCell files -# from THIS_CELL and THIS_CELL_SERVER variables. -# If you want more complicated setting, set REGENERATE_CELL_INFO to "no" -# and edit the files manually. -# -REGENERATE_CELL_INFO="no" - -## Type: string -## Default: "" -# -# This cell name -# -THIS_CELL="" - -## Type: string -## Default: "" -# -# IP address of afs server for this cell -# -THIS_CELL_SERVER="" - -## Type: string -## Default: "" -# -# DNS name of afs server for this cell -# -THIS_CELL_SERVER_NAME="" - -## Type: yesno -## Default: yes -# -# Set to "yes" if you want to use data encription (secure, slower) -# -DATA_ENCRYPTION="yes" - -## Type: yesno -## Default: yes -# -# Set to "yes" if you want to generate cacheinfo file -# -REGENERATE_CACHE_INFO="yes" - -## Type: string -## Default: "" -# -# AFS client configuration options -# -XXLARGE="-stat 8000 -daemons 6 -volumes 256 -files 50000" -XLARGE="-stat 3600 -daemons 5 -volumes 196 -files 50000" -LARGE="-stat 2800 -daemons 5 -volumes 128" -MEDIUM="-stat 2000 -daemons 3 -volumes 70" -SMALL="-stat 300 -daemons 2 -volumes 50" - -## Type: yesno -## Default: yes -# -# Instead of mounting the home cell's root.afs volume at the AFS mount -# point (typically /afs) a fake root is constructed from information -# available in the client's CellServDB. -# With this option enabled openafs can start up even on network outage. -# -DYNROOT="yes" +# startup options for the openAFS client. +# see man afsd for details -## Type: yesno -## Default: yes -# -# Instead of calling a stat on a mountpoint to a foreign cell, -# return a faked status to the application. -# "ls -l /afs" is the most prominent example for its usefulness. -# -FAKESTAT="yes" - - -## Type: yesno -## Default: yes -# -# Instead of looking up database server in CellServDB try DNS first. -# With this option enabled openafs can access cells which are not in the packaged CellServDB-file, but -# which do provide the required DNS-information. -# -AFSDB="yes" - -## Type: yesno -## Default: yes -# -# use memory-only cache -# -MEMCACHE="yes" - -## Type: string(AUTOMATIC) -## Default: AUTOMATIC -# -# if you set CACHESIZE to "AUTOMATIC", it will automatically be chosen -# deduced by parition sizes (does not work if your cache is on / or -# /usr or /var) or by machine memory size for memory-only cache, -# otherwise the value in (1k-blocks) specified here will be used. -# -CACHESIZE="AUTOMATIC" - -## Type: string(AUTOMATIC,$XXLARGE,$XLARGE,$LARGE,$MEDIUM,$SMALL) -## Default: AUTOMATIC -# -# If you set OPTIONS to "AUTOMATIC", the init script will choose a set -# of options based on the cache size, otherwise the values specified here -# will be used. -# -OPTIONS="AUTOMATIC" +AFSD_ARGS="-fakestat -memcache -blocks 102400 -dynroot -afsdb" -## Type: string(/var/cache/openafs) -## Default: /var/cache/openafs -# -# Path to cache directory, it is recommended to use separate partition. -# It does not work on reiserfs. A valid directory must be specified -# even if memory only cache is used. -# Recommended cache directory is "/var/cache/openafs" # -CACHEDIR="/var/cache/openafs" +# sysname to set after startup +# leave empty for default setting. -## Type: string(/afs) -## Default: /afs -# -# AFS directory. You should never need to change this -# -AFSDIR=/afs +SYSNAME="" -## Type: yesno -## Default: no -# -# Set to "yes" for a lot of debugging information from afsd. Only -# useful for debugging as it prints _a lot_ of information. # -VERBOSE="no" +# switch for encryption to be set after startup +# must be one of "on" or "off" -## Type: string -## Default: "" -# -# SYSNAME of client. Used to expand the magic "@sys" in pathes within /afs. -# If left blank, the hardcoded sysname (e.g. amd64_linux26) will be used. -SYSNAME="" +CRYPT="on" ++++++ sysconfig.openafs-server ++++++ ## Path: Network/File systems/AFS server ## Description: AFS server configuration, default mode # all is set in /etc/openafs/BosConfig
