Ticket #42728: Portfile-gnutls.4.diff
File Portfile-gnutls.4.diff, 2.6 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 5 5 PortGroup muniversal 1.0 6 6 7 7 name gnutls 8 version 3.3.3 8 version 3.3.4 9 revision 1 9 10 set branch [join [lrange [split ${version} .] 0 1] .] 10 11 categories devel security 11 12 # yes, some of the libs are GPL only … … 23 24 24 25 master_sites ftp://ftp.gnutls.org/gcrypt/gnutls/v${branch}/ 25 26 26 checksums md5 e225247ec82513354a6bdc3be6246377 \ 27 rmd160 cebd6a17fe9b7ebc8f0f9abb6218c195456ee468 \ 28 sha256 8cd8cc7d4dcd4f73e85a6ebfa9463860b671d65f23d57354a6dfe86b7e83a036 27 checksums rmd160 9e61797428035cdaf6e3ac86103ead5cf7f02de7 \ 28 sha256 04a53b2bbb936b02cdc62f68144f9706e256cc85cc530b81266a24d80b824357 29 29 30 30 use_xz yes 31 31 … … 36 36 port:libidn \ 37 37 port:libtasn1 \ 38 38 port:p11-kit \ 39 port:nettle 39 port:nettle \ 40 port:curl-ca-bundle 40 41 41 42 post-patch { 42 43 # Remove comments which confuse at least Leopard's assembler. 43 44 eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s] 44 45 } 45 46 47 # use autoreconf to update glibtool to correctly handle -std 46 48 use_autoreconf yes 47 49 autoreconf.args -fvi 48 50 49 51 configure.args --disable-guile \ 50 52 --disable-silent-rules \ 51 --with-p11-kit 53 --disable-libdane \ 54 --enable-local-libopts \ 55 --with-p11-kit \ 56 --with-system-priority-file="${prefix}/etc/gnutls/default-priorities" \ 57 --with-default-trust-store-file="${prefix}/share/curl/curl-ca-bundle.crt" 58 59 variant dane description {Build libdane using unbound libraries} { 60 depends_lib-append port:unbound 61 configure.args-append --with-unbound-root-key-file="${prefix}/etc/unbound/root.key" 62 configure.args-delete --disable-libdane 63 } 64 65 # unbound does not currently install/update ${prefix}/etc/unbound/root.key 66 # so user may have to do it manually for DANE support (#43881) 67 68 if {[variant_isset dane] && ![file exists ${prefix}/etc/unbound/root.key]} { 69 notes " 70 *** 71 *** WARNING: 72 *** 73 *** The DNSSEC root key file in ${prefix}/etc/unbound/root.key was not found. 74 *** This file is needed for the verification of DNSSEC responses. 75 *** Use the command: sudo unbound-anchor -a \"${prefix}/etc/unbound/root.key\" 76 *** to generate or update it. 77 *** 78 " 79 } 52 80 53 81 if {[variant_isset universal]} { 54 82 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}