diff options
Diffstat (limited to 'net/asterisk22')
-rw-r--r-- | net/asterisk22/Makefile | 9 | ||||
-rw-r--r-- | net/asterisk22/distinfo | 6 | ||||
-rw-r--r-- | net/asterisk22/files/extra-patch-third-party_pjproject_Makefile | 11 | ||||
-rw-r--r-- | net/asterisk22/files/patch-third-party_pjproject_Makefile | 9 |
4 files changed, 21 insertions, 14 deletions
diff --git a/net/asterisk22/Makefile b/net/asterisk22/Makefile index e6f7ef90f2fa..9c89dabec6c3 100644 --- a/net/asterisk22/Makefile +++ b/net/asterisk22/Makefile @@ -1,5 +1,6 @@ PORTNAME= asterisk -DISTVERSION= 22.3.0 +DISTVERSION= 22.4.1 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= https://downloads.asterisk.org/pub/telephony/%SUBDIR%/:DEFAULT,g729 MASTER_SITE_SUBDIR= asterisk/ \ @@ -20,7 +21,7 @@ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjansson.so:devel/jansson \ - libuuid.so:misc/e2fsprogs-libuuid + libuuid.so:misc/libuuid USES= bison compiler:c11 cpe gmake gnome iconv libedit localbase \ ncurses pkgconfig shebangfix sqlite ssl @@ -218,6 +219,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/asterisk22/distinfo b/net/asterisk22/distinfo index 1296018e5df5..421733b1e607 100644 --- a/net/asterisk22/distinfo +++ b/net/asterisk22/distinfo @@ -1,6 +1,6 @@ -TIMESTAMP = 1743221604 -SHA256 (asterisk/asterisk-22.3.0.tar.gz) = 9cd9a29db5ebff861431f85b317a1f8263d49587f596886df1fcd298bd545593 -SIZE (asterisk/asterisk-22.3.0.tar.gz) = 26299340 +TIMESTAMP = 1747994304 +SHA256 (asterisk/asterisk-22.4.1.tar.gz) = 92a6312edb3db16bbd1126423fb88517dca2408d681d53cf09939cb299b4b894 +SIZE (asterisk/asterisk-22.4.1.tar.gz) = 26324437 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/asterisk22/files/extra-patch-third-party_pjproject_Makefile b/net/asterisk22/files/extra-patch-third-party_pjproject_Makefile new file mode 100644 index 000000000000..87eef1e94182 --- /dev/null +++ b/net/asterisk22/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/asterisk22/files/patch-third-party_pjproject_Makefile b/net/asterisk22/files/patch-third-party_pjproject_Makefile index dcfd4d618e80..c9a1732c0d27 100644 --- a/net/asterisk22/files/patch-third-party_pjproject_Makefile +++ b/net/asterisk22/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 $@ |