From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 6 22:10:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0D801065672 for ; Mon, 6 Feb 2012 22:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A60748FC16 for ; Mon, 6 Feb 2012 22:10:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q16MAAcm022860 for ; Mon, 6 Feb 2012 22:10:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q16MAAxL022859; Mon, 6 Feb 2012 22:10:10 GMT (envelope-from gnats) Resent-Date: Mon, 6 Feb 2012 22:10:10 GMT Resent-Message-Id: <201202062210.q16MAAxL022859@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, David Thiel Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A204C106566B for ; Mon, 6 Feb 2012 22:03:19 +0000 (UTC) (envelope-from lx@redundancy.redundancy.org) Received: from redundancy.redundancy.org (75-101-96-57.dsl.static.sonic.net [75.101.96.57]) by mx1.freebsd.org (Postfix) with SMTP id 866B38FC0A for ; Mon, 6 Feb 2012 22:03:19 +0000 (UTC) Received: (qmail 90704 invoked by uid 1001); 6 Feb 2012 21:37:02 -0000 Message-Id: <20120206213702.90703.qmail@redundancy.redundancy.org> Date: 6 Feb 2012 21:37:02 -0000 From: David Thiel To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/164833: Update: dns/djbdns to support DNSCurve X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Thiel List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Feb 2012 22:10:11 -0000 >Number: 164833 >Category: ports >Synopsis: Update: dns/djbdns to support DNSCurve >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Feb 06 22:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: David Thiel >Release: FreeBSD 8.2-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD redundancy.redundancy.org 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: This updates djbdns to support DNSCurve, with Michael Dempsky's patch. I've tested compatibility with other patches and marked BROKEN accordingly. A PORTREVISION bump would probably be appropriate as well. >How-To-Repeat: >Fix: diff -ruN djbdns.bak/Makefile djbdns/Makefile --- djbdns.bak/Makefile 2009-09-04 07:09:27.000000000 -0700 +++ djbdns/Makefile 2011-10-03 16:10:54.499758591 -0700 @@ -26,13 +26,15 @@ JUMBO "jumbo patch by Claudiu Costin" off \ MAN "manual pages by Gerritt Pape" on \ PERSISTENT_MMAP "persistent mmap patch by Lennert Buytenhek" off \ - SRV "SRV record patch by Michael Handler" off + SRV "SRV record patch by Michael Handler" off \ + DNSCURVE "DNSCurve support by Matthew Dempsky" off .include .if defined(WITH_JUMBO) -.if defined(WITH_IPV6) || defined(WITH_IGNOREIP) || defined(WITH_SRV) -BROKEN= The jumbo patch currently conflicts with the IPv6, ignoreip2, and SRV patches +.if defined(WITH_IPV6) || defined(WITH_IGNOREIP) || defined(WITH_SRV) || \ + defined(WITH_DNSCURVE) +BROKEN= The jumbo patch currently conflicts with the IPv6, ignoreip2, SRV and DNSCURVE patches .endif PATCH_SITES+= http://people.FreeBSD.org/~roam/ports/dns/djbdns/:jumbo \ @@ -99,6 +101,18 @@ PATCH_DIST_STRIP= -p1 .endif +.if defined(WITH_DNSCURVE) +.if defined(WITH_IPV6) +BROKEN= The IPv6 and DNSCurve patches are currently in conflict +.endif +PATCH_SITES+= http://shinobi.dempsky.org/~matthew/patches/:dnscurve +PATCHFILES+= djbdns-dnscurve-20090602.patch:dnscurve +PATCH_DIST_STRIP= -p1 +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +LDFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +BUILD_DEPENDS+= nacl-sha256:${PORTSDIR}/security/nacl +.endif + DJBDNS_VER= 1.05 DJBDNS_V6_VER= test23 @@ -113,7 +127,7 @@ post-patch: @echo "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc - @echo "${CC} ${STRIP}" > ${WRKSRC}/conf-ld + @echo "${CC} ${STRIP} ${LDFLAGS}" > ${WRKSRC}/conf-ld @echo "${PREFIX}" > ${WRKSRC}/conf-home .if defined(WITH_MAN) diff -ruN djbdns.bak/distinfo djbdns/distinfo --- djbdns.bak/distinfo 2011-10-03 16:16:19.449800776 -0700 +++ djbdns/distinfo 2011-10-03 16:13:09.959777113 -0700 @@ -14,3 +14,5 @@ SIZE (tinydns-persistmmap-20040418.patch) = 920 SHA256 (srv-patch) = 779546218b09544493c6ba5e23bc29c33c5d284cfc78ac6fa74fa8e050bb3779 SIZE (srv-patch) = 4508 +SHA256 (djbdns-dnscurve-20090602.patch) = 7efc54bd1981d0eb920de02b97f9b152c57e6add8023c9b82566358dc9525bba +SIZE (djbdns-dnscurve-20090602.patch) = 26674 >Release-Note: >Audit-Trail: >Unformatted: