Subject: [alpine-devel] [PATCH] main/kamailio

From: Nathan Angelacos <[email-masked]>
Date: Sat, 10 Nov 2012 05:15:21 +0000

Added tls module packaging
---
 main/kamailio/APKBUILD | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 9636c42..8816c2c 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Nathan Angelacos <[email-masked]>
 pkgname=kamailio
 pkgver=3.3.2
-pkgrel=0
+pkgrel=1
 pkgdesc="Open Source SIP Proxy"
 url="http://www.kamailio.org/"
 pkgusers="kamailio"
@@ -13,11 +13,11 @@ 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
-	lua-dev openldap-dev"
+	lua-dev openldap-dev openssl-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-lua $pkgname-ldap $pkgname-sipcapture"
+	$pkgname-lua $pkgname-ldap $pkgname-sipcapture $pkgname-tls"
 source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz
 	fix-sql-module-loading-order.patch
 	kamailio-3.2-backslash.patch
@@ -39,9 +39,10 @@ _odbc="db_unixodbc"
 _sqlite="db_sqlite"
 _lua="app_lua"
 _ldap="ldap"
+_tls="tls"
 
 # Makefile does not handle newline
-_modules="$_default $_postgres $_mediaproxy $_odbc $_presence $_mysql $_pcre $_lua $_sqlite $_ldap $_sipcapture async"
+_modules="$_default $_postgres $_mediaproxy $_odbc $_presence $_mysql $_pcre $_lua $_sqlite $_ldap $_sipcapture async $_tls"

 prepare() {
@@ -202,6 +203,14 @@ ldap() {
 	_mv_mod_s ldap
 }
 
+
+tls() {
+	pkgdesc="TLS support for kamailio"
+	depends="kamailio"
+	_mv_mod tls
+}
+
+
 sipcapture() {
 	pkgdesc="HOMER sipcapture support for kamailio"
 	depends="kamailio"
-- 
1.8.0

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