asterisk: bump to 23.1.0
authorPaul Donald <[email protected]>
Wed, 3 Dec 2025 03:28:05 +0000 (04:28 +0100)
committerJiri Slachta <[email protected]>
Thu, 4 Dec 2025 12:06:45 +0000 (13:06 +0100)
remove deprecated modules from 22-23

See https://docs.asterisk.org/Asterisk_23_Documentation/Upgrading/
and https://docs.asterisk.org/Asterisk_23_Documentation/WhatsNew/

starting in v23, astdb2sqlite3 is removed. Users still running on v10 Berkley DB
must have upgraded DB prior to v23. Similarly, all Berkley DB functionality is
removed.

patch 150 refreshed to remove Berkley DB stuff.
other patches refreshed.

Signed-off-by: Paul Donald <[email protected]>
net/asterisk/Makefile
net/asterisk/patches/150-musl-12x.patch
net/asterisk/patches/180-app_queue_time_t.patch

index 5afd75edaafeac83f2ec7e0ae7717c68abae9498..a810c2fb438d0e4b127e12dc7edd8a7ecf78cad0 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=asterisk
-PKG_VERSION:=22.7.0
+PKG_VERSION:=23.1.0
 PKG_RELEASE:=1
 PKG_CPE_ID:=cpe:/a:digium:asterisk
 
 PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://downloads.asterisk.org/pub/telephony/asterisk/releases
-PKG_HASH:=5b0e5d276aeb014bf8a08a94d1055a9e97b9dce3375846eea70da5221bf9efe7
+PKG_HASH:=04a05b555b27a7f5cc4f86d301190d7ee2cd4621490d262aed8613495b44316a
 
 PKG_BUILD_DEPENDS:=libxml2/host
 
@@ -323,8 +323,6 @@ MODULES_AVAILABLE:= \
 UTILS_AVAILABLE:= \
        aelparse \
        astcanary \
-       astdb2sqlite3 \
-       astdb2bdb \
        check_expr \
        check_expr2 \
        smsq \
@@ -1068,8 +1066,6 @@ $(eval $(call BuildAsteriskModule,res-xmpp,XMPP client and component module,Aste
 
 $(eval $(call BuildAsteriskUtil,aelparse,Check extensions.ael file.,+$(PKG_NAME)-pbx-ael,))
 $(eval $(call BuildAsteriskUtil,astcanary,Assures Asterisk no threads have gone missing.,,))
-$(eval $(call BuildAsteriskUtil,astdb2sqlite3,Convert astdb to SQLite 3.,,))
-$(eval $(call BuildAsteriskUtil,astdb2bdb,Convert astdb back to Berkeley DB 1.86.,,))
 $(eval $(call BuildAsteriskUtil,check_expr,Expression checker [older version].,,))
 $(eval $(call BuildAsteriskUtil,check_expr2,Expression checker [newer version].,,))
 $(eval $(call BuildAsteriskUtil,smsq,Send messages from command line.,+libpopt,))
index 08441be438cd3b6f549b7697a8dafbb1a1405449..ebfb8207a76dc8955b44a5fdfc547b278c10e68e 100644 (file)
  #include <alloca.h>
  #include <strings.h>
  #include <pthread.h>
---- a/utils/db1-ast/include/db.h
-+++ b/utils/db1-ast/include/db.h
-@@ -68,8 +68,11 @@ typedef     unsigned long long      u_int64_t;
- #endif /* __FreeBSD__ */
- #endif
--#ifdef SOLARIS
-+#ifndef __P
- #define       __P(p) p
-+#endif
-+
-+#ifndef __BEGIN_DECLS
- #define __BEGIN_DECLS
- #define __END_DECLS
- #endif
index 92305ed0d89df2ac76c7338c2c2e7a4748861bb6..fc8c69f6c8eb2158934da46ed01ed9c206b00e53 100644 (file)
@@ -1,6 +1,6 @@
 --- a/apps/app_queue.c
 +++ b/apps/app_queue.c
-@@ -4803,8 +4803,12 @@ static int is_longest_waiting_caller(str
+@@ -4759,8 +4759,12 @@ static int is_longest_waiting_caller(str
                                         * will be unused until the first caller is picked up.
                                         */
                                        if (ch->start < caller->start && !ch->pending) {