Russ Allbery [Wed, 17 Jun 2009 20:50:09 +0000 (13:50 -0700)]
Build and install the new DocBook manuals
Install generated PDF and HTML from the new DocBook manuals. Install
only ka2heim.txt from the txt directory; the other things in there aren't
horribly useful. Stop installing the old HTML documentation. Add the
required additional configure options for the DocBook documentation build.
* Apply upstream CVS deltas:
- STABLE14-memcache-write-on-laststore-20090512: write back dirty
pages on last store with memcache to avoid losing changes.
* Apply upstream CVS deltas:
- STABLE14-linux-mmap-antirecursion-fix-20090512: improvements in
flag setting and locking around recursive mmap protection.
* Apply upstream CVS deltas:
- STABLE14-linux26-defer-cred-changing-20090511: defer changing groups
when the real and effective credentials of a process differ to avoid
running afoul of checks in newer Linux kernels that cause oops.
(Closes: #528785)
Russ Allbery [Tue, 26 May 2009 23:28:10 +0000 (16:28 -0700)]
Dynamically determine versions for dkms.conf and get-orig-source
* Dynamically determine the Debian and upstream versions for dkms.conf
and get-orig-source from debian/changelog. Thanks, Anders Kaseorg.
(LP: #364426)
Russ Allbery [Tue, 26 May 2009 19:00:29 +0000 (12:00 -0700)]
Enable DKMS support
* Provide an openafs-modules-dkms package that uses DKMS to dynamically
build kernel modules for the local kernel and document this option in
README.modules. This is an alternative to installing
openafs-modules-source and building kernel modules for each new kernel
with module-assistant or make-kpkg. (Closes: #168852, #525131)
(LP: #52786, #364426, #369875)
* Have openafs-client recommend at least the current source version of
openafs-modules-source or openafs-modules-dkms instead of any old
version. While the API probably hasn't changed, it's best practice to
keep a relatively close match between the userspace andn the kernel
module version. (LP: #369875)
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.