1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Update to 1.8.10.0

As the iLBC codec is now part of asterisk again just build and install
it unconditionally.
This commit is contained in:
Florian Smeets 2012-03-05 23:06:55 +00:00
parent 3b3a233a6d
commit 04a4ef734b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=292785
5 changed files with 66 additions and 7620 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= asterisk
PORTVERSION= 1.8.9.3
PORTVERSION= 1.8.10.0
CATEGORIES= net
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
@ -59,7 +59,6 @@ OPTIONS= OGGVORBIS "Enable Ogg Vorbis support" on \
SQLITE "Enable SQLITE support" on \
GSM "Enable GSM codec" on \
CURL "Enable CURL support" on \
ILBC "Enable iLBC codec" off \
SPANDSP "Enable Spandsp faxing support" off \
EXCHANGE "Enable Exchange calendar support" off \
NEWG711 "Enable new G711 Codec" off \
@ -215,13 +214,6 @@ LIB_DEPENDS+= sqlite:${PORTSDIR}/databases/sqlite2 \
sqlite3:${PORTSDIR}/databases/sqlite3
.endif
.if !defined(WITH_ILBC)
PLIST_SUB+= WITH_ILBC="@comment "
.else
PLIST_SUB+= WITH_ILBC=""
EXTRA_PATCHES+= ${PATCHDIR}/ilbc_enable.diff
.endif
.if !defined(WITH_GSM)
PLIST_SUB+= WITH_GSM="@comment "
CONFIGURE_ARGS+= --without-gsm
@ -278,14 +270,13 @@ PLIST_SUB+= WITH_LUA="@comment "
.endif
post-extract:
${MKDIR} ${WRKSRC}/codecs/ilbc
${FIND} ${WRKSRC} -name '*.d' -delete
post-patch:
${REINPLACE_CMD} -e 's|/var/lib|${PREFIX}/share|g' ${WRKSRC}/configs/musiconhold.conf.sample
post-configure:
.if defined(WITH_MYSQL) || defined(WITH_NEWG711) || defined(WITH_ILBC)
.if defined(WITH_MYSQL) || defined(WITH_NEWG711)
@cd ${WRKSRC} && make menuselect.makeopts
.if defined(WITH_MYSQL)
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
@ -295,9 +286,6 @@ post-configure:
.if defined(WITH_NEWG711)
@cd ${WRKSRC} && ./menuselect/menuselect --enable G711_NEW_ALGORITHM menuselect.makeopts
.endif
.if defined(WITH_ILBC)
@cd ${WRKSRC} && ./menuselect/menuselect --enable codec_ilbc menuselect.makeopts
.endif
.endif
post-install:

View File

@ -1,2 +1,2 @@
SHA256 (asterisk-1.8.9.3.tar.gz) = a03edefae57d0048c768f793376cff3a7dcbaf2ca8a9b3c93307f7459757fe0d
SIZE (asterisk-1.8.9.3.tar.gz) = 24825965
SHA256 (asterisk-1.8.10.0.tar.gz) = ee28ca284f1d6d7a44966e6292f93158078af46afae8616ec870f453427f198c
SIZE (asterisk-1.8.10.0.tar.gz) = 25211602

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
--- configure.orig 2011-09-19 18:57:40.000000000 +0200
+++ configure 2011-10-02 17:05:59.000000000 +0200
@@ -4221,9 +4221,9 @@
--- configure.orig 2012-01-14 17:40:17.000000000 +0100
+++ configure 2012-03-05 21:58:31.150486278 +0100
@@ -4693,9 +4693,9 @@
astheaderdir='${includedir}/asterisk'
astlibdir='${libdir}/asterisk'
astmandir='${mandir}'
@ -12,7 +12,7 @@
astkeydir='${astvarlibdir}'
astspooldir='${localstatedir}/spool/asterisk'
astlogdir='${localstatedir}/log/asterisk'
@@ -4246,8 +4246,6 @@
@@ -4718,8 +4718,6 @@
case "${host_os}" in
freebsd*)
ac_default_prefix=/usr/local
@ -21,16 +21,16 @@
;;
openbsd*)
ac_default_prefix=/usr/local
@@ -27486,6 +27484,8 @@
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
@@ -18136,6 +18134,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+#include <sys/types.h>
+#include <sys/socket.h>
#include <ifaddrs.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
#include <ifaddrs.h>
int
main ()
@@ -45521,7 +45521,7 @@
@@ -25814,7 +25814,7 @@
fi
@ -38,4 +38,4 @@
+ PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}"
if test "${HAS_OPENH323:-unset}" != "unset"; then
{ echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenH323 installation validity" >&5

View File

@ -561,7 +561,7 @@ lib/asterisk/modules/codec_adpcm.so
lib/asterisk/modules/codec_alaw.so
lib/asterisk/modules/codec_g726.so
%%WITH_GSM%%lib/asterisk/modules/codec_gsm.so
%%WITH_ILBC%%lib/asterisk/modules/codec_ilbc.so
lib/asterisk/modules/codec_ilbc.so
lib/asterisk/modules/codec_lpc10.so
lib/asterisk/modules/codec_speex.so
lib/asterisk/modules/codec_ulaw.so
@ -659,9 +659,9 @@ share/asterisk/phoneprov/000000000000.cfg
share/asterisk/phoneprov/polycom.xml
share/asterisk/phoneprov/polycom_line.xml
share/asterisk/phoneprov/snom-mac.xml
share/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.21
share/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.21
share/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.21
share/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.22
share/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.22
share/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.22
share/asterisk/sounds/en/ascending-2tone.gsm
share/asterisk/sounds/en/conf-adminmenu-162.gsm
share/asterisk/sounds/en/conf-extended.gsm
@ -671,8 +671,53 @@ share/asterisk/sounds/en/conf-now-recording.gsm
share/asterisk/sounds/en/conf-now-unmuted.gsm
share/asterisk/sounds/en/conf-roll-callcomplete.gsm
share/asterisk/sounds/en/conf-usermenu-162.gsm
share/asterisk/sounds/en/confbridge-begin-glorious-a.gsm
share/asterisk/sounds/en/confbridge-begin-glorious-b.gsm
share/asterisk/sounds/en/confbridge-begin-glorious-c.gsm
share/asterisk/sounds/en/confbridge-begin-leader.gsm
share/asterisk/sounds/en/confbridge-conf-begin.gsm
share/asterisk/sounds/en/confbridge-conf-end.gsm
share/asterisk/sounds/en/confbridge-dec-list-vol-in.gsm
share/asterisk/sounds/en/confbridge-dec-list-vol-out.gsm
share/asterisk/sounds/en/confbridge-dec-talk-vol-in.gsm
share/asterisk/sounds/en/confbridge-dec-talk-vol-out.gsm
share/asterisk/sounds/en/confbridge-has-joined.gsm
share/asterisk/sounds/en/confbridge-has-left.gsm
share/asterisk/sounds/en/confbridge-inc-list-vol-in.gsm
share/asterisk/sounds/en/confbridge-inc-list-vol-out.gsm
share/asterisk/sounds/en/confbridge-inc-talk-vol-in.gsm
share/asterisk/sounds/en/confbridge-inc-talk-vol-out.gsm
share/asterisk/sounds/en/confbridge-invalid.gsm
share/asterisk/sounds/en/confbridge-join.gsm
share/asterisk/sounds/en/confbridge-leave-in.gsm
share/asterisk/sounds/en/confbridge-leave-out.gsm
share/asterisk/sounds/en/confbridge-leave.gsm
share/asterisk/sounds/en/confbridge-lock-extended.gsm
share/asterisk/sounds/en/confbridge-lock-in.gsm
share/asterisk/sounds/en/confbridge-lock-no-join.gsm
share/asterisk/sounds/en/confbridge-lock-out.gsm
share/asterisk/sounds/en/confbridge-locked.gsm
share/asterisk/sounds/en/confbridge-menu-exit-in.gsm
share/asterisk/sounds/en/confbridge-menu-exit-out.gsm
share/asterisk/sounds/en/confbridge-mute-extended.gsm
share/asterisk/sounds/en/confbridge-mute-in.gsm
share/asterisk/sounds/en/confbridge-mute-out.gsm
share/asterisk/sounds/en/confbridge-muted.gsm
share/asterisk/sounds/en/confbridge-only-one.gsm
share/asterisk/sounds/en/confbridge-only-participant.gsm
share/asterisk/sounds/en/confbridge-participants.gsm
share/asterisk/sounds/en/confbridge-pin-bad.gsm
share/asterisk/sounds/en/confbridge-pin.gsm
share/asterisk/sounds/en/confbridge-remove-last-in.gsm
share/asterisk/sounds/en/confbridge-remove-last-out.gsm
share/asterisk/sounds/en/confbridge-removed.gsm
share/asterisk/sounds/en/confbridge-rest-list-vol-in.gsm
share/asterisk/sounds/en/confbridge-rest-list-vol-out.gsm
share/asterisk/sounds/en/confbridge-rest-talk-vol-in.gsm
share/asterisk/sounds/en/confbridge-rest-talk-vol-out.gsm
share/asterisk/sounds/en/confbridge-there-are.gsm
share/asterisk/sounds/en/confbridge-unlocked.gsm
share/asterisk/sounds/en/confbridge-unmuted.gsm
share/asterisk/sounds/en/descending-2tone.gsm
share/asterisk/sounds/en/spy-dahdi.gsm
share/asterisk/sounds/en/vm-Urgent.gsm
@ -1116,7 +1161,7 @@ share/asterisk/sounds/en/vm-undeleted.gsm
share/asterisk/sounds/en/vm-unknown-caller.gsm
share/asterisk/sounds/en/vm-whichbox.gsm
share/asterisk/sounds/en/vm-youhave.gsm
share/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.4.21
share/asterisk/sounds/en/.asterisk-core-sounds-en-gsm-1.4.22
share/asterisk/static-http/ajamdemo.html
share/asterisk/static-http/astman.css
share/asterisk/static-http/astman.js
@ -1147,11 +1192,7 @@ share/asterisk/static-http/mantest.html
@dirrm share/asterisk/sounds/en/followme
@dirrm share/asterisk/sounds/en/digits
@dirrm share/asterisk/sounds/en/dictate
@dirrm share/asterisk/sounds/en_AU
@dirrm share/asterisk/sounds/en
@dirrm share/asterisk/sounds/es
@dirrm share/asterisk/sounds/fr
@dirrm share/asterisk/sounds/ru
@dirrm share/asterisk/sounds
@dirrm share/asterisk/phoneprov
@dirrm share/asterisk/moh
@ -1172,10 +1213,6 @@ share/asterisk/static-http/mantest.html
@exec mkdir -p %D/share/asterisk/images
@exec mkdir -p %D/share/asterisk/firmware/iax
@exec mkdir -p %D/share/asterisk/documentation/thirdparty
@exec mkdir -p %D/share/asterisk/sounds/es
@exec mkdir -p %D/share/asterisk/sounds/fr
@exec mkdir -p %D/share/asterisk/sounds/en_AU
@exec mkdir -p %D/share/asterisk/sounds/ru
@cwd %%VARDIR%%
spool/asterisk/voicemail/default/1234/en/busy.gsm
spool/asterisk/voicemail/default/1234/en/unavail.gsm