diff options
author | Nathan Angelacos <nangel@alpinelinux.org> | 2016-04-01 12:14:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-05 20:05:37 +0000 |
commit | beebea421572eb51cf861905dda69146d9ca797d (patch) | |
tree | 8f6fb1ed8c1d9caabf35134bff67d45282921598 /main/kamailio/APKBUILD | |
parent | 4a113e5c2ac66793cca51d1c5a480268f7ca1a0b (diff) | |
download | aports-beebea421572eb51cf861905dda69146d9ca797d.tar.bz2 aports-beebea421572eb51cf861905dda69146d9ca797d.tar.xz |
main/kamailio upgrade to 4.4.0
Diffstat (limited to 'main/kamailio/APKBUILD')
-rw-r--r-- | main/kamailio/APKBUILD | 59 |
1 files changed, 35 insertions, 24 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD index 2ff4577a60..093add8148 100644 --- a/main/kamailio/APKBUILD +++ b/main/kamailio/APKBUILD @@ -12,7 +12,7 @@ _giturl="git://github.com/$pkgname/$pkgname.git" _gittag=HEAD -pkgver=4.3.5 +pkgver=4.4.0 pkgrel=0 [ -z "${_gitcommit}" ] && _suffix="_src" || _suffix="-${_gitcommit}" @@ -28,7 +28,7 @@ makedepends="bison flex expat-dev postgresql-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 - hiredis-dev libmaxminddb-dev" + hiredis-dev libmaxminddb-dev libunistring-dev" install="$pkgname.pre-install $pkgname.pre-upgrade" # See Makefile.groups for the list of recommended modules for @@ -44,17 +44,17 @@ install="$pkgname.pre-install $pkgname.pre-upgrade" # Remove db_text from _mod_list_db because we create a separate dbtext package # # - basic used modules, with no extra dependency (widespread usage) -_mod_list_basic="avp async auth benchmark blst cfg_rpc cfgutils corex counters \ +_mod_list_basic="avp async auth benchmark blst cfg_rpc cfgt cfgutils corex counters \ ctl debugger diversion enum exec gzcompress ipops kex mangler \ maxfwd mediaproxy mi_datagram mi_fifo mi_rpc mqueue \ nat_traversal nathelper path pike pv ratelimit rr rtimer \ - rtpproxy sanity sdpops siputils sl statistics textops \ - textopsx tm tmx topoh xlog rtpengine stun sipt" + rtpproxy sanity sdpops siputils sl smsops statsc statistics \ + textops textopsx tm tmx topoh topos xlog rtpengine stun sipt" # - extra used modules, with no extra dependency -_mod_list_extras="auth_diameter call_control cnxcc dmq domainpolicy msrp pdb \ - qos sca seas sms sst timer tmrec tsilo uac_redirect xhttp \ - xhttp_rpc xprint nosip dmq_usrloc statsd rtjson tcpops \ +_mod_list_extras="auth_diameter call_control cnxcc dmq domainpolicy log_custom \ + msrp pdb qos sca seas sms sst timer tmrec tsilo uac_redirect \ + xhttp xhttp_rpc xprint nosip dmq_usrloc statsd rtjson tcpops \ auth_xkeys" # - common modules depending on database @@ -114,7 +114,10 @@ _mod_list_carrierroute="carrierroute" _mod_list_berkeley="db_berkeley" # - modules depending on curl library -_mod_list_utils="utils" +_mod_list_utils="utils http_client" + +# - async http_async_client +_mod_list_async_client="http_async_client" # - modules depending on purple library _mod_list_purple="purple" @@ -123,7 +126,7 @@ _mod_list_purple="purple" _mod_list_memcached="memcached" # - modules depending on openssl library -_mod_list_tls="auth_identity tls" +_mod_list_tls="auth_identity crypto tls" # - modules depending on openssl library _mod_list_outbound="outbound" @@ -176,7 +179,7 @@ _mod_list_redis="ndb_redis" _mod_list_mono="app_mono" # - modules related to IMS extensions -_mod_list_ims="cdp cdp_avp dialog_ng ims_auth ims_isc ims_icscf ims_qos \ +_mod_list_ims="cdp cdp_avp ims_dialog ims_auth ims_isc ims_icscf ims_qos \ ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf \ ims_usrloc_scscf ims_charging" @@ -222,7 +225,8 @@ 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; do + uuid ev memcached redis geoip2 jansson \ + http_async_client; do subpackages="$subpackages $pkgname-$_i" eval "_modules=\"\$_modules \$_mod_list_$_i\"" @@ -230,8 +234,8 @@ done source="http://www.kamailio.org/pub/kamailio/$pkgver/src/${pkgname}-${pkgver}${_suffix}.tar.gz 0001-musl-fixes.patch - 0002-mohqueue-v0-12.patch 0003-kamdbctl-backslash.patch + 0004-remove-spurious-execinfo.patch kamailio.cfg kamailio.initd " @@ -296,12 +300,13 @@ build() { DESTDIR="$pkgdir" \ cfg_prefix="$pkgdir" \ cfg - make all EMBEDDED_UTF8_DECODE=1 || return 1 + make EMBEDDED_UTF8_DECODE=1 STUN=1 \ + all || return 1 } package() { cd "$_builddir" - make -j1 install EMBEDDED_UTF8_DECODE=1 || return 1 + make -j1 install || return 1 # move default config to -doc package and use our own default config @@ -497,21 +502,27 @@ redis() { "$_mod_list_redis" } -md5sums="117e08e69a973cc0c0d63662d2f47109 kamailio-4.3.5_src.tar.gz +http_async_client() { + _generic_pkg "Asynchronous HTTP queries support" \ + "$_mod_list_http_async_client" +} + + +md5sums="e9fa206f67346a6b01c015d76ec2db9d kamailio-4.4.0_src.tar.gz 18863791d386659eae6ef0c82a2517ae 0001-musl-fixes.patch -324ce879bceac05b30aa9466bb74916d 0002-mohqueue-v0-12.patch -fe8f61c73264cd1c360f3876f664464d 0003-kamdbctl-backslash.patch +8c83bc9102a77711e30dcac6e9bba534 0003-kamdbctl-backslash.patch +e613ef3611f9a5091ce05084daf9c9a5 0004-remove-spurious-execinfo.patch 299706d97e30a4f0d9b4c873df422866 kamailio.cfg 39dc9355fa7d8fec425d3b17c2fb26e0 kamailio.initd" -sha256sums="2c8c963a2cd0c997c66ccc65b8d5de01fd7f4b6b6053bcf10bf746d814b313d5 kamailio-4.3.5_src.tar.gz +sha256sums="96b5aaac7980f21b022609846e85b2e4244f39b053d22a5e5f7efe5120cdf2b4 kamailio-4.4.0_src.tar.gz 254ea5d4699417aec49e1aae45398a802067a8967060f2a469e278779d876d22 0001-musl-fixes.patch -93e8ed5bbe16535286ab4cb586caf01cdf11f405492d36271108333210f0c58b 0002-mohqueue-v0-12.patch -46026949a3a367ebaf0c8a7d1ffeeaa3dc67588c94dd8d558991a54996877c1f 0003-kamdbctl-backslash.patch +9aa3b9afea6f0d2d8d306c2f7d093cb846189285e560ce3c62fa2ec2f3d461fe 0003-kamdbctl-backslash.patch +fb9c13dd3cd5cd07cf7599cf6688c46739334a18ade64f8bf44f84fb179e8409 0004-remove-spurious-execinfo.patch 8b742ff710ef67ff59ec07a260690ebcdda24fb6f0b7b64dc50433a1bacf99f2 kamailio.cfg ba928fa914feea2b95b8c659832e3fbea25eb6ac1ce56e4c23ff58c09f1ec3b8 kamailio.initd" -sha512sums="73b28c0c8bfa8998091c6a40d74c5be057e1d8ad9838ac073bd8769fbf93448daf695040b49c432b87a38725a6debb3bd89a1080554e1f88e6fe8e305b535a87 kamailio-4.3.5_src.tar.gz +sha512sums="3a0df08c705df822f41e96a88cfdaba33db9c8cb3d38c12d858e2f99d5ead1c94a967033cce7e5119f2df64e2d34c383cdb7bf43f4ac52c61cf0323d9b70bf3b kamailio-4.4.0_src.tar.gz 32c8e723ee858b24a3bd1313537e9348bdd895e709041d52199b7d2c4054565f3f8d203458b5a7bd5f4b09a782a972cf87f931de5bb8199e6f9786a3c9bfb3ba 0001-musl-fixes.patch -782e70cd6c17f37ca613b05c86a2ddca71b1f0d58361345ddecede2743de65095f058916e049db98e4033b937bcb7a94df77f4b5e1a78e1346d07c8d22dd51d5 0002-mohqueue-v0-12.patch -d96600f1047eac65c0eba34030baa26ee6ee953434ae5808b203cba979fbed616289d40fc588939222371d832f54cbda0a5e8ba9baa16913363e204490758167 0003-kamdbctl-backslash.patch +b71457ee4badf2c1848f4ea86afddfd2be2383791e559f5758fd8502d87e434f0149485eb1c33722d111999508b81b0acb56c9dcb462b6522a5f4cbfae05dfde 0003-kamdbctl-backslash.patch +d962f7bb7fe5c0747dff050d4c2d74f16eedba903a3347b3f86b42e5d7778f5f8b973a6134fd6714c0a62189bc475396e8225db3468390f6e1a84fc1d44f0d87 0004-remove-spurious-execinfo.patch c1abf69b48847dc8c7ab0d11ef9adb531aa4635f9d44db6933981edc5a47df374664fb24867b19aa64abbcc9777bf1cd0360d9aea54e27b081065928c61e0f0b kamailio.cfg cd6e3b677d803cd78561ad14d9b2589fd35ad0096f48047fdcb4ddc7d9103871357efba3b350946844cb53dbb081210746421fc420c22ac845b90251168a628e kamailio.initd" |