[Bug 269288] net/gmid: change Makefile due to SSL build conflicts in other ports

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 02 Feb 2023 11:49:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269288

            Bug ID: 269288
           Summary: net/gmid: change Makefile due to SSL build conflicts
                    in other ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bjfs84@gmail.com
                CC: freebsd@omarpolo.com
                CC: freebsd@omarpolo.com
             Flags: maintainer-feedback?(freebsd@omarpolo.com)

There is a build dependency in gmid on libressl which provides libtls.so which
is not available in both base and ports version of openssl. This however breaks
ports which depend on openssl features that libressl does not provide (see
zabbix for example). Playing with make.conf won't change much in this case as
both SSL implementations are mutually exclusive.

This can be mitigated by using alternative dependency providing libtls.so,
which is libretls. Consider this diff:

--- Makefile.orig       2023-02-02 12:17:19.373669000 +0100
+++ Makefile    2023-02-02 12:17:02.410470000 +0100
@@ -11,7 +11,7 @@
 LICENSE_FILE=  ${WRKSRC}/LICENSE

 LIB_DEPENDS=   libevent.so:devel/libevent \
-               libtls.so:security/libressl
+               libtls.so:security/libretls

 USES=          localbase pkgconfig ssl
 USE_RC_SUBR=   gmid

-- 
You are receiving this mail because:
You are the assignee for the bug.