diff options
author | cpm <cpm@FreeBSD.org> | 2017-08-26 10:25:12 +0000 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2017-08-26 10:25:12 +0000 |
commit | f6d4b0f6fedb033ecdf7473e9143e98a5a0c8f5e (patch) | |
tree | a3cc9cb2105d90b9416d8e50d2e52d70e97751ef | |
parent | 527396a5da22372981c541f480afd40decaba5d1 (diff) | |
download | FreeBSD-ports-f6d4b0f6fedb033ecdf7473e9143e98a5a0c8f5e.zip FreeBSD-ports-f6d4b0f6fedb033ecdf7473e9143e98a5a0c8f5e.tar.gz |
MFH: r448580
- Update to 1.2.0
- Remove patch that was upstreamed
- Switch from devel/llvm39 to devel/llvm40 when building on 10.3
- Update WWW in pkg-descr
Changes: https://mailman.powerdns.com/pipermail/dnsdist/2017-August/000358.html
Security: CVE-2016-7069
Security: CVE-2017-7557
Approved by: ports-secteam (delphij)
-rw-r--r-- | dns/dnsdist/Makefile | 9 | ||||
-rw-r--r-- | dns/dnsdist/distinfo | 6 | ||||
-rw-r--r-- | dns/dnsdist/files/patch-ext_json11_json11.cpp | 36 | ||||
-rw-r--r-- | dns/dnsdist/pkg-descr | 2 |
4 files changed, 8 insertions, 45 deletions
diff --git a/dns/dnsdist/Makefile b/dns/dnsdist/Makefile index e18ee62..b3ece25 100644 --- a/dns/dnsdist/Makefile +++ b/dns/dnsdist/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= dnsdist -DISTVERSION= 1.1.0 -PORTREVISION= 6 +DISTVERSION= 1.2.0 CATEGORIES= dns net MASTER_SITES= https://downloads.powerdns.com/releases/ \ LOCAL/cpm @@ -42,9 +41,9 @@ USE_RC_SUBR= dnsdist # Fix dnsdist binaries when building on FreeBSD 10.3 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 -BUILD_DEPENDS+= clang39:devel/llvm39 -CC= clang39 -CXX= clang++39 +BUILD_DEPENDS+= clang40:devel/llvm40 +CC= clang40 +CXX= clang++40 .endif post-install: diff --git a/dns/dnsdist/distinfo b/dns/dnsdist/distinfo index 044b5a9..ce6b5a6 100644 --- a/dns/dnsdist/distinfo +++ b/dns/dnsdist/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1483106940 -SHA256 (dnsdist-1.1.0.tar.bz2) = b4a1e8931b6d05a24494f54224211c0de0eeb1f5ff170f6b9f5665219bfeafc2 -SIZE (dnsdist-1.1.0.tar.bz2) = 874837 +TIMESTAMP = 1503429670 +SHA256 (dnsdist-1.2.0.tar.bz2) = 9885c9ee8ac7076aede586ea58d4642eb877e7b2d76c902254494e2a5a5faa78 +SIZE (dnsdist-1.2.0.tar.bz2) = 876104 diff --git a/dns/dnsdist/files/patch-ext_json11_json11.cpp b/dns/dnsdist/files/patch-ext_json11_json11.cpp deleted file mode 100644 index 600308e..0000000 --- a/dns/dnsdist/files/patch-ext_json11_json11.cpp +++ /dev/null @@ -1,36 +0,0 @@ ---- ext/json11/json11.cpp.orig 2017-01-18 02:13:48 UTC -+++ ext/json11/json11.cpp -@@ -37,11 +37,20 @@ using std::make_shared; - using std::initializer_list; - using std::move; - -+/* Helper for representing null - just a do-nothing struct, plus comparison -+ * operators so the helpers in JsonValue work. We can't use nullptr_t because -+ * it may not be orderable. -+*/ -+struct NullStruct { -+ bool operator==(NullStruct) const { return true; } -+ bool operator<(NullStruct) const { return false; } -+}; -+ - /* * * * * * * * * * * * * * * * * * * * - * Serialization - */ - --static void dump(std::nullptr_t, string &out) { -+static void dump(NullStruct, string &out) { - out += "null"; - } - -@@ -204,9 +213,9 @@ public: - explicit JsonObject(Json::object &&value) : Value(move(value)) {} - }; - --class JsonNull final : public Value<Json::NUL, std::nullptr_t> { -+class JsonNull final : public Value<Json::NUL, NullStruct> { - public: -- JsonNull() : Value(nullptr) {} -+ JsonNull() : Value({}) {} - }; - - /* * * * * * * * * * * * * * * * * * * * diff --git a/dns/dnsdist/pkg-descr b/dns/dnsdist/pkg-descr index bb027a0..b2ea9cc 100644 --- a/dns/dnsdist/pkg-descr +++ b/dns/dnsdist/pkg-descr @@ -3,4 +3,4 @@ goal in life is to route DNS traffic to the best DNS server, delivering top performance to legitimate users while shunting or blocking abusive traffic. -WWW: http://dnsdist.org +WWW: https://dnsdist.org |