Bug 217035 - net-mgmt/zabbix32-server: Fix build with LibreSSL
Summary: net-mgmt/zabbix32-server: Fix build with LibreSSL
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 15:22 UTC by Bernard Spil
Modified: 2018-01-16 13:58 UTC (History)
4 users (show)

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


Attachments
svn diff for net-mgmt/zabbix32-server (24.01 KB, patch)
2017-02-12 15:22 UTC, Bernard Spil
no flags Details | Diff
svn diff for net-mgmt/zabbix32-server (25.17 KB, patch)
2017-03-26 19:52 UTC, Bernard Spil
no flags Details | Diff
svn diff for net-mgmt/zabbix32-server (25.47 KB, patch)
2017-07-25 12:45 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer 2017-02-12 15:22:27 UTC
Created attachment 179904 [details]
svn diff for net-mgmt/zabbix32-server

net-mgmt/zabbix32-server: Fix build with LibreSSL

  - Disable PSK code when OPENSSL_NO_PSK is set
  - Include opensslconf.h where required
  - Add LIBRESSL_VERSION_NUMBER checks where necessary

See also: https://support.zabbix.com/browse/ZBX-11803
PR:
Submitted by: brnrd
Comment 1 pg 2017-02-16 23:44:02 UTC
What to do with the loss of functionality?
https://www.zabbix.com/documentation/3.0/manual/encryption/using_pre_shared_keys
Comment 2 Martin Wilke freebsd_committer 2017-02-18 12:40:24 UTC
Submitter is Committer.
Comment 3 Bernard Spil freebsd_committer 2017-03-26 19:52:07 UTC
Created attachment 181216 [details]
svn diff for net-mgmt/zabbix32-server

Updated diff

  - Display warning about PSK when building with LibreSSL
  - Add pkg-message warning about PSK when building with LibreSSL
Comment 4 Bernard Spil freebsd_committer 2017-07-25 12:45:30 UTC
Created attachment 184700 [details]
svn diff for net-mgmt/zabbix32-server

Updated patch after changes to port.

I'll go ahead and commit this in 2 weeks unless there's comments
Comment 5 pg 2017-08-08 09:34:55 UTC
This patch leads to loss of functionality.
https://www.zabbix.com/documentation/3.0/manual/encryption/using_pre_shared_keys
Comment 6 Franco Fichtner 2017-09-14 04:34:53 UTC
The loss is expected, because LibreSSL does not have the PSK feature.  But we've found that using POLARSSL is good enough to side-step this LibreSSL issue.


Cheers,
Franco
Comment 7 w.schwarzenfeld freebsd_triage 2018-01-13 00:09:09 UTC
(In reply to Bernard Spil from comment #4)
ping!
Comment 8 pg 2018-01-16 13:55:07 UTC
(In reply to w.schwarzenfeld from comment #7)
Please see comments 5 and 6
Comment 9 w.schwarzenfeld freebsd_triage 2018-01-16 13:58:39 UTC
OK, thanks for reply.