Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package openafs.16042 for 
openSUSE:Leap:15.2:Update checked in at 2021-04-10 08:14:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2:Update/openafs.16042 (Old)
 and      /work/SRC/openSUSE:Leap:15.2:Update/.openafs.16042.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openafs.16042"

Sat Apr 10 08:14:28 2021 rev:1 rq:883833 version:1.8.7

Changes:
--------
New Changes file:

--- /dev/null   2021-03-11 01:47:46.020784395 +0100
+++ /work/SRC/openSUSE:Leap:15.2:Update/.openafs.16042.new.2401/openafs.changes 
2021-04-10 08:14:30.172310080 +0200
@@ -0,0 +1,699 @@
+-------------------------------------------------------------------
+Fri Feb  5 08:41:48 UTC 2021 - Christof Hanke <[email protected]>
+
+- use stock 1.8.7 from openafs.org
+  * git-version might contain experimental code
+  * add linux-kmp.patch for newer kernels 
+
+-------------------------------------------------------------------
+Sat Jan 16 23:01:13 UTC 2021 - Christof Hanke <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
+Mon Jan 11 10:01:15 UTC 2021 - Christof Hanke <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
+Mon Nov  2 09:20:37 UTC 2020 - Christof Hanke <[email protected]>
+
+- update to HEAD of git branch openafs-stable-1_8_x 
+
+-------------------------------------------------------------------
+Mon Oct 12 15:15:08 UTC 2020 - Christof Hanke <[email protected]>
+
+- add firewalld-configuration files
+- enable loading of unsupported kernel-module on SLES15 
+
+-------------------------------------------------------------------
+Mon Aug 17 12:49:33 UTC 2020 - Christof Hanke <[email protected]>
+
+- update to HEAD of git branch openafs-stable-1_8_x
+  * kernel 5.8 not supported by 1.8.6
+    and no official package-upates out yet. 
+
+-------------------------------------------------------------------
+Mon Aug 10 08:43:10 UTC 2020 - Christof Hanke <[email protected]>
+
+- add patch remove-get_ds-usage.patch to fix building KMP on aarch64 
+
+-------------------------------------------------------------------
+Wed Jul  1 08:53:44 UTC 2020 - Christof Hanke <[email protected]>
+
+- update to official 1.8.6
+ * remove patch 4c4bdde.diff
+ * remove patch d3c7f75.diff
+ * use source URLs again 
+
+-------------------------------------------------------------------
+Tue Jun 16 12:56:21 UTC 2020 - Christof Hanke <[email protected]>
+
+- remove fix_timeval_i586.patch 
+
+-------------------------------------------------------------------
+Tue Jun 16 12:55:14 UTC 2020 - Christof Hanke <[email protected]>
+
+- disable retpol line for TW x86_64. It does not compile. 
+
+-------------------------------------------------------------------
+Mon Jun 15 08:24:17 UTC 2020 - Christof Hanke <[email protected]>
+
+- 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 
+
+-------------------------------------------------------------------
+Sat Apr 18 07:07:48 UTC 2020 - Christof Hanke <[email protected]>
+
+- update to 1.8.6pre2
+- disable fix_timeval_i586.patch 
+
+-------------------------------------------------------------------
+Fri Apr 10 06:36:58 UTC 2020 - Christof Hanke <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
+Thu Apr  2 06:08:09 UTC 2020 - Christof Hanke <[email protected]>
+
+- update to pre-release 1.8.6pre1: forward-to-1.8.6.pre1.patch
+
+-------------------------------------------------------------------
+Wed Oct 23 13:48:04 UTC 2019 - Christof Hanke <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
+Thu Oct 10 09:10:27 UTC 2019 - Christof Hanke <[email protected]>
+
+- 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  
+
+-------------------------------------------------------------------
+Thu Sep 26 20:56:05 UTC 2019 - Christof Hanke <[email protected]>
+
+- update to pre-release 1.8.4pre2
+  * fix builds for Linux-kernels 5.3
+
+-------------------------------------------------------------------
+Sun Jul 28 18:34:40 UTC 2019 - Christof Hanke <[email protected]>
+
+- disable compilation with LTO, does not work yet. 
+
+-------------------------------------------------------------------
+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
+
+-------------------------------------------------------------------
+Mon Mar 25 11:32:32 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Use source URLs.
+
+-------------------------------------------------------------------
+Thu Mar 14 08:37:04 UTC 2019 - Christof Hanke <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
+Wed Jan 16 11:28:27 UTC 2019 - [email protected]
+
+- Fix build for Lunux-4.20: Linux-4.20.patch
+- use proper log-directory: dir_layout.patch
+
+-------------------------------------------------------------------
+Fri Sep 28 12:47:02 UTC 2018 - Guillaume GARDET <[email protected]>
+
+- Fix build for aarch64
+
+-------------------------------------------------------------------
+Wed Sep 12 12:37:15 UTC 2018 - Jan Engelhardt <[email protected]>
+
+- Quote "*.c", and avoid unnecessary pass through xargs.
+
+-------------------------------------------------------------------
+Wed Sep 12 10:41:43 UTC 2018 - [email protected]
+
+- 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)
+
+-------------------------------------------------------------------
+Wed Sep 12 05:46:01 UTC 2018 - [email protected]
+
+- add retpoline support
+
+-------------------------------------------------------------------
+Sun Sep  9 08:14:26 UTC 2018 - [email protected]
+
+- update to version 1.8.1.1
+- Remove use_timespec64_for_kernel_4.18.patch. It is now integrated. 
+
+-------------------------------------------------------------------
+Thu Aug 16 14:02:44 UTC 2018 - [email protected]
+
+- Fix 32Bit build by adding 
+  commit 554176bd236d772d670df9bdd2496facd5a4209a as
+  use_timespec64_for_kernel_4.18.patch
+
+-------------------------------------------------------------------
+Thu Aug 16 07:53:42 UTC 2018 - [email protected]
+
+- 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
++++ 502 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.openafs.16042.new.2401/openafs.changes

New:
----
  ChangeLog
  README.SUSE.openafs
  RELNOTES-1.8.7
  afs3-bos.xml
  afs3-callback.xml
  afs3-fileserver.xml
  afs3-prserver.xml
  afs3-rmtsys.xml
  afs3-update.xml
  afs3-vlserver.xml
  afs3-volser.xml
  dir_layout.patch
  kernel-source.build-modules.sh
  linux-kmp.patch
  logrotate.openafs-server
  openafs-1.8.7-doc.tar.bz2
  openafs-1.8.7-doc.tar.bz2.md5
  openafs-1.8.7-doc.tar.bz2.sha256
  openafs-1.8.7-src.tar.bz2
  openafs-1.8.7-src.tar.bz2.md5
  openafs-1.8.7-src.tar.bz2.sha256
  openafs-1.8.x.ncurses6.patch
  openafs-client.service
  openafs-client.service.allow_unsupported
  openafs-fuse-client.service
  openafs-server.service
  openafs.CellAlias
  openafs.SuidCells
  openafs.ThisCell
  openafs.cacheinfo
  openafs.changes
  openafs.spec
  preamble
  sysconfig.openafs-client
  sysconfig.openafs-fuse-client
  sysconfig.openafs-server

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openafs.spec ++++++
++++ 977 lines (skipped)

++++++ ChangeLog ++++++
commit 06b800f6f1022fa4b86eb9023b75028f2e2cfeab
Author: Benjamin Kaduk <[email protected]>
Date:   Thu Jan 14 13:08:41 2021 -0800

    Make OpenAFS 1.8.7
    
    Update version strings for the 1.8.7 emergency patch release.
    
    Change-Id: I665bedad864b1c2cbbe55978d6b06e917ed26faa

commit f3b5c62660a48f693897d2faa1cecfd1c10307de
Author: Benjamin Kaduk <[email protected]>
Date:   Thu Jan 14 13:06:18 2021 -0800

    Update NEWS for 1.8.7
    
    Add the release notes for the 1.8.7 emergency patch release.
    
    Change-Id: I813f11e4e72c12cb927f66472b099febbf3d899f

commit 81a3600bfdcc122d43c75720e83317dcc2a9e6a1
Author: Benjamin Kaduk <[email protected]>
Date:   Thu Jan 14 10:20:59 2021 -0800

    Remove overflow check from update_nextCid
    
    The rx_nextCid global has been an unsigned type since
    http://gerrit.openafs.org/11106 (which was actually merged before
    the refactoring of overflow check to avoid signed integer overflow)
    and thus there is no need to avoid signed overflow.  The per-connection
    cid has been unsigned since the IBM import.
    
    The natural unsigned behavior on overflow of wrapping is the desired
    behvaior here, so just remove the extra logic and always increment.
    
    Reviewed-on: https://gerrit.openafs.org/14496
    Reviewed-by: Jeffrey Hutzelman <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 43ef1f2a5d80aa1c3f5b4831ada8e776ac0c7d13)
    
    Change-Id: I64fabe5229039f7af040902ed2e6f03dba7bc14d
    Reviewed-on: https://gerrit.openafs.org/14497
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    (cherry picked from commit 5004f888e32e8274fcd8a28a7bff6aa3a79f41c8)

commit 6f898c4c711d0aff7ea452670164802b5e423c18
Author: Jeffrey Altman <[email protected]>
Date:   Thu Jan 14 09:57:13 2021 -0500

    rx: update_nextCid overflow handling is broken
    
    The overflow handling in update_nextCid() produces a rx_nextCid
    value of 0x80000001 which itself is out of the valid range.   When
    used to construct the first call of a new connection the connection
    id for the call becomes 0x80000002, and all subsequent connections
    also trigger the overflow handling and thus also receive connection
    id 0x80000002.
    
    If the same connection id is used for multiple connections from
    the same endpoint the accepting rx peer will be very confused.
    
    When authenticated connections are used, the CHALLENGE/RESPONSE
    will fail because of a mismatch in the connection's callNumber
    array.
    
    If an initiator makes only a single connection to a given rx peer,
    that connection would succeed, but once multiple connections are
    initiated all communication from a broken initiator to any rx peer
    will fail.
    
    The incorrect overflow calculation was introduced by
    39b165cdda941181845022c183fea1c7af7e4356 ("Move epoch and cid
    generation into the rx core").
    
    This change corrects the overflow value to become
    
      1 << RX_CIDSHIFT
    
    Reviewed-on: https://gerrit.openafs.org/14492
    Reviewed-by: Andrew Deason <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 2c0a3901cbfcb231b7b67eb0899a3133516f33c8)
    
    Change-Id: I74d70706ddf99022bed639891cb610fba9ef863d
    Reviewed-on: https://gerrit.openafs.org/14494
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    (cherry picked from commit f5ed8c2fac4c94914099881250f5f2e893f3f9f7)

commit 54c56dfa423bac14db117f5ec641ebe0eda705e3
Author: Jeffrey Altman <[email protected]>
Date:   Thu Jan 14 09:41:39 2021 -0500

    rx: rx_InitHost do not overwrite RAND_bytes rx_nextCid
    
    39b165cdda941181845022c183fea1c7af7e4356 ("Move epoch and cid
    generation into the rx core") introduced the use of RAND_bytes()
    to generate the initial 'rx_nextCid' but failed to remove the
    
      rx_nextCid = ((tv.tv_sec ^ tv.tv_usec) << RX_CIDSHIFT;
    
    assignment inherited from IBM/Transarc.
    
    At Thu, 14 Jan 2021 08:25:36 GMT the IBM inherited calculation
    overflows the value CID range.   This triggers broken overflow
    logic in update_nextCid().
    
    Reviewed-on: https://gerrit.openafs.org/14491
    Reviewed-by: Andrew Deason <[email protected]>
    Tested-by: Andrew Deason <[email protected]>
    Reviewed-by: Jeffrey Hutzelman <[email protected]>
    Reviewed-by: Cheyenne Wills <[email protected]>
    Tested-by: Mark Vitale <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit a3bc7ff1501d51ceb3b39d9caed62c530a804473)
    
    Change-Id: If5f7d4ba1cacc6978c83fd512653fbaa0c1559d8
    Reviewed-on: https://gerrit.openafs.org/14493
    Reviewed-by: Cheyenne Wills <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    Tested-by: Benjamin Kaduk <[email protected]>
    Reviewed-by: Andrew Deason <[email protected]>
    (cherry picked from commit a41fe24be574f35ca852fc3ea9750e370cdb71d0)
++++++ README.SUSE.openafs ++++++
Here is described installation of openafs server and client on SUSE linux.

This text is based on AFS Quick Start Guide. The differences are:
  - paths are adapted to SUSE installation
  - uses Kerberos 5 authentization

Complete OpenAFS documentation is at http://openafs.org

SERVER SETUP
============

# choose an AFS cell name and a Kerberos realm name, the simplest setup is:
# - AFS cell name equal to DNS domain name
# - Kerberos realm name equal to uppercase AFS cell name 

# create a partition for AFS filesystem and mount it under /vicepa

# start bosserver
/usr/sbin/bosserver -noauth &

# setup basic cell information
bos setcellname your.afs.server your.cell.name -noauth 

# setup database servers processes
bos create your.afs.server ptserver simple /usr/lib/openafs/ptserver -cell 
your.cell.name -noauth
bos create your.afs.server buserver simple /usr/lib/openafs/buserver -cell 
your.cell.name -noauth
bos create your.afs.server vlserver simple /usr/lib/openafs/vlserver -cell 
your.cell.name -noauth

# If you want to use the old afs authentization (not recommended):
# bos addkey your.afs.server -kvno 0 -cell your.cell.name -noauth

# Authentication against heimdal krb5 server

# Here you can set up kerberos realm if you dont have any, 
# see documentation in package krb5-doc

# restart kdc
rckrb5kdc restart
rckrb524d restart

# create afs principal in kerberos database
kadmin.local
  add_principal [email protected]     # create afs key, use random 
password
  ktremove -k /etc/krb5.keytab afs all      # delete old afs key if any
  
  # export the afs key to external keytab
  # note the key version number (kvno), you will need it later for asetkey
  ktadd -e des-cbc-crc:v4 [email protected] 
  
  add_principal [email protected]   # create admin principal
  
  quit # end kadmin.local
  
rm /etc/openafs/server/KeyFile # delete the old afs key file if any

# convert the afs key from /etc/krb5.keytab to /etc/openafs/server/KeyFile
# use <kvno> displayed by ktadd
asetkey add <kvno> /etc/krb5.keytab afs

# give admin the permissions to control bosserver
bos adduser your.afs.server admin -cell your.cell.name -noauth

# add admin to group system:administrators
pts createuser -name admin -id <user id> -cell your.cell.name -noauth
pts adduser admin system:administrators -cell your.cell.name -noauth

# restart bos server
bos restart your.afs.server -all -cell your.cell.name -noauth

# create fileserver processes
bos create your.afs.server fs fs /usr/lib/openafs/fileserver 
/usr/lib/openafs/volserver /usr/lib/openafs/salvager -cell your.cell.name 
-noauth

# create root volume
vos create your.afs.server /vicepa root.afs -cell your.cell.name -noauth

# restart bosserver with security enabled
rcopenafs-fileserver restart


CLIENT SETUP
============

IMPORTANT: Unfortunately, openafs client for linux kernel 2.6 has not reached 
stable state yet. There may be problems.

edit /etc/sysconfig/openafs-client, set at least
  REGENERATE_CELL_INFO="yes"
  THIS_CELL="your.cell.name"
  THIS_CELL_SERVER="your.afs.server"

  If you are configuring first afs server and the volume root.cell does not
  exist yet, you have to set also DYNROOT=no. After finishing the server 
  installaton it is better to change DYNROOT back to 'yes' as the client
  behaves better on startup with network outage.

# start afs client
rcopenafs-client start

# login as admin
kinit admin
aklog -d # convert Kerberos 5 ticket to AFS token

To enable transparent login via pam, install package pam_krb5
and add 'call_modules=krb5afs' to /etc/security/pam_unix2.conf
For details look at pam_krb5afs(5), pam_krb5afs(8) and pam_unix2(8) manpages.

Now you have working afs server and client. You can continue with chapter
"Configuring the Top Levels of the AFS Filespace" of AFS Quick Start Guide.

++++++ RELNOTES-1.8.7 ++++++
                       User-Visible OpenAFS Changes

OpenAFS 1.8.7

  All platforms

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

++++++ afs3-bos.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-bos</short>
  <description>OpenAFS basic overseer process (bosserver)</description>
  <port protocol="udp" port="7007"/>
</service>
++++++ afs3-callback.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-callback</short>
  <description>OpenAFS callbacks to cache managers (clients)</description>
  <port protocol="udp" port="7001"/>
</service>
++++++ afs3-fileserver.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-fileserver</short>
  <description>OpenAFS file server</description>
  <port protocol="udp" port="7000"/>
</service>
++++++ afs3-prserver.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-prserver</short>
  <description>OpenAFS users and groups database</description>
  <port protocol="udp" port="7002"/>
</service>
++++++ afs3-rmtsys.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-rmtsys</short>
  <description>OpenAFS remote cache manager service</description>
  <port protocol="udp" port="7009"/>
</service>
++++++ afs3-update.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-update</short>
  <description>OpenAFS server-to-server updater</description>
  <port protocol="udp" port="7008"/>
</service>
++++++ afs3-vlserver.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-vlserver</short>
  <description>OpenAFS volume location database (VLDB)</description>
  <port protocol="udp" port="7003"/>
</service>
++++++ afs3-volser.xml ++++++
<?xml version="1.0" encoding="utf-8"?>
<service>
  <short>afs3-volser</short>
  <description>OpenAFS volume managment server (volserver)</description>
  <port protocol="udp" port="7005"/>
</service>
++++++ dir_layout.patch ++++++
--- 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'}
-    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='/var/lib/openafs'}
+    afsbackupdir=${afsbackupdir='/var/lib/openafs/backup'}
     afsbosconfigdir=${afsbosconfigdir='${sysconfdir}/openafs'}
     afsdatadir=${afsdatadir='${datadir}/openafs'}
 fi
++++++ kernel-source.build-modules.sh ++++++
#!/bin/sh

if [ $# != 1 ]; then
    echo building a openafs-kernel module for the running kernel
    echo Need one of: build build_debug install 
    exit 1
fi

LOGFILE=libafs_tree/build.log
kernel_flavour=`uname -r | awk -F- '{print $NF}'` 
kernel_version=`uname -r | sed "s/-$kernel_flavour//"`
arch=`uname -m`

suse_flavour=`cat /etc/SuSE-release | head -1 | awk '{print $1}' ` 
suse_version=`cat /etc/SuSE-release | grep VERSION | awk '{print $NF}' ` 

echo This SuSE is version \"$suse_version\" of flavour \"$suse_flavour\"
echo you are running the kernel \"$kernel_version\" of flavour 
\"$kernel_flavour\" on \"$arch\"
echo all output is saved into $LOGFILE

if [ $1 == "build_debug" ]; then
   DEBUG_OPT="--enable-debug-kernel"
fi

if [ $1 == "build" -o $1 == "build_debug" ]; then
   cd libafs_tree
   echo calling configure...
   ./configure --with-linux-kernel-headers=/usr/src/linux/ 
--with-linux-kernel-build=/usr/src/linux-obj/$arch/$kernel_flavour $DEBUG_OPT > 
build.log 2>&1 
   if [ $? != 0 ]; then 
       echo configure failed! See $LOGFILE for details
       exit $?
   fi
   echo calling make
   make >> build.log 2>&1 
   if [ $? != 0 ]; then 
       echo make failed! See $LOGFILE for details
       exit $?
   fi
   echo
   echo build sucessfull!
   echo Now run $0 install to install the kernel-modules
   exit 0
fi


if [ $1 == "install" ]; then
   module_files="afspag.ko libafs.ko"
   build_dir=libafs_tree/src/libafs/MODLOAD-$kernel_version-$kernel_flavour-MP/
   install_dir=/lib/modules/$kernel_version-$kernel_flavour
   echo installing kernel-modules into 
   for mod in $module_files; do
      cp -v $build_dir/$mod $install_dir/$mod 
   done
   /sbin/depmod -a
fi
++++++ linux-kmp.patch ++++++
++++ 807 lines (skipped)

++++++ logrotate.openafs-server ++++++
/var/log/openafs/*Log {
    daily
    compress
    dateext
    rotate 7
    olddir /var/log/openafs/old
    missingok
    notifempty
    create 640 root root
    copytruncate
}
++++++ openafs-1.8.7-doc.tar.bz2.md5 ++++++
6fd3097cc812549a7ae97a703b90a8ac  ../1.8.7/openafs-1.8.7-doc.tar.bz2
++++++ openafs-1.8.7-doc.tar.bz2.sha256 ++++++
d61384efdce1aacabdd1890062ada741c0e0aeb4cc973811a493dcda6f4a317f  
openafs-1.8.7-doc.tar.bz2
++++++ openafs-1.8.7-src.tar.bz2.md5 ++++++
e316f61d8c5b85fb98c69f584f08b64d  ../1.8.7/openafs-1.8.7-src.tar.bz2
++++++ openafs-1.8.7-src.tar.bz2.sha256 ++++++
53543a561fce67714fec9f2a6bf408c5cc1d061c7dc9d1459458275e8ccbfa79  
openafs-1.8.7-src.tar.bz2
++++++ openafs-1.8.x.ncurses6.patch ++++++
--- a/src/cf/curses.m4.orig     2018-01-07 08:17:41.815732371 +0100
+++ b/src/cf/curses.m4  2018-01-07 08:23:50.585670554 +0100
@@ -19,7 +19,9 @@
     AC_CHECK_LIB([ncurses], [initscr],
                 [AC_CHECK_LIB([ncurses], [LINES], 
[openafs_cv_curses_lib=-lncurses],
                               [AC_CHECK_LIB([tinfo], [LINES],
-                                            [openafs_cv_curses_lib="-lncurses 
-ltinfo"])])])
+                                            [openafs_cv_curses_lib="-lncurses 
-ltinfo"],  
+                                            [AC_CHECK_LIB([ncurses], 
[_nc_LINES], [openafs_cv_curses_lib=-lncurses], 
+                                                          
[AC_CHECK_LIB([tinfo], [_nc_LINES], [openafs_cv_curses_lib="-lncurses 
-ltinfo"])])])])])
     AS_IF([test "x$openafs_cv_curses_lib" = x],
          [AC_CHECK_LIB([Hcurses], [initscr], 
[openafs_cv_curses_lib=-lHcurses])])
     AS_IF([test "x$openafs_cv_curses_lib" = x],
++++++ openafs-client.service ++++++
[Unit]
Description=OpenAFS Client
Wants=network-online.target
After=syslog.target network-online.target
Before=remote-fs.target

[Service]
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-client
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
KillMode=none

[Install]
WantedBy=multi-user.target remote-fs.target
++++++ openafs-client.service.allow_unsupported ++++++
[Unit]
Description=OpenAFS Client
Wants=network-online.target
After=syslog.target network-online.target
Before=remote-fs.target

[Service]
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-client
ExecStartPre=/sbin/modprobe libafs --allow-unsupported
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
KillMode=none

[Install]
WantedBy=multi-user.target remote-fs.target
++++++ openafs-fuse-client.service ++++++
[Unit]
Description=OpenAFS Client Service
Wants=network-online.target
After=syslog.target network-online.target
Before=remote-fs.target

[Service]
Type=forking
RemainAfterExit=true
EnvironmentFile=/etc/sysconfig/openafs-fuse-client
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

[Install]
WantedBy=multi-user.target remote-fs.target
++++++ openafs-server.service ++++++
[Unit]
Description=OpenAFS Server
After=syslog.target network.target

[Service]
EnvironmentFile=-/etc/sysconfig/openafs-server
ExecStart=/usr/sbin/bosserver -nofork $BOSSERVER_ARGS
ExecStop=/usr/sbin/bos shutdown localhost -wait -localauth

[Install]
WantedBy=multi-user.target
++++++ openafs.CellAlias ++++++
openafs.org openafs
++++++ openafs.ThisCell ++++++
openafs.org
++++++ openafs.cacheinfo ++++++
/afs:/var/cache/openafs:102400
++++++ preamble ++++++
Requires:  kernel-%1
Requires:  %{name}-client = %{version}
Conflicts: %{name}-fuse-client = %{version}
++++++ 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 ++++++
#
# 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-server ++++++
## Path:        Network/File systems/AFS server
## Description: AFS server configuration, default mode

# all is set in /etc/openafs/BosConfig

Reply via email to