-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #826 from micmac1/fs-1.10.10
freeswitch: bump to 1.10.10
- Loading branch information
Showing
16 changed files
with
65 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=libks | ||
|
||
PKG_VERSION:=1.8.2 | ||
PKG_VERSION:=2.0.2 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE:=libks-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/signalwire/libks/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=131d7896c81a7f3c9bf06860e4f564ca558d4be1614568fec688b3eb66d38107 | ||
PKG_HASH:=af94f9fcdb2022b8f09187309ac2d372a5a4cc639af77cd4375f2d5c88b4fd63 | ||
|
||
PKG_BUILD_PARALLEL:=1 | ||
CMAKE_INSTALL:=1 | ||
|
@@ -33,34 +33,34 @@ PKG_MAINTAINER:=Sebastian Kemper <[email protected]> | |
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/cmake.mk | ||
|
||
define Package/$(PKG_NAME) | ||
define Package/libks | ||
SUBMENU:=Telephony | ||
SECTION:=libs | ||
CATEGORY:=Libraries | ||
TITLE:=Foundational support for SignalWire C products | ||
URL:=https://github.com/signalwire/libks | ||
ABI_VERSION:=1 | ||
ABI_VERSION:=2 | ||
DEPENDS:=+libatomic +libopenssl +libuuid | ||
endef | ||
|
||
# Otherwise OpenWrt's CPPFLAGS are ignored | ||
TARGET_CFLAGS += $(TARGET_CPPFLAGS) | ||
|
||
define Build/InstallDev | ||
$(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME) | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/$(PKG_NAME)/*.h \ | ||
$(1)/usr/include/$(PKG_NAME) | ||
$(INSTALL_DIR) $(1)/usr/lib/{cmake/$(PKG_NAME),pkgconfig} | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/$(PKG_NAME)/cmake/* \ | ||
$(1)/usr/lib/cmake/$(PKG_NAME) | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/$(PKG_NAME).so* $(1)/usr/lib | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/$(PKG_NAME).pc \ | ||
$(INSTALL_DIR) $(1)/usr/include/libks2/libks/cmake | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libks2/libks/*.h \ | ||
$(1)/usr/include/libks2/libks | ||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libks2/libks/cmake/* \ | ||
$(1)/usr/include/libks2/libks/cmake | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libks2.so* $(1)/usr/lib | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libks2.pc \ | ||
$(1)/usr/lib/pkgconfig | ||
endef | ||
|
||
define Package/$(PKG_NAME)/install | ||
define Package/libks/install | ||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/$(PKG_NAME).so.$(ABI_VERSION)* $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libks2.so.$(ABI_VERSION)* $(1)/usr/lib | ||
endef | ||
|
||
$(eval $(call BuildPackage,$(PKG_NAME))) | ||
$(eval $(call BuildPackage,libks)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=signalwire-client-c | ||
|
||
PKG_VERSION:=1.3.0 | ||
PKG_VERSION:=2.0.0 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=signalwire-c-$(PKG_VERSION).tar.gz | ||
PKG_SOURCE_URL:=https://codeload.github.com/signalwire/signalwire-c/tar.gz/$(PKG_VERSION)? | ||
PKG_HASH:=77bc7fbd8405283ef64ccbc22fba6687fc936ed76fafcc15e7e90290e2906884 | ||
PKG_SOURCE_URL:=https://codeload.github.com/signalwire/signalwire-c/tar.gz/v$(PKG_VERSION)? | ||
PKG_HASH:=7916ad76b2c2c75ff616d19bf044894771b3f8602b80a6f74d8ba26206faef79 | ||
|
||
PKG_BUILD_DIR:=$(BUILD_DIR)/signalwire-c-$(PKG_VERSION) | ||
|
||
|
@@ -29,40 +29,41 @@ PKG_MAINTAINER:=Sebastian Kemper <[email protected]> | |
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/cmake.mk | ||
|
||
define Package/$(PKG_NAME) | ||
define Package/signalwire-client-c | ||
SUBMENU:=Telephony | ||
SECTION:=libs | ||
CATEGORY:=Libraries | ||
TITLE:=SignalWire C client library | ||
URL:=https://github.com/signalwire/signalwire-c | ||
ABI_VERSION:=1 | ||
ABI_VERSION:=2 | ||
DEPENDS:=+libatomic +libks +libopenssl | ||
endef | ||
|
||
# Otherwise OpenWrt's CPPFLAGS are ignored | ||
TARGET_CFLAGS += $(TARGET_CPPFLAGS) | ||
|
||
define Package/$(PKG_NAME)/install/headers | ||
$(INSTALL_DIR) $(1)/usr/include/$(PKG_NAME)/$(2) | ||
define Package/signalwire-client-c/install/headers | ||
$(INSTALL_DIR) $(1)/usr/include/signalwire-client-c2/signalwire-client-c/$(2) | ||
$(INSTALL_DATA) \ | ||
$(PKG_INSTALL_DIR)/usr/include/$(PKG_NAME)/$(2)/*.h \ | ||
$(1)/usr/include/$(PKG_NAME)/$(2) | ||
$(PKG_INSTALL_DIR)/usr/include/signalwire-client-c2/signalwire-client-c/$(2)/*.h \ | ||
$(1)/usr/include/signalwire-client-c2/signalwire-client-c/$(2) | ||
endef | ||
|
||
define Build/InstallDev | ||
$(foreach s,./ JSON blade signalwire transport,$(call Package/$(PKG_NAME)/install/headers,$(1),$(s));) | ||
$(INSTALL_DIR) $(1)/usr/lib/{cmake/$(PKG_NAME),pkgconfig} | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/$(PKG_NAME)/cmake/* \ | ||
$(1)/usr/lib/cmake/$(PKG_NAME) | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsignalwire_client.so* $(1)/usr/lib | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/signalwire_client.pc \ | ||
$(foreach s,./ JSON blade signalwire transport,$(call Package/signalwire-client-c/install/headers,$(1),$(s));) | ||
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig \ | ||
$(1)/usr/include/signalwire-client-c2/signalwire-client-c/cmake | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/signalwire-client-c2/signalwire-client-c/cmake/* \ | ||
$(1)/usr/include/signalwire-client-c2/signalwire-client-c/cmake | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsignalwire_client2.so* $(1)/usr/lib | ||
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/signalwire_client2.pc \ | ||
$(1)/usr/lib/pkgconfig | ||
endef | ||
|
||
define Package/$(PKG_NAME)/install | ||
define Package/signalwire-client-c/install | ||
$(INSTALL_DIR) $(1)/usr/lib | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsignalwire_client.so.$(ABI_VERSION)* \ | ||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsignalwire_client2.so.$(ABI_VERSION)* \ | ||
$(1)/usr/lib | ||
endef | ||
|
||
$(eval $(call BuildPackage,$(PKG_NAME))) | ||
$(eval $(call BuildPackage,signalwire-client-c)) |
11 changes: 0 additions & 11 deletions
11
libs/signalwire-client-c/patches/01-set-libks-cmake-dir.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,13 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=freeswitch | ||
PKG_VERSION:=1.10.9 | ||
PKG_RELEASE:=2 | ||
PKG_VERSION:=1.10.10 | ||
PKG_RELEASE:=1 | ||
PKG_MAINTAINER:=Sebastian Kemper <[email protected]> | ||
|
||
PKG_SOURCE:=freeswitch-$(PKG_VERSION).-release.tar.xz | ||
PKG_SOURCE_URL:=https://files.freeswitch.org/releases/freeswitch | ||
PKG_HASH:=f649d53af7beccb59c1d03864cd8f2d287e4ea26ef652b5c4969d29121ced063 | ||
PKG_HASH:=d2c702c7f4bd6eca539c3981cf859ad5c1846d9283829e24cd75686f2322b9df | ||
|
||
PKG_CPE_ID:=cpe:/a:freeswitch:freeswitch | ||
|
||
|
@@ -234,12 +234,6 @@ FS_PERL_FEED:=$(TOPDIR)/feeds/packages/lang/perl | |
include $(TOPDIR)/feeds/packages/lang/python/python3-version.mk | ||
include $(FS_PERL_FEED)/perlver.mk | ||
|
||
# https://github.com/signalwire/freeswitch/issues/1670 | ||
TARGET_CFLAGS+=-Wno-error=address | ||
|
||
# Allow compiling with OpenSSL 3.0 | ||
TARGET_CFLAGS+=-Wno-error=deprecated-declarations | ||
|
||
PERL_SITELIB:=/usr/lib/perl$(PERL_MAJOR)/$(PERL_VERSION2) | ||
|
||
FS_PERL_LIBS:=$(shell grep "^libs=" \ | ||
|
@@ -875,7 +869,7 @@ $(eval $(call Package/freeswitch/Module,abstraction,API abstraction,This module | |
$(eval $(call Package/freeswitch/Module,alsa,ALSA endpoint,ALSA endpoint module.,+alsa-lib)) | ||
$(eval $(call Package/freeswitch/Module,amr,AMR passthrough,Passthrough AMR codec support.,)) | ||
$(eval $(call Package/freeswitch/Module,amrwb,AMR wideband passthrough,Passthrough AMR wideband codec support.,)) | ||
$(eval $(call Package/freeswitch/Module,av,AV,Video codec and format support via FFmpeg.,+libffmpeg-full @BROKEN @x86_64)) | ||
$(eval $(call Package/freeswitch/Module,av,AV,Video codec and format support via FFmpeg.,+libffmpeg-full @x86_64)) | ||
$(eval $(call Package/freeswitch/Module,avmd,Voicemail detection,This module attempts to determine when a voicemail system has answered\nthe call.,)) | ||
$(eval $(call Package/freeswitch/Module,b64,Base64,Transfers data Base64 encoded.,)) | ||
$(eval $(call Package/freeswitch/Module,basic,BASIC,BASIC module for FreeSWITCH.,)) | ||
|
@@ -950,7 +944,7 @@ $(eval $(call Package/freeswitch/Module,portaudio,Portaudio,Voice through a loca | |
$(eval $(call Package/freeswitch/Module,portaudio_stream,Portaudio streaming,Stream from an external audio source for Music on Hold.,+portaudio)) | ||
$(eval $(call Package/freeswitch/Module,posix_timer,POSIX timer,Add POSIX timer support.,)) | ||
$(eval $(call Package/freeswitch/Module,prefix,Prefix match,This module provides a data store with fast lookups by the longest\nprefix match rule.,)) | ||
$(eval $(call Package/freeswitch/Module,python3,Python3,Python3 support module.,@BROKEN +python3-light)) | ||
$(eval $(call Package/freeswitch/Module,python3,Python3,Python3 support module.,+python3-light)) | ||
$(eval $(call Package/freeswitch/Module,radius_cdr,Radius CDR,Radius Call Detail Record handler.,)) | ||
$(eval $(call Package/freeswitch/Module,random,Entropy,This module extracts entropy from FreeSWITCH and feeds it into\n/dev/random.,)) | ||
$(eval $(call Package/freeswitch/Module,raven,Raven logging,Adds support for logging to Raven instances.,)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
net/freeswitch/patches/460-remove-python-configure-checks.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Reported-by: Sebastian Kemper <[email protected]> | |
|
||
--- a/src/switch_core_sqldb.c | ||
+++ b/src/switch_core_sqldb.c | ||
@@ -3549,7 +3549,7 @@ SWITCH_DECLARE(switch_status_t) switch_c | ||
@@ -3551,7 +3551,7 @@ SWITCH_DECLARE(switch_status_t) switch_c | ||
if (force) { | ||
sql = switch_mprintf("delete from registrations where hostname='%q'", switch_core_get_switchname()); | ||
} else { | ||
|
Oops, something went wrong.