> checking whether we can find OpenSSL... > configure: error: Could not find the /usr/local libraries. You must first install openSSL. During BSDCan 2018 the intention to update OpenSSL in base to 1.1.x branch was documented. Intention is to update 12-STABLE to current 1.1.0 and subsequently update it to 1.1.1 when that is released.
Recent failure log: http://package18.nyi.freebsd.org/data/headamd64PR231931-default/2018-10-04_07h49m12s/logs/errors/libwww-5.4.2.log
I'll work on this
Created attachment 197860 [details] Fix OpenSSL 1.x build www/libwww: * Fix OpenSSL build * Removed with-ssl flag, no longer needed PR: 228943 Submitted by: Nathan <ndowens@yahoo.com>
Bernard, do you mind in taking a look? Nathan, thank you for your work.
(In reply to Nathan from comment #3) Visual inspection of the patch shows it is OK. Replaces libssl detection in autotools configure. Nothing in the patch for HTSSL.c that strikes me as problematic, but I'm not a C coder. > - switch (ctx->error) { > + switch (ctx_error = X509_STORE_CTX_get_error(ctx)) { Hope an assignment returns the correct value.
(In reply to Bernard Spil from comment #5) IF I remember correctly I found the patches from netbsd http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/libwww/patches/
A commit references this bug: Author: dbaio Date: Sat Oct 13 19:37:00 UTC 2018 New revision: 482007 URL: https://svnweb.freebsd.org/changeset/ports/482007 Log: www/libwww: Fix build with OpenSSL 1.1.x PR: 228943 Submitted by: Nathan <ndowens@yahoo.com> (based on) Reported by: brnrd Obtained from: NetBSD pkgsrc Changes: head/www/libwww/files/patch-Library_src_SSL_HTSSL.c head/www/libwww/files/patch-configure
Committed. Thank you both for the help.
A commit references this bug: Author: antoine Date: Sat Oct 20 05:43:39 UTC 2018 New revision: 482468 URL: https://svnweb.freebsd.org/changeset/ports/482468 Log: MFH: r482007 r482200 www/libwww: Fix build with OpenSSL 1.1.x PR: 228943 Submitted by: Nathan <ndowens@yahoo.com> (based on) Reported by: brnrd Obtained from: NetBSD pkgsrc www/libwww: Unbreak with openssl-devel PR: 232303 Submitted by: meta Differential Revision: https://reviews.freebsd.org/D17578 Changes: _U branches/2018Q4/ branches/2018Q4/www/libwww/Makefile branches/2018Q4/www/libwww/files/patch-Library_src_SSL_HTSSL.c branches/2018Q4/www/libwww/files/patch-configure