From owner-svn-ports-head@freebsd.org Tue Mar 22 02:14:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19167AD8A99; Tue, 22 Mar 2016 02:14:03 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CF9B6BCB; Tue, 22 Mar 2016 02:14:02 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2M2E2Nq018505; Tue, 22 Mar 2016 02:14:02 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2M2E1B9018501; Tue, 22 Mar 2016 02:14:01 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201603220214.u2M2E1B9018501@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Tue, 22 Mar 2016 02:14:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r411633 - in head/dns/dnsdist: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2016 02:14:03 -0000 Author: cpm Date: Tue Mar 22 02:14:01 2016 New Revision: 411633 URL: https://svnweb.freebsd.org/changeset/ports/411633 Log: - Update to 1.0.0-alpha2 - Replace USES=readline with USES=libedit - Remove ragel dependency because it's only required to compile from git. - Fix MASTER_SITES - Add incbin License (The Unlicense) - Enable dnscrypt support - Fix comparison signedness in dnsname.cc Changelog: http://dnsdist.org/changelog/#dnsdist-100-alpha2 PR: 208126 Approved by: junovitch (mentor) Added: head/dns/dnsdist/files/patch-dnsname.cc (contents, props changed) Modified: head/dns/dnsdist/Makefile head/dns/dnsdist/distinfo head/dns/dnsdist/files/patch-iputils.hh Modified: head/dns/dnsdist/Makefile ============================================================================== --- head/dns/dnsdist/Makefile Tue Mar 22 02:07:32 2016 (r411632) +++ head/dns/dnsdist/Makefile Tue Mar 22 02:14:01 2016 (r411633) @@ -2,18 +2,21 @@ # $FreeBSD$ PORTNAME= dnsdist -DISTVERSION= 0.0.791gfbb356b +DISTVERSION= 1.0.0-alpha2 CATEGORIES= dns net -MASTER_SITES= http://builder.powerdns.com/files/dnsdist/dist/ \ +MASTER_SITES= https://downloads.powerdns.com/releases/ \ LOCAL/cpm MAINTAINER= cpm@FreeBSD.org COMMENT= Highly DNS-, DoS- and abuse-aware loadbalancer -LICENSE= GPLv2 +LICENSE= GPLv2 UNLICENSE +LICENSE_COMB= multi +LICENSE_NAME_UNLICENSE= The Unlicense +LICENSE_FILE_UNLICENSE= ${WRKSRC}/ext/incbin/UNLICENSE +LICENSE_PERMS_UNLICENSE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \ - ragel>0:${PORTSDIR}/devel/ragel +BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops LIB_DEPENDS= libboost_serialization.so:${PORTSDIR}/devel/boost-libs \ libsodium.so:${PORTSDIR}/security/libsodium @@ -21,8 +24,8 @@ CXXFLAGS+= -D_GLIBCXX_USE_C99 LDFLAGS+= -L${LOCALBASE}/lib -latomic GNU_CONFIGURE= yes USE_GCC= yes -USES= bison cpe gmake libtool lua:52 pkgconfig readline tar:bz2 -CONFIGURE_ARGS= --enable-libsodium +USES= bison cpe gmake libedit libtool lua:52 pkgconfig tar:bz2 +CONFIGURE_ARGS= --enable-dnscrypt --enable-libsodium INSTALL_TARGET= install-strip USE_RC_SUBR= dnsdist Modified: head/dns/dnsdist/distinfo ============================================================================== --- head/dns/dnsdist/distinfo Tue Mar 22 02:07:32 2016 (r411632) +++ head/dns/dnsdist/distinfo Tue Mar 22 02:14:01 2016 (r411633) @@ -1,2 +1,2 @@ -SHA256 (dnsdist-0.0.791gfbb356b.tar.bz2) = bbd063adb3c39dde957c4578e1b06ab79400d26764ce9d21b8afc8437fa9992b -SIZE (dnsdist-0.0.791gfbb356b.tar.bz2) = 803402 +SHA256 (dnsdist-1.0.0-alpha2.tar.bz2) = dcbfa4f375a856694276f11921a6007bc954edd517a1cf1311a31839ca083c50 +SIZE (dnsdist-1.0.0-alpha2.tar.bz2) = 789252 Added: head/dns/dnsdist/files/patch-dnsname.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/dns/dnsdist/files/patch-dnsname.cc Tue Mar 22 02:14:01 2016 (r411633) @@ -0,0 +1,13 @@ +--- dnsname.cc.orig 2016-03-18 18:34:07 UTC ++++ dnsname.cc +@@ -142,8 +142,8 @@ bool DNSName::isPartOf(const DNSName& pa + return false; + + // this is slightly complicated since we can't start from the end, since we can't see where a label begins/ends then +- for(auto us=d_storage.cbegin(); us= static_cast(parent.d_storage.size()); us+=*us+1) { +- if (std::distance(us,d_storage.cend()) == static_cast(parent.d_storage.size())) { ++ for(auto us=d_storage.cbegin(); us= static_cast(parent.d_storage.size()); us+=*us+1) { ++ if (std::distance(us,d_storage.cend()) == static_cast(parent.d_storage.size())) { + auto p = parent.d_storage.cbegin(); + for(; us != d_storage.cend(); ++us, ++p) { + if(dns2_tolower(*p) != dns2_tolower(*us)) Modified: head/dns/dnsdist/files/patch-iputils.hh ============================================================================== --- head/dns/dnsdist/files/patch-iputils.hh Tue Mar 22 02:07:32 2016 (r411632) +++ head/dns/dnsdist/files/patch-iputils.hh Tue Mar 22 02:14:01 2016 (r411633) @@ -1,7 +1,7 @@ ---- iputils.hh.orig 2016-01-13 10:18:24 UTC +--- iputils.hh.orig 2016-02-05 09:35:08 UTC +++ iputils.hh -@@ -59,6 +59,11 @@ - #define le64toh(x) OSSwapLittleToHostInt64(x) +@@ -79,6 +79,11 @@ + #endif +// for FreeBSD @@ -9,6 +9,6 @@ +#include +#endif + - // for illumos - #ifdef BE_64 - + union ComboAddress { + struct sockaddr_in sin4; + struct sockaddr_in6 sin6;