diff options
Diffstat (limited to 'homebrew/unbound/.beer')
-rw-r--r-- | homebrew/unbound/.beer | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/unbound/.beer b/homebrew/unbound/.beer new file mode 100644 index 000000000..34d3e3766 --- /dev/null +++ b/homebrew/unbound/.beer @@ -0,0 +1,29 @@ +{ + "name": "Unbound", + "description": "Validating, recursive, caching DNS resolver", + "url": "https://nlnetlabs.nl/downloads/unbound/unbound-1.9.1.tar.gz", + "mirror": null, + "homepage": "https://www.unbound.net", + "depends": [ + { + "depend": "libevent", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "conf = etc/\"unbound/unbound.conf\"", + "return unless conf.exist?", + "return unless conf.read.include?('username: \"@@HOMEBREW-UNBOUND-USER@@\"')", + "inreplace conf, 'username: \"@@HOMEBREW-UNBOUND-USER@@\"',", + "\"username: \\\"#{ENV[\"USER\"]}\\\"\"" + ], + "version": "1.9.1", + "file": "unbound.rb" +}
\ No newline at end of file |