From 1a555da062f9a7eb21647efd7bf3521dde0846e7 Mon Sep 17 00:00:00 2001 From: Leon Yu <304902+leonyu@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:07:01 -0700 Subject: [PATCH] bind: Replace env_add_path with bins (#3472) This exposes dig.exe so it is searchable by `scoop search dig`. `dig` is a common tool used for advanced DNS lookup, it is part of `bind`, unless people know this, they might not know to install `bind`. Current `bind.json` adds bind `bin` path user's ENV, so no shim is necessary, this just make `dig` searchable. --- bucket/bind.json | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/bucket/bind.json b/bucket/bind.json index 2dc74339d4..27edf76465 100644 --- a/bucket/bind.json +++ b/bucket/bind.json @@ -21,7 +21,38 @@ "Remove-Item \"$dir\\*\" -Exclude 'bin'" ] }, - "env_add_path": "bin", + "bin": [ + "bin\\arpaname.exe", + "bin\\ddns-confgen.exe", + "bin\\delv.exe", + "bin\\dig.exe", + "bin\\dnssec-cds.exe", + "bin\\dnssec-dsfromkey.exe", + "bin\\dnssec-importkey.exe", + "bin\\dnssec-keyfromlabel.exe", + "bin\\dnssec-keygen.exe", + "bin\\dnssec-revoke.exe", + "bin\\dnssec-settime.exe", + "bin\\dnssec-signzone.exe", + "bin\\dnssec-verify.exe", + "bin\\host.exe", + "bin\\mdig.exe", + "bin\\named-checkconf.exe", + "bin\\named-checkzone.exe", + "bin\\named-compilezone.exe", + "bin\\named-journalprint.exe", + "bin\\named-rrchecker.exe", + "bin\\named.exe", + "bin\\nsec3hash.exe", + [ + "bin\\nslookup.exe", + "nslookup-bind" + ], + "bin\\nsupdate.exe", + "bin\\rndc-confgen.exe", + "bin\\rndc.exe", + "bin\\tsig-keygen.exe" + ], "persist": "etc", "checkver": { "url": "https://www.isc.org/download/",