diff options
author | sketch <sketch@pkgsrc.org> | 2008-05-29 20:50:31 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2008-05-29 20:50:31 +0000 |
commit | 7b7a2b619a34087987071eaec404ed16173b4b0f (patch) | |
tree | 374bcf9b2fd2977980170c0a046a03e243ccf5a0 /net/vpnc/patches/patch-af | |
parent | 71d1e5e89498bf82120a4b02ee2fb8f9523808d1 (diff) | |
download | pkgsrc-7b7a2b619a34087987071eaec404ed16173b4b0f.tar.gz |
Bunch of fixes to get this working for me, including:
- support $VARBASE
- vpnc.conf was installed in the wrong place, rather than move it use
default.conf instead to mirror what vpnc does natively, and install
with secure permissions (as it contains passwords)
- shell portability
Bump PKGREVISION. Ok'd Jukka/Hubert.
Diffstat (limited to 'net/vpnc/patches/patch-af')
-rw-r--r-- | net/vpnc/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net/vpnc/patches/patch-af b/net/vpnc/patches/patch-af new file mode 100644 index 00000000000..04ce13dd085 --- /dev/null +++ b/net/vpnc/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2008/05/29 20:50:31 sketch Exp $ + +--- vpnc-disconnect.orig 2005-05-01 21:00:41.000000000 +0100 ++++ vpnc-disconnect 2008-05-29 14:02:23.000000000 +0100 +@@ -1,6 +1,6 @@ +-#!/bin/sh ++#!@SH@ + +-pid=/var/run/vpnc/pid ++pid=@VARBASE@/run/vpnc/pid + + if [ $# -ne 0 ]; then + echo "Usage: $0" 1>&2 |