2020-05-19 09:01:48 +00:00

79 lines
2.5 KiB
JSON

{
"homepage": "https://nlnetlabs.nl/projects/unbound/about/",
"description": "A validating, recursive, caching DNS resolver",
"version": "1.10.1",
"license": "BSD-3-Clause",
"suggest": {
"openssl": [
"openssl",
"openssl-mingw",
"versions/openssl10",
"versions/openssl-light",
"versions/openssl10-light"
],
"wget": "wget"
},
"architecture": {
"64bit": {
"url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_1.10.1.exe#/dl.7z",
"hash": "165f645ecd8d830c92068a7b47487d458df7d538bdec3bc0bfd88c7bfc00bce5"
},
"32bit": {
"url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_1.10.1-w32.exe#/dl.7z",
"hash": "be98c12855eb1c81bca227850264e05fb4fc87c6d8f7e8749e11f146a27f225b"
}
},
"pre_install": [
"$content = Get-Content \"$dir\\unbound-control-setup.cmd\"",
"$content = $content -replace 'C:\\\\Program Files( \\(x86\\))?', (Convert-Path \"$dir\\..\")",
"$content = $content -replace '%prefix%\\\\Unbound', '%prefix%\\current'",
"Set-Content \"$dir\\unbound-control-setup.cmd\" $content -Encoding Ascii",
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\uninst.exe\" -Recurse"
],
"bin": [
[
"unbound.exe",
"unbound",
"-c \"$dir\\service.conf\""
],
[
"unbound-anchor.exe",
"unbound-anchor",
"-a \"$dir\\root.key\""
],
[
"unbound-checkconf.exe",
"unbound-checkconf",
"\"$dir\\service.conf\""
],
[
"unbound-control.exe",
"unbound-control",
"-c \"$dir\\service.conf\""
],
"unbound-control-setup.cmd",
"unbound-host.exe"
],
"persist": [
"service.conf",
"root.key"
],
"checkver": {
"url": "https://nlnetlabs.nl/projects/unbound/download/",
"regex": "Unbound ([\\d.]+) \\(Current version\\)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_$version.exe#/dl.7z"
},
"32bit": {
"url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_$version-w32.exe#/dl.7z"
}
},
"hash": {
"url": "$url.sha256"
}
}
}