On 2011-05-13, Ryan McBride <mcbr...@openbsd.org> wrote:
> This is the patch from http://ecdysis.viagenie.ca/, updated for
> unbound-1.4.9. Needed for nat64 in pf being tested now, but also useful
> if you're running nat64 on another box.

I'd prefer to download the patchset rather than include it in filesdir:

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/unbound/Makefile,v
retrieving revision 1.28
diff -u -p -r1.28 Makefile
--- Makefile    24 Mar 2011 20:30:42 -0000      1.28
+++ Makefile    14 May 2011 07:30:49 -0000
@@ -3,9 +3,11 @@
 COMMENT=       validating DNS resolver
 
 DISTNAME=      unbound-1.4.9
+REVISION=      0
 CATEGORIES=    net
 
 MASTER_SITES=  http://www.unbound.net/downloads/
+MASTER_SITES0= http://spacehopper.org/mirrors/
 HOMEPAGE=      http://www.unbound.net/
 
 MAINTAINER=     Jakob Schlyter <ja...@openbsd.org>
@@ -36,7 +38,17 @@ CONFIGURE_ARGS+=     --with-ssl=/usr \
                        --with-pidfile=/var/unbound/var/run/unbound.pid \
                        --with-conf-file=/var/unbound/etc/unbound.conf \
                        --with-username=_unbound
+
+FLAVORS=       dns64
+FLAVOR?=
+
 USE_GROFF =    Yes
+
+.if ${FLAVOR:L:Mdns64}
+PATCHFILES=    ecdysis-unbound.patch:0
+.else
+SUPDISTFILES=  ecdysis-unbound.patch:0
+.endif
 
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/unbound
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/unbound/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo    24 Mar 2011 20:30:42 -0000      1.19
+++ distinfo    14 May 2011 07:30:49 -0000
@@ -1,5 +1,10 @@
+MD5 (ecdysis-unbound.patch) = o8UHbvy/JnkVFJlj6ob+0Q==
 MD5 (unbound-1.4.9.tar.gz) = cHnnUhDGVnYdOASp8qx7nw==
+RMD160 (ecdysis-unbound.patch) = HQLVt7HQe0XKCmYqWkzk1ROs/kk=
 RMD160 (unbound-1.4.9.tar.gz) = nDTFX3dvRQavt3XI9E34SmSFQHM=
+SHA1 (ecdysis-unbound.patch) = dukezXPLc00fwgyG/fMzP48jYz4=
 SHA1 (unbound-1.4.9.tar.gz) = 8qx7TvHRszDi3V4u7etv0ruthHg=
+SHA256 (ecdysis-unbound.patch) = kCVFYZXldjEwvha0jLp3xKHYfYUcATeR2LEP7N/6zUg=
 SHA256 (unbound-1.4.9.tar.gz) = 2guYn+jPEOQ0gTQ4c+rt9gvvY75HPIbXPQJUt5xZFrc=
+SIZE (ecdysis-unbound.patch) = 38863
 SIZE (unbound-1.4.9.tar.gz) = 4470329

Reply via email to