X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 3838CDC19AB for ; Sat, 10 Mar 2012 04:29:36 +0000 (UTC) Received: by iahk25 with SMTP id k25so4168477iah.13 for ; Fri, 09 Mar 2012 20:29:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=AZ+0zigJllg2wBGIJzDyJ3RsgDgRFx/TQTnmJovRjuM=; b=KW5xY8iM/xZUf54B/kGSafdw0Bju83S6Pagy/NwkDzVX1f1nNZXqTfsEvoYMLXdRgi Gtz31SoHgAEAQ4udXaTG2+PIBe3U/msuZYEKrXHxP5msNt2j2g3guW118GEM5IEMJBBU r/c9aFrwOtj1dBmmodN2/50gM7lJjE2tntvpKqWFUrDOJabTWvEfxj8w9T+3N/jJbHnV nXFHW7cD5jyQNY9qRqxfpdGMfI293pSqDbKcf2SpB0EXBWIuUHoBW3ZRfRwoWA6lGbSQ aBnnGqIeHTKv0kI91g5ItRN+uTW20Q9VH44Qu21WJdE/kjtT3QekAZdeonlJH/hCz9Vv J78Q== Received: by 10.50.182.197 with SMTP id eg5mr7081827igc.36.1331353775292; Fri, 09 Mar 2012 20:29:35 -0800 (PST) Received: from brooklyn64.my.domain (c-24-13-255-202.hsd1.il.comcast.net. [24.13.255.202]) by mx.google.com with ESMTPS id c2sm3872857igj.1.2012.03.09.20.29.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 09 Mar 2012 20:29:34 -0800 (PST) From: Cameron Banta To: alpine-devel@lists.alpinelinux.org Cc: Cameron Banta Subject: [alpine-devel] [PATCH] main/freeswitch: update to latest git snapshot Date: Sat, 10 Mar 2012 04:29:28 +0000 Message-Id: <1331353768-28222-1-git-send-email-cbanta@gmail.com> X-Mailer: git-send-email 1.7.9.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- ...pdate-mod_sofia_globals.guess_ip-on-addre.patch | 27 -------------------- .../freeswitch/0003-mod_conference_no_hangup.patch | 27 -------------------- main/freeswitch/APKBUILD | 16 +++++------- 3 files changed, 7 insertions(+), 63 deletions(-) delete mode 100644 main/freeswitch/0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch delete mode 100644 main/freeswitch/0003-mod_conference_no_hangup.patch diff --git a/main/freeswitch/0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch b/main/freeswitch/0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch deleted file mode 100644 index ccf4e5c..0000000 --- a/main/freeswitch/0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 67a60b5bf50fbfdf184dc4cb20a88d8d88ff59ad Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Timo=20Ter=C3=A4s?= -Date: Fri, 10 Jun 2011 11:58:19 +0300 -Subject: [PATCH 1/2] mod_sofia: update mod_sofia_globals.guess_ip on address change - -So that we rebind to the new IP-address after reloading -configuration. Fixes FS-3336. ---- - src/mod/endpoints/mod_sofia/mod_sofia.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c -index 86fa140..b06eacb 100644 ---- a/src/mod/endpoints/mod_sofia/mod_sofia.c -+++ b/src/mod/endpoints/mod_sofia/mod_sofia.c -@@ -4889,6 +4889,8 @@ static void general_event_handler(switch_event_t *event) - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "EVENT_TRAP: IP change detected\n"); - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "IP change detected [%s]->[%s] [%s]->[%s]\n", old_ip4, new_ip4, old_ip6, new_ip6); - -+ strncpy(mod_sofia_globals.guess_ip, new_ip4, sizeof(mod_sofia_globals.guess_ip)); -+ - switch_mutex_lock(mod_sofia_globals.hash_mutex); - if (mod_sofia_globals.profile_hash) { - for (hi = switch_hash_first(NULL, mod_sofia_globals.profile_hash); hi; hi = switch_hash_next(hi)) { --- -1.7.1 - diff --git a/main/freeswitch/0003-mod_conference_no_hangup.patch b/main/freeswitch/0003-mod_conference_no_hangup.patch deleted file mode 100644 index 577ca8e..0000000 --- a/main/freeswitch/0003-mod_conference_no_hangup.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c -index 572fdf0..d62d114 100644 ---- a/src/mod/applications/mod_conference/mod_conference.c -+++ b/src/mod/applications/mod_conference/mod_conference.c -@@ -1482,13 +1482,15 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v - if (!switch_test_flag(imember, MFLAG_NOCHANNEL)) { - channel = switch_core_session_get_channel(imember->session); - -- /* add this little bit to preserve the bridge cause code in case of an early media call that */ -- /* never answers */ -- if (switch_test_flag(conference, CFLAG_ANSWERED)) { -- switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); -- } else { -- /* put actual cause code from outbound channel hangup here */ -- switch_channel_hangup(channel, conference->bridge_hangup_cause); -+ if (!switch_false(switch_channel_get_variable(channel, "hangup_after_conference"))) { -+ /* add this little bit to preserve the bridge cause code in case of an early media call that */ -+ /* never answers */ -+ if (switch_test_flag(conference, CFLAG_ANSWERED)) { -+ switch_channel_hangup(channel, SWITCH_CAUSE_NORMAL_CLEARING); -+ } else { -+ /* put actual cause code from outbound channel hangup here */ -+ switch_channel_hangup(channel, conference->bridge_hangup_cause); -+ } - } - } - diff --git a/main/freeswitch/APKBUILD b/main/freeswitch/APKBUILD index 591a42d..bf39232 100644 --- a/main/freeswitch/APKBUILD +++ b/main/freeswitch/APKBUILD @@ -1,10 +1,11 @@ # Contributor: Michael Mason # Maintainer: Natanael Copa pkgname=freeswitch -pkgver=1.0.7_p20110602 +pkgver=1.0.7_p20120309 _ver=${pkgver%_p*} _snapshot=${pkgver#*_p} -pkgrel=7 +_commit=ca60afaa1900abdeeb3a105de6cd53f098a3dd01 +pkgrel=1 pkgdesc="A communications platform written in C from the ground up" url="http://www.freeswitch.org" arch="all" @@ -17,17 +18,16 @@ makedepends="curl-dev unixodbc-dev zlib-dev openssl-dev ncurses-dev install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade" subpackages="$pkgname-dev $pkgname-flite $pkgname-timezones $pkgname-sample-config:conf $pkgname-freetdm $pkgname-sangoma" -source="saveas-http://latest.freeswitch.org/freeswitch-$_ver.tar.gz/freeswitch-$pkgver.tar.gz +#hmm, saveas doesn't work with https... +source="http://git.freeswitch.org/git/freeswitch/snapshot/$pkgname-$_commit.tar.bz2 freeswitch-mod_shout-textrels.patch - 0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch 0002-mod_lua-alpine-module-search-path.patch - 0003-mod_conference_no_hangup.patch modules.conf freeswitch.confd freeswitch.initd " -_builddir="$srcdir/$pkgname-$_ver" +_builddir="$srcdir/$pkgname-$_commit" prepare() { cd "$_builddir" @@ -153,11 +153,9 @@ conf() { mkdir -p "$pkgdir"/etc/freeswitch/scripts } -md5sums="813edb2192d1cc0fe224d9ef0492de4f freeswitch-1.0.7_p20110602.tar.gz +md5sums="9d539a3cbbc56cef870946506839603c freeswitch-ca60afaa1900abdeeb3a105de6cd53f098a3dd01.tar.bz2 11883affe0839a8e15fe680aeb11b86e freeswitch-mod_shout-textrels.patch -5aed9ec61d7ac1f3758a89db159328c4 0001-mod_sofia-update-mod_sofia_globals.guess_ip-on-addre.patch 769eaa127d4dbae687dc4aa961a8cc70 0002-mod_lua-alpine-module-search-path.patch -74c3cdd3ce8474e8d084f475fa4f92c1 0003-mod_conference_no_hangup.patch 94516a9473e2283ab201f38cb2756741 modules.conf c608cca8ad773acebf201f581438c7e7 freeswitch.confd 51e0c45ae07a675f6008f95b1ab8f18e freeswitch.initd" -- 1.7.9.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---