summaryrefslogtreecommitdiff
path: root/homebrew/knotresolver
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/knotresolver
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/knotresolver')
-rw-r--r--homebrew/knotresolver/.beer53
-rw-r--r--homebrew/knotresolver/_metadata/description1
-rw-r--r--homebrew/knotresolver/_metadata/homepage1
-rw-r--r--homebrew/knotresolver/_metadata/name1
-rw-r--r--homebrew/knotresolver/_metadata/version1
-rwxr-xr-xhomebrew/knotresolver/download.sh1
6 files changed, 58 insertions, 0 deletions
diff --git a/homebrew/knotresolver/.beer b/homebrew/knotresolver/.beer
new file mode 100644
index 000000000..b882b9cdf
--- /dev/null
+++ b/homebrew/knotresolver/.beer
@@ -0,0 +1,53 @@
+{
+ "name": "KnotResolver",
+ "description": "Minimalistic, caching, DNSSEC-validating DNS resolver",
+ "url": "https://secure.nic.cz/files/knot-resolver/knot-resolver-3.2.1.tar.xz",
+ "mirror": null,
+ "homepage": "https://www.knot-resolver.cz",
+ "depends": [
+ {
+ "depend": "cmocka",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gnutls",
+ "build-depend": false
+ },
+ {
+ "depend": "knot",
+ "build-depend": false
+ },
+ {
+ "depend": "libuv",
+ "build-depend": false
+ },
+ {
+ "depend": "lmdb",
+ "build-depend": false
+ },
+ {
+ "depend": "luajit",
+ "build-depend": false
+ },
+ {
+ "depend": "nettle",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "cp \"etc/root.hints\", buildpath",
+ "(etc/\"kresd\").install \"root.hints\"",
+ "%w[all lib-install daemon-install client-install modules-install",
+ "check].each do |target|",
+ "system \"make\", target, \"PREFIX=#{prefix}\", \"ETCDIR=#{etc}/kresd\""
+ ],
+ "version": "3.2.1",
+ "file": "knot-resolver.rb"
+} \ No newline at end of file
diff --git a/homebrew/knotresolver/_metadata/description b/homebrew/knotresolver/_metadata/description
new file mode 100644
index 000000000..abe84b6d7
--- /dev/null
+++ b/homebrew/knotresolver/_metadata/description
@@ -0,0 +1 @@
+Minimalistic, caching, DNSSEC-validating DNS resolver
diff --git a/homebrew/knotresolver/_metadata/homepage b/homebrew/knotresolver/_metadata/homepage
new file mode 100644
index 000000000..719292cdc
--- /dev/null
+++ b/homebrew/knotresolver/_metadata/homepage
@@ -0,0 +1 @@
+https://www.knot-resolver.cz
diff --git a/homebrew/knotresolver/_metadata/name b/homebrew/knotresolver/_metadata/name
new file mode 100644
index 000000000..50c7a64c2
--- /dev/null
+++ b/homebrew/knotresolver/_metadata/name
@@ -0,0 +1 @@
+KnotResolver
diff --git a/homebrew/knotresolver/_metadata/version b/homebrew/knotresolver/_metadata/version
new file mode 100644
index 000000000..e4604e3af
--- /dev/null
+++ b/homebrew/knotresolver/_metadata/version
@@ -0,0 +1 @@
+3.2.1
diff --git a/homebrew/knotresolver/download.sh b/homebrew/knotresolver/download.sh
new file mode 100755
index 000000000..86388a59d
--- /dev/null
+++ b/homebrew/knotresolver/download.sh
@@ -0,0 +1 @@
+wget https://secure.nic.cz/files/knot-resolver/knot-resolver-3.2.1.tar.xz \ No newline at end of file