diff options
Diffstat (limited to 'homebrew/ldns')
-rw-r--r-- | homebrew/ldns/.beer | 37 | ||||
-rw-r--r-- | homebrew/ldns/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/ldns/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ldns/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ldns/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ldns/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ldns/download.sh | 1 |
7 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/ldns/.beer b/homebrew/ldns/.beer new file mode 100644 index 000000000..468f28ee0 --- /dev/null +++ b/homebrew/ldns/.beer @@ -0,0 +1,37 @@ +{ + "name": "Ldns", + "description": "DNS library written in C", + "url": "https://nlnetlabs.nl/downloads/ldns/ldns-1.7.0.tar.gz", + "mirror": null, + "homepage": "https://nlnetlabs.nl/projects/ldns/", + "depends": [ + { + "depend": "swig", + "build-depend": true + }, + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = %W[", + "--prefix=#{prefix}", + "--with-drill", + "--with-examples", + "--with-ssl=#{Formula[\"openssl\"].opt_prefix}", + "--with-pyldns", + "PYTHON_SITE_PKG=#{lib}/python2.7/site-packages", + "--disable-dane-verify", + "]", + "system \"./configure\", *args", + "inreplace \"Makefile\" do |s|", + "s.change_make_var! \"PYTHON_LDFLAGS\", \"-undefined dynamic_lookup\"", + "s.gsub! /(\\$\\(PYTHON_LDFLAGS\\).*) -no-undefined/, \"\\\\1\"" + ], + "version": "1.7.0", + "file": "ldns.rb" +}
\ No newline at end of file diff --git a/homebrew/ldns/.make.sh-auto b/homebrew/ldns/.make.sh-auto new file mode 100644 index 000000000..297ce0f30 --- /dev/null +++ b/homebrew/ldns/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +args = %W[--prefix=#{prefix} --with-drill --with-examples --with-ssl=#{Formula["openssl"].opt_prefix} --with-pyldns PYTHON_SITE_PKG=#{lib}/python2.7/site-packages --disable-dane-verify ] +pkg:configure *args +inreplace "Makefile" do |s| +s.change_make_var! "PYTHON_LDFLAGS", "-undefined dynamic_lookup" +s.gsub! /(\$\(PYTHON_LDFLAGS\).*) -no-undefined/, "\\1" diff --git a/homebrew/ldns/_metadata/description b/homebrew/ldns/_metadata/description new file mode 100644 index 000000000..c4282bda5 --- /dev/null +++ b/homebrew/ldns/_metadata/description @@ -0,0 +1 @@ +DNS library written in C diff --git a/homebrew/ldns/_metadata/homepage b/homebrew/ldns/_metadata/homepage new file mode 100644 index 000000000..b8c9addca --- /dev/null +++ b/homebrew/ldns/_metadata/homepage @@ -0,0 +1 @@ +https://nlnetlabs.nl/projects/ldns/ diff --git a/homebrew/ldns/_metadata/name b/homebrew/ldns/_metadata/name new file mode 100644 index 000000000..3ceba358d --- /dev/null +++ b/homebrew/ldns/_metadata/name @@ -0,0 +1 @@ +Ldns diff --git a/homebrew/ldns/_metadata/version b/homebrew/ldns/_metadata/version new file mode 100644 index 000000000..bd8bf882d --- /dev/null +++ b/homebrew/ldns/_metadata/version @@ -0,0 +1 @@ +1.7.0 diff --git a/homebrew/ldns/download.sh b/homebrew/ldns/download.sh new file mode 100755 index 000000000..3c5ae448e --- /dev/null +++ b/homebrew/ldns/download.sh @@ -0,0 +1 @@ +wget https://nlnetlabs.nl/downloads/ldns/ldns-1.7.0.tar.gz
\ No newline at end of file |