[asterisk-bugs] [JIRA] (ASTERISK-27728) [patch] BuildSystem: Add NetBSD.

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Mar 8 09:00:13 CST 2018


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

Asterisk Team commented on ASTERISK-27728:
------------------------------------------

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].

> [patch] BuildSystem: Add NetBSD.
> --------------------------------
>
>                 Key: ASTERISK-27728
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27728
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.19.2, 15.2.2
>         Environment: NetBSD 7.1.1
>            Reporter: Alexander Traud
>            Severity: Minor
>
> Currently on NetBSD, you have to do
> {code}ftp http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-13-current.tar.gz
> tar -zxf asterisk-*
> cd asterisk-*
> export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/$(uname -s)/$(uname -p)/$(uname -r)/All"
> pkg_add gcc7 gmake pkg-config editline jansson sqlite3 libuuid libxml2 wget mozilla-rootcerts
> mozilla-rootcerts install
> CFLAGS="-I/usr/pkg/include" LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" ./configure{code}On NetBSD, added packages are installed in a 'pkg' sub-directory. Consequently, to find external libraries, added by the user, the paths must be known to the Asterisk build system. Like with other BSD based platforms, the CFLAGS and LDFLAGS should be handled by the script {{./configure}} and the {{Makefile}} automatically, so the user does not have to do more than {{./configure}}.
> Actually, this was reported in ASTERISK-11015 already. 



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



More information about the asterisk-bugs mailing list