Bug 273494 - sysutils/bacula11-libs3: fix build with openssl3
Summary: sysutils/bacula11-libs3: fix build with openssl3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-01 07:50 UTC by Ronald Klop
Modified: 2023-09-01 10:40 UTC (History)
1 user (show)

See Also:
ronald: maintainer-feedback+


Attachments
git diff (648 bytes, patch)
2023-09-01 07:50 UTC, Ronald Klop
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Klop freebsd_committer freebsd_triage 2023-09-01 07:50:17 UTC
Created attachment 244546 [details]
git diff

According to https://portsfallout.com/fallout?port=sysutils%2Fbacula11-libs3%24 this port does not build on FreeBSD 14 and later with openssl 3.0.

This fixes the build by telling it to be compatible with 1.1. Hopefully upstream will provide an updated version in the near future.

NB: if you approve I'm able to commit the fix.
Comment 1 ml 2023-09-01 09:11:09 UTC
(In reply to Ronald Klop from comment #0)

Hello.
Thanks for this. I hadn't even seen that this port made it into the tree...
Notice, however, that it's pretty useless, unless it's support is enabled in bacula-server.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260171
AFAICT this was not committed.


Back on topic...
I doubt upstream will provide an updated version, since Bacula 13, not 11, is the latest version nowadays.
I currently do not use Bacula 13 yet, but creating a bacula13-libs3 port should be quite easy if anyone is interested.

I also still don't have a FreeBSD 14 setup, so I cannot check your patch ATM.
I will ASAP, but unfortunately I doubt that will be before 14.0 is out.

If you think this fix is correct, go ahead.
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-09-01 10:30:54 UTC
A commit in branch main references this bug:

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

commit fa4045fd3e14c65092a1cc34c628e519c6302343
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2023-09-01 10:24:43 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2023-09-01 10:29:26 +0000

    sysutils/bacula11-libs3: fix build with openssl3

    also pet portclippy

    PR:     273494

 sysutils/bacula11-libs3/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)