<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8482">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved
Jenkins2: Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">install_prereq: Add NetBSD.<br><br>ASTERISK-27729<br><br>Change-Id: I7a706d51375d54cf5e36d32397bfe09a48670804<br>---<br>M contrib/scripts/install_prereq<br>1 file changed, 29 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq<br>index ba0c77f..d79d830 100755<br>--- a/contrib/scripts/install_prereq<br>+++ b/contrib/scripts/install_prereq<br>@@ -49,6 +49,21 @@<br> PACKAGES_RH="$PACKAGES_RH bzip2 patch python-devel"<br> <br> # Basic build system:<br>+PACKAGES_NBSD="gmake pkg-config"<br>+# Asterisk: basic requirements:<br>+PACKAGES_NBSD="$PACKAGES_NBSD editline jansson sqlite3 libuuid libxml2"<br>+# Asterisk: for addons:<br>+PACKAGES_NBSD="$PACKAGES_NBSD speex speexdsp libogg libvorbis alsa-lib portaudio-devel curl bison flex"<br>+PACKAGES_NBSD="$PACKAGES_NBSD postgresql10-client unixodbc libltdl neon gmime lua52 uriparser libxslt openssl"<br>+PACKAGES_NBSD="$PACKAGES_NBSD mysql-client radiusclient-ng freetds bash"<br>+PACKAGES_NBSD="$PACKAGES_NBSD net-snmp iksemel popt libical spandsp"<br>+PACKAGES_NBSD="$PACKAGES_NBSD imap-uw srtp gsm doxygen graphviz libzip openldap-client"<br>+# Asterisk: for the unpackaged below:<br>+PACKAGES_NBSD="$PACKAGES_NBSD wget subversion-base"<br>+# Asterisk: for ./configure --with-pjproject-bundled:<br>+PACKAGES_NBSD="$PACKAGES_NBSD bzip2 patch python27"<br>+<br>+# Basic build system:<br> PACKAGES_OBSD="gmake"<br> # Asterisk: basic requirements:<br> PACKAGES_OBSD="$PACKAGES_OBSD libxml sqlite3 e2fsprogs jansson"<br>@@ -163,6 +178,17 @@<br> fi<br> }<br> <br>+handle_nbsd() {<br>+ extra_packs=`check_installed_pkgs $PACKAGES_NBSD`<br>+ if [ x"$extra_packs" != "x" ] ; then<br>+ if [ -z "$PKG_PATH" ] ; then<br>+ # see NetBSD Problem Report #48177<br>+ export PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/$(uname -s)/$(uname -p)/$(uname -r)/All"<br>+ fi<br>+ $testcmd pkg_add $extra_packs<br>+ fi<br>+}<br>+<br> handle_obsd() {<br> extra_packs=`check_installed_pkgs $PACKAGES_OBSD`<br> if [ x"$extra_packs" != "x" ] ; then<br>@@ -240,7 +266,7 @@<br> unsupported_distro=''<br> <br> # A number of distributions we don't (yet?) support.<br>-if [ "$OS" != 'Linux' -a "$OS" != 'OpenBSD' -a "$OS" != 'FreeBSD' ]; then<br>+if [ "$OS" != 'Linux' -a "$OS" != 'NetBSD' -a "$OS" != 'OpenBSD' -a "$OS" != 'FreeBSD' ]; then<br> echo >&2 "$0: Your OS ($OS) is currently not supported. Aborting."<br> exit 1<br> fi<br>@@ -271,6 +297,8 @@<br> handle_debian<br> elif [ -r /etc/redhat-release ]; then<br> handle_rh<br>+elif [ "$OS" = 'NetBSD' ]; then<br>+ handle_nbsd<br> elif [ "$OS" = 'OpenBSD' ]; then<br> handle_obsd<br> elif [ "$OS" = 'FreeBSD' ]; then<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8482">change 8482</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/8482"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7a706d51375d54cf5e36d32397bfe09a48670804 </div>
<div style="display:none"> Gerrit-Change-Number: 8482 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>