Subject: [alpine-devel] [NEW APK] mediaproxy support for Kamailio

From: Francesco <[email-masked]>
Date: Tue, 13 Oct 2009 13:34:10 +0200

Could you review and test it?

Thanks.

:: Francesco Colista ::
From eb9cc42f1df0213d2e06a8157b5dac492211eed8 Mon Sep 17 00:00:00 2001
From: Francesco Colista <[email-masked]>
Date: Tue, 13 Oct 2009 11:36:09 +0000
Subject: [PATCH] Mediaproxy support for Kamailio

---
 main/kamailio/APKBUILD |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index d414f8e..573b364 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -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 suupport for kamailio"
+	depends="kamailio"
+	_mv_mod mediaproxy
+}
+
 md5sums="6c6f4ed6fbcb4d008b8ac3de5b99ce99  kamailio-1.5.2-notls_src.tar.gz
 eb665248ee39cf755a247286affc5cbb  kamailio.cfg
 81100c479890a2a8c2628db22fdd1a0c  kamailio.initd
-- 
1.6.2.5

---

From: Natanael Copa <[email-masked]>
Date: Tue, 13 Oct 2009 13:55:49 +0200

> Could you review and test it?

fixed spelling error in pkgdesc and bumped pkgrel (so it gets rebuilt).

Its uploaded on the development repository, edge.

http://git.alpinelinux.org/cgit/aports/commit/?id=69e74429aee60a294b015dcf74f21c927205229b

Thanks!
-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---