source: trunk/third/openafs/invirtify-openafs @ 3025

Last change on this file since 3025 was 2374, checked in by broder, 15 years ago

Instead of installing the (somewhat broken) AFS shared libraries,
backport bbab48b047000db0d1821e2f65917c2e8c2c7768 from the AFS tree to
build and install PIC versions of the libraries.

  • Property svn:executable set to *
File size: 808 bytes
Line 
1#!/bin/sh
2set -e
3
4name=openafs
5ivversionappend=+invirt3
6
7dir=$(cd "$(dirname "$0")"; pwd)
8
9hack_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.
15EOF
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
Note: See TracBrowser for help on using the repository browser.