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

Last change on this file since 2565 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
RevLine 
[2316]1#!/bin/sh
2set -e
3
4name=openafs
[2374]5ivversionappend=+invirt3
[2316]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
[2363]13 encrypting communication with the ptserver, and to include
[2374]14 PIC versions of the AFS libraries.
[2316]15EOF
[2363]16
17    QUILT_PATCHES=debian/patches quilt import "$dir/secure-pts"
[2316]18    add_changelog 'Allow encrypting requests to the ptserver.'
[2363]19
[2374]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.'
[2363]24
[2316]25    add_invirt_provides
26    munge_sections
27}
28
29. ../common/invirtificator.sh
Note: See TracBrowser for help on using the repository browser.