[Home]

Summary:ASTERISK-27681: [patch] BuildSystem: Enable IMAP storage on OpenBSD.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-02-16 06:36:48.000-0600Date Closed:2018-02-19 18:10:37.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail/IMAP Core/BuildSystem
Versions:13.19.1 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) OpenBSD_enable_imap_storage.patch
Description:On OpenBSD 6.2, the library c-client ([UW IMAP Toolkit|http://en.wikipedia.org/wiki/UW_IMAP]), does not load its depended libraries itself. In other words: Although that library uses functions/symbols of OpenSSL/LibreSSL, the library does not load -lcrypto and -lssl automatically. Because of this, the script ./configure of Asterisk is not able to compile/link a small app to double-check the existence of the library -lc-client.

The attached patch adds those dependencies manually. No regression is expected, because c-client is linked with those two libraries on other platforms anyway. Here, we just link manually.

This patch is the same as the patch of the official port for OpenBSD. The cause and solution were found independently:
The script ./configure creates a log file _config.log_ which shows the created app and the result of compiling/linking. There, in that log several OpenSSL symbols were listed as missing by the tool _ld_. Tools like _ldd_ and _nm_ verify those findings on the shared library _libc-client.so_.
Comments:By: Asterisk Team (asteriskteam) 2018-02-16 06:36:48.579-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Friendly Automation (friendly-automation) 2018-02-19 18:10:38.866-0600

Change 8227 merged by Jenkins2:
BuildSystem: Enable IMAP storage on OpenBSD.

[https://gerrit.asterisk.org/8227|https://gerrit.asterisk.org/8227]

By: Friendly Automation (friendly-automation) 2018-02-19 18:20:24.747-0600

Change 8229 merged by Jenkins2:
BuildSystem: Enable IMAP storage on OpenBSD.

[https://gerrit.asterisk.org/8229|https://gerrit.asterisk.org/8229]

By: Friendly Automation (friendly-automation) 2018-02-19 18:21:26.713-0600

Change 8228 merged by Jenkins2:
BuildSystem: Enable IMAP storage on OpenBSD.

[https://gerrit.asterisk.org/8228|https://gerrit.asterisk.org/8228]