[Home]

Summary:ASTERISK-27639: [patch] BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-01-30 03:07:36.000-0600Date Closed:2018-04-26 19:08:19
Priority:MinorRegression?
Status:Closed/CompleteComponents:Applications/app_voicemail/IMAP
Versions:13.19.0 Frequency of
Occurrence
Related
Issues:
Environment:DragonFly BSD 5.2 FreeBSD 11.1Attachments:( 0) FreeBSD_enable_imap.patch
Description:{{./configure}} does not detect the external package [c-client|https://svnweb.freebsd.org/ports/head/mail/cclient/] ([UW IMAP Toolkit|https://en.wikipedia.org/wiki/UW_IMAP]) on FreeBSD, because the shared library has a different name, compared to Debian/Ubuntu and RHEL/CentOS/Fedora. c-client is required if you do not want to store your voicemails as local files but send to a remote IMAP server.

Attached is a fix for those using FreeBSD and do not use the Asterisk port but built Asterisk themselves: {code}fetch --no-verify-peer https://issues.asterisk.org/jira/secure/attachment/57046/FreeBSD_enable_imap.patch
patch -p0 <./FreeBSD_enable_imap.patch
./bootstrap.sh
./configure{code}It is a specific fix for FreeBSD, which cannot be added to Asterisk in general.

Hopefully someone actually using IMAP as storage in Asterisk, shares his time to do this change here.
Comments:By: George Joseph (gjoseph) 2018-01-30 07:30:32.115-0600

Alexander, how about creating a {{contrib/patches/freebsd}} directory in the asterisk source tree for these to go in?

By: Alexander Traud (traud) 2018-01-30 09:23:37.413-0600

Too much work for me as I do not use this feature. The correct approach would be to change {{configure.ac}}, either by adding yet another state or by re-writing that whole part.

By: Friendly Automation (friendly-automation) 2018-04-26 19:08:20.917-0500

Change 8846 merged by Joshua Colp:
BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD.

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

By: Friendly Automation (friendly-automation) 2018-04-26 19:11:05.501-0500

Change 8845 merged by Joshua Colp:
BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD.

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

By: Friendly Automation (friendly-automation) 2018-04-26 19:12:33.720-0500

Change 8847 merged by Jenkins2:
BuildSystem: Enable IMAP storage on FreeBSD and DragonFly BSD.

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