Bug 267780 - devel/cmake-core: links to OpenSSL, but doesn't specify USES=ssl
Summary: devel/cmake-core: links to OpenSSL, but doesn't specify USES=ssl
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: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-15 10:41 UTC by Franco Fichtner
Modified: 2022-11-19 03:52 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments
ssl to USES (455 bytes, patch)
2022-11-15 10:41 UTC, Franco Fichtner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Franco Fichtner 2022-11-15 10:41:58 UTC
Created attachment 238091 [details]
ssl to USES

This only popped up while building wazuh-agent in a clean jail with ssl=openssl


Cheers,
Franco
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-11-15 12:03:50 UTC
A commit in branch main references this bug:

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

commit 78037463c05de825aacdc9fe19c8130ad605142c
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2022-11-15 12:00:18 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-11-15 12:00:54 +0000

    devel/cmake-core: needs USES+=ssl

    PR:             267780

 devel/cmake-core/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Adriaan de Groot freebsd_committer freebsd_triage 2022-11-15 12:04:33 UTC
Updated, thanks!
Comment 3 Franco Fichtner 2022-11-15 12:28:36 UTC
Thanks!
Comment 4 dewayne 2022-11-19 03:52:31 UTC
(In reply to Adriaan de Groot from comment #2)
Thanks for adding SSL to USES.  I was surprised by this addition to a port that describes itself via port description: "cmake is used to control the software compilation process using simple platform and compiler independent configuration files. ..."

Examining the # ldd /usr/local/bin/cmake
its clear that cmake is linking to 23 dynamic libs including libcrypto, libssl, libarchive and libnghttp2; while gmake links to libc only.

Begs the question - why the processing of a Makefile by cmake appears to require internet access (other than the obvious auxiliary fetch)?