From nobody Tue May 02 11:38:46 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q9dPz0J6sz48t1k; Tue, 2 May 2023 11:38:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q9dPy49sPz3pVY; Tue, 2 May 2023 11:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683027526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1fLUiNLPzpx+8FXyWDuOujd9OefE1sVBR6Si78C10yY=; b=N/zaqMVb9f2LnZxulcgschxftjDII2CtCdZ3NfFPWfRMUlwiq9Hu96qboZHNmEVbN+T4X2 XAOAyu5HqjG1sG/ZpSR8mG4t4eL99Rl//xOlDO+gQa/2+kUVjN6dkfEdU53/ectnYm5OLR rAOofDYY8KCSL1A+qHSA382pfuV9g15toEM+5g7jp81t1bNAygIdCpLLiH7osKXo8VtQ6b k+H3cn2ir1v2XPnwSFDublNN8ikSuqY4YXb94n+JaZ69Cb/bUzGfudQVqTKv59VAz0EMtT fzP6Qm4NzeUd6yycwcUIW1TXU3fJi/NtNf/RJrlTadJ06OvVX0dL4pDK1GFjDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683027526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1fLUiNLPzpx+8FXyWDuOujd9OefE1sVBR6Si78C10yY=; b=Gmt64C8b01cMRTtZAw0itjhaPF6fq2RbPdYN7MbLnlRLJ03Syabps9P3nkSnI3XaQPTTlw IVLADUhedDbW13EE1RBE/zb7/MNAyVAKxVezAUVVWiKy4NSo2naUDf7x1WW2iDOXcsKyh9 yP/7OFN9KwmFPC9ImjRIyvkHooU1PkH4/p8QB7NSaZFfgyqUjBX9NL7m1/gNgl4aXIby+4 z/i0rId257wkOt+HHGWIET7k/N42GWjLLstoiXzs0zehjhoEKkMU54q7Y4L6kJbKs4hD2G IU5oIKHscbZyJlTTK1ORSPbXKsBNnh6ULBrxZd68HBnw+aLZcaSxDMC6+H+GLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683027526; a=rsa-sha256; cv=none; b=cuzBFdXjgtIUhw05lHJesuAAS0GtxbER+6u/A564YxbM4F3tn1iUc+VKBMz7pDUW8hxDnm TwHjsyl9jUXObRUNMimWEizTNWHuGSqbUUrsR/ElFvi5MK8cB+B7ZUlDRapk1RYknyAcS4 +zcJaWaNqEhuCTBfc5uHz6OZtElRR921VSC/d1CXHBr2D+BicUxgv9Nv2vGBVaa3uEe79b 1wycyFBBySq+eNg55UN1PY8YjDMnvhYPyFkcnu1aaY1u8AwFtBugYdthmwJKHtJ/kKbNAs 1KSygN4tKHCVp83E81+YlykqSUGpvN+jLZMKRvLhWzgWAadkdmDKktT4RwBlfA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q9dPy3GShzm4l; Tue, 2 May 2023 11:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 342BckRJ091705; Tue, 2 May 2023 11:38:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 342Bckrv091704; Tue, 2 May 2023 11:38:46 GMT (envelope-from git) Date: Tue, 2 May 2023 11:38:46 GMT Message-Id: <202305021138.342Bckrv091704@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 7ba129cf2ae0 - main - net/asterisk16: Unbreak on HEAD List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7ba129cf2ae05149d965866d061038844e11a1e2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=7ba129cf2ae05149d965866d061038844e11a1e2 commit 7ba129cf2ae05149d965866d061038844e11a1e2 Author: Muhammad Moinur Rahman AuthorDate: 2023-05-02 10:59:42 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-05-02 11:38:33 +0000 net/asterisk16: Unbreak on HEAD - Pet portclippy --- net/asterisk16/Makefile | 159 ++++++++++++++++++++---------------------------- 1 file changed, 66 insertions(+), 93 deletions(-) diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile index 1e80396a47f8..896c82523a9c 100644 --- a/net/asterisk16/Makefile +++ b/net/asterisk16/Makefile @@ -9,30 +9,33 @@ MASTER_SITE_SUBDIR= asterisk/ \ PKGNAMESUFFIX= 16 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ${PORTNAME} +EXTRACT_ONLY:= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Open Source PBX and telephony toolkit WWW= https://www.asterisk.org -DEPRECATED= Upstream EOL reaches on 2023-10-09 -EXPIRATION_DATE= 2023-12-31 - LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE +DEPRECATED= Upstream EOL reaches on 2023-10-09 +EXPIRATION_DATE= 2023-12-31 + LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid \ libjansson.so:devel/jansson 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.12.1 GNU_CONFIGURE= yes CONFIGURE_ARGS= --datarootdir=${DATADIR} \ --with-ilbc=internal \ @@ -40,12 +43,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 \ @@ -53,62 +52,55 @@ 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 asterisk18 +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_GROUP= CODECS +OPTIONS_DEFAULT_sparc64= DAHDI XMPP +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 @@ -118,110 +110,91 @@ 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 - -DAHDI_CONFIGURE_WITH= dahdi openr2 +CURL_CONFIGURE_WITH= libcurl DAHDI_LIB_DEPENDS= libpri.so:misc/libpri \ libopenr2.so:misc/openr2 \ libtonezone.so:misc/dahdi - -EXCHANGE_CONFIGURE_OFF= --without-neon --without-neon29 +DAHDI_CONFIGURE_WITH= dahdi openr2 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 - -LDAP_CONFIGURE_WITH= ldap +GSM_CONFIGURE_WITH= gsm LDAP_USES= ldap - -LUA_CONFIGURE_WITH= lua +LDAP_CONFIGURE_WITH= ldap 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_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 - -OPUS_LIB_DEPENDS= libopus.so:audio/opus +ODBC_CONFIGURE_ON= --with-ltdl +ODBC_CONFIGURE_WITH= unixodbc 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 - -PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled +PGSQL_CONFIGURE_WITH= postgres PJSIP_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 \ libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp PJSIP_GH_TUPLE= pjsip:pjproject:${PJSIP_VERSION}:pjsip - -PORTAUDIO_CONFIGURE_WITH= portaudio +PJSIP_CONFIGURE_WITH= pjproject pjproject-bundled PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio - -RADIUS_CONFIGURE_WITH= radius +PORTAUDIO_CONFIGURE_WITH= portaudio RADIUS_LIB_DEPENDS= libradiusclient-ng.so:net/radiusclient - -SNMP_CONFIGURE_WITH= netsnmp +RADIUS_CONFIGURE_WITH= radius SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp \ libpkg.so:${PKG_ORIGIN} - -SPANDSP_CONFIGURE_WITH= spandsp +SNMP_CONFIGURE_WITH= netsnmp SPANDSP_LIB_DEPENDS= libspandsp.so:comms/spandsp \ libtiff.so:graphics/tiff - -SPEEX_CONFIGURE_WITH= speex +SPANDSP_CONFIGURE_WITH= spandsp SPEEX_LIB_DEPENDS= libspeex.so:audio/speex \ libspeexdsp.so:audio/speexdsp - -SRTP_CONFIGURE_WITH= srtp +SPEEX_CONFIGURE_WITH= speex 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 - -VORBIS_CONFIGURE_WITH= ogg +URIPARSER_CONFIGURE_WITH= uriparser 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.12.1 .include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +USES+= llvm:max=14 +CPP= clang-cpp${LLVM_VERSION} +CC= clang${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + .include .if empty(ICONV_LIB)