Russ Allbery [Sat, 22 Aug 2009 19:07:03 +0000 (12:07 -0700)]
Change /var/lib/openafs/local permissions to 700
* Change the permissions of /var/lib/openafs/local to 0700 to match
upstream defaults. This directory contains the fssync.sock file used
for coordination between the fileserver and the volserver, and
commands sent to that socket are not authenticated. Linux protects
the socket from unprivileged writes by default, but other operating
systems do not. Upstream therefore wants this directory to be 0700
and bosserver will complain by default if it's not. Changing the
permissions let us drop a patch to bosserver.
Russ Allbery [Sat, 22 Aug 2009 18:10:20 +0000 (11:10 -0700)]
Change the source package name of the module source
* Change the source package name of the stripped package generated by
openafs-modules-source so that, should someone build a Debian source
package from it, it won't have the same name as the main openafs
source package.
Russ Allbery [Thu, 20 Aug 2009 21:48:18 +0000 (14:48 -0700)]
Update to standards version 3.8.3
* Update standards version to 3.8.3.
- Change section of packages generated by openafs-modules-source to
kernel.
- Add Homepage to packages generated by openafs-modules-source.
* Bring src/config/linux-version closer to upstream since upstream now
handles unversioned source directories. There is one remaining change
required to search for UTS_RELEASE in the correct header path.
Ignore dkms failure in the prerm of openafs-modules-dkms
* Ignore failures to remove an existing DKMS tree in the prerm of the
openafs-modules-dkms package. In the possible cases where the tree
may not be present to be removed, failing package removal doesn't
make sense. (Further addresses LP #368471.)
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.