When using LibreSSL instead of OpenSSL, wget can't compile. This patch fixes the problem: https://github.com/gentoo/libressl/blob/master/net-misc/wget/files/wget-1.14-libressl.patch
Over to maintainer.
Created attachment 149242 [details] Patch init.c for wget 1.16 removing rand_EGD Patch init.c for wget 1.16 removing rand_EGD
Created attachment 149243 [details] Patch openssl.c for wget 1.16 removing rand_EGD
Created attachment 149244 [details] Patch options.h for wget 1.16 removing rand_EGD These patches can be dropped into ftp/wget/files and it will compile again
Created attachment 149245 [details] Build log wget 1.16 with patches applied
Can pull this from https://github.com/Sp1l/ports/tree/master/ftp/wget as well
Maintainer timeout, open to take. Bernard, please provide the same patches, but again against the latest port version (not against upstream sources)
Created attachment 153228 [details] svn diff for ftp/wget Replaces earlier patches
Created attachment 153229 [details] Build log of wget 1.16 incl patches
Tested the build on 10.1a, which does not use libressl per default. How would I test against libressl instead ? Would it help if there's an option to select libressl instead of openssl or gnutls?
Hmm, libressl conflicts with ports openssl.
Hi Kurt, Please check https://wiki.freebsd.org/LibreSSL#How_to_use_LibreSSL for the additions to your make.conf. Let me know if any questions remain. For a Poudriere build (on -CURRENT) please check http://builds.pcbsd.org:8880/data/pcbsd-110-CURRENTMAR2015-11current/2015-03-01_20h22m26s/logs/curl-7.41.0.log
Thanks for the 'how-to'. Building on 10.1a via poudriere worked now. I'll be offline for the next few days, so I'll have no time to test other archs.
Waiting for the GNU Savannah registration email to arrive so I can provide the patches upstream... Will update progress here.
Created attachment 153952 [details] Poudriere build log for ftp/wget Builds succesfully. Bug was opened July 2014 and upstream fixed this with https://github.com/mirror/wget/commit/b5778699f0fd65efb78ac8fc0777128a7069b856
Patch being attached, remove needs-patch flag.
Created attachment 155792 [details] svn diff for ftp/wget Update wget port to 1.6.3. This also fixes the LibreSSL build issues with https://github.com/mirror/wget/commit/b5778699f0fd65efb78ac8fc0777128a7069b856
Created attachment 155793 [details] Poudriere build log ftp/wget
*** This bug has been marked as a duplicate of bug 199316 ***