summaryrefslogtreecommitdiff
path: root/homebrew/pdnsrec
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/pdnsrec
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/pdnsrec')
-rw-r--r--homebrew/pdnsrec/.beer48
-rw-r--r--homebrew/pdnsrec/.make.sh-auto5
-rw-r--r--homebrew/pdnsrec/_metadata/description1
-rw-r--r--homebrew/pdnsrec/_metadata/homepage1
-rw-r--r--homebrew/pdnsrec/_metadata/name1
-rw-r--r--homebrew/pdnsrec/_metadata/version1
-rwxr-xr-xhomebrew/pdnsrec/download.sh1
7 files changed, 58 insertions, 0 deletions
diff --git a/homebrew/pdnsrec/.beer b/homebrew/pdnsrec/.beer
new file mode 100644
index 000000000..aae611497
--- /dev/null
+++ b/homebrew/pdnsrec/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Pdnsrec",
+ "description": "Non-authoritative/recursing DNS server",
+ "url": "https://downloads.powerdns.com/releases/pdns-recursor-4.1.4.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.powerdns.com/recursor.html",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "boost",
+ "build-depend": false
+ },
+ {
+ "depend": "gcc",
+ "build-depend": false
+ },
+ {
+ "depend": "lua",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.cxx11",
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--sysconfdir=#{etc}/powerdns",
+ "--disable-silent-rules",
+ "--with-boost=#{Formula[\"boost\"].opt_prefix}",
+ "--with-libcrypto=#{Formula[\"openssl\"].opt_prefix}",
+ "--with-lua",
+ "--without-net-snmp",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "4.1.4",
+ "file": "pdnsrec.rb"
+} \ No newline at end of file
diff --git a/homebrew/pdnsrec/.make.sh-auto b/homebrew/pdnsrec/.make.sh-auto
new file mode 100644
index 000000000..74fff2326
--- /dev/null
+++ b/homebrew/pdnsrec/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+ENV.cxx11
+args = %W[--prefix=#{prefix} --sysconfdir=#{etc}/powerdns --disable-silent-rules --with-boost=#{Formula["boost"].opt_prefix} --with-libcrypto=#{Formula["openssl"].opt_prefix} --with-lua --without-net-snmp ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/pdnsrec/_metadata/description b/homebrew/pdnsrec/_metadata/description
new file mode 100644
index 000000000..3278ef9bb
--- /dev/null
+++ b/homebrew/pdnsrec/_metadata/description
@@ -0,0 +1 @@
+Non-authoritative/recursing DNS server
diff --git a/homebrew/pdnsrec/_metadata/homepage b/homebrew/pdnsrec/_metadata/homepage
new file mode 100644
index 000000000..940345bae
--- /dev/null
+++ b/homebrew/pdnsrec/_metadata/homepage
@@ -0,0 +1 @@
+https://www.powerdns.com/recursor.html
diff --git a/homebrew/pdnsrec/_metadata/name b/homebrew/pdnsrec/_metadata/name
new file mode 100644
index 000000000..57374db71
--- /dev/null
+++ b/homebrew/pdnsrec/_metadata/name
@@ -0,0 +1 @@
+Pdnsrec
diff --git a/homebrew/pdnsrec/_metadata/version b/homebrew/pdnsrec/_metadata/version
new file mode 100644
index 000000000..a95f28844
--- /dev/null
+++ b/homebrew/pdnsrec/_metadata/version
@@ -0,0 +1 @@
+4.1.4
diff --git a/homebrew/pdnsrec/download.sh b/homebrew/pdnsrec/download.sh
new file mode 100755
index 000000000..1d4e00993
--- /dev/null
+++ b/homebrew/pdnsrec/download.sh
@@ -0,0 +1 @@
+wget https://downloads.powerdns.com/releases/pdns-recursor-4.1.4.tar.bz2 \ No newline at end of file