aboutsummaryrefslogtreecommitdiffstats
path: root/main/kamailio/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/kamailio/APKBUILD')
-rw-r--r--main/kamailio/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/main/kamailio/APKBUILD b/main/kamailio/APKBUILD
index 77916f0002..16aabbd54f 100644
--- a/main/kamailio/APKBUILD
+++ b/main/kamailio/APKBUILD
@@ -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"