head 1.2; access; symbols pkgsrc-2018Q1:1.1.0.2 pkgsrc-2018Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2018.06.24.07.31.09; author adam; state dead; branches; next 1.1; commitid 5RieoiRB24HimvHA; 1.1 date 2018.01.15.09.26.23; author jnemeth; state Exp; branches; next ; commitid YI1fC9ZNVR4T8XmA; desc @@ 1.2 log @easy-rsa: downgraded to 3.0.4 (3.0.5 has not been released) @ text @$NetBSD: patch-easyrsa3_easyrsa,v 1.1 2018/01/15 09:26:23 jnemeth Exp $ Set a sane default for config file. Needs to be SUBSTed. --- easyrsa3/easyrsa.orig 2017-08-22 12:51:05.000000000 +0000 +++ easyrsa3/easyrsa @@@@ -1027,6 +1027,9 @@@@ vars_setup() { # EASYRSA, if defined: elif [ -n "$EASYRSA" ] && [ -f "$EASYRSA/vars" ]; then vars="$EASYRSA/vars" + # sysconf location: + elif [ -f "@@@@@@SYSCONF@@@@@@/vars" ]; then + vars="@@@@@@SYSCONF@@@@@@/vars" # program location: elif [ -f "$prog_vars" ]; then vars="$prog_vars" @ 1.1 log @set sane default location for config file @ text @d1 1 a1 1 $NetBSD$ @