public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/asterisk] rawhide: Asterisk 23.6.0
@ 2026-11-05 17:42 Peter Lemenkov
  0 siblings, 0 replies; only message in thread
From: Peter Lemenkov @ 2026-11-05 17:42 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/asterisk
            Branch : rawhide
            Commit : 17e18fdbb43a66b22a2040945a1a003f5422c302
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-11-05T18:41:45+01:00
            Stats  : +241/-201 in 7 file(s)
            URL    : https://src.fedoraproject.org/rpms/asterisk/c/17e18fdbb43a66b22a2040945a1a003f5422c302?branch=rawhide

            Log:
            Asterisk 23.6.0

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/asterisk-0001-Update-from-python2-to-python3-for-various-scripts.patch b/asterisk-0001-Update-from-python2-to-python3-for-various-scripts.patch
new file mode 100644
index 0000000..da1b351
--- /dev/null
+++ b/asterisk-0001-Update-from-python2-to-python3-for-various-scripts.patch
@@ -0,0 +1,119 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Jared Smith <jsmith@fedoraproject.org>
+Date: Fri, 15 Nov 2019 07:59:29 -0500
+Subject: [PATCH] Update from python2 to python3 for various scripts
+
+
+diff --git a/build_tools/get_documentation.py b/build_tools/get_documentation.py
+index 3211896460..41d1689955 100644
+--- a/build_tools/get_documentation.py
++++ b/build_tools/get_documentation.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!/usr/bin/python3
+ # vin: sw=3 et:
+ '''
+ Copyright (C) 2012, Digium, Inc.
+diff --git a/build_tools/post_process_documentation.py b/build_tools/post_process_documentation.py
+index c1496beabf..aeb3e68ad4 100644
+--- a/build_tools/post_process_documentation.py
++++ b/build_tools/post_process_documentation.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!/usr/bin/python3
+ # vin: sw=3 et:
+ '''
+ Copyright (C) 2012, Digium, Inc.
+diff --git a/contrib/scripts/ast_coredumper b/contrib/scripts/ast_coredumper
+index 98f79f00f1..d2829df5f1 100755
+--- a/contrib/scripts/ast_coredumper
++++ b/contrib/scripts/ast_coredumper
+@@ -426,7 +426,7 @@ check_gdb() {
+ 		EOF
+ 	fi
+ 
+-	result=$($GDB --batch --ex "python print('hello')" 2>/dev/null || : )
++	result=$($GDB --batch --ex "python3 print('hello')" 2>/dev/null || : )
+ 	if [[ ! "$result" =~ ^hello$ ]] ; then
+ 		die -2 <<-EOF
+ 		$GDB does not support python.
+diff --git a/contrib/scripts/refcounter.py b/contrib/scripts/refcounter.py
+index 146a024c90..807623b4bc 100755
+--- a/contrib/scripts/refcounter.py
++++ b/contrib/scripts/refcounter.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ """Process a ref debug log
+ 
+  This file will process a log file created by enabling
+diff --git a/contrib/scripts/reflocks.py b/contrib/scripts/reflocks.py
+index db1985f8a5..29144a4f02 100755
+--- a/contrib/scripts/reflocks.py
++++ b/contrib/scripts/reflocks.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ """Process a ref debug log for lock usage
+ 
+  This file will process a log file created by Asterisk
+diff --git a/contrib/scripts/refstats.py b/contrib/scripts/refstats.py
+index 93df02f64a..3df82834d4 100755
+--- a/contrib/scripts/refstats.py
++++ b/contrib/scripts/refstats.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ """Process a ref debug log for memory usage
+ 
+  This will provide information about total and peak
+diff --git a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
+index 10f6b33d1b..b4be16af1c 100755
+--- a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
++++ b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ 
+ from __future__ import print_function
+ 
+diff --git a/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py b/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py
+index 2469ffc9fe..9492747cc3 100755
+--- a/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py
++++ b/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ 
+ from sip_to_pjsip import convert
+ import sip_to_pjsip
+diff --git a/contrib/scripts/spandspflow2pcap.py b/contrib/scripts/spandspflow2pcap.py
+index 442e15fb9c..687db83dbe 100644
+--- a/contrib/scripts/spandspflow2pcap.py
++++ b/contrib/scripts/spandspflow2pcap.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # vim: set ts=8 sw=4 sts=4 et ai tw=79:
+ '''
+ Usage: ./spandspflow2pcap.py SPANDSP_LOG SENDFAX_PCAP
+diff --git a/contrib/scripts/voicemailpwcheck.py b/contrib/scripts/voicemailpwcheck.py
+index 7636df3127..77203099c1 100755
+--- a/contrib/scripts/voicemailpwcheck.py
++++ b/contrib/scripts/voicemailpwcheck.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ ''' Sample externpasscheck script for use with voicemail.conf
+ 
+ Copyright (C) 2010, Digium, Inc.
+diff --git a/rest-api-templates/make_ari_stubs.py b/rest-api-templates/make_ari_stubs.py
+index 644f819041..ae1b9d6f3c 100755
+--- a/rest-api-templates/make_ari_stubs.py
++++ b/rest-api-templates/make_ari_stubs.py
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python3
+ # Asterisk -- An open source telephony toolkit.
+ #
+ # Copyright (C) 2013, Digium, Inc.

diff --git a/asterisk-0002-codec_ilbc-Build-against-system-libilbc-3.x.patch b/asterisk-0002-codec_ilbc-Build-against-system-libilbc-3.x.patch
new file mode 100644
index 0000000..c990740
--- /dev/null
+++ b/asterisk-0002-codec_ilbc-Build-against-system-libilbc-3.x.patch
@@ -0,0 +1,117 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= <mspacek@redhat.com>
+Date: Wed, 15 Jun 2022 17:40:46 +0200
+Subject: [PATCH] codec_ilbc: Build against system libilbc 3.x
+
+libilbc 3.x removed the RFC 3951 compatibility function names (initDecode,
+initEncode, iLBC_decode, iLBC_encode). Map them to the WebRtcIlbcfix_* symbols
+the library exposes, and drop the "libilbc < 3" configure restriction, so
+codec_ilbc is built against the system libilbc even when it is version 3.x.
+
+Resolves: #2135
+
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+
+diff --git a/codecs/codec_ilbc.c b/codecs/codec_ilbc.c
+index 536d68026e..b92e4edf55 100644
+--- a/codecs/codec_ilbc.c
++++ b/codecs/codec_ilbc.c
+@@ -45,6 +45,28 @@
+ typedef uint16_t ilbc_bytes;
+ typedef int16_t  ilbc_block;
+ #define BUF_TYPE i16
++/* libilbc 3.x removed the RFC 3951 compatibility macros that 2.x's <ilbc.h>
++ * provided.  Re-add them only when the header did not, so this is a no-op
++ * against libilbc 2.x and only takes effect on 3.x. */
++#ifndef initDecode
++#define initDecode WebRtcIlbcfix_InitDecode
++#endif
++#ifndef initEncode
++#define initEncode WebRtcIlbcfix_InitEncode
++#endif
++#ifndef iLBC_decode
++#define iLBC_decode WebRtcIlbcfix_DecodeImpl
++#endif
++#ifndef iLBC_encode
++#define iLBC_encode WebRtcIlbcfix_EncodeImpl
++#endif
++/* libilbc 3.x also deprecates the iLBC_{Enc,Dec}_Inst_t type names in favour of
++ * IlbcEncoder/IlbcDecoder; use the current names there so the build stays clean
++ * under -Werror=deprecated-declarations.  libilbc 2.x has only the iLBC_* names. */
++#if defined(LIBILBC_VERSION_MAJOR) && LIBILBC_VERSION_MAJOR >= 3
++#define iLBC_Enc_Inst_t IlbcEncoder
++#define iLBC_Dec_Inst_t IlbcDecoder
++#endif
+ #else
+ #include "ilbc/iLBC_encode.h"
+ #include "ilbc/iLBC_decode.h"
+diff --git a/configure b/configure
+index dde6aa6bc0..4e3ac67555 100755
+--- a/configure
++++ b/configure
+@@ -34380,19 +34380,19 @@ if test "${USE_ILBC}" != "no"; then
+       if test "x${PBX_ILBC}" != "x1" -a "${USE_ILBC}" != "no"; then
+ 
+ pkg_failed=no
+-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libilbc < 3" >&5
+-printf %s "checking for libilbc < 3... " >&6; }
++{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libilbc" >&5
++printf %s "checking for libilbc... " >&6; }
+ 
+ if test -n "$ILBC_CFLAGS"; then
+     pkg_cv_ILBC_CFLAGS="$ILBC_CFLAGS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libilbc < 3\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "libilbc < 3") 2>&5
++    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libilbc\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "libilbc") 2>&5
+   ac_status=$?
+   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_ILBC_CFLAGS=`$PKG_CONFIG --cflags "libilbc < 3" 2>/dev/null`
++  pkg_cv_ILBC_CFLAGS=`$PKG_CONFIG --cflags "libilbc" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -34404,12 +34404,12 @@ if test -n "$ILBC_LIBS"; then
+     pkg_cv_ILBC_LIBS="$ILBC_LIBS"
+  elif test -n "$PKG_CONFIG"; then
+     if test -n "$PKG_CONFIG" && \
+-    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libilbc < 3\""; } >&5
+-  ($PKG_CONFIG --exists --print-errors "libilbc < 3") 2>&5
++    { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libilbc\""; } >&5
++  ($PKG_CONFIG --exists --print-errors "libilbc") 2>&5
+   ac_status=$?
+   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+   test $ac_status = 0; }; then
+-  pkg_cv_ILBC_LIBS=`$PKG_CONFIG --libs "libilbc < 3" 2>/dev/null`
++  pkg_cv_ILBC_LIBS=`$PKG_CONFIG --libs "libilbc" 2>/dev/null`
+ 		      test "x$?" != "x0" && pkg_failed=yes
+ else
+   pkg_failed=yes
+@@ -34430,9 +34430,9 @@ else
+         _pkg_short_errors_supported=no
+ fi
+         if test $_pkg_short_errors_supported = yes; then
+-	        ILBC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libilbc < 3" 2>&1`
++	        ILBC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libilbc" 2>&1`
+         else
+-	        ILBC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libilbc < 3" 2>&1`
++	        ILBC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libilbc" 2>&1`
+         fi
+ 	# Put the nasty error message in config.log where it belongs
+ 	echo "$ILBC_PKG_ERRORS" >&5
+diff --git a/configure.ac b/configure.ac
+index ba9a2d143b..d56ad47552 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1765,7 +1765,7 @@ if test "${USE_ILBC}" != "no"; then
+       ILBC_INTERNAL="no"
+    fi
+    if test "${ILBC_SYSTEM}" = "yes"; then
+-      AST_PKG_CONFIG_CHECK(ILBC, libilbc < 3)
++      AST_PKG_CONFIG_CHECK(ILBC, libilbc)
+       if test "$PBX_ILBC" = "1"; then
+ 	 ILBC_INTERNAL="no"
+       fi

diff --git a/asterisk-16.1.0-explicit-python3.patch b/asterisk-16.1.0-explicit-python3.patch
deleted file mode 100644
index 34635a4..0000000
--- a/asterisk-16.1.0-explicit-python3.patch
+++ /dev/null
@@ -1,119 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Jared Smith <jsmith@fedoraproject.org>
-Date: Fri, 15 Nov 2019 07:59:29 -0500
-Subject: [PATCH] Update from python2 to python3 for various scripts
-
-
-diff --git a/build_tools/get_documentation.py b/build_tools/get_documentation.py
-index 3211896460..41d1689955 100644
---- a/build_tools/get_documentation.py
-+++ b/build_tools/get_documentation.py
-@@ -1,4 +1,4 @@
--#! /usr/bin/env python
-+#!/usr/bin/python3
- # vin: sw=3 et:
- '''
- Copyright (C) 2012, Digium, Inc.
-diff --git a/build_tools/post_process_documentation.py b/build_tools/post_process_documentation.py
-index c1496beabf..aeb3e68ad4 100644
---- a/build_tools/post_process_documentation.py
-+++ b/build_tools/post_process_documentation.py
-@@ -1,4 +1,4 @@
--#! /usr/bin/env python
-+#!/usr/bin/python3
- # vin: sw=3 et:
- '''
- Copyright (C) 2012, Digium, Inc.
-diff --git a/contrib/scripts/ast_coredumper b/contrib/scripts/ast_coredumper
-index 98f79f00f1..759d34ee6b 100755
---- a/contrib/scripts/ast_coredumper
-+++ b/contrib/scripts/ast_coredumper
-@@ -426,7 +426,7 @@ check_gdb() {
- 		EOF
- 	fi
- 
--	result=$($GDB --batch --ex "python print('hello')" 2>/dev/null || : )
-+	result=$($GDB --batch --ex "python3 print('hello')" 2>/dev/null || : )
- 	if [[ ! "$result" =~ ^hello$ ]] ; then
- 		die -2 <<-EOF
- 		$GDB does not support python.
-diff --git a/contrib/scripts/refcounter.py b/contrib/scripts/refcounter.py
-index 146a024c90..807623b4bc 100755
---- a/contrib/scripts/refcounter.py
-+++ b/contrib/scripts/refcounter.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- """Process a ref debug log
- 
-  This file will process a log file created by enabling
-diff --git a/contrib/scripts/reflocks.py b/contrib/scripts/reflocks.py
-index db1985f8a5..29144a4f02 100755
---- a/contrib/scripts/reflocks.py
-+++ b/contrib/scripts/reflocks.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- """Process a ref debug log for lock usage
- 
-  This file will process a log file created by Asterisk
-diff --git a/contrib/scripts/refstats.py b/contrib/scripts/refstats.py
-index 93df02f64a..3df82834d4 100755
---- a/contrib/scripts/refstats.py
-+++ b/contrib/scripts/refstats.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- """Process a ref debug log for memory usage
- 
-  This will provide information about total and peak
-diff --git a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
-index 10f6b33d1b..b4be16af1c 100755
---- a/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
-+++ b/contrib/scripts/sip_to_pjsip/sip_to_pjsip.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- 
- from __future__ import print_function
- 
-diff --git a/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py b/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py
-index 2469ffc9fe..9492747cc3 100755
---- a/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py
-+++ b/contrib/scripts/sip_to_pjsip/sip_to_pjsql.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- 
- from sip_to_pjsip import convert
- import sip_to_pjsip
-diff --git a/contrib/scripts/spandspflow2pcap.py b/contrib/scripts/spandspflow2pcap.py
-index 442e15fb9c..687db83dbe 100644
---- a/contrib/scripts/spandspflow2pcap.py
-+++ b/contrib/scripts/spandspflow2pcap.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- # vim: set ts=8 sw=4 sts=4 et ai tw=79:
- '''
- Usage: ./spandspflow2pcap.py SPANDSP_LOG SENDFAX_PCAP
-diff --git a/contrib/scripts/voicemailpwcheck.py b/contrib/scripts/voicemailpwcheck.py
-index 7636df3127..77203099c1 100755
---- a/contrib/scripts/voicemailpwcheck.py
-+++ b/contrib/scripts/voicemailpwcheck.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- ''' Sample externpasscheck script for use with voicemail.conf
- 
- Copyright (C) 2010, Digium, Inc.
-diff --git a/rest-api-templates/make_ari_stubs.py b/rest-api-templates/make_ari_stubs.py
-index 644f819041..ae1b9d6f3c 100755
---- a/rest-api-templates/make_ari_stubs.py
-+++ b/rest-api-templates/make_ari_stubs.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python3
- # Asterisk -- An open source telephony toolkit.
- #
- # Copyright (C) 2013, Digium, Inc.

diff --git a/asterisk-18.12.1-ilbc_macros.patch b/asterisk-18.12.1-ilbc_macros.patch
deleted file mode 100644
index 1f445d2..0000000
--- a/asterisk-18.12.1-ilbc_macros.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Michal=20Josef=20=C5=A0pa=C4=8Dek?= <mspacek@redhat.com>
-Date: Wed, 15 Jun 2022 17:40:46 +0200
-Subject: [PATCH] handle ilbc v3 errors
-
-libilbc 3.x removed the RFC 3951 compatibility function names (initDecode,
-initEncode, iLBC_decode, iLBC_encode). Map them to the WebRtcIlbcfix_* symbols
-the library exposes, and drop the "libilbc < 3" configure restriction, so
-codec_ilbc is built against the system libilbc even when it is version 3.x.
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/codecs/codec_ilbc.c b/codecs/codec_ilbc.c
-index 536d68026e..c75cbb7a48 100644
---- a/codecs/codec_ilbc.c
-+++ b/codecs/codec_ilbc.c
-@@ -45,6 +45,11 @@
- typedef uint16_t ilbc_bytes;
- typedef int16_t  ilbc_block;
- #define BUF_TYPE i16
-+/* In the ilbc library were removed RFC 3951 compatibility macros */
-+#define initDecode WebRtcIlbcfix_InitDecode
-+#define initEncode WebRtcIlbcfix_InitEncode
-+#define iLBC_decode WebRtcIlbcfix_DecodeImpl
-+#define iLBC_encode WebRtcIlbcfix_EncodeImpl
- #else
- #include "ilbc/iLBC_encode.h"
- #include "ilbc/iLBC_decode.h"
-diff --git a/configure.ac b/configure.ac
-index a25e99781d..195d28b233 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1765,7 +1765,7 @@ if test "${USE_ILBC}" != "no"; then
-       ILBC_INTERNAL="no"
-    fi
-    if test "${ILBC_SYSTEM}" = "yes"; then
--      AST_PKG_CONFIG_CHECK(ILBC, libilbc < 3)
-+      AST_PKG_CONFIG_CHECK(ILBC, libilbc)
-       if test "$PBX_ILBC" = "1"; then
- 	 ILBC_INTERNAL="no"
-       fi

diff --git a/asterisk-23.5.0-Bundled-pjproject-do-not-discard-the-ambient-CFLAGS.patch b/asterisk-23.5.0-Bundled-pjproject-do-not-discard-the-ambient-CFLAGS.patch
deleted file mode 100644
index 5d17862..0000000
--- a/asterisk-23.5.0-Bundled-pjproject-do-not-discard-the-ambient-CFLAGS.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Peter Lemenkov <lemenkov@gmail.com>
-Date: Mon, 31 Aug 2026 15:54:23 +0200
-Subject: [PATCH] Bundled pjproject: Do not discard the ambient CFLAGS
-
-Commit f82393da0dbf125bd96e3c4a0dc080f88d6a90e4 ("Bundled pjproject: Make it
-easier to override options in config_site.h") added
-
-    PJPROJECT_CONFIG_OPTS += CFLAGS="$(PJPROJECT_CFLAGS)"
-
-Previously CFLAGS was never passed on the aconfigure command line, so the
-bundled pjproject inherited the exported CFLAGS from the environment. Passing
-it explicitly overrides that, and PJPROJECT_CFLAGS contains only the options
-this file adds (-DPJ_HAS_LINUX_EPOLL=1), so every distribution flag is lost.
-
-Appending to the ambient CFLAGS rather than replacing them keeps the new
-PJPROJECT_CFLAGS override working while restoring inheritance.
-
-Resolves: #2132
-
-Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
-
-diff --git a/third-party/pjproject/Makefile.rules b/third-party/pjproject/Makefile.rules
-index f6790bd216..d09da39817 100644
---- a/third-party/pjproject/Makefile.rules
-+++ b/third-party/pjproject/Makefile.rules
-@@ -50,4 +50,4 @@ ifeq ($(shell uname -s),Linux)
-     PJPROJECT_CFLAGS += -DPJ_HAS_LINUX_EPOLL=1
- endif
- 
--PJPROJECT_CONFIG_OPTS += CFLAGS="$(PJPROJECT_CFLAGS)"
-+PJPROJECT_CONFIG_OPTS += CFLAGS="$(CFLAGS) $(PJPROJECT_CFLAGS)"

diff --git a/asterisk.spec b/asterisk.spec
index 2f37ff2..8b3d48b 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -41,7 +41,7 @@
 
 Summary:          The Open Source PBX
 Name:             asterisk
-Version:          23.5.0
+Version:          23.6.0
 Release:          %{?_rc||?_beta:0.}5%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}.1
 # Automatically converted from old format: GPLv2 - review is highly recommended.
 License:          GPL-2.0-only
@@ -81,13 +81,9 @@ Source99:         0030-ssl_sock_ossl-fix-OpenSSL-4.0-compatibility-5036.patch
 Source100:        0031-Merge-commit-from-fork.patch
 Source101:        0032-Merge-commit-from-fork.patch
 
-Patch1:           asterisk-16.1.0-explicit-python3.patch
-
+Patch: asterisk-0001-Update-from-python2-to-python3-for-various-scripts.patch
 # https://github.com/asterisk/asterisk/pull/2136
-Patch3:           asterisk-18.12.1-ilbc_macros.patch
-
-# https://github.com/asterisk/asterisk/pull/2133
-Patch4:           asterisk-23.5.0-Bundled-pjproject-do-not-discard-the-ambient-CFLAGS.patch
+Patch: asterisk-0002-codec_ilbc-Build-against-system-libilbc-3.x.patch
 
 # Asterisk now builds against a bundled copy of pjproject, as they apply some patches
 # directly to pjproject before the build against it

diff --git a/sources b/sources
index ee0ca4b..a3aa766 100644
--- a/sources
+++ b/sources
@@ -1,5 +1,5 @@
-SHA512 (asterisk-23.5.0.tar.gz) = fcf6a2a5cf418a81b0ca4890ec22981e7a4b54b4da26b6a419ce1cdca6c86bfee502155e3f446426decef0c25b2c41675c2fe237b0211fabf51a074f94ce525e
-SHA512 (asterisk-23.5.0.tar.gz.asc) = 085ac2fc1ec1465da5d1e6531fe5e3ae4ca509649f515ae0efbbc578e9ee0a061a13bb3e5eb6cbd16566b3db4a5ced9412ecaafbc4fc0c37492e53a482447319
+SHA512 (asterisk-23.6.0.tar.gz) = 96b9bc6f8ba8214b8b2415a40738b8bd733801f143ddcd9f6935eb7aa1f007f3eda933c69347d4cc758ae737ac885aa9f5ff6937a187491474e2bebf47ab04c2
+SHA512 (asterisk-23.6.0.tar.gz.asc) = 813d4b172c0ec4f720708e2922e47983827960f1d6991bcc9be6ab0fb4d38382b121e986f346e0aeae8bec830c2377ca1c4dd010280af419790ae416d8d4b37a
 SHA512 (jansson-2.15.1.tar.bz2) = 0ce117ff1108622ce47a671ee27e0362834bcd9665d408f455fc3c6b68816a51d9fffa5e23faf8cefcdb1a9d9be89ad08076afd02530f665d6fa622b6d9f153d
 SHA512 (libjwt-1.15.3.tar.gz) = 6a99c81258c5302f7dd908f639676d7cfbe09599812cd97ead871cd5962f15e5248b935e1ef643c4dd43bd1ee66d0e12be1b599a6d3b26d461c4b15216a93774
 SHA512 (pjproject-2.17.tar.bz2) = b523b3761aab8931ad2a940d107861caf346e3c5cf9b12d23b5b267b8f3b4758ee842b401f1199c3ceb7e78bbaf0d2a167d2574222c51e6016586eb2caa1e33d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-05 17:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 17:42 [rpms/asterisk] rawhide: Asterisk 23.6.0 Peter Lemenkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox