Changeset 2114

Show
Ignore:
Timestamp:
03/01/07 00:13:53 (2 years ago)
Author:
n0-1
Message:

* big asterisk configuration rework, XOR selection should now work
* fixed asterisk-12 for building with misdn support
* dropped a patch for a badly implemented driver
* ported mISDNuser which provides important libs for when using chan_misdn

with asterisk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/pkg-depend.mk

    r2088 r2114  
    161161asterisk-compile: zaptel-compile 
    162162endif 
     163ifneq ($(FWRT_PACKAGE_ASTERISK_MISDN),) 
     164asterisk-compile: misdnuser-compile 
     165endif 
    163166 
    164167asterisk-12-compile: ncurses-compile openssl-compile zlib-compile curl-compile popt-compile 
     
    181184asterisk-12-compile: zaptel-12-compile 
    182185endif 
     186ifneq ($(FWRT_PACKAGE_ASTERISK_12_MISDN),) 
     187asterisk-12-compile: misdnuser-compile 
     188endif 
    183189 
    184190freeradius-compile: libtool-compile openssl-compile 
  • trunk/freewrt/package/Config.in

    r2086 r2114  
    8888source "package/arpd/Config.in" 
    8989source "package/arpwatch/Config.in" 
    90 source "package/asterisk/Config.in" 
    91 source "package/asterisk-12/Config.in" 
    9290source "package/atftp/Config.in" 
    9391source "package/avahi/Config.in" 
     
    243241endmenu 
    244242 
    245 #menu "Telephony" 
    246 #source "package/misdnuser/Config.in" 
    247 #endmenu 
    248  
    249243menu "Libraries" 
    250244source "package/apr/Config.in" 
     
    341335endmenu 
    342336 
     337menu "Telephony" 
     338 
     339config FWRT_PACKAGE_ASTERISK_META 
     340        prompt "asterisk.......................... Complete open source PBX" 
     341        tristate 
     342        select FWRT_PACKAGE_ASTERISK_12 if FWRT_PACKAGE_ASTERISK_VERSION_12 
     343        select FWRT_PACKAGE_ASTERISK_14 if FWRT_PACKAGE_ASTERISK_VERSION_14 
     344        select FWRT_PACKAGE_LIBCURL 
     345        select FWRT_PACKAGE_LIBNCURSES 
     346        select FWRT_PACKAGE_LIBPTHREAD 
     347        default n 
     348        help 
     349          Asterisk is a complete PBX in software. It provides all of the features 
     350          you would expect from a PBX and more. Asterisk does voice over IP in three 
     351          protocols, and can interoperate with almost all standards-based telephony 
     352          equipment using relatively inexpensive hardware. 
     353           
     354          http://www.asterisk.org/ 
     355 
     356choice 
     357prompt "Asterisk Version" 
     358boolean 
     359depends on FWRT_PACKAGE_ASTERISK_META 
     360 
     361config FWRT_PACKAGE_ASTERISK_VERSION_12 
     362        prompt "1.2" 
     363config FWRT_PACKAGE_ASTERISK_VERSION_14 
     364        prompt "1.4" 
     365 
     366endchoice 
     367source "package/asterisk-12/Config.in" 
     368source "package/asterisk/Config.in" 
     369 
     370source "package/misdnuser/Config.in" 
     371endmenu 
     372 
    343373menu "Utilities" 
    344374source "package/bc/Config.in" 
  • trunk/freewrt/package/Makefile

    r2103 r2114  
    167167package-$(FWRT_COMPILE_MIREDO) += miredo 
    168168package-$(FWRT_PACKAGE_MISDN) += misdn 
     169package-$(FWRT_PACKAGE_MISDNUSER) += misdnuser 
    169170package-$(FWRT_PACKAGE_MKSH) += mksh 
    170171package-$(FWRT_COMPILE_MONIT) += monit 
  • trunk/freewrt/package/asterisk-12/Config.in

    r2073 r2114  
    1 menu "asterisk-1.2...................... Complete open source PBX (Version 1.2)" 
     1config FWRT_PACKAGE_ASTERISK_12 
     2        tristate 
     3        default n 
     4        depends on FWRT_PACKAGE_ASTERISK_VERSION_12 
    25 
    3 config FWRT_PACKAGE_ASTERISK_12 
    4         prompt "asterisk.......................... Complete open source PBX" 
    5         tristate 
    6         select FWRT_PACKAGE_LIBCURL 
    7         select FWRT_PACKAGE_LIBNCURSES 
    8         select FWRT_PACKAGE_LIBPTHREAD 
    9         default n 
    10         help 
    11           Asterisk is a complete PBX in software. It provides all of the features 
    12           you would expect from a PBX and more. Asterisk does voice over IP in three 
    13           protocols, and can interoperate with almost all standards-based telephony 
    14           equipment using relatively inexpensive hardware. 
    15  
    16           http://www.asterisk.org/ 
     6menu "asterisk-modules.................. Additional modules for Asterisk 1.2" 
     7depends on FWRT_PACKAGE_ASTERISK_12 
    178 
    189config FWRT_PACKAGE_ASTERISK_12_CHAN_MGCP 
     
    109100          This package allows creation of conference channels. 
    110101 
     102config FWRT_PACKAGE_ASTERISK_12_MISDN 
     103        prompt   "asterisk-misdn.................... Support for mISDN" 
     104        tristate 
     105        default n 
     106        depends on FWRT_PACKAGE_ASTERISK_12 
     107        select FWRT_PACKAGE_MISDNUSER 
     108        depends on FWRT_LINUX_2_6_RB 
    111109endmenu 
  • trunk/freewrt/package/asterisk-12/Makefile

    r1945 r2114  
    88 
    99PKG_NAME:=              asterisk 
    10 PKG_VERSION:=           1.2.14 
     10PKG_VERSION:=           1.2.15 
    1111PKG_RELEASE:=           1 
    12 PKG_MD5SUM:=            2ce03466b99e0b9471e6c791ed14a5f2 
     12PKG_MD5SUM:=            9fa08e97e1398f82c60009e56d6c97da 
    1313PKG_INIT:=              60 
    1414PKG_SOURCE_URL:=        http://ftp.digium.com/pub/asterisk/old-releases/ \ 
     
    7777                rm -f *ilbc* *agi* *sqlite* *iax* *lpc10* \ 
    7878                        *voicemail* *dundi* *adsi* *skinny* \ 
    79                         *mgcp* *meetme* *speex*; \ 
     79                        *mgcp* *meetme* *speex* *zap*; \ 
    8080        ) 
    8181        (cd ${IDIR_ASTERISK_12}/etc/asterisk ; \ 
    82                 rm -f *iax* *voicemail* *skinny* *mgcp* *dundi* *meetme* *speex* ; \ 
     82                rm -f *iax* *voicemail* *skinny* *mgcp* *dundi* *meetme* *speex* *zap* ; \ 
    8383        ) 
    8484        ${INSTALL_DATA} ./files/modules.conf ${IDIR_ASTERISK_12}/etc/asterisk/ 
  • trunk/freewrt/package/asterisk-12/patches/patch-utils_Makefile

    r1815 r2114  
    33        never forget the LDFLAGS when linking 
    44 
    5 --- asterisk-1.2.14.orig/utils/Makefile        2005-11-29 19:24:39.000000000 +0100 
    6 +++ asterisk-1.2.14/utils/Makefile     2007-01-31 02:48:25.000000000 +0100 
    7 @@ -64,10 +64,10 @@ check_expr: check_expr.c ast_expr2.o ast 
    8         $(CC) $(CFLAGS) -o $@ $^ 
     5--- asterisk-1.2.15.orig/utils/Makefile        2007-01-24 18:43:50.000000000 +0100 
     6+++ asterisk-1.2.15/utils/Makefile     2007-02-28 18:50:04.000000000 +0100 
     7@@ -65,10 +65,10 @@ check_expr: check_expr.c ast_expr2.o ast 
     8        $(CC) $(CFLAGS) -o $@ check_expr.c ast_expr2.o ast_expr2f.o 
    99  
    1010 smsq: smsq.o 
  • trunk/freewrt/package/asterisk/Config.in

    r1735 r2114  
    1 menu "asterisk.......................... Complete open source PBX (Version 1.4)" 
     1config FWRT_PACKAGE_ASTERISK_14 
     2        tristate 
     3        default n 
     4        depends on FWRT_PACKAGE_ASTERISK_VERSION_14 
    25 
    3 config FWRT_PACKAGE_ASTERISK 
    4         prompt "asterisk.......................... Complete open source PBX" 
    5         tristate 
    6         select FWRT_PACKAGE_LIBCURL 
    7         default n 
    8         help 
    9           Asterisk is a complete PBX in software. It provides all of the features 
    10           you would expect from a PBX and more. Asterisk does voice over IP in three 
    11           protocols, and can interoperate with almost all standards-based telephony 
    12           equipment using relatively inexpensive hardware. 
    13  
    14           http://www.asterisk.org/ 
     6menu "asterisk-modules.................. Additional modules for Asterisk 1.4" 
     7depends on FWRT_PACKAGE_ASTERISK_14 
    158 
    169config FWRT_PACKAGE_ASTERISK_CHAN_MGCP 
     
    1811        tristate 
    1912        default n 
    20         depends FWRT_PACKAGE_ASTERISK 
     13        depends FWRT_PACKAGE_ASTERISK_14 
    2114        help 
    2215          Media Gateway Control Protocol implementation for Asterisk 
     
    2619        tristate 
    2720        default n 
    28         depends FWRT_PACKAGE_ASTERISK 
     21        depends FWRT_PACKAGE_ASTERISK_14 
    2922        help 
    3023          Skinny Client Control Protocol implementation for Asterisk 
     
    3427        tristate 
    3528        default n 
    36         depends FWRT_PACKAGE_ASTERISK 
     29        depends FWRT_PACKAGE_ASTERISK_14 
    3730        help 
    3831          IAX2 allows trunking communication channels together. 
     
    4538        tristate 
    4639        default n 
    47         depends FWRT_PACKAGE_ASTERISK 
     40        depends FWRT_PACKAGE_ASTERISK_14 
    4841        help 
    4942          The Internet Low Bitrate Codec (ILBC) Translator for Asterisk 
     
    5346        tristate 
    5447        default n 
    55         depends FWRT_PACKAGE_ASTERISK 
     48        depends FWRT_PACKAGE_ASTERISK_14 
    5649        help 
    5750          The LPC10 (Linear Predictor Code) 2.4kbps Voice Coder for Asterisk 
     
    6154#       tristate 
    6255#       default n 
    63 #       depends FWRT_PACKAGE_ASTERISK 
     56#       depends FWRT_PACKAGE_ASTERISK_14 
    6457#       select FWRT_PACKAGE_LIBSPEEX 
    6558#       help 
     
    7063        tristate 
    7164        default n 
    72         depends FWRT_PACKAGE_ASTERISK 
     65        depends FWRT_PACKAGE_ASTERISK_14 
    7366        help 
    7467          The GSM codec for Asterisk 
     
    7871        tristate 
    7972        default n 
    80         depends FWRT_PACKAGE_ASTERISK 
     73        depends FWRT_PACKAGE_ASTERISK_14 
    8174        help 
    8275          Distributed Universal Number Discovery (DUNDi) support for Asterisk 
     
    8679        tristate 
    8780        default n 
    88         depends FWRT_PACKAGE_ASTERISK 
     81        depends FWRT_PACKAGE_ASTERISK_14 
    8982        help 
    9083          Asterisk Gateway Interface module 
     
    9487        tristate 
    9588        default n 
    96         depends FWRT_PACKAGE_ASTERISK 
     89        depends FWRT_PACKAGE_ASTERISK_14 
    9790        select FWRT_PACKAGE_LIBPQ 
    9891        help 
     
    10396        tristate 
    10497        default n 
    105         depends FWRT_PACKAGE_ASTERISK 
     98        depends FWRT_PACKAGE_ASTERISK_14 
    10699        select FWRT_PACKAGE_LIBSQLITE 
    107100        help 
     
    112105        tristate 
    113106        default n 
    114         depends FWRT_PACKAGE_ASTERISK 
     107        depends FWRT_PACKAGE_ASTERISK_14 
    115108        help 
    116109          Sound files for Asterisk 
     
    120113        tristate 
    121114        default n 
    122         depends FWRT_PACKAGE_ASTERISK 
     115        depends FWRT_PACKAGE_ASTERISK_14 
    123116        help 
    124117          Voicemail related modules for Asterisk 
     
    128121        tristate 
    129122        default n 
    130         depends FWRT_PACKAGE_ASTERISK 
     123        depends FWRT_PACKAGE_ASTERISK_14 
    131124        select FWRT_PACKAGE_ZAPTEL 
    132125        depends on FWRT_LINUX_2_6_RB 
     
    134127          This package allows creation of conference channels. 
    135128 
     129config FWRT_PACKAGE_ASTERISK_MISDN 
     130        prompt   "asterisk-misdn.................... Support for mISDN" 
     131        tristate 
     132        default n 
     133        depends FWRT_PACKAGE_ASTERISK_14 
     134        select FWRT_PACKAGE_MISDNUSER 
     135        depends on FWRT_LINUX_2_6_RB 
    136136endmenu 
  • trunk/freewrt/package/asterisk/Makefile

    r2078 r2114  
    1717include $(TOPDIR)/mk/package.mk 
    1818 
    19 $(eval $(call PKG_template,ASTERISK,asterisk,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
     19$(eval $(call PKG_template,ASTERISK_14,asterisk,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
    2020$(eval $(call PKG_template,ASTERISK_PGSQL,asterisk-pgsql,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
    2121$(eval $(call PKG_template,ASTERISK_SQLITE,asterisk-sqlite,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))