pkgsrc/net/vpnc/patches/patch-af
sketch 7b7a2b619a 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.
2008-05-29 20:50:31 +00:00

13 lines
312 B
Text

$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