Summary:ASTERISK-27728: [patch] BuildSystem: Add NetBSD.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-03-08 08:59:50.000-0600Date Closed:2018-03-14 06:09:21
Versions:13.19.2 15.2.2 Frequency of
Environment:NetBSD 7.1.1Attachments:( 0) NetBSD_configure_flags.patch
Description: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.
Comments:By: Asterisk Team (asteriskteam) 2018-03-08 08:59:51.270-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-03-14 06:09:23.792-0500

Change 8478 merged by Joshua Colp:
BuildSystem: Add NetBSD.


By: Friendly Automation (friendly-automation) 2018-03-14 06:18:35.163-0500

Change 8477 merged by Joshua Colp:
BuildSystem: Add NetBSD.


By: Friendly Automation (friendly-automation) 2018-03-14 10:15:52.635-0500

Change 8479 merged by Joshua Colp:
BuildSystem: Add NetBSD.