Commit 2ede4a9d authored by Francesco Colista's avatar Francesco Colista Committed by Natanael Copa

main/kamailio: added support for unixodbc

parent becddbdc
...@@ -10,10 +10,10 @@ pkggroups="kamailio" ...@@ -10,10 +10,10 @@ pkggroups="kamailio"
license="GPL" license="GPL"
depends= depends=
makedepends="bison flex expat-dev postgresql-dev mysql-dev pcre-dev makedepends="bison flex expat-dev postgresql-dev mysql-dev pcre-dev
libxml2-dev curl-dev" libxml2-dev curl-dev unixodbc-dev"
install= install=
subpackages="$pkgname-doc $pkgname-mysql $pkgname-postgres $pkgname-pcre subpackages="$pkgname-doc $pkgname-mysql $pkgname-postgres $pkgname-pcre
$pkgname-presence $pkgname-mediaproxy" $pkgname-presence $pkgname-mediaproxy $pkgname-unixodbc"
source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_src.tar.gz
kamailio.cfg kamailio.cfg
kamailio.initd kamailio.initd
...@@ -41,7 +41,7 @@ build() { ...@@ -41,7 +41,7 @@ build() {
MODS_PRESENCE=yes \ MODS_PRESENCE=yes \
MODS_RADIUS= \ MODS_RADIUS= \
TLS= \ TLS= \
include_modules="db_postgres mediaproxy" \ include_modules="db_postgres mediaproxy db_unixodbc" \
all || return 1 all || return 1
make prefix=/usr \ make prefix=/usr \
cfg-dir=/etc/kamailio/ \ cfg-dir=/etc/kamailio/ \
...@@ -50,7 +50,7 @@ build() { ...@@ -50,7 +50,7 @@ build() {
MODS_PRESENCE=yes \ MODS_PRESENCE=yes \
MODS_RADIUS= \ MODS_RADIUS= \
TLS= \ TLS= \
include_modules="db_postgres mediaproxy" \ include_modules="db_postgres mediaproxy db_unixodbc" \
basedir="$pkgdir" install || return 1 basedir="$pkgdir" install || return 1
# move default config to -doc package and use our own default config # move default config to -doc package and use our own default config
...@@ -108,6 +108,12 @@ mediaproxy() { ...@@ -108,6 +108,12 @@ mediaproxy() {
_mv_mod mediaproxy _mv_mod mediaproxy
} }
unixodbc() {
pkgdesc="UnixODBC support for kamailio"
depends="kamailio"
_mv_mod db_unixodbc
}
md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz
eb665248ee39cf755a247286affc5cbb kamailio.cfg eb665248ee39cf755a247286affc5cbb kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd 81100c479890a2a8c2628db22fdd1a0c kamailio.initd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment