3
0
Fork 0
forked from mirrors/nixpkgs

Adding examples to share directory

The easy-rsa example contains scripts for generating certificates.

svn path=/nixpkgs/trunk/; revision=33550
This commit is contained in:
Russell O'Connor 2012-04-02 22:05:02 +00:00
parent e623ca0e28
commit 2c99cdce3e

View file

@ -16,6 +16,15 @@ stdenv.mkDerivation rec {
--with-iproute-path=${iproute}/sbin/ip
'';
postInstall = ''
mkdir -p $out/share/doc/openvpn/examples
cp -r sample-config-files/ $out/share/doc/openvpn/examples
cp -r sample-keys/ $out/share/doc/openvpn/examples
cp -r easy-rsa/ $out/share/doc/openvpn/examples
rm -r $out/share/doc/openvpn/examples/easy-rsa/Windows
cp -r sample-scripts/ $out/share/doc/openvpn/examples
'';
meta = {
description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes.";
homepage="http://openvpn.net/";