aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-18 13:18:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-18 14:45:10 +0000
commit7d4e78cd66f0a8afc7710932268c59cb0830adde (patch)
treec0d3a6f2cc639574dae413bf855c07d00fc2b0f3 /main
parentc5f7cc6296606e366c82963843d034535737f24a (diff)
downloadaports-7d4e78cd66f0a8afc7710932268c59cb0830adde.tar.bz2
aports-7d4e78cd66f0a8afc7710932268c59cb0830adde.tar.xz
main/freeswitch: upgrade to 1.4.13
Diffstat (limited to 'main')
-rw-r--r--main/freeswitch/APKBUILD28
-rw-r--r--main/freeswitch/fix-postgres-headers.patch11
2 files changed, 14 insertions, 25 deletions
diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD
index 30d99a2e96..75d84dbdee 100644
--- a/main/freeswitch/APKBUILD
+++ b/main/freeswitch/APKBUILD
@@ -2,8 +2,8 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Contributor: Cameron Banta <cbanta@gmail.com>
pkgname=freeswitch
-pkgver=1.4.7
-pkgrel=1
+pkgver=1.4.13
+pkgrel=0
pkgdesc="A communications platform written in C from the ground up"
url="http://www.freeswitch.org"
arch="all"
@@ -16,7 +16,8 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev
autoconf automake libtool libpri-dev bash net-snmp-dev postgresql-dev
libiconv-dev subversion flac-dev libogg-dev libvorbis-dev
libjpeg-turbo-dev sngtc_client-dev gnutls-dev util-linux-dev
- sqlite-dev pcre-dev speex-dev ldns-dev libedit-dev lua5.2-dev"
+ sqlite-dev pcre-dev speex-dev ldns-dev libedit-dev lua5.2-dev
+ portaudio-dev"
install="$pkgname.pre-install $pkgname.pre-upgrade"
subpackages="$pkgname-dev $pkgname-flite $pkgname-timezones
$pkgname-sample-config:conf $pkgname-freetdm $pkgname-sangoma
@@ -44,7 +45,6 @@ source="http://files.freeswitch.org/$pkgname-$pkgver.tar.xz
libshout-disable-examples.patch
freeswitch-mod_shout-textrels.patch
system-lua.patch
- fix-postgres-headers.patch
"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -69,6 +69,9 @@ prepare() {
build() {
cd "$_builddir"
+ # remove Werror
+ sed -i -e 's/-Werror/-Wall/g' configure
+
# i think our max cmd len is 32768
# by specifying it here we save our selves from some CPU cycles
export lt_cv_sys_max_cmd_len=8192
@@ -87,11 +90,11 @@ build() {
--with-devrandom=/dev/urandom \
--with-libpri \
--disable-debug \
+ --enable-core-pgsql-support \
|| return 1
# first build libfreeswitch (in parallel)
make src/include/switch_version.h src/include/switch_swigable_cpp.h
- (cd libs/portaudio && make SHELL=/bin/bash) || return 1
make libfreeswitch.la || return 1
# finally we build the rest
make -j1 all || return 1
@@ -190,7 +193,7 @@ conf() {
mkdir -p "$pkgdir"/etc/freeswitch/scripts
}
-md5sums="1b82747c0672200c6b8d1c6543c4804f freeswitch-1.4.7.tar.xz
+md5sums="3a5a6cf6b6508355a012541c64f648d9 freeswitch-1.4.13.tar.xz
4653b3b9c568bb9c782178abfaac128d freeswitch-json-c-0.9.tar.gz
f3a2d88b1059f6f4ff3c20a8169bc0f4 freeswitch-flite-1.5.4-current.tar.bz2
8e9866ad6b570c6c95c8cba48060473f freeswitch-lame-3.98.4.tar.gz
@@ -202,9 +205,8 @@ c608cca8ad773acebf201f581438c7e7 freeswitch.confd
b48a5dbaa455bbe0bba4880cc06e6ff8 freeswitch.initd
90b133b14a42c86d53d5e54dcbfbaf58 libshout-disable-examples.patch
4cd4923463c89bed053e6295b5a4ec40 freeswitch-mod_shout-textrels.patch
-e792dc1e6858029ae8b27c00b5710a3c system-lua.patch
-f6067c7e7361b4b7a8583e8980c41f8a fix-postgres-headers.patch"
-sha256sums="625b14dd930188e378cbebb88faaecc24fcc8c1aa907e73debeac277b2c752a9 freeswitch-1.4.7.tar.xz
+e792dc1e6858029ae8b27c00b5710a3c system-lua.patch"
+sha256sums="ee0c38b11164245641ccdfcbb44fdf429bc1e7d69c1783f2238ea91118236c6c freeswitch-1.4.13.tar.xz
816fb2d4baab09e2f51a7c1be75bc9e03ed09d4cf3c2cd03c183f433bb9b565f freeswitch-json-c-0.9.tar.gz
e98c54307954f406ef59a354f9ec274436b95be53f785e27191f19569af0ed7e freeswitch-flite-1.5.4-current.tar.bz2
ac3144c76617223a9be4aaa3e28a66b51bcab28141050c3af04cb06836f772c8 freeswitch-lame-3.98.4.tar.gz
@@ -216,9 +218,8 @@ f83f9680d243eb254bf045571f971a6c5cf716367444cd48ed26d4c3367f4c41 modules.conf
4c3d4db15afe51c6a29f13fded2821e3390dc21953fa7f9bcb238626a40d8037 freeswitch.initd
db0d3c252b5664ecb071bcf6868eff77c85dd7943a63fcfcac7e19db6a0ff61f libshout-disable-examples.patch
be1009327de615f04956ba0b0f44183f31c263e380af8027f94b976a84bcb09a freeswitch-mod_shout-textrels.patch
-2d4c0afc75c34aa47785bfd4759096c26cf5dd95b3b14c8e9c6d96a108747116 system-lua.patch
-4cc4d6e4cdca57eb2c5375dbc5941ec3a78fa7e86acda7b791bdf23d3e71250b fix-postgres-headers.patch"
-sha512sums="99adae94b07bf5e4f4c5171967f862f508e61c6fff8d81cd3019f2c20e14c1024bd1d72a8adfd95d437e5cb96ea6c12a5b8bf2a416d78ceb113801fa7211d1e8 freeswitch-1.4.7.tar.xz
+2d4c0afc75c34aa47785bfd4759096c26cf5dd95b3b14c8e9c6d96a108747116 system-lua.patch"
+sha512sums="dc36a41770f73d53876cd52ca0b2de2da913589a8c8a0e564766084c3b14cef40bf861a701a8e880c547280b4a189dbcd415ebd9a381ac0099ece9d67d8c9aa4 freeswitch-1.4.13.tar.xz
38b8729275bbfebaee783e703d19481f3d32b50cfdeb338644b8db2742573ea025702c789b5ce8d5067dcde23c5a16b46231eaadf0b9c5dbff392d410912c772 freeswitch-json-c-0.9.tar.gz
e239e5730d7cbbae8a2985445e49156ffc92489d9fac655d0a9db617ac63c2fc522e4c086a6afced26daa383c269c546ff7e62227ae8bdc998024a85991fb55d freeswitch-flite-1.5.4-current.tar.bz2
cf6cff914c06c2d65470c577eed2bfa226e9017cdfd26aa3e95c3b3b76c40568151ca223327859d6dacb982c80c06b672ba4e9f32ce1e452363c95126edb301b freeswitch-lame-3.98.4.tar.gz
@@ -230,5 +231,4 @@ a585f6411185a26206137a1ad97a06fd6c73e80c5439e9be45eabfa70e7a83120169ba882971fcd3
7792217db47a8f0d3d89a9c27090b9feefa8fd6e6b6651fa960be733fba9a22ac0e46f65fd6c24e489791bc0e4f42f1c5b89271541d024f1bbd593bb3b89666f freeswitch.initd
91a6d7c8456de65855930b371f568f0230c28422e667453aa48fababd185b47677c06ff0c79f94c2a02182439b012d48cb54548cbde3d12b8d0e1ffbb9b229cc libshout-disable-examples.patch
5f085254ca9f5dc196afd39fc55e083b1998e776d9de2428e5657d99077526c33c1fc13f12432598184ce63138447fed7c318c384b743681703f5682dc8e1e50 freeswitch-mod_shout-textrels.patch
-bb60ecfa16c5d6e084f741e1a9ced59d94b7f6eb132127434aeef384fb95bc1896212aac33d0d8ffcd68dc9d99054d88691dc5d5c970f66d631b40dff766e4e4 system-lua.patch
-7f2f23efc69b7bc219d343421d62ff04076971b2d9130fb33f132b896a4da43aa5fcce2ece44e77f3a29cdade643fac63d96d59555daa0c1578d41592d5deedd fix-postgres-headers.patch"
+bb60ecfa16c5d6e084f741e1a9ced59d94b7f6eb132127434aeef384fb95bc1896212aac33d0d8ffcd68dc9d99054d88691dc5d5c970f66d631b40dff766e4e4 system-lua.patch"
diff --git a/main/freeswitch/fix-postgres-headers.patch b/main/freeswitch/fix-postgres-headers.patch
deleted file mode 100644
index c158c8d3b5..0000000000
--- a/main/freeswitch/fix-postgres-headers.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c.orig
-+++ ./src/mod/event_handlers/mod_cdr_pg_csv/mod_cdr_pg_csv.c
-@@ -37,7 +37,7 @@
-
- #include <switch.h>
- #include <sys/stat.h>
--#include <postgresql/libpq-fe.h>
-+#include <libpq-fe.h>
-
- SWITCH_MODULE_LOAD_FUNCTION(mod_cdr_pg_csv_load);
- SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_cdr_pg_csv_shutdown);