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

« back to all changes in this revision

Viewing changes to programs/setup/setup.in

  • 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:
13
13
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14
14
# for more details.
15
15
#
16
 
# RCSID $Id: setup.in,v 1.119 2003/12/02 02:35:46 ken Exp $
 
16
# RCSID $Id: setup.in,v 1.120 2004/03/22 00:24:06 hugh Exp $
17
17
#
18
18
# ipsec         init.d script for starting and stopping
19
19
#               the IPsec security subsystem (KLIPS and Pluto).
33
33
 
34
34
me='ipsec setup'                # for messages
35
35
 
36
 
 
37
36
# where the private directory and the config files are
38
37
IPSEC_EXECDIR="${IPSEC_EXECDIR-@IPSEC_EXECDIR@}"
39
38
IPSEC_LIBDIR="${IPSEC_LIBDIR-@IPSEC_LIBDIR@}"
116
115
                exit 1
117
116
        fi
118
117
        tmp=/var/run/ipsec_setup.st
 
118
        outtmp=/var/run/ipsec_setup.out
119
119
        (
120
120
                ipsec _realsetup $1
121
121
                echo "$?" >$tmp
122
 
        ) 2>&1 | logger -s -p $IPSECsyslog -t ipsec_setup 2>&1
 
122
        ) > ${outtmp} 2>&1
123
123
        st=$?
124
124
        if test -f $tmp
125
125
        then
126
126
                st=`cat $tmp`
127
127
                rm -f $tmp
128
128
        fi
 
129
        if [ -f ${outtmp} ]; then
 
130
                cat ${outtmp} | logger -s -p $IPSECsyslog -t ipsec_setup 2>&1
 
131
                rm -f ${outtmp}
 
132
        fi
129
133
        exit $st
130
134
        ;;
131
135