From c16616608b8c3938a942441f445d6e9349654f2e Mon Sep 17 00:00:00 2001 From: sthen Date: Tue, 4 May 2010 14:41:48 +0000 Subject: [PATCH] Add to UPGRADE-1.6.txt telling people that insecure=very (deprecated for >3 years and triggering a warning in the logs) has been removed in this version. --- telephony/asterisk/Makefile | 4 ++-- telephony/asterisk/patches/patch-UPGRADE-1_6_txt | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 telephony/asterisk/patches/patch-UPGRADE-1_6_txt diff --git a/telephony/asterisk/Makefile b/telephony/asterisk/Makefile index e4220290093..34f6d11b395 100644 --- a/telephony/asterisk/Makefile +++ b/telephony/asterisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.83 2010/05/04 12:42:33 sthen Exp $ +# $OpenBSD: Makefile,v 1.84 2010/05/04 14:41:48 sthen Exp $ SHARED_ONLY= Yes COMMENT-main= open source multi-protocol PBX and telephony toolkit @@ -6,7 +6,7 @@ COMMENT-main= open source multi-protocol PBX and telephony toolkit VER= 1.6.2.6 # you can set PATCHVER=p0, p1 etc to bump everything, # this takes care of the subpackage/flavor maze -PATCHVER= p3 +PATCHVER= p4 CORESOUNDS= 1.4.17 DISTNAME= asterisk-${VER:S/rc/-rc/} PKGNAME-main= asterisk-${VER}${PATCHVER} diff --git a/telephony/asterisk/patches/patch-UPGRADE-1_6_txt b/telephony/asterisk/patches/patch-UPGRADE-1_6_txt new file mode 100644 index 00000000000..02dd08b8c03 --- /dev/null +++ b/telephony/asterisk/patches/patch-UPGRADE-1_6_txt @@ -0,0 +1,16 @@ +$OpenBSD: patch-UPGRADE-1_6_txt,v 1.1 2010/05/04 14:41:48 sthen Exp $ +--- UPGRADE-1.6.txt.orig Tue May 4 15:34:30 2010 ++++ UPGRADE-1.6.txt Tue May 4 15:39:38 2010 +@@ -209,6 +209,12 @@ Channel Drivers: + The "username" setting still work, but is deprecated and will not work in + the next version of Asterisk. + ++* SIP: The old "insecure" options, deprecated in 1.4, have been removed. ++ "insecure=very" should be changed to "insecure=port,invite" ++ "insecure=yes" should be changed to "insecure=port" ++ Be aware that some telephony providers show the invalid syntax in their ++ sample configurations. ++ + * chan_local.c: the comma delimiter inside the channel name has been changed to a + semicolon, in order to make the Local channel driver compatible with the comma + delimiter change in applications.