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

« back to all changes in this revision

Viewing changes to debian/freeswan.preinst

  • 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
 
# preinst script for freeswan
3
 
#
4
 
# see: dh_installdeb(1)
5
 
 
6
 
set -e
7
 
 
8
 
# summary of how this script can be called:
9
 
#        * <new-preinst> `install'
10
 
#        * <new-preinst> `install' <old-version>
11
 
#        * <new-preinst> `upgrade' <old-version>
12
 
#        * <old-preinst> `abort-upgrade' <new-version>
13
 
#
14
 
# For details see /usr/share/doc/packaging-manual/
15
 
 
16
 
case "$1" in
17
 
    install|upgrade)
18
 
#        if [ "$1" = "upgrade" ]
19
 
#        then
20
 
#            start-stop-daemon --stop --quiet --oknodo  \
21
 
#                --pidfile /var/run/freeswan.pid  \
22
 
#                --exec /usr/sbin/freeswan 2>/dev/null || true
23
 
#        fi
24
 
    ;;
25
 
 
26
 
    abort-upgrade)
27
 
    ;;
28
 
 
29
 
    *)
30
 
        echo "preinst called with unknown argument \`$1'" >&2
31
 
        exit 0
32
 
    ;;
33
 
esac
34
 
 
35
 
# dh_installdeb will replace this with shell code automatically
36
 
# generated by other debhelper scripts.
37
 
 
38
 
#DEBHELPER#
39
 
 
40
 
exit 0
41
 
 
42