forked from ScoopInstaller/Extras
-
Notifications
You must be signed in to change notification settings - Fork 0
/
easyrsa.json
35 lines (35 loc) · 1.22 KB
/
easyrsa.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"homepage": "https://openvpn.net/easyrsa.html",
"version": "3.0.4",
"license": "GPL-2.0",
"url": "https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.zip",
"hash": "e2fb5f5c7d62fcfe8c0de931319e2072163d3c26ae2c66410e00ee3d8b87047b",
"extract_dir": "EasyRSA-3.0.4",
"post_install": [
"@\"",
"setup_path=\"$($dir -replace \"\\\\\", \"/\")\"",
"export EASYRSA=\"`${setup_path}\"",
"export EASYRSA_PKI=\"`${setup_path}/keys/pki\"",
"export PATH=\"`${setup_path};`${setup_path}/bin;`${PATH}\"",
"export HOME=\"`${setup_path}\"",
"export ENV=\"/disable-env\"",
"`${setup_path}/easyrsa $*",
"\"@ | out-file -en oem $dir\\easyrsa-wrapper.sh",
"if (!(Test-Path -Path \"$dir\\keys\\pki\")) { easyrsa init-pki }"
],
"bin": [
[
"bin\\sh.exe",
"easyrsa",
"$dir\\easyrsa-wrapper.sh"
]
],
"persist": "keys",
"checkver": {
"github": "https://github.com/OpenVPN/easy-rsa"
},
"autoupdate": {
"url": "https://github.com/OpenVPN/easy-rsa/releases/download/v$version/EasyRSA-$version.zip",
"extract_dir": "EasyRSA-$version"
}
}