For Debian, we don't ship the shared libraries due to concerns over the
stability of the interface. It's useful, however, to have a PIC library
for consumers of libopenafs-dev who want to link AFS code into shared
libraries. Generate static PIC versions of the two libraries that are
already built PIC for that purpose.
Build shadow header files if there is no unified kernel header tree
Debian's 2.6.29 packages no longer include symlinks from the
architecture-specific header tree to the common header tree; instead,
they use the kbuild machinery with multiple include paths to overlay
the two header files. Adjust both the Autoconf probes to always use
kbuild and the script that generates the build tree. For the latter,
when we don't have a unified header tree, we need to generate headers
in the place where the OpenAFS source expects them that include the
linux/* headers.
Russ Allbery [Fri, 27 Mar 2009 14:59:25 +0000 (07:59 -0700)]
Apply upstream delta to fix Ubik synchronization
* Apply upstream CVS deltas:
- STABLE14-uphys-invalidate-returns-void-20081130: fix apparent Ubik
synchronization errors due to incorrect use of a void return value.
Russ Allbery [Fri, 27 Mar 2009 14:48:21 +0000 (07:48 -0700)]
Apply upstream deltas to fix shutdown problems
* Apply upstream CVS deltas:
- STABLE14-cbr-free-what-you-alloc-20090325: dequeue items in the same
way they were allocated.
- STABLE14-shutdown-vcache-avoid-null-deref-20090324: avoid oops on
shutdown. (LP: #333197)
Russ Allbery [Wed, 18 Feb 2009 22:20:52 +0000 (14:20 -0800)]
Make openafs-modules-source arch: all
* Make openafs-modules-source architecture-specific (arch: any instead
of arch: all). The new method for generating the kernel source tree
only generates correct build machinery for the architecture on which
it was built, making the package architecture-specific. The generated
tree is so much smaller that this still only uses about 1MB of archive
space more than the old method and makes each openafs-modules-source
package much smaller. This is a workaround until we can fix
libafs_tree to include enough build machinery to handle all Linux
architectures from one source tree. (Closes: #516023)
Russ Allbery [Fri, 13 Feb 2009 03:40:45 +0000 (19:40 -0800)]
Fix creation of the openafs-modules-* packages
Also remove server documentation from openafs-modules-source and add
the README to openafs-modules-dkms, and remove DH_OPTIONS from
debian/rules since it's no longer needed.
Russ Allbery [Fri, 13 Feb 2009 02:02:30 +0000 (18:02 -0800)]
General improvements to debconf configuration handling
* General improvements to debconf configuration handling.
- Do not abort the config script if we have no default realm and
dnsdomainname fails. (LP: #274886, #318132)
- Do not abort postinst if we can't resolve any host name for the
cell. Just continue in that case, omitting any configuration for
the local cell. (LP: #322054)
- Correctly set the default for AFS_CRYPT from the existing config.
- The cache size is high, not critical, since we have a default.
- Don't create the client ThisCell if no local cell was specified.
- Improve the leading comment in afs.conf.client. Users can edit it,
but any changes other than the setting values will be lost.
- Remove the openafs-fileserver/bosconfig_moved template, which would
only be shown on upgrades from pre-1.2.0 versions.
- Standardize coding style and always quote strings.
Russ Allbery [Fri, 13 Feb 2009 01:27:03 +0000 (17:27 -0800)]
Don't exit successfully if sourcing the debconf module fails
* Abort the config script rather than exiting successfully if the
debconf shell module is not available. The config script should never
be run in the absence of debconf, so if this fails, something deeper
is wrong and we shouldn't blindly continue.
Russ Allbery [Fri, 13 Feb 2009 01:24:57 +0000 (17:24 -0800)]
Add initial DKMS support and compress module source with bzip2
* Add initial DKMS support via an openafs-modules-dkms package, based on
work by Robert Gerlach. (LP: #288743)
* Compress the source in openafs-modules-source with bzip2 instead of
gzip to reduce the package size.
Russ Allbery [Thu, 12 Feb 2009 21:23:20 +0000 (13:23 -0800)]
First cut at debhelper 7 support
* Update to debhelper compatibility level V7.
- Use dh where possible in debian/rules.
- Use dh_lintian to install Lintian overrides.
- Eliminate the configure target and do all the work in build.
- Do more in the install target and less in binary, matching the
default command stacks in dh.
- Use a debian/clean configuration file to let dh clean do more of the
work rather than using rm commands in debian/rules.
Russ Allbery [Sun, 1 Feb 2009 17:49:25 +0000 (09:49 -0800)]
Make dynroot the default for new installs
* Make dynroot the default for new installations. It works much better
with systems that don't bring up their network until late in the boot
process, such as wireless laptops. (LP: #318605)
Russ Allbery [Mon, 1 Dec 2008 03:01:39 +0000 (19:01 -0800)]
Improve README.modules
* Suggest module-assistant auto-install in README.modules and be clearer
that building one's own kernel is not required. Thanks, Anders
Kaseorg and Lutz Goehring for suggestions. (LP: #295897)
Russ Allbery [Mon, 6 Oct 2008 18:10:23 +0000 (11:10 -0700)]
Mention current packages in libpam-openafs-kaserver description
* Mention libpam-afs-session instead of libpam-openafs-session in the
description of libpam-openafs-kaserver, and mention libpam-krb5 by
name. Thanks, Philipp Kaluza. (Closes: #501308)