summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Kryvulia <o.kryvulia@flex-it.com.ua>2025-05-13 16:23:11 +0300
committerVladimir Druzenko <vvd@FreeBSD.org>2025-05-13 16:25:03 +0300
commitef8b51a53df52b6e0e8333a8146a2fe9ae4cab4b (patch)
tree92f7a6b4277de5f02ec17d793b2a569355500474
parentdevel/gn: Update 2175 => 2234 (diff)
net/asterisk20: Update 20.13.0 → 20.14.0
ChangeLog: https://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-20.14.0.html Fix loading pjsip modules on CURRENT PR: 286760 Sponsored by: FLEX-IT LLC MFH: 2025Q2
-rw-r--r--net/asterisk20/Makefile6
-rw-r--r--net/asterisk20/distinfo6
-rw-r--r--net/asterisk20/files/extra-patch-third-party_pjproject_Makefile11
-rw-r--r--net/asterisk20/files/patch-third-party_pjproject_Makefile9
4 files changed, 19 insertions, 13 deletions
diff --git a/net/asterisk20/Makefile b/net/asterisk20/Makefile
index 9702a5858399..db47bd050928 100644
--- a/net/asterisk20/Makefile
+++ b/net/asterisk20/Makefile
@@ -1,5 +1,5 @@
PORTNAME= asterisk
-DISTVERSION= 20.13.0
+DISTVERSION= 20.14.0
CATEGORIES= net
MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729
MASTER_SITE_SUBDIR= asterisk/ \
@@ -220,6 +220,10 @@ PJSIP_VERSION= 2.15.1
.include <bsd.port.pre.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500026
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-third-party_pjproject_Makefile
+.endif
+
.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base) || \
${SSL_DEFAULT:Mopenssl3*}
LIB_DEPENDS+= libgnutls.so:security/gnutls
diff --git a/net/asterisk20/distinfo b/net/asterisk20/distinfo
index e434cabdd451..863cb2748d8c 100644
--- a/net/asterisk20/distinfo
+++ b/net/asterisk20/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1743145333
-SHA256 (asterisk/asterisk-20.13.0.tar.gz) = c7113837c8c327db147c77b4dcec04e8115fdcf24f1c700a5661720b4df1f04a
-SIZE (asterisk/asterisk-20.13.0.tar.gz) = 28412463
+TIMESTAMP = 1746865242
+SHA256 (asterisk/asterisk-20.14.0.tar.gz) = f9152e87467d5b57a898e3bc69bcded87b8525db21e5bf06ea361120af838ce6
+SIZE (asterisk/asterisk-20.14.0.tar.gz) = 28438237
SHA256 (asterisk/asterisk-core-sounds-en-g729-1.6.tar.gz) = b49dec15e07bb9bff6af0da3a07180651a38ef54d3ea54a3f20c35f081ed8714
SIZE (asterisk/asterisk-core-sounds-en-g729-1.6.tar.gz) = 1557798
SHA256 (asterisk/asterisk-moh-opsound-g729-2.03.tar.gz) = 0147ca9a97f0c550227aacb7793499057c4d2c64e021c95f93722f27d5549585
diff --git a/net/asterisk20/files/extra-patch-third-party_pjproject_Makefile b/net/asterisk20/files/extra-patch-third-party_pjproject_Makefile
new file mode 100644
index 000000000000..87eef1e94182
--- /dev/null
+++ b/net/asterisk20/files/extra-patch-third-party_pjproject_Makefile
@@ -0,0 +1,11 @@
+--- third-party/pjproject/Makefile.orig 2022-02-03 12:25:09 UTC
++++ third-party/pjproject/Makefile
+@@ -212,7 +208,7 @@ $(ALL_LIB_FILES): source/build.mak source/pjlib/includ
+
+ pjproject.symbols: $(ALL_LIB_FILES)
+ $(ECHO_PREFIX) Generating symbols
+- $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -E -e "s/.+: ([_]?[pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
++ $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -r -e "s/^([pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
+
+ source/pjsip-apps/src/asterisk_malloc_debug.c: patches/asterisk_malloc_debug.c
+ $(ECHO_PREFIX) Copying $< to $@
diff --git a/net/asterisk20/files/patch-third-party_pjproject_Makefile b/net/asterisk20/files/patch-third-party_pjproject_Makefile
index dcfd4d618e80..c9a1732c0d27 100644
--- a/net/asterisk20/files/patch-third-party_pjproject_Makefile
+++ b/net/asterisk20/files/patch-third-party_pjproject_Makefile
@@ -19,12 +19,3 @@
rm -rf source pjproject-*/ $(REALLY_QUIET) || : ;\
$(TAR) -xjf $< ;\
mv pjproject-$(PJPROJECT_VERSION) source
-@@ -212,7 +208,7 @@ $(ALL_LIB_FILES): source/build.mak source/pjlib/includ
-
- pjproject.symbols: $(ALL_LIB_FILES)
- $(ECHO_PREFIX) Generating symbols
-- $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -E -e "s/.+: ([_]?[pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
-+ $(CMD_PREFIX) $(NM) -Pog $(ALL_LIB_FILES) | $(SED) -n -r -e "s/^([pP][jJ][^ ]+) .+/\1/gp" | sort -u > pjproject.symbols
-
- source/pjsip-apps/src/asterisk_malloc_debug.c: patches/asterisk_malloc_debug.c
- $(ECHO_PREFIX) Copying $< to $@