diff options
Diffstat (limited to 'testing/kamailio/APKBUILD')
-rw-r--r-- | testing/kamailio/APKBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD index 2f8007ee22..db7af6dac5 100644 --- a/testing/kamailio/APKBUILD +++ b/testing/kamailio/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=kamailio pkgver=3.0.2 -pkgrel=1 +pkgrel=3 pkgdesc="Open Source SIP Server" url="http://www.kamailio.org/" pkgusers="kamailio" @@ -12,7 +12,7 @@ depends= makedepends="bison flex expat-dev postgresql-dev pcre-dev libxml2-dev curl-dev unixodbc-dev confuse-dev" install= -subpackages="$pkgname-doc $pkgname-postgres +subpackages="$pkgname-doc $pkgname-postgres $pkgname-presence $pkgname-mediaproxy $pkgname-unixodbc" source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz kamailio.cfg @@ -23,7 +23,12 @@ source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src. " _builddir="$srcdir"/$pkgname-$pkgver -_modules="db_postgres mediaproxy db_unixodbc carrierroute xmlrpc" +# Makefile does not handle newline +_presence="presence presence_xml presence_mwi pua pua_bla pua_mi pua_usrloc pua_xmpp rls xcap_client presence_dialoginfo pua_dialoginfo" + +_modules="db_postgres mediaproxy db_unixodbc carrierroute xmlrpc tm $_presence" + + prepare() { cd "$_builddir" patch -p1 -i "$srcdir"/kamailio-3-backslash.patch || return 1 @@ -55,7 +60,6 @@ build() { cfg_target=/etc/kamailio/ \ MODS_MYSQL=yes \ MODS_PCRE=yes \ - MODS_PRESENCE=yes \ MODS_RADIUS= \ TLS= \ include_modules="$_modules" \ @@ -68,7 +72,6 @@ package() { cfg_target=/etc/kamailio/ \ MODS_MYSQL=yes \ MODS_PCRE=yes \ - MODS_PRESENCE=yes \ MODS_RADIUS= \ TLS= \ include_modules="$_modules" \ @@ -128,10 +131,8 @@ pcre() { } presence() { - pkgdesc="Precense support for kamailio" - _mv_mod presence presence_xml presence_mwi pua pua_bla pua_mi \ - pua_usrloc pua_xmpp rls xcap_client presence_dialoginfo \ - pua_dialoginfo + pkgdesc="Presence support for kamailio" + _mv_mod_k $_presence } mediaproxy() { @@ -147,7 +148,7 @@ unixodbc() { } md5sums="dd039e078a77032a423fb15f9685ad31 kamailio-3.0.2_src.tar.gz -865979ca14a727e99e0de5ca2426603f kamailio.cfg +a3c959ec568c43a905710e7d25cd8c25 kamailio.cfg 81100c479890a2a8c2628db22fdd1a0c kamailio.initd c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install 3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install |