aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/kamailio/APKBUILD')
-rw-r--r--main/kamailio/APKBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 9933495068..b97dd43f2a 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Nathan Angelacos <nangel@alpinelinux.org>
pkgname=kamailio
-pkgver=3.1.4
-pkgrel=1
-pkgdesc="Open Source SIP Server"
+pkgver=3.2.0
+pkgrel=0
+pkgdesc="Open Source SIP Proxy"
url="http://www.kamailio.org/"
pkgusers="kamailio"
pkggroups="kamailio"
@@ -12,31 +12,29 @@ license="GPL"
depends=
arch=all
makedepends="bison flex expat-dev postgresql-dev pcre-dev mysql-dev
- libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev"
+ libxml2-dev curl-dev unixodbc-dev confuse-dev ncurses-dev sqlite-dev lua-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="$pkgname-doc $pkgname-postgres $pkgname-presence $pkgname-pcre
- $pkgname-mediaproxy $pkgname-unixodbc $pkgname-mysql $pkgname-sqlite"
+ $pkgname-mediaproxy $pkgname-unixodbc $pkgname-mysql $pkgname-sqlite $pkgname-lua"
source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz
kamailio.cfg
kamailio.initd
- kamailio-3.1-backslash.patch
- sqlite.patch
- 0001-utils-add-sqlite-support-to-kamctl-kamdbctl.patch
- 0001-utils-Install-the-sqlite-scripts.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
_default="carrierroute xmlrpc tm"
-_presence="presence presence_xml presence_mwi pua pua_bla pua_mi pua_usrloc pua_xmpp rls xcap_client presence_dialoginfo pua_dialoginfo"
+_presence="presence presence_xml presence_mwi pua pua_bla pua_mi pua_usrloc pua_xmpp rls xcap_client presence_dialoginfo pua_dialoginfo presence_reginfo"
_pcre="dialplan lcr regex"
_postgres="db_postgres"
_mysql="db_mysql"
_mediaproxy="mediaproxy"
_odbc="db_unixodbc"
+_sqlite="db_sqlite"
+_lua="app_lua"
# Makefile does not handle newline
-_modules="$_default $_postgres $_mediaproxy $_odbc $_presence $_mysql $_pcre"
+_modules="$_default $_postgres $_mediaproxy $_odbc $_presence $_mysql $_pcre $_lua $_sqlite"
prepare() {
@@ -116,6 +114,11 @@ _mv_mod_k() {
}
+lua() {
+ pkgdesc="Lua script support for kamailio"
+ _mv_mod app_lua
+}
+
mysql() {
pkgdesc="MySQL support for kamailio"
depends="kamailio mysql-client"
@@ -149,7 +152,7 @@ sqlite() {
_mv_mod_k db_sqlite || return 1
mkdir -p "$subpkgdir"/usr/share/kamailio \
"$subpkgdir"/usr/lib/kamailio/kamctl
- mv "$pkgdir"/usr/share/kamailio/sqlite \
+ mv "$pkgdir"/usr/share/kamailio/db_sqlite \
"$subpkgdir"/usr/share/kamailio/ || return 1
mv "$pkgdir"/usr/lib/kamailio/kamctl/*.sqlite \
"$subpkgdir"/usr/lib/kamailio/kamctl/ || return 1
@@ -178,10 +181,6 @@ unixodbc() {
_mv_mod_k $_odbc
}
-md5sums="15124e1f09108b63c6929ca97cdbce9a kamailio-3.1.4_src.tar.gz
+md5sums="d2b452e5ec4927b2ec8decdda5966bd9 kamailio-3.2.0_src.tar.gz
a3c959ec568c43a905710e7d25cd8c25 kamailio.cfg
-c0dc4e13d9e57feb99f016d3ee443c0b kamailio.initd
-8454687f047f703c5cb443db3a0003a8 kamailio-3.1-backslash.patch
-199df21eaa4856dcacdcc438f72765f1 sqlite.patch
-9611a1246bc522cbfa5d8d99b3a55ac8 0001-utils-add-sqlite-support-to-kamctl-kamdbctl.patch
-8751c968e57d7c1bd7342d83d5a8d48d 0001-utils-Install-the-sqlite-scripts.patch"
+c0dc4e13d9e57feb99f016d3ee443c0b kamailio.initd"