On Tue, Apr 02, 2013 at 11:30:25AM +0100, Stuart Henderson wrote:
> On 2013/04/02 10:58, Bj?rn Ketelaars wrote:
> > Easy-rsa is no longer bundled with OpenVPN source code (>2.3)
> > archives. It now requires a separate install.
> > 
> > Enclosed a port.
> 
> Could you add this (or something like it) in post-install please?
> 
> mv ${PREFIX}/share/examples/easy-rsa/vars{,.dist}
> 
> and change this in PLIST:
> 
> -share/examples/easy-rsa/vars
> +share/examples/easy-rsa/vars.dist
> +@sample share/examples/easy-rsa/vars
> 
> This way, when people upgrade after editing vars, they don't have a
> conflict in the file. (I had a diff to do this in the openvpn port,
> but there doesn't seem much point pushing it now that 2.3 has removed
> it from openvpn).
> 
> Actually I wonder if it might be better to put the files in
> /usr/local/share/easy-rsa, what do you think?
> 
> Small tweak to PLIST:
> 
> "While this tool is primary concerned with key management..."
> -> "While this tool is primarily concerned with key management..."

done.

After thinking about it, I slightly prefer using ${PREFIX}/share/easy-rsa.
Only reason I have is that this is the default location for the
files and thus saves sending an argument to configure.

Attachment: easy-rsa.tgz
Description: application/tar-gz

Reply via email to