mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
- Update net/asterisk11 to 11.17.0
- Update net/asterisk13 to 13.3.0 - Fix mgcp module installation - Add needed USE_LDCONFIG to asterisk13 - Adapt asterisk-g72x port and bump PORTREVISION NOTE: While these versions of asterisk can be compiled with clang, I have seen it crash at startup if so compiled. For this reason at present I'm leaving the gcc requirement.
This commit is contained in:
parent
b3121d1412
commit
10cf2a235e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382976
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= asterisk-g72x
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://asterisk.hosting.lv/src/
|
||||
|
||||
@ -12,7 +13,7 @@ LIB_DEPENDS= libbcg729.so:${PORTSDIR}/audio/bcg729
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-bcg729
|
||||
USES= autoreconf libtool tar:bzip2
|
||||
USES= autoreconf compiler libtool tar:bzip2
|
||||
NO_OPTIONS_SORT= yes
|
||||
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
@ -38,7 +39,13 @@ ASTERISK13_BUILD_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13
|
||||
ASTERISK13_RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk13
|
||||
ASTERISK13_CONFIGURE_ON= --with-asterisk130
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == clang
|
||||
CFLAGS+= -fblocks
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
${STRIP_CMD} ${WRKSRC}/.libs/codec_g729.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 11.16.0
|
||||
PORTVERSION= 11.17.0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
||||
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
@ -25,6 +25,7 @@ CFLAGS+= -I${LOCALBASE}/include
|
||||
USE_GCC= yes
|
||||
USE_CSTD= gnu89
|
||||
USE_GNOME= libxml2
|
||||
USE_LDCONFIG= yes
|
||||
USES= bison cpe gmake
|
||||
CPE_VENDOR= digium
|
||||
USE_RC_SUBR= asterisk
|
||||
@ -141,6 +142,8 @@ post-patch:
|
||||
post-configure:
|
||||
@cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (asterisk-11.16.0.tar.gz) = f98da93ed0ffbdddfbc301351ea32e5a63d2dbecf05a4f97fb794a68a3bdbe4d
|
||||
SIZE (asterisk-11.16.0.tar.gz) = 34995495
|
||||
SHA256 (asterisk-11.17.0.tar.gz) = 6c6680539c5fa30c15584ccc0017f96f4b772e297d8984e2da1338e8076f4132
|
||||
SIZE (asterisk-11.17.0.tar.gz) = 35008465
|
||||
|
@ -265,6 +265,7 @@ lib/asterisk/modules/bridge_simple.so
|
||||
lib/asterisk/modules/bridge_softmix.so
|
||||
%%ODBC%%lib/asterisk/modules/cdr_adaptive_odbc.so
|
||||
lib/asterisk/modules/chan_bridge.so
|
||||
lib/asterisk/modules/chan_mgcp.so
|
||||
%%XMPP%%lib/asterisk/modules/chan_motif.so
|
||||
lib/asterisk/modules/chan_unistim.so
|
||||
lib/asterisk/modules/codec_g722.so
|
||||
@ -305,6 +306,7 @@ lib/asterisk/modules/res_format_attr_h264.so
|
||||
lib/asterisk/modules/res_format_attr_silk.so
|
||||
lib/asterisk/modules/res_http_websocket.so
|
||||
lib/asterisk/modules/res_limit.so
|
||||
lib/asterisk/modules/res_pktccops.so
|
||||
lib/asterisk/modules/res_phoneprov.so
|
||||
lib/asterisk/modules/res_realtime.so
|
||||
%%SRTP%%lib/asterisk/modules/res_srtp.so
|
||||
|
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 13.2.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 13.3.0
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
||||
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||
@ -151,6 +150,8 @@ post-patch:
|
||||
post-configure:
|
||||
@cd ${WRKSRC} && ${MAKE_CMD} menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --disable res_timing_kqueue menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable chan_mgcp menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_pktccops menuselect.makeopts
|
||||
.if ${PORT_OPTIONS:MMYSQL}
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable res_config_mysql menuselect.makeopts
|
||||
@cd ${WRKSRC} && ./menuselect/menuselect --enable app_mysql menuselect.makeopts
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (asterisk-13.2.0.tar.gz) = bcef6b30cf7bb1943b12939a4dc98a53f837a8f7ef564fe44cf73ea87e114a9b
|
||||
SIZE (asterisk-13.2.0.tar.gz) = 31951737
|
||||
SHA256 (asterisk-13.3.0.tar.gz) = 88b1eaab1b2d45722f89f51e1fa47883a8fab283bc1dc2ffd7d7c6a0e4411d57
|
||||
SIZE (asterisk-13.3.0.tar.gz) = 31992024
|
||||
|
@ -333,6 +333,7 @@ lib/asterisk/modules/bridge_softmix.so
|
||||
%%ODBC%%lib/asterisk/modules/cdr_adaptive_odbc.so
|
||||
%%XMPP%%lib/asterisk/modules/chan_motif.so
|
||||
lib/asterisk/modules/chan_bridge_media.so
|
||||
lib/asterisk/modules/chan_mgcp.so
|
||||
%%OOH323%%lib/asterisk/modules/chan_ooh323.so
|
||||
%%PJSIP%%lib/asterisk/modules/chan_pjsip.so
|
||||
lib/asterisk/modules/chan_unistim.so
|
||||
@ -445,6 +446,7 @@ lib/asterisk/modules/res_phoneprov.so
|
||||
%%PJSIP%%lib/asterisk/modules/res_pjsip_t38.so
|
||||
%%PJSIP%%lib/asterisk/modules/res_pjsip_transport_websocket.so
|
||||
%%PJSIP%%lib/asterisk/modules/res_pjsip_xpidf_body_generator.so
|
||||
lib/asterisk/modules/res_pktccops.so
|
||||
lib/asterisk/modules/res_realtime.so
|
||||
lib/asterisk/modules/res_sorcery_astdb.so
|
||||
lib/asterisk/modules/res_sorcery_config.so
|
||||
|
Loading…
Reference in New Issue
Block a user