aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2009-10-13 11:36:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-13 11:49:50 +0000
commit69e74429aee60a294b015dcf74f21c927205229b (patch)
treee8671770ead7e01b460bc92a7fdb1d16c19a8c01 /main
parent81f42111180a099eca004fa970c72630e3b80780 (diff)
downloadaports-69e74429aee60a294b015dcf74f21c927205229b.tar.bz2
aports-69e74429aee60a294b015dcf74f21c927205229b.tar.xz
main/kamailio: Mediaproxy support
Diffstat (limited to 'main')
-rw-r--r--main/kamailio/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index d414f8e14a..292d1942e4 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=1.5.2
-pkgrel=6
+pkgrel=7
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -13,7 +13,7 @@ makedepends="bison flex expat-dev postgresql-dev mysql-dev pcre-dev
libxml2-dev curl-dev"
install=
subpackages="$pkgname-doc $pkgname-mysql $pkgname-postgres $pkgname-pcre
- $pkgname-presence"
+ $pkgname-presence $pkgname-mediaproxy"
source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz
kamailio.cfg
kamailio.initd
@@ -41,7 +41,7 @@ build() {
MODS_PRESENCE=yes \
MODS_RADIUS= \
TLS= \
- include_modules=db_postgres \
+ include_modules="db_postgres mediaproxy" \
all || return 1
make prefix=/usr \
cfg-dir=/etc/kamailio/ \
@@ -50,7 +50,7 @@ build() {
MODS_PRESENCE=yes \
MODS_RADIUS= \
TLS= \
- include_modules=db_postgres \
+ include_modules="db_postgres mediaproxy" \
basedir="$pkgdir" install || return 1
# move default config to -doc package and use our own default config
@@ -102,6 +102,12 @@ presence() {
pua_dialoginfo
}
+mediaproxy() {
+ pkgdesc="Mediaproxy support for kamailio"
+ depends="kamailio"
+ _mv_mod mediaproxy
+}
+
md5sums="6c6f4ed6fbcb4d008b8ac3de5b99ce99 kamailio-1.5.2-notls_src.tar.gz
eb665248ee39cf755a247286affc5cbb kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd