head 1.7; access; symbols pkgsrc-2018Q2:1.6.0.50 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.48 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.46 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.44 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.6.0.40 pkgsrc-2017Q2-base:1.6 pkgsrc-2017Q1:1.6.0.38 pkgsrc-2017Q1-base:1.6 pkgsrc-2016Q4:1.6.0.36 pkgsrc-2016Q4-base:1.6 pkgsrc-2016Q3:1.6.0.34 pkgsrc-2016Q3-base:1.6 pkgsrc-2016Q2:1.6.0.32 pkgsrc-2016Q2-base:1.6 pkgsrc-2016Q1:1.6.0.30 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.28 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.26 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.24 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.22 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.20 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.18 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.16 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.14 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.12 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.10 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.6 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.4 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.2 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.5.0.2 pkgsrc-2012Q2-base:1.5 pkgsrc-2012Q1:1.4.0.4 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.1.1.1.0.4 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.2 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2018.07.16.21.17.13; author jnemeth; state dead; branches; next 1.6; commitid G2EZX8T1D6hWdpKA; 1.6 date 2012.08.03.08.22.53; author jnemeth; state Exp; branches; next 1.5; 1.5 date 2012.06.05.00.15.35; author jnemeth; state Exp; branches; next 1.4; 1.4 date 2011.10.11.03.12.55; author jnemeth; state Exp; branches; next 1.3; 1.3 date 2011.07.16.21.35.11; author jnemeth; state Exp; branches; next 1.2; 1.2 date 2011.06.09.09.17.27; author jnemeth; state Exp; branches; next 1.1; 1.1 date 2010.12.15.03.22.45; author jnemeth; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2010.12.15.03.22.45; author jnemeth; state Exp; branches; next ; desc @@ 1.7 log @Deleting comms/asterisk18 (Asterisk 1.8.*) as mentioned on pkgsrc-users@@ a few weeks ago. This package is ancient and has been EOL for a couple of years. It likely has numerous security issues. Also, the PKGNAME will conflict with the upcoming Asterisk 18.* in a couple of years times. There were no objections. @ text @$NetBSD: patch-aa,v 1.6 2012/08/03 08:22:53 jnemeth Exp $ --- Makefile.orig 2012-06-13 14:27:57.000000000 +0000 +++ Makefile @@@@ -125,7 +125,7 @@@@ DEBUG=-g3 # Asterisk.conf is located in ASTETCDIR or by using the -C flag # when starting Asterisk -ASTCONFPATH=$(ASTETCDIR)/asterisk.conf +ASTCONFPATH=$(ASTEXAMPLEDIR)/asterisk.conf MODULES_DIR=$(ASTLIBDIR)/modules AGI_DIR=$(ASTDATADIR)/agi-bin @@@@ -182,10 +182,6 @@@@ ifeq ($(AST_DEVMODE),yes) _ASTCFLAGS+=-Wformat=2 endif -ifneq ($(findstring BSD,$(OSARCH)),) - _ASTCFLAGS+=-isystem /usr/local/include -endif - ifeq ($(OSARCH),FreeBSD) # -V is understood by BSD Make, not by GNU make. BSDVERSION=$(shell make -V OSVERSION -f /usr/share/mk/bsd.port.subdir.mk) @@@@ -395,7 +391,6 @@@@ dist-clean: distclean distclean: $(SUBDIRS_DIST_CLEAN) _clean @@$(MAKE) -C menuselect dist-clean - @@$(MAKE) -C sounds dist-clean rm -f menuselect.makeopts makeopts menuselect-tree menuselect.makedeps rm -f makeopts.embed_rules rm -f config.log config.status config.cache @@@@ -405,7 +400,7 @@@@ distclean: $(SUBDIRS_DIST_CLEAN) _clean rm -rf doc/api rm -f build_tools/menuselect-deps -datafiles: _all doc/core-en_US.xml +datafiles: doc/core-en_US.xml CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig "$(DESTDIR)$(libdir)/pkgconfig"; # Should static HTTP be installed during make samples or even with its own target ala # webvoicemail? There are portions here that *could* be customized but might also be @@@@ -466,7 +461,7 @@@@ update: NEWHEADERS=$(notdir $(wildcard include/asterisk/*.h)) OLDHEADERS=$(filter-out $(NEWHEADERS) $(notdir $(DESTDIR)$(ASTHEADERDIR)),$(notdir $(wildcard $(DESTDIR)$(ASTHEADERDIR)/*.h))) -INSTALLDIRS="$(ASTLIBDIR)" "$(MODULES_DIR)" "$(ASTSBINDIR)" "$(ASTETCDIR)" "$(ASTVARRUNDIR)" \ +INSTALLDIRS="$(ASTLIBDIR)" "$(MODULES_DIR)" "$(ASTSBINDIR)" "$(ASTEXAMPLEDIR)" "$(ASTVARRUNDIR)" \ "$(ASTSPOOLDIR)" "$(ASTSPOOLDIR)/dictate" "$(ASTSPOOLDIR)/meetme" \ "$(ASTSPOOLDIR)/monitor" "$(ASTSPOOLDIR)/system" "$(ASTSPOOLDIR)/tmp" \ "$(ASTSPOOLDIR)/voicemail" "$(ASTHEADERDIR)" "$(ASTHEADERDIR)/doxygen" \ @@@@ -484,7 +479,7 @@@@ installdirs: fi; \ done -bininstall: _all installdirs $(SUBDIRS_INSTALL) +bininstall: installdirs $(SUBDIRS_INSTALL) $(INSTALL) -m 755 main/asterisk "$(DESTDIR)$(ASTSBINDIR)/" $(LN) -sf asterisk "$(DESTDIR)$(ASTSBINDIR)/rasterisk" $(INSTALL) -m 755 contrib/scripts/astgenkey "$(DESTDIR)$(ASTSBINDIR)/" @@@@ -576,21 +571,21 @@@@ upgrade: bininstall # XXX why *.adsi is installed first ? adsi: @@echo Installing adsi config files... - $(INSTALL) -d "$(DESTDIR)$(ASTETCDIR)" + $(INSTALL) -d "$(DESTDIR)$(ASTEXAMPLEDIR)" @@for x in configs/*.adsi; do \ - dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \ + dst="$(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x`" ; \ if [ -f "$${dst}" ] ; then \ echo "Overwriting $$x" ; \ else \ echo "Installing $$x" ; \ fi ; \ - $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x`" ; \ + $(INSTALL) -m 644 "$$x" "$(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x`" ; \ done samples: adsi @@echo Installing other config files... @@for x in configs/*.sample; do \ - dst="$(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x .sample`" ; \ + dst="$(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x .sample`" ; \ if [ -f "$${dst}" ]; then \ if [ "$(OVERWRITE)" = "y" ]; then \ if cmp -s "$${dst}" "$$x" ; then \ @@@@ -618,9 +613,9 @@@@ samples: adsi -e 's|^astspooldir.*$$|astspooldir => $(ASTSPOOLDIR)|' \ -e 's|^astrundir.*$$|astrundir => $(ASTVARRUNDIR)|' \ -e 's|^astlogdir.*$$|astlogdir => $(ASTLOGDIR)|' \ - "$(DESTDIR)$(ASTCONFPATH)" > "$(DESTDIR)$(ASTCONFPATH).tmp" ; \ - $(INSTALL) -m 644 "$(DESTDIR)$(ASTCONFPATH).tmp" "$(DESTDIR)$(ASTCONFPATH)" ; \ - rm -f "$(DESTDIR)$(ASTCONFPATH).tmp" ; \ + "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf" > "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp" ; \ + $(INSTALL) -m 644 "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp" "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf" ; \ + rm -f "$(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp" ; \ fi ; \ $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX" build_tools/make_sample_voicemail "$(DESTDIR)/$(ASTDATADIR)" "$(DESTDIR)/$(ASTSPOOLDIR)" @@@@ -646,7 +641,7 @@@@ samples: adsi webvmail: @@[ -d "$(DESTDIR)$(HTTP_DOCSDIR)/" ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 ) @@[ -d "$(DESTDIR)$(HTTP_CGIDIR)" ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 ) - $(INSTALL) -m 4755 contrib/scripts/vmail.cgi "$(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi" + $(INSTALL) contrib/scripts/vmail.cgi "$(DESTDIR)$(HTTP_CGIDIR)/vmail" $(INSTALL) -d "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk" for x in images/*.gif; do \ $(INSTALL) -m 644 $$x "$(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/"; \ @@@@ -799,7 +794,7 @@@@ uninstall-all: _uninstall rm -rf "$(DESTDIR)$(ASTVARLIBDIR)" rm -rf "$(DESTDIR)$(ASTDATADIR)" rm -rf "$(DESTDIR)$(ASTSPOOLDIR)" - rm -rf "$(DESTDIR)$(ASTETCDIR)" + rm -rf "$(DESTDIR)$(ASTEXAMPLEDIR)" rm -rf "$(DESTDIR)$(ASTLOGDIR)" menuconfig: menuselect @@@@ -868,6 +863,7 @@@@ menuselect-tree: $(foreach dir,$(filter- @@echo "" >> $@@ .PHONY: menuselect +.PHONY: menuselect.makeopts .PHONY: main .PHONY: sounds .PHONY: clean @ 1.6 log @Update to Asterisk 1.8.15.0; this is a general bug fix release: The release of Asterisk 1.8.15.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * --- Fix deadlock potential with ast_set_hangupsource() calls. * --- Fix request routing issue when outboundproxy is used. * --- Make the address family filter specific to the transport. * --- Fix NULL pointer segfault in ast_sockaddr_parse() * --- Do not perform install on existing directories For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.15.0 Thank you for your continued support of Asterisk! @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update to 1.8.13.0: The Asterisk Development Team has announced the release of Asterisk 1.8.13.0. The release of Asterisk 1.8.13.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * --- Turn off warning message when bind address is set to any. * --- Prevent overflow in calculation in ast_tvdiff_ms on 32-bit machines * --- Make DAHDISendCallreroutingFacility wait 5 seconds for a reply before disconnecting the call. * --- Fix recalled party B feature flags for a failed DTMF atxfer. * --- Fix DTMF atxfer running h exten after the wrong bridge ends. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.13.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- Makefile.orig 2012-04-12 14:26:06.000000000 +0000 d42 12 a53 12 @@@@ -470,7 +465,7 @@@@ OLDHEADERS=$(filter-out $(NEWHEADERS) $( installdirs: $(INSTALL) -d "$(DESTDIR)$(MODULES_DIR)" $(INSTALL) -d "$(DESTDIR)$(ASTSBINDIR)" - $(INSTALL) -d "$(DESTDIR)$(ASTETCDIR)" + $(INSTALL) -d "$(DESTDIR)$(ASTEXAMPLEDIR)" $(INSTALL) -d "$(DESTDIR)$(ASTVARRUNDIR)" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)" $(INSTALL) -d "$(DESTDIR)$(ASTSPOOLDIR)/dictate" @@@@ -500,7 +495,7 @@@@ installdirs: $(INSTALL) -d "$(DESTDIR)$(AGI_DIR)" $(INSTALL) -d "$(DESTDIR)$(ASTDBDIR)" d60 1 a60 1 @@@@ -592,21 +587,21 @@@@ upgrade: bininstall d86 1 a86 1 @@@@ -634,9 +629,9 @@@@ samples: adsi d99 1 a99 1 @@@@ -662,7 +657,7 @@@@ samples: adsi d108 1 a108 1 @@@@ -815,7 +810,7 @@@@ uninstall-all: _uninstall d117 1 a117 1 @@@@ -884,6 +879,7 @@@@ menuselect-tree: $(foreach dir,$(filter- @ 1.4 log @Update to 1.8.7.0 (mainly bug fixes). pkgsrc changes: - adjust for ilbc changes after it was acquired by Google - install AST.pdf IAX2-security.pdf into share/doc/asterisk 1.8.7.0: ======== The release of Asterisk 1.8.7.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! Please note that a significant numbers of changes and fixes have gone into features.c in this release (call parking, built-in transfers, call pickup, etc.). NOTE: Recently, we were notified that the mechanism included in our Asterisk source code releases to download and build support for the iLBC codec had stopped working correctly; a little investigation revealed that this occurred because of some changes on the ilbcfreeware.org website. These changes occurred as a result of Google's acquisition of GIPS, who produced (and provided licenses for) the iLBC codec. If you are a user of Asterisk and iLBC together, and you've already executed a license agreement with GIPS, we believe you can continue using iLBC with Asterisk. If you are a user of Asterisk and iLBC together, but you had not executed a license agreement with GIPS, we encourage you to research the situation and consult with your own legal representatives to determine what actions you may want to take (or avoid taking). More information is available on the Asterisk blog: http://blogs.asterisk.org/2011/09/19/ilbc-support-in-asterisk-after-googles-acquisition-of-gips/ The following is a sample of the issues resolved in this release: * Added the 'storesipcause' option to sip.conf to allow the user to disable the setting of HASH(SIP_CAUSE,) on the channel. Having chan_sip set HASH(SIP_CAUSE,) on the channel carries a significant performance penalty because of the usage of the MASTER_CHANNEL() dialplan function. We've decided to disable this feature by default in future 1.8 versions. This would be an unexpected behavior change for anyone depending on that SIP_CAUSE update in their dialplan. Please refer to the asterisk-dev mailing list more information: http://lists.digium.com/pipermail/asterisk-dev/2011-August/050626.html * Significant fixes and improvements to parking lots. (Closes issues ASTERISK-17183, ASTERISK-17870, ASTERISK-17430, ASTERISK-17452, ASTERISK-17452, ASTERISK-15792.) * Numerous issues have been reported for deadlocks that are caused by a blocking read in res_timing_timerfd on a file descriptor that will never be written to. A change to Asterisk adds some checks to make sure that the timerfd is both valid and armed before calling read(). Should fix: ASTERISK-18142, ASTERISK-18197, ASTERISK-18166 and possibly others. (In essence, this change should make res_timing_timerfd usable.) * Resolve segfault when publishing device states via XMPP and not connected. (Closes issue ASTERISK-18078.) * Refresh peer address if DNS unavailable at peer creation. (Closes issue ASTERISK-18000) * Fix the missing DAHDI channels when using the newer chan_dahdi.conf sections for channel configuration. (Closes issue ASTERISK-18496.) * Remove unnecessary libpri dependency checks in the configure script. (Closes issue ASTERISK-18535.) * Update get_ilbc_source.sh script to work again. (Closes issue ASTERISK-18412) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.7.0 Thank you for your continued support of Asterisk! 1.8.6.0: ======== The release of Asterisk 1.8.6.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Fix an issue with Music on Hold classes losing files in playlist when realtime is used. (Closes issue ASTERISK-17875.) * Resolve a potential crash in chan_sip when utilizing auth= and performing a 'sip reload' from the console. (Closes issue ASTERISK-17939.) * Address some improper sql statements in res_odbc that would cause an update to fail on realtime peers due to trying to set as "(NULL)" rather than an actual NULL. (Closes issue ASTERISK-17791.) * Resolve issue where 403 Forbidden would always be sent maximum number of times regardless to receipt of ACK. * Resolve issue where if a call to MeetMe includes both the dynamic(D) and always request PIN(P) options, MeetMe will ask for the PIN two times: once for creating the conference and once for entering the conference. * Fix New Zealand indications profile based on http://www.telepermit.co.nz/TNA102.pdf (Closes issue ASTERISK-16263.) * Segfault in shell_helper in func_shell.c (Closes issue ASTERISK-18109.) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.6.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- Makefile.orig 2011-08-25 19:00:55.000000000 +0000 d5 1 a5 1 @@@@ -126,7 +126,7 @@@@ DEBUG=-g3 d14 1 a14 1 @@@@ -216,10 +216,6 @@@@ ifeq ($(AST_DEVMODE),yes) d22 4 a25 4 ifeq ($(findstring -march,$(_ASTCFLAGS) $(ASTCFLAGS)),) ifneq ($(PROC),ultrasparc) _ASTCFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi) @@@@ -442,7 +438,6 @@@@ dist-clean: distclean d33 1 a33 1 @@@@ -452,7 +447,7 @@@@ distclean: $(SUBDIRS_DIST_CLEAN) _clean d42 1 a42 1 @@@@ -517,7 +512,7 @@@@ OLDHEADERS=$(filter-out $(NEWHEADERS) $( d51 1 a51 1 @@@@ -546,7 +541,7 @@@@ installdirs: d60 1 a60 1 @@@@ -638,21 +633,21 @@@@ upgrade: bininstall d86 1 a86 1 @@@@ -680,9 +675,9 @@@@ samples: adsi d99 1 a99 1 @@@@ -708,7 +703,7 @@@@ samples: adsi d108 1 a108 1 @@@@ -861,7 +856,7 @@@@ uninstall-all: _uninstall d117 1 a117 1 @@@@ -930,6 +925,7 @@@@ menuselect-tree: $(foreach dir,$(filter- @ 1.3 log @Update to Asterisk 1.8.5.0: this is a general bug fix release The release of Asterisk 1.8.5.0 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Fix Deadlock with attended transfer of SIP call * Fixes thread blocking issue in the sip TCP/TLS implementation. * Be more tolerant of what URI we accept for call completion PUBLISH requests. * Fix a nasty chanspy bug which was causing a channel leak every time a spied on channel made a call. * This patch fixes a bug with MeetMe behavior where the 'P' option for always prompting for a pin is ignored for the first caller. * Fix issue where Asterisk does not hangup a channel after endpoint hangs up. If the call that the dialplan started an AGI script for is hungup while the AGI script is in the middle of a command then the AGI script is not notified of the hangup. * Resolve issue where leaving a voicemail, the MWI message is never sent. The same thing happens when checking a voicemail and marking it as read. * Resolve issue where wait for leader with Music On Hold allows crosstalk between participants. Parenthesis in the wrong position. Regression from issue #14365 when expanding conference flags to use 64 bits. For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.5.0 Thank you for your continued support of Asterisk! @ text @d3 1 a3 1 --- Makefile.orig 2011-06-16 15:58:22.000000000 +0000 d39 1 a39 1 CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)$(libdir)/pkgconfig; d42 1 a42 1 @@@@ -517,7 +512,7 @@@@ OLDHEADERS=$(filter-out $(NEWHEADERS),$( d51 1 a51 1 @@@@ -545,7 +540,7 @@@@ installdirs: d57 4 a60 4 $(INSTALL) -m 755 main/asterisk $(DESTDIR)$(ASTSBINDIR)/ $(LN) -sf asterisk $(DESTDIR)$(ASTSBINDIR)/rasterisk $(INSTALL) -m 755 contrib/scripts/astgenkey $(DESTDIR)$(ASTSBINDIR)/ @@@@ -637,21 +632,21 @@@@ upgrade: bininstall d64 2 a65 2 - $(INSTALL) -d $(DESTDIR)$(ASTETCDIR) + $(INSTALL) -d $(DESTDIR)$(ASTEXAMPLEDIR) d69 1 a69 1 if [ -f $${dst} ] ; then \ d74 2 a75 2 - $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTETCDIR)/`$(BASENAME) $$x` ; \ + $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTEXAMPLEDIR)/`$(BASENAME) $$x` ; \ d83 1 a83 1 if [ -f $${dst} ]; then \ d85 2 a86 2 if cmp -s $${dst} $$x ; then \ @@@@ -679,9 +674,9 @@@@ samples: adsi d90 6 a95 6 - $(DESTDIR)$(ASTCONFPATH) > $(DESTDIR)$(ASTCONFPATH).tmp ; \ - $(INSTALL) -m 644 $(DESTDIR)$(ASTCONFPATH).tmp $(DESTDIR)$(ASTCONFPATH) ; \ - rm -f $(DESTDIR)$(ASTCONFPATH).tmp ; \ + $(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf > $(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp ; \ + $(INSTALL) -m 644 $(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp $(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf ; \ + rm -f $(DESTDIR)$(ASTEXAMPLEDIR)/asterisk.conf.tmp ; \ d97 3 a99 3 $(INSTALL) -d $(DESTDIR)$(ASTSPOOLDIR)/voicemail/default/1234/INBOX build_tools/make_sample_voicemail "$(DESTDIR)$(ASTDATADIR)" "$(DESTDIR)$(ASTSPOOLDIR)" @@@@ -707,7 +702,7 @@@@ samples: adsi d101 2 a102 2 @@[ -d $(DESTDIR)$(HTTP_DOCSDIR)/ ] || ( printf "http docs directory not found.\nUpdate assignment of variable HTTP_DOCSDIR in Makefile!\n" && exit 1 ) @@[ -d $(DESTDIR)$(HTTP_CGIDIR) ] || ( printf "cgi-bin directory not found.\nUpdate assignment of variable HTTP_CGIDIR in Makefile!\n" && exit 1 ) d105 1 a105 1 $(INSTALL) -d $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk d108 1 a108 1 @@@@ -860,7 +855,7 @@@@ uninstall-all: _uninstall d117 1 a117 1 @@@@ -929,6 +924,7 @@@@ menuselect-tree: $(foreach dir,$(filter- @ 1.2 log @Upgrade to 1.8.4.2. This fixes several security issues including: AST-2011-002, AST-2011-003, AST-2011-004, AST-2011-005, AST-2011-006, and AST-2011-007. pkgsrc changes: - add patch for autosupport script; == -> = - patch configure to not unconditionally set PBX_LAUNCHD=1 - this allows res_timing_kqueue.so to build This last change brings a timing source to NetBSD which allows IAX trunking and allows the bridging modules to work, a rather major piece that was missing. Note that I haven't extensively tested it. But, have at it... =========================================================================== 1.8.4.2: The Asterisk Development Team has announced the release of Asterisk version 1.8.4.2, which is a security release for Asterisk 1.8. The release of Asterisk 1.8.4.2 resolves an issue with SIP URI parsing which can lead to a remotely exploitable crash: Remote Crash Vulnerability in SIP channel driver (AST-2011-007) The issue and resolution is described in the AST-2011-007 security advisory. For more information about the details of this vulnerability, please read the security advisory AST-2011-007, which was released at the same time as this announcement. For a full list of changes in the current release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.4.2 Security advisory AST-2011-007 is available at: http://downloads.asterisk.org/pub/security/AST-2011-007.pdf =========================================================================== 1.8.4.1: The Asterisk Development Team has announced the release of Asterisk 1.8.4.1. The release of Asterisk 1.8.4.1 resolves several issues reported by the community. Without your help this release would not have been possible. Thank you! Below is a list of issues resolved in this release: * Fix our compliance with RFC 3261 section 18.2.2. (aka Cisco phone fix) * Resolve a change in IPv6 header parsing due to the Cisco phone fix issue. This issue was found and reported by the Asterisk test suite. * Resolve potential crash when using SIP TLS support. * Improve reliability when using SIP TLS. For a full list of changes in this release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4.1 =========================================================================== 1.8.4: The Asterisk Development Team has announced the release of Asterisk 1.8.4. The release of Asterisk 1.8.4 resolves several issues reported by the community. Without your help this release would not have been possible. Thank you! Below is a sample of the issues resolved in this release: * Use SSLv23_client_method instead of old SSLv2 only. * Resolve crash in ast_mutex_init() * Resolution of several DTMF based attended transfer issues. NOTE: Be sure to read the ChangeLog for more information about these changes. * Resolve deadlocks related to device states in chan_sip * Resolve an issue with the Asterisk manager interface leaking memory when disabled. * Support greetingsfolder as documented in voicemail.conf.sample. * Fix channel redirect out of MeetMe() and other issues with channel softhangup * Fix voicemail sequencing for file based storage. * Set hangup cause in local_hangup so the proper return code of 486 instead of 503 when using Local channels when the far sides returns a busy. Also affects CCSS in Asterisk 1.8+. * Fix issues with verbose messages not being output to the console. * Fix Deadlock with attended transfer of SIP call Includes changes per AST-2011-005 and AST-2011-006 For a full list of changes in this release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.4 Information about the security releases are available at: http://downloads.asterisk.org/pub/security/AST-2011-005.pdf http://downloads.asterisk.org/pub/security/AST-2011-006.pdf =========================================================================== 1.8.3.3: The Asterisk Development Team has announced security releases for Asterisk branches 1.4, 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.4.40.1, 1.6.1.25, 1.6.2.17.3, and 1.8.3.3. The releases of Asterisk 1.4.40.1, 1.6.1.25, 1.6.2.17.3, and 1.8.3.3 resolve two issues: * File Descriptor Resource Exhaustion (AST-2011-005) * Asterisk Manager User Shell Access (AST-2011-006) The issues and resolutions are described in the AST-2011-005 and AST-2011-006 security advisories. For more information about the details of these vulnerabilities, please read the security advisories AST-2011-005 and AST-2011-006, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.3 Security advisory AST-2011-005 and AST-2011-006 are available at: http://downloads.asterisk.org/pub/security/AST-2011-005.pdf http://downloads.asterisk.org/pub/security/AST-2011-006.pdf =========================================================================== 1.8.3.2: he Asterisk Development Team has announced security releases for Asterisk branches 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.6.1.24, 1.6.2.17.2, and 1.8.3.2. ** This is a re-release of Asterisk 1.6.1.23, 1.6.2.17.1 and 1.8.3.1 which contained a bug which caused duplicate manager entries (issue #18987). The releases of Asterisk 1.6.1.24, 1.6.2.17.2, and 1.8.3.2 resolve two issues: * Resource exhaustion in Asterisk Manager Interface (AST-2011-003) * Remote crash vulnerability in TCP/TLS server (AST-2011-004) The issues and resolutions are described in the AST-2011-003 and AST-2011-004 security advisories. For more information about the details of these vulnerabilities, please read the security advisories AST-2011-003 and AST-2011-004, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.2 Security advisory AST-2011-003 and AST-2011-004 are available at: http://downloads.asterisk.org/pub/security/AST-2011-003.pdf http://downloads.asterisk.org/pub/security/AST-2011-004.pdf =========================================================================== 1.8.3.1: The Asterisk Development Team has announced security releases for Asterisk branches 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.6.1.23, 1.6.2.17.1, and 1.8.3.1. The releases of Asterisk 1.6.1.23, 1.6.2.17.1, and 1.8.3.1 resolve two issues: * Resource exhaustion in Asterisk Manager Interface (AST-2011-003) * Remote crash vulnerability in TCP/TLS server (AST-2011-004) The issues and resolutions are described in the AST-2011-003 and AST-2011-004 security advisories. For more information about the details of these vulnerabilities, please read the security advisories AST-2011-003 and AST-2011-004, which were released at the same time as this announcement. For a full list of changes in the current releases, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.3.1 Security advisory AST-2011-003 and AST-2011-004 are available at: http://downloads.asterisk.org/pub/security/AST-2011-003.pdf http://downloads.asterisk.org/pub/security/AST-2011-004.pdf =========================================================================== 1.8.3: The Asterisk Development Team has announced the release of Asterisk 1.8.3. The release of Asterisk 1.8.3 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Resolve duplicated data in the AstDB when using DIALGROUP() * Ensure the ipaddr field in realtime is large enough to handle IPv6 addresses. * Reworking parsing of mwi => lines to resolve a segfault. Also add a set of unit tests for the function that does the parsing. * When using cdr_pgsql the billsec field was not populated correctly on unanswered calls. * Resolve memory leak in iCalendar and Exchange calendaring modules. * This version of Asterisk includes the new Compiler Flags option BETTER_BACKTRACES which uses libbfd to search for better symbol information within both the Asterisk binary, as well as loaded modules, to assist when using inline backtraces to track down problems. * Resolve issue where no Music On Hold may be triggered when using res_timing_dahdi. * Resolve a memory leak when the Asterisk Manager Interface is disabled. * Reimplemented fax session reservation to reverse the ABI breakage introduced in r297486. * Fix regression that changed behavior of queues when ringing a queue member. * Resolve deadlock involving REFER. Additionally, this release has the changes related to security bulletin AST-2011-002 which can be found at http://downloads.asterisk.org/pub/security/AST-2011-002.pdf For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.3 =========================================================================== 1.8.2.4: The Asterisk Development Team has announced security releases for Asterisk branches 1.4, 1.6.1, 1.6.2, and 1.8. The available security releases are released as versions 1.4.39.2, 1.6.1.22, 1.6.2.16.2, and 1.8.2.4. The releases of Asterisk 1.4.39.2, 1.6.1.22, 1.6.2.16.2, and 1.8.2.4 resolve an issue that when decoding UDPTL packets, multiple stack and heap based arrays can be made to overflow by specially crafted packets. Systems configured for T.38 pass through or termination are vulnerable. The issue and resolution are described in the AST-2011-002 security advisory. For more information about the details of this vulnerability, please read the security advisory AST-2011-002, which was released at the same time as this announcement. For a full list of changes in the current release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/releases/ChangeLog-1.8.2.4 Security advisory AST-2011-002 is available at: http://downloads.asterisk.org/pub/security/AST-2011-002.pdf @ text @d3 1 a3 1 --- Makefile.orig 2011-02-01 18:02:06.000000000 +0000 d51 1 a51 3 @@@@ -544,8 +539,9 @@@@ installdirs: $(INSTALL) -d "$(DESTDIR)$(ASTDATADIR)/static-http" $(INSTALL) -d "$(DESTDIR)$(ASTMANDIR)/man8" d53 1 a53 1 + $(INSTALL) -d "$(DESTDIR)$(ASTDBDIR)" d60 1 a60 1 @@@@ -637,21 +633,21 @@@@ upgrade: bininstall d86 1 a86 1 @@@@ -679,9 +675,9 @@@@ samples: adsi d99 1 a99 1 @@@@ -707,7 +703,7 @@@@ samples: adsi d108 1 a108 1 @@@@ -860,7 +856,7 @@@@ uninstall-all: _uninstall d117 1 a117 1 @@@@ -929,6 +925,7 @@@@ menuselect-tree: $(foreach dir,$(filter- @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2010/09/23 23:30:38 jnemeth Exp $ d3 1 a3 1 --- Makefile.orig 2010-11-11 22:13:38.000000000 +0000 d25 9 a33 1 @@@@ -449,7 +445,7 @@@@ distclean: $(SUBDIRS_DIST_CLEAN) _clean d42 1 a42 9 @@@@ -468,7 +464,6 @@@@ datafiles: _all doc/core-en_US.xml for x in images/*.jpg; do \ $(INSTALL) -m 644 $$x $(DESTDIR)$(ASTDATADIR)/images ; \ done - $(MAKE) -C sounds install doc/core-en_US.xml: $(foreach dir,$(MOD_SUBDIRS),$(shell $(GREP) -l "language=\"en_US\"" $(dir)/*.c $(dir)/*.cc 2>/dev/null)) @@printf "Building Documentation For: " @@@@ -520,7 +515,7 @@@@ OLDHEADERS=$(filter-out $(NEWHEADERS),$( d51 1 a51 1 @@@@ -547,8 +542,9 @@@@ installdirs: d62 1 a62 1 @@@@ -640,21 +636,21 @@@@ upgrade: bininstall d88 1 a88 1 @@@@ -682,9 +678,9 @@@@ samples: adsi d100 2 a101 2 build_tools/make_sample_voicemail $(DESTDIR)/$(ASTDATADIR) $(DESTDIR)/$(ASTSPOOLDIR) @@@@ -710,7 +706,7 @@@@ samples: adsi d105 2 a106 2 - $(INSTALL) -m 4755 contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail.cgi + $(INSTALL) contrib/scripts/vmail.cgi $(DESTDIR)$(HTTP_CGIDIR)/vmail d109 8 a116 8 $(INSTALL) -m 644 $$x $(DESTDIR)$(HTTP_DOCSDIR)/_asterisk/; \ @@@@ -854,7 +850,7 @@@@ uninstall-all: _uninstall rm -rf $(DESTDIR)$(ASTVARLIBDIR) rm -rf $(DESTDIR)$(ASTDATADIR) rm -rf $(DESTDIR)$(ASTSPOOLDIR) - rm -rf $(DESTDIR)$(ASTETCDIR) + rm -rf $(DESTDIR)$(ASTEXAMPLEDIR) rm -rf $(DESTDIR)$(ASTLOGDIR) d119 1 a119 1 @@@@ -923,6 +919,7 @@@@ menuselect-tree: $(foreach dir,$(filter- @ 1.1.1.1 log @ Import Asterisk 1.8.1: Asterisk is a complete PBX in software. It provides all of the features you would expect from a PBX and more. Asterisk does voice over IP in three protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware. Asterisk 1.8 is a long term support version (i.e. it will be supported for four years with an additional year of security only fixes). See: https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions What's new: Asterisk 1.8 is the next major release series of Asterisk. The release of Asterisk 1.8.0 would not have been possible without the support and contributions of the community. Since Asterisk 1.6.2, we've had over 500 reporters, more than 300 testers and greater than 200 developers contributed to this release. You can find a summary of the work involved with the 1.8.0 release in the sumary: http://svn.asterisk.org/svn/asterisk/tags/1.8.0/asterisk-1.8.0-summary.txt A short list of available features includes: * Secure RTP * IPv6 Support in the SIP channel driver * Connected Party Identification Support * Calendaring Integration * A new call logging system, Channel Event Logging (CEL) * Distributed Device State using Jabber/XMPP PubSub * Call Completion Supplementary Services support * Advice of Charge support * Much, much more! A full list of new features can be found in the CHANGES file. http://svn.digium.com/view/asterisk/branches/1.8/CHANGES?view=markup For a full list of changes in the current release candidate, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.0 ----- The Asterisk Development Team has announced the release of Asterisk 1.8.1. The release of Asterisk 1.8.1 resolves several issues reported by the community and would have not been possible without your participation. Thank you! The following is a sample of the issues resolved in this release: * Fix issue when using directmedia. Asterisk needs to limit the codecs offered to just the ones that both sides recognize, otherwise they may end up sending audio that the other side doesn't understand. (Closes issue #17403. Reported, patched by one47. Tested by one47, falves11) * Resolve issue where Party A in an analog 3-way call would continue to hear ringback after party C answers. (Patched by rmudgett) * Fix playback failure when using IAX with the timerfd module. (Closes issue #18110. Reported, tested by tpanton. Patched by jpeeler) * Fix problem with qualify option packets for realtime peers never stopping. The option packets not only never stopped, but if a realtime peer was not in the peer list multiple options dialogs could accumulate over time. (Closes issue #16382. Reported by lftsy. Tested by zerohalo. Patched by jpeeler) * Fix issue where it is possible to crash Asterisk by feeding the curl engine invalid data. (Closes issue #18161. Reported by wdoekes. Patched by tilghman) For a full list of changes in this release, please see the ChangeLog: http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.8.1 @ text @@