[asterisk-bugs] [JIRA] (ASTERISK-27820) [patch] Add DragonFly BSD.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Apr 30 09:09:50 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243204#comment-243204 ] 

Friendly Automation commented on ASTERISK-27820:
------------------------------------------------

Change 8844 merged by George Joseph:
BuildSystem: Add DragonFly BSD.

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

> [patch] Add DragonFly BSD.
> --------------------------
>
>                 Key: ASTERISK-27820
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27820
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.20.0
>         Environment: DragonFly BSD 5.2
>            Reporter: Alexander Traud
>            Assignee: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: add_13.patch, add_15.patch, add_menuselect.patch, add_prereq.txt
>
>
> Adding DragonFly BSD was done in three separate steps:
> * contrib/scripts/install_prereq
> Although very similar to FreeBSD, DragonFly BSD switched from OpenSSL to LibreSSL. Because of that and because some ports are not maintained/updated to LibreSSL, the MySQL client was changed to MariaDB client. Otherwise, the MySQL client would have installed OpenSSL. Beside that, DragonFly BSD faces the same issues as FreeBSD: ASTERISK-27686 (currently: Lua, IMAP C-client, download externals via bash). Additionally, there is an issue with Better Backtraces: libbfd is not linked because it is not a shared but a static library (libbfd.a).
> * Build System
> Because DragonFly BSD is very much like FreeBSD, the script ./configure is instructed to use the same code paths. Beside that, several different headers had to be included to compile without error/warning. Please note: Adding DragonFly BSD was not done via an audit of the source code but dry-and-error compile test.
> * Build System (menuselect)
> In DragonFly BSD, added libraries from ports are placed into /usr/local. Therefore, this directory must be added for the preprocessor, compiler, and linker in menuselect as well.
> A port [exists|https://github.com/DragonFlyBSD/DPorts/tree/master/net/asterisk13/dragonfly] for DragonFly BSD. It is expected that not the source but that port is used. Anyway and hopefully, this change here starts the maintainers of that port to give back their changes. I tried to include as many patches possible - but only those I understood and was able to verify. All other changes need some explanation in form of an issue report. Furthermore, the NetBSD port [contains|https://github.com/NetBSD/pkgsrc/tree/trunk/comms/asterisk14/patches] patches for DragonFly BSD. Same for that.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list