Commit 6037da53 authored by Natanael Copa's avatar Natanael Copa

main/kamailio: fix script

fixes #226
(cherry picked from commit a3d4f823)
parent b3240311
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
pkgver=1.5.3
pkgrel=2
pkgrel=3
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
......@@ -19,10 +19,13 @@ source="http://www.kamailio.org/pub/kamailio/$pkgver/src/$pkgname-$pkgver-notls_
kamailio.initd
kamailio.pre-install
kamailio.post-install
kamailio-backslash.patch
"
prepare() {
cd "$srcdir/$pkgname-$pkgver-notls"
patch -p1 -i "$srcdir"/kamailio-backslash.patch || return 1
sed -i -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \
-e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' Makefile.defs \
|| return 1
......@@ -129,4 +132,5 @@ md5sums="17eeea5cdc2fdd28b2f9a1bad6598de2 kamailio-1.5.3-notls_src.tar.gz
eb665248ee39cf755a247286affc5cbb kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd
c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install"
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install
b0ea6c22e2e40d5d12a547898aef6973 kamailio-backslash.patch"
--- a/scripts/kamdbctl.base Tue Dec 22 07:01:57 2009
+++ b/scripts/kamdbctl.base Tue Dec 22 07:02:26 2009
@@ -32,9 +32,9 @@
# Used by dbtext and db_berkeley to define tables to be created, used by
# postgres to do the grants
-STANDARD_TABLES=${STANDARD_TABLES:-version acc dbaliases lcr domain grp
- uri speed_dial gw pdt subscriber location re_grp trusted
- address missed_calls usr_preferences aliases silo dialog
+STANDARD_TABLES=${STANDARD_TABLES:-version acc dbaliases lcr domain grp \
+ uri speed_dial gw pdt subscriber location re_grp trusted \
+ address missed_calls usr_preferences aliases silo dialog \
dispatcher dialplan}
EXTRA_TABLES=${EXTRA_TABLES:-imc_members imc_rooms cpl sip_trace domainpolicy carrierroute
carrier_name domain_name carrierfailureroute userblacklist globalblacklist htable purplemap}
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