<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8513">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Corey Farrell: 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 Arch Linux.<br><br>ASTERISK-27738<br><br>Change-Id: I7ca620e3c4dfb4b064a19382c4915aeb42a2a09f<br>---<br>M contrib/scripts/install_prereq<br>1 file changed, 36 insertions(+), 0 deletions(-)<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 dae8dee..e588d5c 100755<br>--- a/contrib/scripts/install_prereq<br>+++ b/contrib/scripts/install_prereq<br>@@ -67,6 +67,22 @@<br> PACKAGES_SUSE="$PACKAGES_SUSE bzip2 patch python-devel"<br> <br> # Basic build system:<br>+PACKAGES_ARCH="make gcc pkg-config"<br>+# Asterisk: basic requirements:<br>+PACKAGES_ARCH="$PACKAGES_ARCH libedit jansson libutil-linux libxml2 sqlite"<br>+# Asterisk: for addons:<br>+PACKAGES_ARCH="$PACKAGES_ARCH speex speexdsp libogg libvorbis alsa-lib portaudio curl xmlstarlet bison flex"<br>+PACKAGES_ARCH="$PACKAGES_ARCH postgresql-libs unixodbc libtool neon gmime lua uriparser libxslt openssl"<br>+PACKAGES_ARCH="$PACKAGES_ARCH libmariadbclient bluez-libs radcli freetds bash"<br>+PACKAGES_ARCH="$PACKAGES_ARCH net-snmp libnewt popt libical spandsp"<br>+PACKAGES_ARCH="$PACKAGES_ARCH c-client binutils libsrtp gsm doxygen graphviz zlib libldap"<br>+PACKAGES_ARCH="$PACKAGES_ARCH fftw libsndfile unbound"<br>+# Asterisk: for the unpackaged below:<br>+PACKAGES_ARCH="$PACKAGES_ARCH wget subversion"<br>+# Asterisk: for ./configure --with-pjproject-bundled:<br>+PACKAGES_ARCH="$PACKAGES_ARCH bzip2 patch python2"<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>@@ -163,6 +179,15 @@<br> done<br> }<br> <br>+check_installed_pacman() {<br>+ for pack in "$@"<br>+ do<br>+ if ! pacman -Q --explicit $pack >/dev/null 2>/dev/null<br>+ then echo $pack<br>+ fi<br>+ done<br>+}<br>+<br> check_installed_pkgs() {<br> for pack in "$@"<br> do<br>@@ -205,6 +230,13 @@<br> extra_packs=`check_installed_rpms $PACKAGES_RH`<br> if [ x"$extra_packs" != "x" ] ; then<br> $testcmd yum install --skip-broken --assumeyes $extra_packs<br>+ fi<br>+}<br>+<br>+handle_arch() {<br>+ extra_packs=`check_installed_pacman $PACKAGES_ARCH`<br>+ if [ x"$extra_packs" != "x" ] ; then<br>+ $testcmd pacman -S --asexplicit --noconfirm $extra_packs<br> fi<br> }<br> <br>@@ -334,6 +366,10 @@<br> handle_SUSE<br> elif [ -f /etc/os-release ] && . /etc/os-release && [ "$ID" = "opensuse" ]; then<br> handle_SUSE<br>+elif [ -r /etc/arch-release ]; then<br>+ handle_arch<br>+elif [ -f /etc/os-release ] && . /etc/os-release && [ "$ID_LIKE" = "archlinux" ]; then<br>+ handle_arch # $ID=arch<br> elif [ "$OS" = 'NetBSD' ]; then<br> handle_nbsd<br> elif [ "$OS" = 'OpenBSD' ]; then<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8513">change 8513</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/8513"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I7ca620e3c4dfb4b064a19382c4915aeb42a2a09f </div>
<div style="display:none"> Gerrit-Change-Number: 8513 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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>