From: Jiri Slachta Date: Tue, 21 Apr 2015 16:11:45 +0000 (+0200) Subject: asterisk-11.x: update to 11.17.1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1206b3711fac5e9f1fb7ff5c6d2e0ec18f19eba3;p=feed%2Ftelephony.git asterisk-11.x: update to 11.17.1 Signed-off-by: Jiri Slachta --- diff --git a/net/asterisk-11.x/Makefile b/net/asterisk-11.x/Makefile index 1d01ba0..f4102ae 100644 --- a/net/asterisk-11.x/Makefile +++ b/net/asterisk-11.x/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=asterisk11 -PKG_VERSION:=11.16.0 -PKG_RELEASE:=4 +PKG_VERSION:=11.17.1 +PKG_RELEASE:=1 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/ -PKG_MD5SUM:=de06d4ac0d1ba531c4c18805a9d5a18d +PKG_MD5SUM:=2c6cd0f499152d0d5ff32f36e274fc2e PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING LICENSE @@ -230,9 +230,9 @@ else --without-iksemel endif -EXTRA_CFLAGS+= $(TARGET_CPPFLAGS) -EXTRA_LDFLAGS+= $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib -CONFIGURE_ARGS+= \ +EXTRA_CFLAGS += $(TARGET_CPPFLAGS) +EXTRA_LDFLAGS += $(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib +CONFIGURE_ARGS += \ --build=$(GNU_HOST_NAME) \ --host=$(GNU_TARGET_NAME) \ --target=$(GNU_TARGET_NAME) \ @@ -269,24 +269,30 @@ CONFIGURE_ARGS+= \ --with-sounds-cache="$(DL_DIR)" \ --disable-xmldoc -define Build/Prepare - $(call Build/Prepare/Default) -endef +CONFIGURE_VARS += \ + ac_cv_path_ac_pt_CONFIG_LIBXML2=$(STAGING_DIR)/host/bin/xml2-config + +AST_MENUSELECT_OPTS = \ + --without-newt \ + --without-ncurses \ + --with-libxml2="$(STAGING_DIR_HOST)/usr" define Build/Configure - echo "export CFLAGS += $(FPIC) $(TARGET_CFLAGS) $(EXTRA_CFLAGS)"\ - " $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)"\ - > $(PKG_BUILD_DIR)/res/pjproject/user.mak; - echo "export LDLAGS += $(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)"\ - " -lc $(LIBGCC_S) -lm"\ - >> $(PKG_BUILD_DIR)/res/pjproject/user.mak; - echo "export CXXFLAGS += $(FPIC) $(TARGET_CFLAGS) $(EXTRA_CFLAGS)"\ - " $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)"\ - >> $(PKG_BUILD_DIR)/res/pjproject/user.mak; $(call Build/Configure/Default,,$(SITE_VARS)) + (cd $(PKG_BUILD_DIR)/menuselect; \ + ./bootstrap.sh; \ + ./configure \ + $(HOST_CONFIGURE_ARGS) \ + $(AST_MENUSELECT_OPTS) \ + LDFLAGS="$(HOST_LDFLAGS) -lxml2" \ + CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR_HOST)/include/libxml2" \ + ); endef define Build/Compile + $(MAKE) -C "$(PKG_BUILD_DIR)/menuselect" \ + CFLAGS="$(HOST_CFLAGS) -I$(STAGING_DIR_HOST)/include/libxml2" \ + LDFLAGS="$(HOST_LDFLAGS) -lxml2" $(MAKE) -C "$(PKG_BUILD_DIR)" \ include/asterisk/version.h \ include/asterisk/buildopts.h defaults.h \ diff --git a/net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch b/net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch index 49d2604..5779714 100644 --- a/net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch +++ b/net/asterisk-11.x/patches/010-asterisk-configure-undef-res-ninit.patch @@ -1,6 +1,6 @@ --- a/configure +++ b/configure -@@ -16464,7 +16464,6 @@ if ac_fn_c_try_link "$LINENO"; then : +@@ -16533,7 +16533,6 @@ if ac_fn_c_try_link "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } diff --git a/net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch b/net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch deleted file mode 100644 index fbebb1e..0000000 --- a/net/asterisk-11.x/patches/030-srtp-fix-key-lifetime.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/channels/sip/sdp_crypto.c -+++ b/channels/sip/sdp_crypto.c -@@ -252,8 +252,7 @@ - lifetime = strsep(&info, "|"); - - if (lifetime) { -+ ast_log(LOG_NOTICE, "Crypto life time unsupported: %s. Ignoring.\n", attr); -- ast_log(LOG_NOTICE, "Crypto life time unsupported: %s\n", attr); -- continue; - } - - found = 1;