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:
parent
e623ca0e28
commit
2c99cdce3e
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue