aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-06-22 15:05:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-06-22 15:05:47 +0000
commitee192f2b39cc4444c7e9256d3040f3c8f298bafe (patch)
tree3109383cf4ab93f75580689a0c6728f39d566625 /testing
parent9a157e889c78f2a4e6675e55d40ef13e43ddb48f (diff)
downloadaports-ee192f2b39cc4444c7e9256d3040f3c8f298bafe.tar.bz2
aports-ee192f2b39cc4444c7e9256d3040f3c8f298bafe.tar.xz
testing/kamailio: added presence subpackage
Diffstat (limited to 'testing')
-rw-r--r--testing/kamailio/APKBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD
index 2f8007ee22..3ca4e5bade 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=2
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() {