mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 16:51:20 +00:00
Add unbound
This commit is contained in:
parent
1947f76790
commit
f5b9882ba0
40
unbound.json
Normal file
40
unbound.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"homepage": "http://unbound.net/",
|
||||
"version": "1.6.2",
|
||||
"license": "BSD",
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "http://unbound.net/downloads/unbound-1.6.2.zip",
|
||||
"hash": "f109ee38b2f7f34043555dda54f3af017c5164c47a12d977594ee56557b059f8"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "http://unbound.net/downloads/unbound-1.6.2-w32.zip",
|
||||
"hash": "46cef0c2d47b4d622f4a83456f677ddb124498a69011d14c97e2c8251e00be7d"
|
||||
}
|
||||
},
|
||||
"bin": "unbound.ps1",
|
||||
"persist": "service.conf",
|
||||
"suggest": [
|
||||
"openssl",
|
||||
"openssl10x"
|
||||
],
|
||||
"checkver": {
|
||||
"url": "http://unbound.net/download.html",
|
||||
"re": "\\(currently ([\\d.]+)\\)"
|
||||
},
|
||||
"autoupdate": {
|
||||
"architecture": {
|
||||
"64bit": {
|
||||
"url": "http://unbound.net/downloads/unbound-$version.zip"
|
||||
},
|
||||
"32bit": {
|
||||
"url": "http://unbound.net/downloads/unbound-$version-w32.zip"
|
||||
}
|
||||
},
|
||||
"hash": {
|
||||
"url": "$url.sha256"
|
||||
}
|
||||
},
|
||||
"pre_install": "echo \"if (`$args.count -eq 0) {`n `t`Start-Process -WorkingDirectory `\"`$psscriptroot`\" -f unbound.exe -a '-c service.conf'-WindowStyle Hidden`n`tWrite-Host -F Green `\"Unbound started in background.``nRun 'ps -n unbound' to show the processes``nRun 'kill -n unbound' to stop the processes`\"`n} else {`n`t& `$psscriptroot @args `n}\" | out-file $dir\\unbound.ps1 -append",
|
||||
"post_install": "(gc \"$dir\\create_unbound_ad_servers.cmd\").Replace('C:\\Program Files (x86)', $pwd) | sc \"$dir\\create_unbound_ad_servers.cmd\""
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user