summaryrefslogtreecommitdiffstats
path: root/testing/kamailio/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-20 09:53:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-20 09:53:03 +0000
commit40446c186e93955efa055fb9dade491966e1cfe5 (patch)
tree22c77be5c8036d0224a28660cf655d516641d648 /testing/kamailio/APKBUILD
parent81b36fe36dd99216711c14b4867ec035d9030cc6 (diff)
downloadaports-40446c186e93955efa055fb9dade491966e1cfe5.tar.bz2
aports-40446c186e93955efa055fb9dade491966e1cfe5.tar.xz
testing/kamailio: upgrade to 3.0.1
Diffstat (limited to 'testing/kamailio/APKBUILD')
-rw-r--r--testing/kamailio/APKBUILD20
1 files changed, 11 insertions, 9 deletions
diff --git a/testing/kamailio/APKBUILD b/testing/kamailio/APKBUILD
index 604796d54..d113912c6 100644
--- a/testing/kamailio/APKBUILD
+++ b/testing/kamailio/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=kamailio
-pkgver=3.0.0
-pkgrel=2
+pkgver=3.0.1
+pkgrel=0
pkgdesc="Open Source SIP Server"
url="http://www.kamailio.org/"
pkgusers="kamailio"
@@ -14,25 +14,27 @@ makedepends="bison flex expat-dev postgresql-dev pcre-dev
install=
subpackages="$pkgname-doc $pkgname-postgres
$pkgname-mediaproxy $pkgname-unixodbc"
-source="http://sip-router.org/tarballs/sr/kamailio_3.0/kamailio-${pkgver}_src_2010-01-12_6d1e9f.tar.gz
+source="http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz
kamailio.cfg
kamailio.initd
kamailio.pre-install
kamailio.post-install
- kamailio-backslash.patch
+ kamailio-3-backslash.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- patch -p1 -i "$srcdir"/kamailio-backslash.patch || return 1
+ patch -p1 -i "$srcdir"/kamailio-3-backslash.patch || return 1
- sed -i -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \
- -e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' \
+ sed -i \
-e "s:-O9 -funroll-loops:$CFLAGS:g" \
Makefile.defs \
|| return 1
+# -e 's:^cfg-target.*:cfg-target = $(cfg-dir):' \
+# -e 's:^cfg-prefix.*:cfg-prefix = $(basedir):' \
+
cd utils/kamctl/
sed -i -e 's:/var/run/kamailio.pid:/var/run/kamailio/kamailio.pid:g' \
kamctl.base kamctlrc || return 1
@@ -141,9 +143,9 @@ unixodbc() {
_mv_mod_k db_unixodbc
}
-md5sums="a043944e195338d56bdfdcd6c86a468b kamailio-3.0.0_src_2010-01-12_6d1e9f.tar.gz
+md5sums="c0e488ab240f9a4668c10068e3fb2cae kamailio-3.0.1_src.tar.gz
eb665248ee39cf755a247286affc5cbb kamailio.cfg
81100c479890a2a8c2628db22fdd1a0c kamailio.initd
c646af2dd31f5c4289a2f802c873d98f kamailio.pre-install
3fbaf633ff1620d0d526fc4047c7bed9 kamailio.post-install
-10f8be110985a841dd5b892f86eb6722 kamailio-backslash.patch"
+36f81be3a082a81497e261ac8e6c5414 kamailio-3-backslash.patch"