Date: Sat, 29 Apr 2023 22:52:09 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6ee7f9f1ae2e - main - net/asterisk18: Unbreak on HEAD Message-ID: <202304292252.33TMq92E076710@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=6ee7f9f1ae2ea86ff0dc86cb420abefda5f62cd9 commit 6ee7f9f1ae2ea86ff0dc86cb420abefda5f62cd9 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-04-29 20:12:49 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-04-29 22:51:59 +0000 net/asterisk18: Unbreak on HEAD - Pet portclippy while I am here --- net/asterisk18/Makefile | 129 +++++++++++++++++++++++++----------------------- 1 file changed, 68 insertions(+), 61 deletions(-) diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile index 9d3f15f8d142..3e18e68a68a8 100644 --- a/net/asterisk18/Makefile +++ b/net/asterisk18/Makefile @@ -9,6 +9,7 @@ MASTER_SITE_SUBDIR= asterisk/ \ PKGNAMESUFFIX= 18 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Open Source PBX and telephony toolkit @@ -22,14 +23,16 @@ LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ USES= bison compiler:c11 cpe gmake gnome iconv libedit localbase \ pkgconfig shebangfix sqlite ssl ncurses +CPE_VENDOR= digium +USE_GITHUB= nodefault USE_GNOME= libxml2 USE_LDCONFIG= yes USE_RC_SUBR= asterisk -USE_GITHUB= nodefault -EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} +SHEBANG_FILES= agi/agi-test.agi \ + agi/jukebox.agi \ + contrib/scripts/astversion -PJSIP_VERSION= 2.13 GNU_CONFIGURE= yes CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-ilbc=internal \ @@ -37,12 +40,8 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-ssl=${OPENSSLBASE} \ --with-externals-cache=${DISTDIR}/${DIST_SUBDIR} -CPE_VENDOR= digium - -SHEBANG_FILES= agi/agi-test.agi \ - agi/jukebox.agi \ - contrib/scripts/astversion -LDFLAGS+= -L. +MAKE_ARGS+= NOISY_BUILD=yes \ + ASTDATADIR=${DATADIR} MAKE_ENV= PTHREAD_LIBS="-lpthread" \ MKDIR="${MKDIR}" \ PWLIBDIR=${LOCALBASE}/share/pwlib \ @@ -50,62 +49,57 @@ MAKE_ENV= PTHREAD_LIBS="-lpthread" \ DOCSDIR=${DOCSDIR} \ ASTCFLAGS="${CFLAGS}" \ ASTLDFLAGS="${LDFLAGS}" -MAKE_ARGS+= NOISY_BUILD=yes \ - ASTDATADIR=${DATADIR} + +LDFLAGS+= -L. CONFLICTS= ossp-uuid CONFLICTS_BUILD= linuxthreads CONFLICTS_INSTALL= asterisk13 asterisk16 +USERS= ${ASTERISK_USER} +GROUPS= ${ASTERISK_GROUP} dahdi + OPTIONS_DEFINE= ASTVERSION BACKTRACE CURL EXCHANGE FREETDS G729 LDAP LUA MACRO \ MP3PLAYER OOH323 OPTIMIZED_CFLAGS PJSIP PORTAUDIO RADIUS SNMP \ SPANDSP SRTP SYSINFO URIPARSER XMLDOC XMPP -OPTIONS_DEFAULT= CURL FREETDS GSM LUA MACRO MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \ - PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \ - VORBIS XMLDOC - -OPTIONS_DEFINE_i386= DAHDI GEOLOCATION -OPTIONS_DEFINE_amd64= DAHDI GEOLOCATION OPTIONS_DEFINE_aarch64= GEOLOCATION -OPTIONS_DEFINE_sparc64= DAHDI +OPTIONS_DEFINE_amd64= DAHDI GEOLOCATION +OPTIONS_DEFINE_i386= DAHDI GEOLOCATION OPTIONS_DEFINE_powerpc= DAHDI OPTIONS_DEFINE_powerpc64= DAHDI OPTIONS_DEFINE_powerpc64le= DAHDI - -OPTIONS_DEFAULT_i386= DAHDI XMPP +OPTIONS_DEFINE_sparc64= DAHDI +OPTIONS_DEFAULT= CURL FREETDS GSM LUA MACRO MP3PLAYER NEWT ODBC OPUS MYSQL PGSQL \ + PJSIP PORTAUDIO RADIUS SNMP SPANDSP SPEEX SRTP URIPARSER \ + VORBIS XMLDOC OPTIONS_DEFAULT_amd64= DAHDI XMPP -OPTIONS_DEFAULT_sparc64= DAHDI XMPP +OPTIONS_DEFAULT_i386= DAHDI XMPP OPTIONS_DEFAULT_powerpc= DAHDI XMPP OPTIONS_DEFAULT_powerpc64= DAHDI XMPP OPTIONS_DEFAULT_powerpc64le= DAHDI XMPP +OPTIONS_DEFAULT_sparc64= DAHDI XMPP -OPTIONS_GROUP= CODECS +OPTIONS_GROUP= CODECS DATABASE OPTIONS_GROUP_CODECS= GSM NEWG711 OPUS SPEEX VORBIS -CODECS_DESC= Encoder/Decoder (Codec) Support - -OPTIONS_GROUP+= DATABASE OPTIONS_GROUP_DATABASE= MYSQL ODBC PGSQL -DATABASE_DESC= Database Support OPTIONS_MULTI= MENU OPTIONS_MULTI_MENU= NCURSES NEWT -MENU_DESC= Menuselect Interface Backend -NEWT_DESC= Newt User Interface - -ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.5.tar.gz -ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz -G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ - ${ASTERISK_MOH_G729_SOUNDS}:g729 +OPTIONS_SUB= yes ASTVERSION_DESC?= Install astversion (requires bash) BACKTRACE_DESC?= Stack backtrace support via (lib)execinfo +CODECS_DESC= Encoder/Decoder (Codec) Support DAHDI_DESC?= DAHDI support +DATABASE_DESC= Database Support EXCHANGE_DESC?= Exchange calendar support G729_DESC?= Install G.729 format sounds for Music-on-Hold (MoH) GEOLOCATION_DESC?= Enable SIP Geolocation support MACRO_DESC?= Enable app_macro (deprecated) +MENU_DESC= Menuselect Interface Backend MP3PLAYER_DESC= Install MP3 Player for Music-On-Hold (mpg123) NEWG711_DESC?= New G711 Codec +NEWT_DESC= Newt User Interface OOH323_DESC?= ooh323 support OPUS_DESC?= Opus Codec PJSIP_DESC?= Build the PJSIP based SIP channel @@ -115,110 +109,123 @@ URIPARSER_DESC?= Use RFC 3986 compliant uriparser library XMLDOC_DESC?= Build and install XML documentation XMPP_DESC?= XMPP/GTALK support -OPTIONS_SUB= yes - ASTVERSION_RUN_DEPENDS= bash:shells/bash BACKTRACE_CONFIGURE_WITH= execinfo -CURL_CONFIGURE_WITH= libcurl CURL_LIB_DEPENDS= libcurl.so:ftp/curl +CURL_CONFIGURE_WITH= libcurl -DAHDI_CONFIGURE_WITH= dahdi openr2 DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi +DAHDI_CONFIGURE_WITH= dahdi openr2 -EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 EXCHANGE_LIB_DEPENDS= libneon.so:www/neon \ libexpat.so:textproc/expat2 EXCHANGE_USES= gettext-runtime +EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 +FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds FREETDS_CONFIGURE_ON= --with-tds=${LOCALBASE} FREETDS_CONFIGURE_OFF= --without-tds -FREETDS_LIB_DEPENDS= libsybdb.so:databases/freetds + +G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ + ${ASTERISK_MOH_G729_SOUNDS}:g729 GEOLOCATION_USE= GNOME=libxslt -GSM_CONFIGURE_WITH= gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm +GSM_CONFIGURE_WITH= gsm -LDAP_CONFIGURE_WITH= ldap LDAP_USES= ldap +LDAP_CONFIGURE_WITH= ldap -LUA_CONFIGURE_WITH= lua LUA_USES= lua +LUA_CONFIGURE_WITH= lua LUA_CFLAGS= -I${LUA_INCDIR} LUA_LDFLAGS= -L${LUA_LIBDIR} -MYSQL_CONFIGURE_WITH= mysqlclient -MYSQL_USES= mysql - MP3PLAYER_RUN_DEPENDS= mpg123:audio/mpg123 +MYSQL_LIB_DEPENDS= libzstd.so:archivers/zstd \ + libunwind.so:devel/libunwind +MYSQL_USES= mysql +MYSQL_CONFIGURE_WITH= mysqlclient + NCURSES_USES= ncurses + NEWT_LIB_DEPENDS= libnewt.so:devel/newt -ODBC_CONFIGURE_WITH= unixodbc -ODBC_CONFIGURE_ON= --with-ltdl ODBC_LIB_DEPENDS= libodbc.so:databases/unixODBC \ libltdl.so:devel/libltdl +ODBC_CONFIGURE_ON= --with-ltdl +ODBC_CONFIGURE_WITH= unixodbc -OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_EXTRACT_ONLY= ${DISTFILE_opus} +OPUS_LIB_DEPENDS= libopus.so:audio/opus OPUS_GH_TUPLE= traud:asterisk-opus:83e1b458c77e0e287adeca494eeb79edb077b0ff:opus -PGSQL_CONFIGURE_WITH= postgres PGSQL_USES= pgsql +PGSQL_CONFIGURE_WITH= postgres -PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled PJSIP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PJSIP_GH_TUPLE= pjsip:pjproject:${PJSIP_VERSION}:pjsip +PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled -PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio +PORTAUDIO_CONFIGURE_WITH= portaudio -RADIUS_CONFIGURE_WITH= radius RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient +RADIUS_CONFIGURE_WITH= radius -SNMP_CONFIGURE_WITH= netsnmp SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} +SNMP_CONFIGURE_WITH= netsnmp -SPANDSP_CONFIGURE_WITH= spandsp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff +SPANDSP_CONFIGURE_WITH= spandsp -SPEEX_CONFIGURE_WITH= speex SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp +SPEEX_CONFIGURE_WITH= speex -SRTP_CONFIGURE_WITH= srtp SRTP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 +SRTP_CONFIGURE_WITH= srtp SYSINFO_LIB_DEPENDS= libsysinfo.so:devel/libsysinfo -URIPARSER_CONFIGURE_WITH= uriparser URIPARSER_LIB_DEPENDS= liburiparser.so:net/uriparser +URIPARSER_CONFIGURE_WITH= uriparser -VORBIS_CONFIGURE_WITH= ogg VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg +VORBIS_CONFIGURE_WITH= ogg XMLDOC_CONFIGURE_ENABLE= xmldoc -XMPP_CONFIGURE_WITH= iksemel XMPP_LIB_DEPENDS= libiksemel.so:textproc/iksemel +XMPP_CONFIGURE_WITH= iksemel +ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.5.tar.gz +ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz ASTERISK_USER?= asterisk ASTERISK_GROUP?= asterisk -USERS= ${ASTERISK_USER} -GROUPS= ${ASTERISK_GROUP} dahdi +PJSIP_VERSION= 2.13 .include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +USES+= llvm:max=14 +CPP= clang-cpp${LLVM_VERSION} +CC= clang${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + .include <bsd.port.pre.mk> .if empty(ICONV_LIB)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304292252.33TMq92E076710>