Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2017 01:42:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219605] net-mgmt/ccnet-client: 6.0.6 fails to build with LibreSSL
Message-ID:  <bug-219605-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219605

            Bug ID: 219605
           Summary: net-mgmt/ccnet-client: 6.0.6 fails to build with
                    LibreSSL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: mozilla@tuxproject.de
                CC: Ultima1252@gmail.com
                CC: Ultima1252@gmail.com
             Flags: maintainer-feedback?(Ultima1252@gmail.com)

Created attachment 182979
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D182979&action=
=3Dedit
proposed fix?

I can't build net-mgmt/ccnet-client 6.0.6 on FreeBSD 11.0 with LibreSSL:

> ../../lib/.libs/libccnetd.a(rsa.o): In function `private_key_to_pub':
> rsa.c:(.text+0x28): undefined reference to `RSA_get0_key'
> rsa.c:(.text+0x4f): undefined reference to `RSA_set0_key'
> ../../lib/.libs/libccnetd.a(rsa.o): In function `public_key_to_gstring':
> rsa.c:(.text+0x9c): undefined reference to `RSA_get0_key'
> ../../lib/.libs/libccnetd.a(rsa.o): In function `public_key_append_to_gst=
ring':
> rsa.c:(.text+0x1cf): undefined reference to `RSA_get0_key'
> ../../lib/.libs/libccnetd.a(rsa.o): In function `public_key_from_string':
> rsa.c:(.text+0x37e): undefined reference to `RSA_set0_key'

This might be because a switch in rsa.c adds those functions for "newer Ope=
nSSL
versions" without considering LibreSSL (which has a fixed
OPENSSL_VERSION_NUMBER set).

A proposed fix is attached.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219605-13>