Skip to content

Commit

Permalink
main/kamailio: upgrade to 5.2.3
Browse files Browse the repository at this point in the history
new subpackages: python3 ruby openrc
  • Loading branch information
Nathan Angelacos authored and rnalrd committed Jul 16, 2019
1 parent f729394 commit 280b4b0
Showing 1 changed file with 32 additions and 12 deletions.
44 changes: 32 additions & 12 deletions main/kamailio/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>

pkgname=kamailio
pkgver=5.2.2
pkgrel=1
pkgver=5.2.3
pkgrel=0

# If building from a git snapshot, specify the gitcommit
# If building a proper release, leave gitcommit blank
Expand All @@ -24,11 +24,14 @@ pkggroups="kamailio"
arch="all"
license="GPL-2.0-or-later"
depends="gawk"
makedepends="bison db-dev flex freeradius-client-dev expat-dev lksctp-tools-dev perl-dev postgresql-dev python2-dev pcre-dev mariadb-dev
libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev
lua-dev openldap-dev openssl-dev net-snmp-dev libuuid libev-dev
jansson-dev json-c-dev libevent-dev linux-headers libmemcached-dev
rabbitmq-c-dev hiredis-dev libmaxminddb-dev libunistring-dev"
makedepends="bison db-dev flex freeradius-client-dev expat-dev
lksctp-tools-dev perl-dev postgresql-dev python2-dev python3-dev
pcre-dev mariadb-dev libxml2-dev curl-dev unixodbc-dev
confuse-dev ncurses-dev sqlite-dev lua-dev openldap-dev openssl-dev
net-snmp-dev libuuid libev-dev jansson-dev json-c-dev libevent-dev
linux-headers libmemcached-dev rabbitmq-c-dev hiredis-dev
ruby-dev libmaxminddb-dev libunistring-dev"

install="$pkgname.pre-install $pkgname.pre-upgrade"

# secfixes:
Expand Down Expand Up @@ -158,9 +161,15 @@ _mod_list_lua="app_lua"
# - modules depending on perl library
_mod_list_perl="app_perl db_perlvdb"

# - modules depending on python library
# - modules depending on python2 library
_mod_list_python="app_python"

# - modules depending on python3 libarary
_mod_list_python3="app_python3"

# - modules depending on ruby library
_mod_list_ruby="app_ruby"

# - modules depending on rabbitmq
_mod_list_rabbitmq="rabbitmq"

Expand Down Expand Up @@ -235,14 +244,15 @@ _module_group_kstandard="$_mod_list_basic $_mod_list_dbuid $_mod_list_pcre"

# END Makefile.groups #############################################################

subpackages="$pkgname-doc $pkgname-dbg"
subpackages="$pkgname-doc $pkgname-dbg $pkgname-openrc"
_modules="$_module_group_kstandard"
for _i in db postgres sqlite dbtext mysql \
cpl xml unixodbc snmpstats xmpp carrierroute \
ldap utils tls presence lua ims outbound debugger \
extras json websocket authephemeral \
uuid ev memcached redis geoip2 jansson sqlang sipdump \
jsdt http_async kazoo rabbitmq sctp radius perl python; do
jsdt http_async kazoo rabbitmq sctp radius perl python \
python3 ruby; do

subpackages="$subpackages $pkgname-$_i"
eval "_modules=\"\$_modules \$_mod_list_$_i\""
Expand Down Expand Up @@ -518,10 +528,20 @@ perl() {
}

python() {
_generic_pkg "Python extensions for Kamailio" \
_generic_pkg "Execute embedded Python2 scripts" \
"$_mod_list_python"
}

python3() {
_generic_pkg "Execute embedded Python3 scripts" \
"$_mod_list_python3"
}

ruby() {
_generic_pkg "Execute embedded Ruby scripts" \
"$_mod_list_ruby"
}

sqlang() {
_generic_pkg "Squirrel Language (SQLang) for Kamailio" \
"$_mod_list_sqlang"
Expand All @@ -537,7 +557,7 @@ sipdump() {
"$_mod_list_sipdump"
}

sha512sums="5a9695ff8ea5058922247e7615485d29f4430ab9a5e085b3cbe092988011c23c5536ef00a45ee138d06d664b0aa67bb1afb548ba3d06eac8b8d22794ae2b4127 kamailio-5.2.2.tar.gz
sha512sums="fed5b467fc9bc7024cbb873a6386ceba4b479f7ad26d303a768f2f78ad399ee65f00ea263c858a05bbcd0359121291e4cf1d28d870860370d719b6c81bfc2aeb kamailio-5.2.3.tar.gz
af8362201957eae6b66baf7368c9ca884024209a396d77c5c52180c9aabe13772e9c6513e59721d39503e5bb7a8c1030f5c10301ea9055bddafb7f01ee2f3076 0004-src_core_tcp_read_c.patch
100a40ec63eaf62f8ac794f1bb17e8109030413617e61a7d2f55a8c8efbe26c1f0f611e6d99548638001f1af678fb7129a98db175eb02190c85d31f60af52202 dont-force-mips-revision.patch
321b1b160434150bcde3c0ad7f47ddf259791b68d4ce74ba4c35034026421a2bc6f5e86f26f393f5fcdb523d8cd75f944709473065553ce860b0ea06b3dc2a1b kamailio.initd"

0 comments on commit 280b4b0

Please sign in to comment.