Created attachment 144939 [details] Add OPTIONal dependencies Factor out libidn, libp11-kit and libtspi into OPTIONal dependencies as per upstream documentation [1] Add CRYWRAP P11KIT TPM ZLIB to OPTIONS_DEFAULT to retain existing binary package compatibility. Feel free to modify. [1] http://gnutls.org/manual/html_node/Downloading-and-installing.html
Over to maintainer
I have not reviewed carefully, but the idea is fine so I approve.
A commit references this bug: Author: koobs Date: Tue Jul 29 09:14:02 UTC 2014 New revision: 363301 URL: http://svnweb.freebsd.org/changeset/ports/363301 Log: security/gnutls: Support OPTIONal library dependencies Factor out libidn, libp11-kit and libtspi into OPTIONal library dependencies, with the CRYWRAP, P11KIT and TPM options respectively, as per the upstream documentation [1]. Make ZLIB an OPTION because we can, and the choice to customise compression support in security software (especially lately) may be very useful for some consumers. Add CRYWRAP, P11KIT, TPM and ZLIB to OPTIONS_DEFAULT to retain current default functionality. [1] http://gnutls.org/manual/html_node/Downloading-and-installing.html Inspired by: Recent gnutls 2 -> 3 change, fan of minimal dependencies PR: 192090 Submitted by: koobs Approved by: maintainer Changes: head/security/gnutls/Makefile head/security/gnutls/pkg-plist