Bug 271220 - net-mgmt/nrpe3: fails to build with OpenSSL 3
Summary: net-mgmt/nrpe3: fails to build with OpenSSL 3
Status: Closed Overcome By Events
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: 258413
  Show dependency treegraph
 
Reported: 2023-05-03 01:03 UTC by Enji Cooper
Modified: 2023-05-03 01:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2023-05-03 01:03:46 UTC
The port fails to compile/link against OpenSSL 3 because it's using deprecated OpenSSL APIs.
There's a newer version upstream which seems to support OpenSSL 3. It's 4.1.0+ according to the changelog: https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md#410---2022-07-18

A log with the build failure is attached (from https://pkg.bofh.network/data/MAIN-default-openssl3/2023-05-03_02h33m48s/logs/errors/nrpe3-3.2.1.log originally).
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-05-03 01:30:44 UTC
A commit in branch main references this bug:

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

commit 498e86d310cbc76dde46e6f9a4ddd1f4e0469437
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-05-03 01:26:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-05-03 01:29:51 +0000

    net-mgmt/nrpe3: Mark DEPRECATED

    - Fails to build with OpenSSL 3.0.0 and later
    - This version has been released in 2018 and since then there has more
      recent versions released.
    - Use net-mgmt/nrpe which is the latest release from the upstream

    Approved by:    portmgr (blanket)

    PR:             271220
    Reported by:    ngie

 net-mgmt/nrpe3/Makefile | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-05-03 01:31:18 UTC
Check net-mgmt/nrpe.