From 6c4f646434b9a51de94b5e469016f357a04a5125 Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 4 Aug 2024 18:33:56 +0200 Subject: [PATCH] freeswitch: bump to 1.10.12 - plugin mod-kazoo removed upstream - add @BROKEN dependency because of prce removal from packages - refresh patches Signed-off-by: Sebastian Kemper --- net/freeswitch/Makefile | 9 ++++----- net/freeswitch/patches/120-fix-copts.patch | 2 +- .../patches/490-build-properly-fix-time_t-issues.patch | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 213e45b..27bf104 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=freeswitch -PKG_VERSION:=1.10.11 +PKG_VERSION:=1.10.12 PKG_RELEASE:=1 PKG_MAINTAINER:=Sebastian Kemper PKG_SOURCE:=freeswitch-$(PKG_VERSION).-release.tar.xz PKG_SOURCE_URL:=https://files.freeswitch.org/releases/freeswitch -PKG_HASH:=7f9603a691220d9f47da42f3b19290b629b69dceb2eee56448f0a7cefcf9d1a1 +PKG_HASH:=e324e4ae063e692c42b93031157329bae339ea007e611d3535333deaed85aa47 PKG_CPE_ID:=cpe:/a:freeswitch:freeswitch @@ -127,7 +127,6 @@ FS_MOD_AVAILABLE:= \ http_cache \ isac \ json_cdr \ - kazoo \ lcr \ ldap \ local_stream \ @@ -309,6 +308,7 @@ $(call Package/freeswitch/Default) MENU:=1 USERID:=freeswitch=372:freeswitch=372 DEPENDS:= \ + @BROKEN \ $(ICONV_DEPENDS) \ +libstdcpp \ +!BUSYBOX_DEFAULT_SU:shadow-utils \ @@ -592,7 +592,7 @@ CONFIGURE_ARGS+= \ --with-python3=no endif -ifeq ($(CONFIG_PACKAGE_freeswitch-mod-erlang-event)$(CONFIG_PACKAGE_freeswitch-mod-kazoo),) +ifeq ($(CONFIG_PACKAGE_freeswitch-mod-erlang-event),) CONFIGURE_ARGS+= \ --with-erlang=no endif @@ -921,7 +921,6 @@ $(eval $(call Package/freeswitch/Module,httapi,HT-TAPI,This module provides an A $(eval $(call Package/freeswitch/Module,http_cache,HTTP GET with caching,This module provides an API for making HTTP GET requests where the\nresult is cached.,)) $(eval $(call Package/freeswitch/Module,isac,iSAC,iSAC codec support.,@arm||i386||mips||mips64||mips64el||mipsel||x86_64)) $(eval $(call Package/freeswitch/Module,json_cdr,JSON CDR,JSON-based Call Detail Record handler.,)) -$(eval $(call Package/freeswitch/Module,kazoo,Kazoo,Kazoo module for FreeSWITCH.,+erlang)) $(eval $(call Package/freeswitch/Module,lcr,LCR,This module adds a facility for least-cost routing.,)) $(eval $(call Package/freeswitch/Module,ldap,LDAP,LDAP module for FreeSWITCH.,+libopenldap)) $(eval $(call Package/freeswitch/Module,local_stream,Local stream,Connects multiple channels to a looped stream.,)) diff --git a/net/freeswitch/patches/120-fix-copts.patch b/net/freeswitch/patches/120-fix-copts.patch index e56ae64..f746bbf 100644 --- a/net/freeswitch/patches/120-fix-copts.patch +++ b/net/freeswitch/patches/120-fix-copts.patch @@ -1,6 +1,6 @@ --- a/configure.ac +++ b/configure.ac -@@ -2300,7 +2300,12 @@ AC_SUBST(OUR_DISABLED_INSTALL_MODS) +@@ -2299,7 +2299,12 @@ AC_SUBST(OUR_DISABLED_INSTALL_MODS) AC_SUBST(OUR_DISABLED_UNINSTALL_MODS) AC_SUBST(AM_MAKEFLAGS) diff --git a/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch b/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch index 9ead97f..ca8ee99 100644 --- a/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch +++ b/net/freeswitch/patches/490-build-properly-fix-time_t-issues.patch @@ -73,7 +73,7 @@ The most portable fix for time_t handling is to always cast it to --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c -@@ -4198,7 +4198,8 @@ void sofia_presence_handle_sip_i_subscri +@@ -4197,7 +4197,8 @@ void sofia_presence_handle_sip_i_subscri sql = switch_mprintf("insert into sip_dialogs (sip_from_user,sip_from_host,call_info,call_info_state,hostname,expires,rcd,profile_name) " "values ('%q','%q','%q','seized','%q',%"TIME_T_FMT",%ld,'%q')", to_user, to_host, switch_str_nil(p), mod_sofia_globals.hostname, -- 2.30.2