~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to debian/kernel-patch-freeswan.apply

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
#
3
 
# (C) 1998 Manoj Srivastava & Eric Delaunay.
4
 
 
5
 
set -e
6
 
 
7
 
ARCHITECTURE=all
8
 
PATCHNAME=freeswan
9
 
PATCHDIR=/usr/src/kernel-patches/$ARCHITECTURE/freeswan
10
 
#PATCHDIR=`dirname $0`/../$PATCHNAME
11
 
 
12
 
if ! test -d kernel -a -d Documentation ; then
13
 
    echo "Not in kernel top level directory. Exiting" >&2
14
 
    exit 1
15
 
fi
16
 
 
17
 
if test -f debian/APPLIED_${ARCHITECTURE}_$PATCHNAME ; then
18
 
   exit 0               # patch already applied
19
 
fi
20
 
 
21
 
rm -rf net/ipsec
22
 
KERNELDIR=`pwd`
23
 
 
24
 
make -C "$PATCHDIR" -f Makefile insert \
25
 
        KERNELSRC="$KERNELDIR"\
26
 
        PATCHER="./patcher" \
27
 
        KLIPSLINK="cp -a"
28
 
 
29
 
mkdir -p debian && touch debian/APPLIED_${ARCHITECTURE}_$PATCHNAME