Priority: optional
Maintainer: Benjamin Kaduk <kaduk@mit.edu>
Uploaders: Sam Hartman <hartmans@debian.org>, Anders Kaseorg <andersk@mit.edu>
-Build-Depends: debhelper (>= 9.20160709~), autoconf, automake, bison, comerr-dev,
- cpio, flex, libfuse-dev, libkrb5-dev, libncurses5-dev,
+Build-Depends: debhelper, debhelper-compat (= 12), autoconf, automake, bison,
+ comerr-dev, cpio, flex, libfuse-dev, libkrb5-dev, libncurses5-dev,
libpam0g-dev, libxml2-utils, perl, pkg-config,
libtool, heimdal-multidev (>= 1.7~git20150920)
Build-Depends-Indep: dblatex, dkms (>= 2.1.1.1), docbook-xsl, doxygen (>= 1.8.4-1~),
Package: openafs-client
Architecture: alpha amd64 arm arm64 armel armhf i386 ia64 powerpc powerpcspe ppc64 ppc64el s390 s390x sparc
Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6)
+Pre-Depends: ${misc:Pre-Depends}
Recommends: lsof, openafs-modules-dkms (>= ${source:Version})
| openafs-modules-source (>= ${source:Version})
| openafs-modules3
Architecture: alpha amd64 arm arm64 armel armhf i386 ia64 powerpc powerpcspe ppc64 ppc64el s390 s390x sparc
Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.0-6), openafs-client,
openafs-krb5 (>= 1.8.0~pre1-1)
+Pre-Depends: ${misc:Pre-Depends}
Recommends: ntp | time-daemon
Suggests: openafs-doc
Description: AFS distributed filesystem file server
DOC_PACKAGES = -popenafs-fuse
# 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.
+# can use dh_missing --fail-missing and catch anything new that shows up.
IGNORE = -XAuthLog -Xaklog_dynamic_auth.8 -Xcopyauth -Xdlog -Xdpass \
-Xfms.log -Xfs_chgrp.1 -Xfs_chown.1 -Xfs_cscpolicy.1 \
-Xfs_memdump.1 -Xfs_minidump.1 -Xfs_trace.1 \
| xz > 'openafs_$(DEBVERS).orig.tar.xz'
# Use dh for most actions, with overrides below.
+# openafs provides regen.sh that supersedes autoreconf.
%:
- dh $@ --with-systemd
+ dh $@ --without-autoreconf
# Handle the renaming of the up man page to afs-up here since the man pages
# are generated from POD source by regen.sh.
# that scripts we install are executable
override_dh_install-arch:
chmod +x debian/afs-rootvol debian/afs-newcell
- dh_install --fail-missing $(IGNORE)
+ dh_install $(IGNORE)
mv debian/openafs-client/usr/bin/pagsh \
debian/openafs-client/usr/bin/pagsh.openafs
# We don't want to stop the init scripts on upgrade.
override_dh_installinit:
- dh_systemd_enable
dh_installinit -popenafs-client -r
dh_installinit -popenafs-fileserver -r
+override_dh_installsystemd:
+ dh_installsystemd -r
+
# Symlink /usr/share/doc for some packages.
override_dh_installdocs:
dh_installdocs $(DOC_PACKAGES) --link-doc=openafs-client
override_dh_installchangelogs:
dh_installchangelogs NEWS
+# We want --fail-missing behavior, but --list-missing is the default
+override_dh_missing:
+ dh_missing --fail-missing $(IGNORE)
+
# Override some of our permissions.
override_dh_fixperms-arch:
dh_fixperms