Instead of installing the (somewhat broken) AFS shared libraries,
[invirt/third/openafs.git] / invirtify-openafs
1 #!/bin/sh
2 set -e
3
4 name=openafs
5 ivversionappend=+invirt3
6
7 dir=$(cd "$(dirname "$0")"; pwd)
8
9 hack_package () {
10     append_description <<EOF
11  .
12  This package was rebuilt for the Invirt project to allow
13  encrypting communication with the ptserver, and to include
14  PIC versions of the AFS libraries.
15 EOF
16
17     QUILT_PATCHES=debian/patches quilt import "$dir/secure-pts"
18     add_changelog 'Allow encrypting requests to the ptserver.'
19
20     QUILT_PATCHES=debian/patches quilt import "$dir/pic-afs-libs"
21     echo 'debian/tmp/usr/lib/libafsauthent_pic.a  usr/lib' >>debian/libopenafs-dev.install
22     echo 'debian/tmp/usr/lib/libafsrpc_pic.a      usr/lib' >>debian/libopenafs-dev.install
23     add_changelog 'Install PIC versions of libraries.'
24
25     add_invirt_provides
26     munge_sections
27 }
28
29 . ../common/invirtificator.sh