Ticket #2874: openwrt-packages-asterisk-1.4.16.patch

File openwrt-packages-asterisk-1.4.16.patch, 14.2 KB (added by zandbelt, 8 years ago)
  • packages/net/asterisk-1.4.x/patches/026-gsm-mips.patch

     
    1 diff -Nru asterisk-1.4.5.org/codecs/gsm/Makefile asterisk-1.4.5/codecs/gsm/Makefile 
    2 --- asterisk-1.4.5.org/codecs/gsm/Makefile      2007-02-17 01:31:42.000000000 +0100 
    3 +++ asterisk-1.4.5/codecs/gsm/Makefile  2007-06-22 09:13:13.000000000 +0200 
     1diff -Nru asterisk-1.4.16.org/codecs/gsm/Makefile asterisk-1.4.16/codecs/gsm/Makefile 
     2--- asterisk-1.4.16.org/codecs/gsm/Makefile     2007-02-17 01:31:42.000000000 +0100 
     3+++ asterisk-1.4.16/codecs/gsm/Makefile 2007-12-20 14:50:17.000000000 +0100 
    44@@ -38,7 +38,7 @@ 
    55 ######### probably require gcc.  
    66  
  • packages/net/asterisk-1.4.x/patches/017-Makefile-no_march.patch

     
    1 diff -Nru asterisk-1.4.5.org/Makefile asterisk-1.4.5/Makefile 
    2 --- asterisk-1.4.5.org/Makefile 2007-05-24 21:05:08.000000000 +0200 
    3 +++ asterisk-1.4.5/Makefile     2007-06-22 09:10:18.000000000 +0200 
    4 @@ -200,7 +200,7 @@ 
     1diff -Nru asterisk-1.4.16.org/Makefile asterisk-1.4.16/Makefile 
     2--- asterisk-1.4.16.org/Makefile        2007-12-17 07:44:51.000000000 +0100 
     3+++ asterisk-1.4.16/Makefile    2007-12-20 14:47:52.000000000 +0100 
     4@@ -213,7 +213,7 @@ 
    55 endif 
    66  
    77 ifneq ($(PROC),ultrasparc) 
  • packages/net/asterisk-1.4.x/patches/023-autoconf-chan_h323.patch

     
    1 diff -ruN asterisk-1.4.9-old/acinclude.m4 asterisk-1.4.9-new/acinclude.m4 
    2 --- asterisk-1.4.9-old/acinclude.m4     2007-09-04 17:20:27.000000000 +0200 
    3 +++ asterisk-1.4.9-new/acinclude.m4     2007-09-04 17:17:04.000000000 +0200 
    4 @@ -496,6 +496,7 @@ 
     1diff -Nru asterisk-1.4.16.org/acinclude.m4 asterisk-1.4.16/acinclude.m4 
     2--- asterisk-1.4.16.org/acinclude.m4    2007-07-25 19:14:14.000000000 +0200 
     3+++ asterisk-1.4.16/acinclude.m4        2007-12-20 14:49:22.000000000 +0100 
     4@@ -508,6 +508,7 @@ 
    55                                ;; 
    66                esac 
    77                AC_MSG_RESULT(${OPENH323_BUILD}) 
     
    99  
    1010                AC_SUBST([OPENH323_SUFFIX]) 
    1111                AC_SUBST([OPENH323_BUILD]) 
    12 diff -ruN asterisk-1.4.9-old/configure.ac asterisk-1.4.9-new/configure.ac 
    13 --- asterisk-1.4.9-old/configure.ac     2007-09-04 17:20:27.000000000 +0200 
    14 +++ asterisk-1.4.9-new/configure.ac     2007-09-04 17:22:08.000000000 +0200 
    15 @@ -807,7 +807,7 @@ 
     12diff -Nru asterisk-1.4.16.org/configure.ac asterisk-1.4.16/configure.ac 
     13--- asterisk-1.4.16.org/configure.ac    2007-12-17 07:44:51.000000000 +0100 
     14+++ asterisk-1.4.16/configure.ac        2007-12-20 14:49:22.000000000 +0100 
     15@@ -825,7 +825,7 @@ 
    1616        if test "${HAS_PWLIB:-unset}" != "unset"; then 
    1717                AST_CHECK_OPENH323_PLATFORM() 
    1818  
  • packages/net/asterisk-1.4.x/patches/013-chan_iax2-tmp_path.patch

     
    1 diff -Nru asterisk-1.4.5.org/channels/chan_iax2.c asterisk-1.4.5/channels/chan_iax2.c 
    2 --- asterisk-1.4.5.org/channels/chan_iax2.c     2007-06-14 23:50:40.000000000 +0200 
    3 +++ asterisk-1.4.5/channels/chan_iax2.c 2007-06-22 09:03:01.000000000 +0200 
    4 @@ -1376,7 +1376,7 @@ 
     1--- asterisk-1.4.16.org/channels/chan_iax2.c    2007-12-18 19:29:39.000000000 +0100 
     2+++ asterisk-1.4.16/channels/chan_iax2.c        2007-12-20 14:36:49.000000000 +0100 
     3@@ -1557,7 +1557,7 @@ 
    54                last++; 
    65        else 
    76                last = s; 
  • packages/net/asterisk-1.4.x/patches/014-openssl-configure_ac.patch

     
    1 --- asterisk-1.4.5.org/configure.ac     2007-06-04 18:02:31.000000000 +0200 
    2 +++ asterisk-1.4.5/configure.ac 2007-06-22 08:47:51.000000000 +0200 
    3 @@ -900,7 +900,7 @@ 
     1--- asterisk-1.4.16.org/configure.ac    2007-12-17 07:44:51.000000000 +0100 
     2+++ asterisk-1.4.16/configure.ac        2007-12-20 14:40:01.000000000 +0100 
     3@@ -944,7 +944,7 @@ 
    44  
    55 AST_EXT_LIB_CHECK([SQLITE], [sqlite], [sqlite_exec], [sqlite.h]) 
    66  
  • packages/net/asterisk-1.4.x/patches/015-spandsp-app_fax.patch

     
    1 diff -Nru asterisk-1.4.5.org/apps/app_rxfax.c asterisk-1.4.5/apps/app_rxfax.c 
    2 --- asterisk-1.4.5.org/apps/app_rxfax.c 1970-01-01 01:00:00.000000000 +0100 
    3 +++ asterisk-1.4.5/apps/app_rxfax.c     2007-06-22 09:05:59.000000000 +0200 
     1diff -Nru asterisk-1.4.16.org/apps/app_rxfax.c asterisk-1.4.16/apps/app_rxfax.c 
     2--- asterisk-1.4.16.org/apps/app_rxfax.c        1970-01-01 01:00:00.000000000 +0100 
     3+++ asterisk-1.4.16/apps/app_rxfax.c    2007-12-20 14:45:24.000000000 +0100 
    44@@ -0,0 +1,376 @@ 
    55+/* 
    66+ * Asterisk -- A telephony toolkit for Linux. 
     
    378378+AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Trivial FAX Receive Application"); 
    379379+ 
    380380+/*- End of file ------------------------------------------------------------*/ 
    381 diff -Nru asterisk-1.4.5.org/apps/app_txfax.c asterisk-1.4.5/apps/app_txfax.c 
    382 --- asterisk-1.4.5.org/apps/app_txfax.c 1970-01-01 01:00:00.000000000 +0100 
    383 +++ asterisk-1.4.5/apps/app_txfax.c     2007-06-22 09:05:59.000000000 +0200 
     381diff -Nru asterisk-1.4.16.org/apps/app_txfax.c asterisk-1.4.16/apps/app_txfax.c 
     382--- asterisk-1.4.16.org/apps/app_txfax.c        1970-01-01 01:00:00.000000000 +0100 
     383+++ asterisk-1.4.16/apps/app_txfax.c    2007-12-20 14:45:24.000000000 +0100 
    384384@@ -0,0 +1,303 @@ 
    385385+/* 
    386386+ * Asterisk -- A telephony toolkit for Linux. 
     
    685685+AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Trivial FAX Transmit Application"); 
    686686+ 
    687687+/*- End of file ------------------------------------------------------------*/ 
    688 diff -Nru asterisk-1.4.5.org/build_tools/menuselect-deps.in asterisk-1.4.5/build_tools/menuselect-deps.in 
    689 --- asterisk-1.4.5.org/build_tools/menuselect-deps.in   2007-03-16 00:53:26.000000000 +0100 
    690 +++ asterisk-1.4.5/build_tools/menuselect-deps.in       2007-06-22 09:05:59.000000000 +0200 
    691 @@ -21,6 +21,7 @@ 
     688diff -Nru asterisk-1.4.16.org/build_tools/menuselect-deps.in asterisk-1.4.16/build_tools/menuselect-deps.in 
     689--- asterisk-1.4.16.org/build_tools/menuselect-deps.in  2007-09-14 17:50:49.000000000 +0200 
     690+++ asterisk-1.4.16/build_tools/menuselect-deps.in      2007-12-20 14:45:24.000000000 +0100 
     691@@ -22,6 +22,7 @@ 
    692692 PRI=@PBX_PRI@ 
    693693 QT=@PBX_QT@ 
    694694 RADIUS=@PBX_RADIUS@ 
     
    696696 SPEEX=@PBX_SPEEX@ 
    697697 SQLITE=@PBX_SQLITE@ 
    698698 SSL=@PBX_OPENSSL@ 
    699 diff -Nru asterisk-1.4.5.org/configure.ac asterisk-1.4.5/configure.ac 
    700 --- asterisk-1.4.5.org/configure.ac     2007-06-04 18:02:31.000000000 +0200 
    701 +++ asterisk-1.4.5/configure.ac 2007-06-22 09:05:59.000000000 +0200 
    702 @@ -195,6 +195,7 @@ 
     699diff -Nru asterisk-1.4.16.org/configure.ac asterisk-1.4.16/configure.ac 
     700--- asterisk-1.4.16.org/configure.ac    2007-12-17 07:44:51.000000000 +0100 
     701+++ asterisk-1.4.16/configure.ac        2007-12-20 14:45:24.000000000 +0100 
     702@@ -193,6 +193,7 @@ 
    703703 AST_EXT_LIB_SETUP([OPENH323], [OpenH323], [h323]) 
    704704 AST_EXT_LIB_SETUP([QT], [Qt], [qt]) 
    705705 AST_EXT_LIB_SETUP([RADIUS], [Radius Client], [radius]) 
     
    707707 AST_EXT_LIB_SETUP([SPEEX], [Speex], [speex]) 
    708708 AST_EXT_LIB_SETUP([SQLITE], [SQLite], [sqlite]) 
    709709 AST_EXT_LIB_SETUP([SUPPSERV], [mISDN Supplemental Services], [suppserv]) 
    710 @@ -896,6 +897,8 @@ 
     710@@ -940,6 +941,8 @@ 
    711711  
    712712 AST_EXT_LIB_CHECK([RADIUS], [radiusclient-ng], [rc_read_config], [radiusclient-ng.h]) 
    713713  
     
    716716 AST_EXT_LIB_CHECK([SPEEX], [speex], [speex_encode], [speex/speex.h], [-lm]) 
    717717  
    718718 AST_EXT_LIB_CHECK([SQLITE], [sqlite], [sqlite_exec], [sqlite.h]) 
    719 diff -Nru asterisk-1.4.5.org/include/asterisk/plc.h asterisk-1.4.5/include/asterisk/plc.h 
    720 --- asterisk-1.4.5.org/include/asterisk/plc.h   2006-06-14 16:12:56.000000000 +0200 
    721 +++ asterisk-1.4.5/include/asterisk/plc.h       2007-06-22 09:07:42.000000000 +0200 
     719diff -Nru asterisk-1.4.16.org/include/asterisk/plc.h asterisk-1.4.16/include/asterisk/plc.h 
     720--- asterisk-1.4.16.org/include/asterisk/plc.h  2006-06-14 16:12:56.000000000 +0200 
     721+++ asterisk-1.4.16/include/asterisk/plc.h      2007-12-20 14:45:24.000000000 +0100 
    722722@@ -1,18 +1,17 @@ 
    723723-/*! \file 
    724724- * \brief SpanDSP - a series of DSP components for telephony 
     
    860860 } 
    861861 #endif 
    862862  
    863 diff -Nru asterisk-1.4.5.org/makeopts.in asterisk-1.4.5/makeopts.in 
    864 --- asterisk-1.4.5.org/makeopts.in      2007-05-25 16:28:46.000000000 +0200 
    865 +++ asterisk-1.4.5/makeopts.in  2007-06-22 09:05:59.000000000 +0200 
    866 @@ -138,6 +138,9 @@ 
     863diff -Nru asterisk-1.4.16.org/makeopts.in asterisk-1.4.16/makeopts.in 
     864--- asterisk-1.4.16.org/makeopts.in     2007-12-17 07:44:51.000000000 +0100 
     865+++ asterisk-1.4.16/makeopts.in 2007-12-20 14:45:24.000000000 +0100 
     866@@ -141,6 +141,9 @@ 
    867867 RADIUS_INCLUDE=@RADIUS_INCLUDE@ 
    868868 RADIUS_LIB=@RADIUS_LIB@ 
    869869  
  • packages/net/asterisk-1.4.x/patches/011-Makefile-main.patch

     
    1 diff -Nru asterisk-1.4.5.org/main/Makefile asterisk-1.4.5/main/Makefile 
    2 --- asterisk-1.4.5.org/main/Makefile    2007-04-10 18:05:55.000000000 +0200 
    3 +++ asterisk-1.4.5/main/Makefile        2007-06-22 08:59:22.000000000 +0200 
    4 @@ -135,7 +135,7 @@ 
    5         @rm -f $(ASTTOPDIR)/include/asterisk/build.h.tmp 
    6         @$(CC) -c -o buildinfo.o $(ASTCFLAGS) buildinfo.c 
    7         $(ECHO_PREFIX) echo "   [LD] $^ -> $@" 
     1--- asterisk-1.4.16.org/main/Makefile   2007-12-04 00:12:17.000000000 +0100 
     2+++ asterisk-1.4.16/main/Makefile       2007-12-20 14:39:04.000000000 +0100 
     3@@ -140,7 +140,7 @@ 
     4 ifneq ($(findstring chan_h323,$(MENUSELECT_CHANNELS)),) 
     5        $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) 
     6 else 
    87-       $(CMD_PREFIX) $(CXX) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS) 
    98+       $(CMD_PREFIX) $(CC) $(STATIC_BUILD) -o $@ $(ASTLINK) $(AST_EMBED_LDFLAGS) $(ASTLDFLAGS) $(H323LDFLAGS) $^ buildinfo.o $(AST_LIBS) $(AST_EMBED_LIBS) $(H323LDLIBS) 
     9 endif 
    1010        @$(ASTTOPDIR)/build_tools/strip_nonapi $@ 
    1111  
    12  clean:: 
  • packages/net/asterisk-1.4.x/patches/016-iksemel-configure_ac.patch

     
    1 diff -Nru asterisk-1.4.5.org/configure.ac asterisk-1.4.5/configure.ac 
    2 --- asterisk-1.4.5.org/configure.ac     2007-06-04 18:02:31.000000000 +0200 
    3 +++ asterisk-1.4.5/configure.ac 2007-06-22 09:09:03.000000000 +0200 
    4 @@ -419,7 +419,7 @@ 
     1diff -Nru asterisk-1.4.16.org/configure.ac asterisk-1.4.16/configure.ac 
     2--- asterisk-1.4.16.org/configure.ac    2007-12-17 07:44:51.000000000 +0100 
     3+++ asterisk-1.4.16/configure.ac        2007-12-20 14:46:49.000000000 +0100 
     4@@ -460,7 +460,7 @@ 
    55    fi 
    66 fi 
    77  
  • packages/net/asterisk-1.4.x/Makefile

     
    99include $(TOPDIR)/rules.mk 
    1010 
    1111PKG_NAME:=asterisk 
    12 PKG_VERSION:=1.4.11 
     12PKG_VERSION:=1.4.16 
    1313PKG_RELEASE:=1 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    16 PKG_SOURCE_URL:=http://ftp.digium.com/pub/asterisk/old-releases/ 
    17 PKG_MD5SUM:=3ba9b399fedc68de4845b1c5603d167c 
     16PKG_SOURCE_URL:=http://downloads.digium.com/pub/asterisk/releases/ 
     17PKG_MD5SUM:=2bc92ed77ba1dede35da744cca046ac0 
    1818 
    1919PKG_BUILD_DEPENDS:= libopenh323 pwlib 
    2020 
     
    7171endef 
    7272 
    7373 
     74define Package/asterisk14-app-meetme 
     75$(call Package/asterisk14/Default) 
     76  TITLE:=conferencing support 
     77  DEPENDS:= +asterisk14 +zaptel14-libtonezone 
     78endef 
     79 
     80define Package/asterisk14-app-meetme/description 
     81$(call Package/asterisk14/Default/description) 
     82 This package provides the MeetMe application driver Conferencing support to  
     83 Asterisk. 
     84endef 
     85 
     86 
    7487define Package/asterisk14-chan-alsa 
    7588$(call Package/asterisk14/Default) 
    7689  TITLE:=ALSA soundcards support 
     
    287300        --without-tds \ 
    288301        --without-termcap \ 
    289302        --without-tinfo \ 
    290         --without-tonezone \ 
    291303        --without-vorbis \ 
    292304        --without-vpb \ 
    293305        --with-z="$(STAGING_DIR)/usr" \ 
    294         --without-zaptel \ 
    295306 
    296307EXTRA_CFLAGS:= $(TARGET_CPPFLAGS) 
    297308EXTRA_LDFLAGS:= $(TARGET_LDFLAGS) 
    298309 
     310ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk14-app-meetme),) 
     311  CONFIGURE_ARGS+= \ 
     312        --with-tonezone="$(STAGING_DIR)/usr" --with-zaptel="$(STAGING_DIR)/usr" 
     313else 
     314  CONFIGURE_ARGS+= \ 
     315        --without-tonezone --without-zaptel 
     316endif 
     317 
    299318ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk14-chan-alsa),) 
    300319  CONFIGURE_ARGS+= \ 
    301         --with-asound="$(STAGING_DIR)/usr" 
     320        --with-asound="$(STAGING_DIR)/usr" 
    302321else 
    303322  CONFIGURE_ARGS+= \ 
    304         --without-asound 
     323        --without-asound 
    305324endif 
    306325 
    307326ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk14-chan-gtalk),) 
     
    550569endef 
    551570 
    552571 
     572define Package/asterisk14-app-meetme/conffiles 
     573/etc/asterisk/meetme.conf 
     574endef 
     575 
     576define Package/asterisk14-app-meetme/install 
     577        $(INSTALL_DIR) $(1)/etc/asterisk 
     578        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/meetme.conf $(1)/etc/asterisk/ 
     579        $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules 
     580        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/app_meetme.so $(1)/usr/lib/asterisk/modules/ 
     581endef 
     582 
     583 
    553584define Package/asterisk14-chan-alsa/conffiles 
    554585/etc/asterisk/alsa.conf 
    555586endef 
     
    703734 
    704735$(eval $(call BuildPackage,asterisk14)) 
    705736$(eval $(call BuildPackage,asterisk14-mini)) 
     737$(eval $(call BuildPackage,asterisk14-app-meetme)) 
    706738$(eval $(call BuildPackage,asterisk14-chan-alsa)) 
    707739$(eval $(call BuildPackage,asterisk14-chan-gtalk)) 
    708740$(eval $(call BuildPackage,asterisk14-chan-h323))