Package: vpnc
Version: 0.5.0-1
Followup-For: Bug #444859

I've created a patch that does what the submitter proposes.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22 (SMP w/1 CPU core)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vpnc depends on:
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries
ii  libgcrypt11                   1.2.4-2    LGPL Crypto library - runtime libr

Versions of packages vpnc recommends:
ii  iproute                       20070313-1 Professional tools to control the 
ii  resolvconf                    1.37       nameserver information handler

-- no debconf information
--- vpnc-script 2007-08-30 12:51:30.000000000 +0200
+++ vpnc-script-new     2007-10-16 19:28:59.000000000 +0200
@@ -335,7 +335,7 @@
 # Suse provides a script that modifies resolv.conf. Use it because it will
 # restart/reload all other services that care about it (e.g. lwresd).
 
-function modify_resolvconf_suse()
+modify_resolvconf_suse()
 {
        RESOLV_OPTS=''
        test -n "$INTERNAL_IP4_DNS" && RESOLV_OPTS="-n \"$INTERNAL_IP4_DNS\""
@@ -344,7 +344,7 @@
 }
 
 # Restore resolv.conf to old contents on Suse
-function restore_resolvconf_suse()
+restore_resolvconf_suse()
 {
        /sbin/modify_resolvconf restore -s vpnc -p $SCRIPTNAME -f 
$FULL_SCRIPTNAME -e $TUNDEV
 }

Reply via email to