[120701] trunk/dports/devel/gnutls/Portfile

devans at macports.org devans at macports.org
Thu Jun 5 15:48:20 PDT 2014


Revision: 120701
          https://trac.macports.org/changeset/120701
Author:   devans at macports.org
Date:     2014-06-05 15:48:20 -0700 (Thu, 05 Jun 2014)
Log Message:
-----------
gnutls: maintainer update to version 3.3.4, addresses build issues in #42728.

Modified Paths:
--------------
    trunk/dports/devel/gnutls/Portfile

Modified: trunk/dports/devel/gnutls/Portfile
===================================================================
--- trunk/dports/devel/gnutls/Portfile	2014-06-05 22:42:55 UTC (rev 120700)
+++ trunk/dports/devel/gnutls/Portfile	2014-06-05 22:48:20 UTC (rev 120701)
@@ -1,11 +1,11 @@
 # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
-PortGroup  muniversal 1.0
+PortSystem      1.0
+PortGroup       muniversal 1.0
 
 name            gnutls
-version         3.3.3
+version         3.3.4
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel security
 # yes, some of the libs are GPL only
@@ -23,9 +23,8 @@
 
 master_sites    ftp://ftp.gnutls.org/gcrypt/gnutls/v${branch}/
 
-checksums       md5     e225247ec82513354a6bdc3be6246377 \
-                rmd160  cebd6a17fe9b7ebc8f0f9abb6218c195456ee468 \
-                sha256  8cd8cc7d4dcd4f73e85a6ebfa9463860b671d65f23d57354a6dfe86b7e83a036
+checksums       rmd160  9e61797428035cdaf6e3ac86103ead5cf7f02de7 \
+                sha256  04a53b2bbb936b02cdc62f68144f9706e256cc85cc530b81266a24d80b824357
 
 use_xz          yes
 
@@ -36,21 +35,49 @@
                 port:libidn \
                 port:libtasn1 \
                 port:p11-kit \
-                port:nettle
+                port:nettle \
+                port:curl-ca-bundle
 
 post-patch {
     # Remove comments which confuse at least Leopard's assembler.
     eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s]
 }
 
+# use autoreconf to update glibtool to correctly handle -std
 use_autoreconf  yes
 autoreconf.args -fvi
 
 configure.args  --disable-guile \
                 --disable-silent-rules \
-                --with-p11-kit           
+                --disable-libdane \
+                --enable-local-libopts \
+                --with-p11-kit \
+                --with-system-priority-file="${prefix}/etc/gnutls/default-priorities" \
+                --with-default-trust-store-file="${prefix}/share/curl/curl-ca-bundle.crt"
 
-if {[variant_isset universal]} { 
+variant dane description {Build libdane using unbound libraries} {
+    depends_lib-append      port:unbound
+    configure.args-append   --with-unbound-root-key-file="${prefix}/var/run/unbound/root.key"
+    configure.args-delete   --disable-libdane
+}
+
+# as of r120660 (#43881) unbound installs its root key file at ${prefix}/var/run/unbound/root.key
+# the following may be superfluous
+
+if {[variant_isset dane] && ![file exists ${prefix}/var/run/unbound/root.key]} {
+    notes "
+***
+*** WARNING:
+***
+*** The DNSSEC root key file in ${prefix}/etc/unbound/root.key was not found.
+*** This file is needed for the verification of DNSSEC responses.
+*** Use the command: sudo unbound-anchor -a \"${prefix}/var/run/unbound/root.key\"
+*** to generate or update it.
+***
+"
+}
+
+if {[variant_isset universal]} {
     set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}
     set merger_host(i386) i686-apple-${os.platform}${os.major}
     set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140605/bd9bbdc6/attachment.html>


More information about the macports-changes mailing list