From nobody Thu Feb 10 22:17:52 2022 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 F0BED19C1772; Thu, 10 Feb 2022 22:17:52 +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 4JvrjD6BcLz3M0k; Thu, 10 Feb 2022 22:17:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644531472; 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=EXFYJAxdzeF1hjrOyGdCvO0nDowJ0LRTOF7Yc/Ttr6M=; b=ceqUtMlQFvg7py9/4VpiRT557mHGyEdZ6W0mhO+zm1tNVr4eqO5+iPuIdpy+egXupUbOpa 1IkPok34F4uh4+uaEq+/n9+Dms3B8hyHoKx5xS+jrOArww/+3EQ5i0F5iJ104MjyiZMmEF t6eaPtE3Y8Xu2crw7/ougIUmu2MazQFOk6uAaven90SPofuYIS2BuSCWjVV1BkfVRok5f6 52/zv0kQ9SwrUbhZl7lCvPuA4wM0kXG1BBqv9V/vwol1Tr+2f2o18oV0nBrxUAkAzI5cmS Vl16c4RmyAN4Xv3hLNgkZCt6uSiuKh1Od+vhKrHuXk6SbXI0HX80hKxhGqdKeA== 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 B4FA8983; Thu, 10 Feb 2022 22:17:52 +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 21AMHqP0037968; Thu, 10 Feb 2022 22:17:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21AMHqjs037967; Thu, 10 Feb 2022 22:17:52 GMT (envelope-from git) Date: Thu, 10 Feb 2022 22:17:52 GMT Message-Id: <202202102217.21AMHqjs037967@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guido Falsi Subject: git: 385f451f32a5 - main - net/asterisk16: Update to 16.24.0 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: madpilot X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 385f451f32a5d71b13fcddbae211f8c068d69c9b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644531472; 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=EXFYJAxdzeF1hjrOyGdCvO0nDowJ0LRTOF7Yc/Ttr6M=; b=UVSeWC2Yn+9SaJ2sEKMa3y9dl3Bd20ndYecq2cSgusT4rgzhzSQ16MMk+Z9IRoLzTFp1xj NW53mf3RECboeHNprKhxHqGY4rXKkNW9aq2OHMuxIWdA9oVE74oKsN9ZTMVvCwRADZqiaS 7AGyAJY4mJWF3yYg3g/zrxNHRqqFBJ6Pv5/wNOKi/XQifLOT4wNHEXYEMsXv6vMM9FtzaH kwejyXw1/riQbOA7BbQK9POAW8Q+VcHah9CGPLwIlLZ19bAyyJnTNM/Lr6f5bIjx+/omvG /XMp0+ILrL+RWvqbiBthcLr4X7u5490Nbp2cepkfcZaFSJ70g2dh9ft3MVM5Sw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644531472; a=rsa-sha256; cv=none; b=Ir7ZRzL/zhRWpj9uA7duc21oK4Ni3oyJOf5iA+pRgv7sslubupTXeKWqAEuOTYOZGmjF5g BAmFTFzcxmgISSkGgc8Q7g2ijEbFogdUOds8LgNm2sYnO1aIDDhBDXMar1GrKn1wPvFiU8 l+6tfanaAhO8xYyVzl2AeagKC6iAjW0nXteoYkNkOVEYkkbSsu0X7uCPQgdI+XU1UBjULD WiJ6k/pctnxwdbn9z8qNiFMAINyeZlfQZJ22XflDgSFaqrvxf2FE+XTnOG3joGCaOHnDDL r0/Tr1AO4QImmOdUOMkPHlCgtz/mRs09TGUwJz+8QEcDEC2PEluCeg3yhChhBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=385f451f32a5d71b13fcddbae211f8c068d69c9b commit 385f451f32a5d71b13fcddbae211f8c068d69c9b Author: Guido Falsi AuthorDate: 2022-02-10 22:16:59 +0000 Commit: Guido Falsi CommitDate: 2022-02-10 22:16:59 +0000 net/asterisk16: Update to 16.24.0 --- net/asterisk16/Makefile | 2 +- net/asterisk16/distinfo | 6 +-- net/asterisk16/files/patch-res_res__fax__spandsp.c | 62 ---------------------- .../files/patch-third-party_pjproject_Makefile | 20 +++---- 4 files changed, 15 insertions(+), 75 deletions(-) diff --git a/net/asterisk16/Makefile b/net/asterisk16/Makefile index 618c2ca48415..13cfd4632e91 100644 --- a/net/asterisk16/Makefile +++ b/net/asterisk16/Makefile @@ -1,5 +1,5 @@ PORTNAME= asterisk -PORTVERSION= 16.23.0 +PORTVERSION= 16.24.0 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ diff --git a/net/asterisk16/distinfo b/net/asterisk16/distinfo index 8b9bfb05ed8e..f29e40300c66 100644 --- a/net/asterisk16/distinfo +++ b/net/asterisk16/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1639080465 -SHA256 (asterisk/asterisk-16.23.0.tar.gz) = c2ad32bdf45bfc297a4f172cd9a6a98e53c30c75f5f916cbd1ba2e24e0df8054 -SIZE (asterisk/asterisk-16.23.0.tar.gz) = 27960909 +TIMESTAMP = 1644500161 +SHA256 (asterisk/asterisk-16.24.0.tar.gz) = c866d15ce15bd8c12b6d69a6092900472d066a440b352275cbce1e507e60fc58 +SIZE (asterisk/asterisk-16.24.0.tar.gz) = 27987904 SHA256 (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 8b28a59cfa53b59c76e0a191704f0708e3d83acffab8c5e6f25dfc599f0123f9 SIZE (asterisk/asterisk-core-sounds-en-g729-1.5.tar.gz) = 1551123 SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585 diff --git a/net/asterisk16/files/patch-res_res__fax__spandsp.c b/net/asterisk16/files/patch-res_res__fax__spandsp.c deleted file mode 100644 index 7efe45d3e616..000000000000 --- a/net/asterisk16/files/patch-res_res__fax__spandsp.c +++ /dev/null @@ -1,62 +0,0 @@ ---- res/res_fax_spandsp.c.orig 2021-11-02 08:40:01 UTC -+++ res/res_fax_spandsp.c -@@ -167,8 +167,8 @@ struct spandsp_pvt { - static int spandsp_v21_new(struct spandsp_pvt *p); - static void session_destroy(struct spandsp_pvt *p); - static int t38_tx_packet_handler(t38_core_state_t *t38_core_state, void *data, const uint8_t *buf, int len, int count); --static void t30_phase_e_handler(t30_state_t *t30_state, void *data, int completion_code); --static void spandsp_log(int level, const char *msg); -+static void t30_phase_e_handler(void *data, int completion_code); -+static void spandsp_log(void *user_data, int level, const char *msg); - static int update_stats(struct spandsp_pvt *p, int completion_code); - static int spandsp_modems(struct ast_fax_session_details *details); - -@@ -375,10 +375,11 @@ static int update_stats(struct spandsp_pvt *p, int com - * This function pulls stats from the spandsp stack and stores them for res_fax - * to use later. - */ --static void t30_phase_e_handler(t30_state_t *t30_state, void *data, int completion_code) -+static void t30_phase_e_handler(void *data, int completion_code) - { - struct ast_fax_session *s = data; - struct spandsp_pvt *p = s->tech_pvt; -+ t30_state_t *t30_state = p->t30_state; - char headerinfo[T30_MAX_PAGE_HEADER_INFO + 1]; - const char *c; - t30_stats_t stats; -@@ -430,7 +431,7 @@ static void t30_phase_e_handler(t30_state_t *t30_state - * - * \note This function is a callback function called by spandsp. - */ --static void spandsp_log(int level, const char *msg) -+static void spandsp_log(void *user_data, int level, const char *msg) - { - if (level == SPAN_LOG_ERROR) { - ast_log(LOG_ERROR, "%s", msg); -@@ -449,7 +450,7 @@ static void set_logging(logging_state_t *state, struct - level = SPAN_LOG_DEBUG_3; - } - -- span_log_set_message_handler(state, spandsp_log); -+ span_log_set_message_handler(state, spandsp_log, NULL); - span_log_set_level(state, SPAN_LOG_SHOW_SEVERITY | SPAN_LOG_SHOW_PROTOCOL | level); - } - -@@ -479,7 +480,7 @@ static void set_file(t30_state_t *t30_state, struct as - static void set_ecm(t30_state_t *t30_state, struct ast_fax_session_details *details) - { - t30_set_ecm_capability(t30_state, details->option.ecm); -- t30_set_supported_compressions(t30_state, T30_SUPPORT_T4_1D_COMPRESSION | T30_SUPPORT_T4_2D_COMPRESSION | T30_SUPPORT_T6_COMPRESSION); -+ t30_set_supported_compressions(t30_state, T4_COMPRESSION_T4_1D | T4_COMPRESSION_T4_2D | T4_COMPRESSION_T6); - } - - static int spandsp_v21_new(struct spandsp_pvt *p) -@@ -1256,7 +1257,7 @@ static int load_module(void) - } - - /* prevent logging to stderr */ -- span_set_message_handler(NULL); -+ span_set_message_handler(NULL, NULL); - - return AST_MODULE_LOAD_SUCCESS; - } diff --git a/net/asterisk16/files/patch-third-party_pjproject_Makefile b/net/asterisk16/files/patch-third-party_pjproject_Makefile index fc1b47d6e802..45ae5db97c97 100644 --- a/net/asterisk16/files/patch-third-party_pjproject_Makefile +++ b/net/asterisk16/files/patch-third-party_pjproject_Makefile @@ -1,8 +1,8 @@ ---- third-party/pjproject/Makefile.orig 2020-07-09 15:39:17 UTC +--- third-party/pjproject/Makefile.orig 2022-02-03 12:19:37 UTC +++ third-party/pjproject/Makefile -@@ -88,14 +88,10 @@ _all: $(TARGETS) +@@ -88,15 +88,11 @@ SHELL_ECHO_PREFIX := echo '[pjproject] ' - .DELETE_ON_ERROR: + _all: $(TARGETS) -$(DOWNLOAD_DIR)/$(TARBALL_FILE): ../versions.mak - $(CMD_PREFIX) ($(TARBALL_EXISTS) && $(TARBALL_VERIFY) && touch $@) || (rm -rf $@ ;\ @@ -12,12 +12,14 @@ + @true source/.unpacked: $(DOWNLOAD_DIR)/$(TARBALL_FILE) -- $(CMD_PREFIX) $(TARBALL_VERIFY) || (rm -rf $@ ;\ -- $(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD)) - $(ECHO_PREFIX) Unpacking $< - -@rm -rf source pjproject-*/ >/dev/null 2>&1 - $(CMD_PREFIX) $(TAR) -xjf $< -@@ -155,7 +151,7 @@ $(PJSIP_LIB_FILES): $(PJLIB_UTIL_LIB_FILES) +- $(CMD_PREFIX) \ +- $(TARBALL_VERIFY) || (rm -rf $@ ; $(SHELL_ECHO_PREFIX) Retrying download ; $(TARBALL_DOWNLOAD)) ;\ +- $(SHELL_ECHO_PREFIX) Unpacking $< ;\ ++ $(SHELL_ECHO_PREFIX) Unpacking $< ;\ + rm -rf source pjproject-*/ $(REALLY_QUIET) || : ;\ + $(TAR) -xjf $< ;\ + mv pjproject-$(PJPROJECT_VERSION) source +@@ -202,7 +198,7 @@ $(ALL_LIB_FILES): source/build.mak source/pjlib/includ pjproject.symbols: $(ALL_LIB_FILES) $(ECHO_PREFIX) Generating symbols