- Do not discard the persistent client disk cache on restart.
- Fix bugs that made it impossible to unmount a disk cache file system
after it had been used by the client.
+ * Give openafs-dbserver its own documentation directory rather than
+ linking it to openafs-client, allowing relaxation of the versioned
+ dependency on openafs-client to Recommends. (However, openafs-client
+ will still have to be installed for the openafs-fileserver init
+ script, which uses the bos binary, so will still be pulled in by
+ dependencies.)
-- Russ Allbery <rra@debian.org> Mon, 17 Jun 2013 10:50:14 -0700
Package: openafs-fileserver
Architecture: alpha amd64 arm armel armhf i386 ia64 powerpc powerpcspe ppc64 s390 s390x sparc
-Depends: ${shlibs:Depends}, ${misc:Depends}, openafs-client, lsb-base
+Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base, openafs-client
Recommends: ntp | time-daemon
Suggests: openafs-doc
Description: AFS distributed filesystem file server
Package: openafs-dbserver
Architecture: alpha amd64 arm armel armhf i386 ia64 powerpc powerpcspe ppc64 s390 s390x sparc
Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends},
- openafs-fileserver, openafs-client (= ${binary:Version})
+ openafs-fileserver
+Recommends: openafs-client
Suggests: openafs-doc
Description: AFS distributed filesystem database server
AFS is a distributed filesystem allowing cross-platform sharing of
--- /dev/null
+#!/bin/sh
+
+set -e
+
+# In version 1.6.3-1, we switched from symlinking the doc directory to
+# openafs-client to having our own doc directory so that we could weaken the
+# versioned dependency. dpkg doesn't remove symlinks on upgrade, so we need
+# to remove the symlink in preinst to avoid overwriting the old files.
+if [ "$1" = 'upgrade' ] && dpkg --compare-versions "$2" lt 1.6.3 ; then
+ if [ -L '/usr/share/doc/openafs-dbserver' ] ; then
+ rm /usr/share/doc/openafs-dbserver
+ fi
+fi
+
+#DEBHELPER#
# /usr/share/doc/openafs-client. Any package on this list must depend on
# openafs-client. This variable is used as options to dh_installdocs with
# the --link-doc option.
-DOC_PACKAGES = -plibpam-openafs-kaserver -popenafs-dbserver -popenafs-fuse \
- -popenafs-kpasswd
+DOC_PACKAGES = -plibpam-openafs-kaserver -popenafs-fuse -popenafs-kpasswd
# These are files that we know we don't want to install. List them so that we
# can use dh_install --fail-missing and catch anything new that shows up.