update to asterisk-18.8.0

This commit is contained in:
sthen 2021-11-02 12:40:57 +00:00
parent f3a31772b8
commit 1f9b7ef574
6 changed files with 13 additions and 34 deletions

View File

@ -1,10 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/10/16 10:55:00 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2021/11/02 12:40:57 sthen Exp $
VER= 18.7.1
VER= 18.8.0
PJ_V= 2.10
SHLIB_V= 0.0
REVISION= 0
VERSION_SPEC= >=18.0,<=19.0
VERSION_SPEC= >=18.0,<19.0
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
SHA256 (asterisk-18.7.1.tar.gz) = Echyhxi1mvdEQCdrqIhIS8kgEhdxnVZDbh4Ohb9TPBc=
SHA256 (asterisk-18.8.0.tar.gz) = SapKq05RjjQJplx3RhXje2IM4zLO1K1u7a7G4PN6Vy8=
SHA256 (pjproject-2.10.tar.bz2) = LooaSgBWLKiO6IvbaNoqnZg8RiiPc0BzKHuRamNrFZM=
SIZE (asterisk-18.7.1.tar.gz) = 27995503
SIZE (asterisk-18.8.0.tar.gz) = 28007752
SIZE (pjproject-2.10.tar.bz2) = 7339188

View File

@ -1,11 +1,10 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2021/10/16 10:55:00 sthen Exp $
$OpenBSD: patch-Makefile,v 1.2 2021/11/02 12:40:57 sthen Exp $
- don't force compiler flags
- don't unconditionally set -ftrampolines, it is gcc-only.
(Blocksruntime isn't working correctly on OpenBSD anyway so clang
is not yet an option, but patched away here to allow for easier
testing, and added-back in the port Makefile).
- fix basename(1) gnuism
Index: Makefile
--- Makefile.orig
@ -19,17 +18,7 @@ Index: Makefile
# Asterisk.conf is located in ASTETCDIR or by using the -C flag
# when starting Asterisk
@@ -188,7 +188,9 @@ OPTIONS=
ifeq ($(findstring -save-temps,$(_ASTCFLAGS) $(ASTCFLAGS)),)
ifeq ($(findstring -pipe,$(_ASTCFLAGS) $(ASTCFLAGS)),)
+ ifneq ($(OSARCH),OpenBSD)
_ASTCFLAGS+=-pipe
+ endif
endif
endif
@@ -232,7 +234,7 @@ ifeq ($(OSARCH),NetBSD)
@@ -232,7 +232,7 @@ ifeq ($(OSARCH),NetBSD)
endif
ifeq ($(OSARCH),OpenBSD)
@ -38,12 +27,3 @@ Index: Makefile
endif
ifeq ($(OSARCH),linux-uclibc)
@@ -493,7 +495,7 @@ doc/core-en_US.xml: makeopts .lastclean $(XML_core_en_
MODULEINFO=$$($(AWK) -f build_tools/get_moduleinfo $$i) ; \
if [ -n "$$MODULEINFO" ] ; \
then \
- echo "<module language=\"en_US\" name=\"`$(BASENAME) -s .c $$i`\">" >> $@ ; \
+ echo "<module language=\"en_US\" name=\"`$(BASENAME) $$i .c`\">" >> $@ ; \
echo "$$MODULEINFO" >> $@ ; \
echo "</module>" >> $@ ; \
fi ; \

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-res_res_http_media_cache_c,v 1.1.1.1 2021/10/16 10:55:00 sthen Exp $
$OpenBSD: patch-res_res_http_media_cache_c,v 1.2 2021/11/02 12:40:57 sthen Exp $
Index: res/res_http_media_cache.c
--- res/res_http_media_cache.c.orig
@ -12,7 +12,7 @@ Index: res/res_http_media_cache.c
ast_bucket_file_metadata_set(bucket_file, "__actual_expires", time_buf);
}
@@ -302,7 +302,7 @@ static int bucket_file_expired(struct ast_bucket_file
@@ -316,7 +316,7 @@ static int bucket_file_expired(struct ast_bucket_file
return 1;
}

View File

@ -1,9 +1,9 @@
$OpenBSD: patch-res_res_pjsip_registrar_c,v 1.1.1.1 2021/10/16 10:55:00 sthen Exp $
$OpenBSD: patch-res_res_pjsip_registrar_c,v 1.2 2021/11/02 12:40:57 sthen Exp $
Index: res/res_pjsip_registrar.c
--- res/res_pjsip_registrar.c.orig
+++ res/res_pjsip_registrar.c
@@ -1272,7 +1272,7 @@ static void *check_expiration_thread(void *data)
@@ -1373,7 +1373,7 @@ static void *check_expiration_thread(void *data)
while (check_interval) {
sleep(check_interval);

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-res_res_rtp_asterisk_c,v 1.1.1.1 2021/10/16 10:55:00 sthen Exp $
$OpenBSD: patch-res_res_rtp_asterisk_c,v 1.2 2021/11/02 12:40:57 sthen Exp $
libressl *does* have this now
@ -14,7 +14,7 @@ Index: res/res_rtp_asterisk.c
return DTLSv1_method();
#else
return DTLS_method();
@@ -9066,7 +9066,7 @@ static int store_stunaddr_resolved(const struct ast_dn
@@ -9071,7 +9071,7 @@ static int store_stunaddr_resolved(const struct ast_dn
const unsigned char *data = (unsigned char *)ast_dns_record_get_data(record);
const int rr_type = ast_dns_record_get_rr_type(record);