Bug 273054 - www/obhttpd: Use LibreSSL 3.5.4
Summary: www/obhttpd: Use LibreSSL 3.5.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-10 21:14 UTC by Nikola Kolev
Modified: 2023-08-18 10:11 UTC (History)
1 user (show)

See Also:


Attachments
libressl 3.5.4 (756 bytes, patch)
2023-08-10 21:14 UTC, Nikola Kolev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikola Kolev 2023-08-10 21:14:33 UTC
Created attachment 244014 [details]
libressl 3.5.4

With LibreSSL greater than version 3.5.x obhttpd is not able to load the SSL certificate on startup:

server_tls_init: failed to configure tls - failed to load certificate

Use LibreSSL 3.5.4.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2023-08-11 22:26:48 UTC
This lacks an update to distinfo.  I plan to apply the following change to www/obhttpd/distinfo.  Please check if that matches the sums of your local copy of the distfile:

diff --git a/www/obhttpd/distinfo b/www/obhttpd/distinfo
index ea8059f0566a..7f0d3979f96b 100644
--- a/www/obhttpd/distinfo
+++ b/www/obhttpd/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1689353656
-SHA256 (libressl-3.8.0.tar.gz) = 12531c1ec808c5c6abeb311899664b0cfed04d4648f456dc959bb93c5f21acac
-SIZE (libressl-3.8.0.tar.gz) = 4419357
+TIMESTAMP = 1691792255
+SHA256 (libressl-3.5.4.tar.gz) = 0379da1344a2f71ad4a4e3be30ef9d82eecddce7f8dc2ae66631a1dfe14343ac
+SIZE (libressl-3.5.4.tar.gz) = 4039834
 SHA256 (koue-httpd-7.3.20230714_GH0.tar.gz) = 82e1147d7c1d184d6049a4ce64c110705848bb7b5461929404383a2c0cffbd8d
 SIZE (koue-httpd-7.3.20230714_GH0.tar.gz) = 175337
 SHA256 (koue-libevent-7.3.20230714_GH0.tar.gz) = 84fffbead795fd00ca758c460a2540bcb2f34bbc80b7837dbc94e18dc49ceebb


Will commit with my next batch.  Please also check the items raised in bug #273018.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-08-13 09:42:50 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66ef1e2db73581d8820614f7ca71bda4323cd805

commit 66ef1e2db73581d8820614f7ca71bda4323cd805
Author:     Nikola Kolev <koue@chaosophia.net>
AuthorDate: 2023-08-10 21:09:16 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-08-13 09:32:56 +0000

    www/obhttpd: Use LibreSSL 3.5.4

    With LibreSSL greater than version 3.5.x obhttpd is not able to load the
    SSL certificate on startup:

    server_tls_init: failed to configure tls - failed to load certificate

    PR:             273054

 www/obhttpd/Makefile | 3 ++-
 www/obhttpd/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-08-13 09:47:49 UTC
Thank you for your contribution.
Comment 4 Nikola Kolev 2023-08-16 15:35:43 UTC
Hey Robert,

Apologies for not replying in time, I had no Internet access. Thank you very much for taking care of that!

Regards,
Nikola
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2023-08-18 10:11:37 UTC
If you want to thank me, please address the issues laid out in bug #273018 to which I still did not get a response from you.