Mon Jun 6 06:25:06 2011 UTC ()
Upgrade to 1.6.2.18.  This fixes several security issues including:
AST-2011-002, AST-2011-003, AST-2011-004, AST-2011-005, and AST-2011-006.

===========================================================================
1.6.2.18:

The Asterisk Development Team has announced the release of Asterisk 1.6.2.18.

The release of Asterisk 1.6.2.18 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:

 * Only offer codecs both sides support for directmedia.

 * 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

 * Fix channel redirect out of MeetMe() and other issues with channel softhangup

 * Fix voicemail sequencing for file based storage.

 * Guard against retransmitting BYEs indefinitely during attended transfers with
   chan_sip.

In addition to the changes listed above, commits to resolve security issues
AST-2011-005 and AST-2011-006 have been merged into this release. More
information about AST-2011-005 and AST-2011-006 can be found at:

http://downloads.asterisk.org/pub/security/AST-2011-005.pdf
http://downloads.asterisk.org/pub/security/AST-2011-006.pdf

For a full list of changes in this release, please see the ChangeLog:

http://downloads.asterisk.org/pub/telephony/asterisk/ChangeLog-1.6.2.18

===========================================================================
1.6.2.17.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.6.2.17.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.6.2.17.2:

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.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.6.2.17.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.6.2.17.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.

These releases are available for immediate download at
http://downloads.asterisk.org/pub/telephony/asterisk/releases

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.6.2.17.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.6.2.16.2:

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.6.2.16.2

Security advisory AST-2011-002 is available at:

http://downloads.asterisk.org/pub/security/AST-2011-002.pdf


(jnemeth)
diff -r1.30 -r1.31 pkgsrc/comms/asterisk16/Makefile
diff -r1.17 -r1.18 pkgsrc/comms/asterisk16/PLIST
diff -r1.20 -r1.21 pkgsrc/comms/asterisk16/distinfo
diff -r1.10 -r1.11 pkgsrc/comms/asterisk16/patches/patch-aq
diff -r0 -r1.1 pkgsrc/comms/asterisk16/patches/patch-be

cvs diff -r1.30 -r1.31 pkgsrc/comms/asterisk16/Makefile (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/Makefile 2011/04/22 13:43:09 1.30
+++ pkgsrc/comms/asterisk16/Makefile 2011/06/06 06:25:05 1.31
@@ -1,23 +1,22 @@ @@ -1,23 +1,22 @@
1# $NetBSD: Makefile,v 1.30 2011/04/22 13:43:09 obache Exp $ 1# $NetBSD: Makefile,v 1.31 2011/06/06 06:25:05 jnemeth Exp $
2# 2#
3# NOTE: when updating this package, there are two places that sound 3# NOTE: when updating this package, there are two places that sound
4# tarballs need to be checked 4# tarballs need to be checked
5 5
6DISTNAME= asterisk-1.6.2.16.1 6DISTNAME= asterisk-1.6.2.18
7DIST_SUBDIR= ${PKGNAME_NOREV} 7DIST_SUBDIR= ${PKGNAME_NOREV}
8DISTFILES= ${DEFAULT_DISTFILES} 8DISTFILES= ${DEFAULT_DISTFILES}
9EXTRACT_ONLY= ${DISTNAME}.tar.gz 9EXTRACT_ONLY= ${DISTNAME}.tar.gz
10PKGREVISION= 1 
11CATEGORIES= comms net audio 10CATEGORIES= comms net audio
12MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \ 11MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
13 http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \ 12 http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ \
14 http://downloads.asterisk.org/pub/telephony/sounds/releases/ 13 http://downloads.asterisk.org/pub/telephony/sounds/releases/
15 14
16OWNER= jnemeth@NetBSD.org 15OWNER= jnemeth@NetBSD.org
17HOMEPAGE= http://www.asterisk.org/ 16HOMEPAGE= http://www.asterisk.org/
18COMMENT= The Asterisk Software PBX 17COMMENT= The Asterisk Software PBX
19LICENSE= gnu-gpl-v2 18LICENSE= gnu-gpl-v2
20 19
21CONFLICTS+= asterisk-sounds-extra-[0-9]* 20CONFLICTS+= asterisk-sounds-extra-[0-9]*
22 21
23PKG_DESTDIR_SUPPORT= user-destdir 22PKG_DESTDIR_SUPPORT= user-destdir
@@ -34,27 +33,26 @@ GNU_CONFIGURE= yes @@ -34,27 +33,26 @@ GNU_CONFIGURE= yes
34CONFIGURE_ARGS+= --datarootdir=${PREFIX}/libdata 33CONFIGURE_ARGS+= --datarootdir=${PREFIX}/libdata
35CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 34CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
36CONFIGURE_ARGS+= --without-gtk2 35CONFIGURE_ARGS+= --without-gtk2
37# XXX remove when lang/lua gets builtin.mk 36# XXX remove when lang/lua gets builtin.mk
38CONFIGURE_ARGS+= --without-lua 37CONFIGURE_ARGS+= --without-lua
39 38
40INSTALL_TARGET= install samples 39INSTALL_TARGET= install samples
41INSTALLATION_DIRS+= lib/pkgconfig share/doc/${PKGBASE} 40INSTALLATION_DIRS+= lib/pkgconfig share/doc/${PKGBASE}
42INSTALLATION_DIRS+= share/examples/asterisk share/examples/rc.d 41INSTALLATION_DIRS+= share/examples/asterisk share/examples/rc.d
43INSTALLATION_DIRS+= ${ASTDATADIR}/sounds/en ${ASTDATADIR}/moh 42INSTALLATION_DIRS+= ${ASTDATADIR}/sounds/en ${ASTDATADIR}/moh
44 43
45BUILD_DEFS+= VARBASE 44BUILD_DEFS+= VARBASE
46 45
47# Running as non-root will come later 
48ASTERISK_USER?= asterisk 46ASTERISK_USER?= asterisk
49ASTERISK_GROUP?= asterisk 47ASTERISK_GROUP?= asterisk
50PKG_GROUPS= ${ASTERISK_GROUP} 48PKG_GROUPS= ${ASTERISK_GROUP}
51PKG_USERS= ${ASTERISK_USER}:${ASTERISK_GROUP} 49PKG_USERS= ${ASTERISK_USER}:${ASTERISK_GROUP}
52PKG_GECOS.${ASTERISK_USER}= Asterisk PBX 50PKG_GECOS.${ASTERISK_USER}= Asterisk PBX
53PKG_GROUPS_VARS= ASTERISK_GROUP 51PKG_GROUPS_VARS= ASTERISK_GROUP
54PKG_USERS_VARS= ASTERISK_USER 52PKG_USERS_VARS= ASTERISK_USER
55FILES_SUBST+= ASTERISK_USER=${ASTERISK_USER} 53FILES_SUBST+= ASTERISK_USER=${ASTERISK_USER}
56FILES_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP} 54FILES_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP}
57MESSAGE_SUBST+= ASTERISK_USER=${ASTERISK_USER} 55MESSAGE_SUBST+= ASTERISK_USER=${ASTERISK_USER}
58MESSAGE_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP} 56MESSAGE_SUBST+= ASTERISK_GROUP=${ASTERISK_GROUP}
59 57
60# Various path settings for Asterisk 58# Various path settings for Asterisk

cvs diff -r1.17 -r1.18 pkgsrc/comms/asterisk16/PLIST (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/PLIST 2010/12/12 10:19:44 1.17
+++ pkgsrc/comms/asterisk16/PLIST 2011/06/06 06:25:06 1.18
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.17 2010/12/12 10:19:44 jnemeth Exp $ 1@comment $NetBSD: PLIST,v 1.18 2011/06/06 06:25:06 jnemeth Exp $
2include/asterisk.h 2include/asterisk.h
3include/asterisk/_private.h 3include/asterisk/_private.h
4include/asterisk/abstract_jb.h 4include/asterisk/abstract_jb.h
5include/asterisk/acl.h 5include/asterisk/acl.h
6include/asterisk/adsi.h 6include/asterisk/adsi.h
7include/asterisk/ael_structs.h 7include/asterisk/ael_structs.h
8include/asterisk/aes.h 8include/asterisk/aes.h
9include/asterisk/aes_internal.h 9include/asterisk/aes_internal.h
10include/asterisk/agi.h 10include/asterisk/agi.h
11include/asterisk/alaw.h 11include/asterisk/alaw.h
12include/asterisk/app.h 12include/asterisk/app.h
13include/asterisk/ast_expr.h 13include/asterisk/ast_expr.h
14include/asterisk/ast_version.h 14include/asterisk/ast_version.h
@@ -296,26 +296,27 @@ libdata/asterisk/keys/iaxtel.pub @@ -296,26 +296,27 @@ libdata/asterisk/keys/iaxtel.pub
296libdata/asterisk/moh/CHANGES-asterisk-moh-opsound-wav 296libdata/asterisk/moh/CHANGES-asterisk-moh-opsound-wav
297libdata/asterisk/moh/CREDITS-asterisk-moh-opsound-wav 297libdata/asterisk/moh/CREDITS-asterisk-moh-opsound-wav
298libdata/asterisk/moh/LICENSE-asterisk-moh-opsound-wav 298libdata/asterisk/moh/LICENSE-asterisk-moh-opsound-wav
299libdata/asterisk/moh/macroform-cold_day.wav 299libdata/asterisk/moh/macroform-cold_day.wav
300libdata/asterisk/moh/macroform-robot_dity.wav 300libdata/asterisk/moh/macroform-robot_dity.wav
301libdata/asterisk/moh/macroform-the_simplicity.wav 301libdata/asterisk/moh/macroform-the_simplicity.wav
302libdata/asterisk/moh/manolo_camp-morning_coffee.wav 302libdata/asterisk/moh/manolo_camp-morning_coffee.wav
303libdata/asterisk/moh/reno_project-system.wav 303libdata/asterisk/moh/reno_project-system.wav
304libdata/asterisk/phoneprov/000000000000-directory.xml 304libdata/asterisk/phoneprov/000000000000-directory.xml
305libdata/asterisk/phoneprov/000000000000-phone.cfg 305libdata/asterisk/phoneprov/000000000000-phone.cfg
306libdata/asterisk/phoneprov/000000000000.cfg 306libdata/asterisk/phoneprov/000000000000.cfg
307libdata/asterisk/phoneprov/polycom.xml 307libdata/asterisk/phoneprov/polycom.xml
308libdata/asterisk/phoneprov/polycom_line.xml 308libdata/asterisk/phoneprov/polycom_line.xml
 309libdata/asterisk/phoneprov/snom-mac.xml
309libdata/asterisk/sounds/en/1-for-am-2-for-pm.gsm 310libdata/asterisk/sounds/en/1-for-am-2-for-pm.gsm
310libdata/asterisk/sounds/en/1-yes-2-no.gsm 311libdata/asterisk/sounds/en/1-yes-2-no.gsm
311libdata/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.20 312libdata/asterisk/sounds/en/CHANGES-asterisk-core-en-1.4.20
312libdata/asterisk/sounds/en/CHANGES-asterisk-extra-en-1.4.11 313libdata/asterisk/sounds/en/CHANGES-asterisk-extra-en-1.4.11
313libdata/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.20 314libdata/asterisk/sounds/en/CREDITS-asterisk-core-en-1.4.20
314libdata/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.20 315libdata/asterisk/sounds/en/LICENSE-asterisk-core-en-1.4.20
315libdata/asterisk/sounds/en/T-changed-to.gsm 316libdata/asterisk/sounds/en/T-changed-to.gsm
316libdata/asterisk/sounds/en/T-is-not-available.gsm 317libdata/asterisk/sounds/en/T-is-not-available.gsm
317libdata/asterisk/sounds/en/T-to-disable-ancmnt.gsm 318libdata/asterisk/sounds/en/T-to-disable-ancmnt.gsm
318libdata/asterisk/sounds/en/T-to-enable-ancmnt.gsm 319libdata/asterisk/sounds/en/T-to-enable-ancmnt.gsm
319libdata/asterisk/sounds/en/T-to-hear-cur-ancmnt.gsm 320libdata/asterisk/sounds/en/T-to-hear-cur-ancmnt.gsm
320libdata/asterisk/sounds/en/T-to-leave-msg.gsm 321libdata/asterisk/sounds/en/T-to-leave-msg.gsm
321libdata/asterisk/sounds/en/T-to-reach-main-office.gsm 322libdata/asterisk/sounds/en/T-to-reach-main-office.gsm

cvs diff -r1.20 -r1.21 pkgsrc/comms/asterisk16/distinfo (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/distinfo 2011/01/21 05:13:12 1.20
+++ pkgsrc/comms/asterisk16/distinfo 2011/06/06 06:25:06 1.21
@@ -1,38 +1,39 @@ @@ -1,38 +1,39 @@
1$NetBSD: distinfo,v 1.20 2011/01/21 05:13:12 jnemeth Exp $ 1$NetBSD: distinfo,v 1.21 2011/06/06 06:25:06 jnemeth Exp $
2 2
3SHA1 (asterisk-1.6.2.16.1/asterisk-1.6.2.16.1.tar.gz) = 43c6ce9c3e1461bd858dd283a5a8b4753323432c 3SHA1 (asterisk-1.6.2.18/asterisk-1.6.2.18.tar.gz) = 0bbe7039da52848ef54175fe9907aed03915629f
4RMD160 (asterisk-1.6.2.16.1/asterisk-1.6.2.16.1.tar.gz) = f34c759d1f47f4f55fc7468581251bc078a8c930 4RMD160 (asterisk-1.6.2.18/asterisk-1.6.2.18.tar.gz) = 95769626b0acde1a1323d396f3f80923c629e402
5Size (asterisk-1.6.2.16.1/asterisk-1.6.2.16.1.tar.gz) = 23707383 bytes 5Size (asterisk-1.6.2.18/asterisk-1.6.2.18.tar.gz) = 23764595 bytes
6SHA1 (asterisk-1.6.2.16.1/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 8692fa61423b4769dc8bfa78faf9ed5ef7a259b9 6SHA1 (asterisk-1.6.2.18/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 8692fa61423b4769dc8bfa78faf9ed5ef7a259b9
7RMD160 (asterisk-1.6.2.16.1/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 68170c769d739d6b5b35b00f999ad6bbf876f9f6 7RMD160 (asterisk-1.6.2.18/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 68170c769d739d6b5b35b00f999ad6bbf876f9f6
8Size (asterisk-1.6.2.16.1/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 3349898 bytes 8Size (asterisk-1.6.2.18/asterisk-extra-sounds-en-gsm-1.4.11.tar.gz) = 3349898 bytes
9SHA1 (asterisk-1.6.2.16.1/extract-cfile.awk) = c4f08eee1ab83c041bde1ab91672a4a3c43c28b8 9SHA1 (asterisk-1.6.2.18/extract-cfile.awk) = c4f08eee1ab83c041bde1ab91672a4a3c43c28b8
10RMD160 (asterisk-1.6.2.16.1/extract-cfile.awk) = cd59f8e5807732023d5aec95187e2d5572f400a4 10RMD160 (asterisk-1.6.2.18/extract-cfile.awk) = cd59f8e5807732023d5aec95187e2d5572f400a4
11Size (asterisk-1.6.2.16.1/extract-cfile.awk) = 667 bytes 11Size (asterisk-1.6.2.18/extract-cfile.awk) = 667 bytes
12SHA1 (asterisk-1.6.2.16.1/rfc3951.txt) = 1a6c769be750fb02456d60db2470909254496017 12SHA1 (asterisk-1.6.2.18/rfc3951.txt) = 1a6c769be750fb02456d60db2470909254496017
13RMD160 (asterisk-1.6.2.16.1/rfc3951.txt) = 15f7ec61653ec9953172f8f2150e7d8f6f620926 13RMD160 (asterisk-1.6.2.18/rfc3951.txt) = 15f7ec61653ec9953172f8f2150e7d8f6f620926
14Size (asterisk-1.6.2.16.1/rfc3951.txt) = 373442 bytes 14Size (asterisk-1.6.2.18/rfc3951.txt) = 373442 bytes
15SHA1 (patch-aa) = 8c2a3c75adff34474c8f416bcea5842e771e4631 15SHA1 (patch-aa) = 8c2a3c75adff34474c8f416bcea5842e771e4631
16SHA1 (patch-af) = 09860d714281cb4c65d1a087cf5b16647a16e2fa 16SHA1 (patch-af) = 09860d714281cb4c65d1a087cf5b16647a16e2fa
17SHA1 (patch-ag) = c71c61350cefbbe53eefa99245ca7712753f22d5 17SHA1 (patch-ag) = c71c61350cefbbe53eefa99245ca7712753f22d5
18SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39 18SHA1 (patch-ai) = e92edab5c1ff323478f41d0b0783102ed527fe39
19SHA1 (patch-ak) = adee75b7716a8794de1b8cb054af7a5a8f0e5ffd 19SHA1 (patch-ak) = adee75b7716a8794de1b8cb054af7a5a8f0e5ffd
20SHA1 (patch-al) = b2a1134786d7c3b118ee8c47892f91dd2a4c783a 20SHA1 (patch-al) = b2a1134786d7c3b118ee8c47892f91dd2a4c783a
21SHA1 (patch-am) = 98aa4648b867d193ec05d8da14434205f369c17b 21SHA1 (patch-am) = 98aa4648b867d193ec05d8da14434205f369c17b
22SHA1 (patch-an) = 93a5df66fd6459fb76e9191dc3bf37b9ee5483b5 22SHA1 (patch-an) = 93a5df66fd6459fb76e9191dc3bf37b9ee5483b5
23SHA1 (patch-ao) = 0663a698469550b22bb97ee1b18980bc2bc67495 23SHA1 (patch-ao) = 0663a698469550b22bb97ee1b18980bc2bc67495
24SHA1 (patch-ap) = 309d51a35c600f4898d99ad6ab1c492c47c6a55a 24SHA1 (patch-ap) = 309d51a35c600f4898d99ad6ab1c492c47c6a55a
25SHA1 (patch-aq) = b20c76de4385da836c627f5310c52beafcdf86d0 25SHA1 (patch-aq) = 52b14e5483704cf68195c84a85c8392b1bbb2120
26SHA1 (patch-ar) = 44e46336c0b228ab291e025b8bb5ee505f75345a 26SHA1 (patch-ar) = 44e46336c0b228ab291e025b8bb5ee505f75345a
27SHA1 (patch-as) = a887d37f0829c22d115ff08721893da49e4bfda4 27SHA1 (patch-as) = a887d37f0829c22d115ff08721893da49e4bfda4
28SHA1 (patch-at) = 7f366ea0075b16c81bb81ba78becc029b3265151 28SHA1 (patch-at) = 7f366ea0075b16c81bb81ba78becc029b3265151
29SHA1 (patch-au) = 57100ee55338c5ab8be1f8d73d4126d26227786b 29SHA1 (patch-au) = 57100ee55338c5ab8be1f8d73d4126d26227786b
30SHA1 (patch-av) = 632c7f9595ed1575b74d97a323ae53343a416254 30SHA1 (patch-av) = 632c7f9595ed1575b74d97a323ae53343a416254
31SHA1 (patch-aw) = 1342176dd34dd68614edf1085c6997013e93c135 31SHA1 (patch-aw) = 1342176dd34dd68614edf1085c6997013e93c135
32SHA1 (patch-ax) = b8ff68b628ccadd81b0a2615b610470279d54bf4 32SHA1 (patch-ax) = b8ff68b628ccadd81b0a2615b610470279d54bf4
33SHA1 (patch-ay) = 39a2ae198ff2989c501dd4374e1ea57a3d52dda9 33SHA1 (patch-ay) = 39a2ae198ff2989c501dd4374e1ea57a3d52dda9
34SHA1 (patch-az) = 917cc8868708ce9c022a0268debd90f51f88bdad 34SHA1 (patch-az) = 917cc8868708ce9c022a0268debd90f51f88bdad
35SHA1 (patch-ba) = 915eb587d36f3a54734c9c88af15f59c98016708 35SHA1 (patch-ba) = 915eb587d36f3a54734c9c88af15f59c98016708
36SHA1 (patch-bb) = 3b78ed3c8233e2db38d09ca81f1768d018ffd2e2 36SHA1 (patch-bb) = 3b78ed3c8233e2db38d09ca81f1768d018ffd2e2
37SHA1 (patch-bc) = 0efc99595d1ef82a879361e8bf3b2ef7fd84af62 37SHA1 (patch-bc) = 0efc99595d1ef82a879361e8bf3b2ef7fd84af62
38SHA1 (patch-bd) = c827419664f78230556e43607d1abf6b156dcc88 38SHA1 (patch-bd) = c827419664f78230556e43607d1abf6b156dcc88
 39SHA1 (patch-be) = b9d1e891b1d1d45612b5b02067393e2845663030

cvs diff -r1.10 -r1.11 pkgsrc/comms/asterisk16/patches/Attic/patch-aq (expand / switch to unified diff)

--- pkgsrc/comms/asterisk16/patches/Attic/patch-aq 2011/01/16 06:30:56 1.10
+++ pkgsrc/comms/asterisk16/patches/Attic/patch-aq 2011/06/06 06:25:06 1.11
@@ -1,160 +1,31 @@ @@ -1,160 +1,31 @@
1$NetBSD: patch-aq,v 1.10 2011/01/16 06:30:56 jnemeth Exp $ 1$NetBSD: patch-aq,v 1.11 2011/06/06 06:25:06 jnemeth Exp $
2 2
3--- configure.orig 2011-01-12 16:43:16.000000000 +0000 3--- configure.orig 2011-01-27 17:01:24.000000000 +0000
4+++ configure 4+++ configure
5@@ -21275,6 +21275,146 @@ fi 5@@ -15215,6 +15215,17 @@ fi
6  6
7  7
8  8
9+if test "${ac_cv_header_sys_atomic_h+set}" = set; then 9+ac_fn_c_check_header_mongrel "$LINENO" "sys/atomic.h" "ac_cv_header_sys_atomic_h" "$ac_includes_default"
10+ { echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 10+if test "x$ac_cv_header_sys_atomic_h" = x""yes; then :
11+echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } 
12+if test "${ac_cv_header_sys_atomic_h+set}" = set; then 
13+ echo $ECHO_N "(cached) $ECHO_C" >&6 
14+fi 
15+{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 
16+echo "${ECHO_T}$ac_cv_sys_atomic_h" >&6; } 
17+else 
18+ # Is the header compilable? 
19+{ echo "$as_me:$LINENO: checking sys/atomic.h usability" >&5 
20+echo $ECHO_N "checking sys/atomic.h usability... $ECHO_C" >&6; } 
21+cat >conftest.$ac_ext <<_ACEOF 
22+/* confdefs.h. */ 
23+_ACEOF 
24+cat confdefs.h >>conftest.$ac_ext 
25+cat >>conftest.$ac_ext <<_ACEOF 
26+/* end confdefs.h. */ 
27+$ac_includes_default 
28+#include <sys/atomic.h> 
29+_ACEOF 
30+rm -f conftest.$ac_objext 
31+if { (ac_try="$ac_compile" 
32+case "(($ac_try" in 
33+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
34+ *) ac_try_echo=$ac_try;; 
35+esac 
36+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
37+ (eval "$ac_compile") 2>conftest.er1 
38+ ac_status=$? 
39+ grep -v '^ *+' conftest.er1 >conftest.err 
40+ rm -f conftest.er1 
41+ cat conftest.err >&5 
42+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 
43+ (exit $ac_status); } && { 
44+ test -z "$ac_c_werror_flag" || 
45+ test ! -s conftest.err 
46+ } && test -s conftest.$ac_objext; then 
47+ ac_header_compiler=yes 
48+else 
49+ echo "$as_me: failed program was:" >&5 
50+sed 's/^/| /' conftest.$ac_ext >&5 
51+ 
52+ ac_header_compiler=no 
53+fi 
54+ 
55+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 
56+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
57+echo "${ECHO_T}$ac_header_compiler" >&6; } 
58+ 
59+# Is the header present? 
60+{ echo "$as_me:$LINENO: checking sys/atomic.h presence" >&5 
61+echo $ECHO_N "checking sys/atomic.h presence... $ECHO_C" >&6; } 
62+cat >conftest.$ac_ext <<_ACEOF 
63+/* confdefs.h. */ 
64+_ACEOF 
65+cat confdefs.h >>conftest.$ac_ext 
66+cat >>conftest.$ac_ext <<_ACEOF 
67+/* end confdefs.h. */ 
68+#include <sys/atomic.h> 
69+_ACEOF 
70+if { (ac_try="$ac_cpp conftest.$ac_ext" 
71+case "(($ac_try" in 
72+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 
73+ *) ac_try_echo=$ac_try;; 
74+esac 
75+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 
76+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 
77+ ac_status=$? 
78+ grep -v '^ *+' conftest.er1 >conftest.err 
79+ rm -f conftest.er1 
80+ cat conftest.err >&5 
81+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 
82+ (exit $ac_status); } >/dev/null && { 
83+ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 
84+ test ! -s conftest.err 
85+ }; then 
86+ ac_header_preproc=yes 
87+else 
88+ echo "$as_me: failed program was:" >&5 
89+sed 's/^/| /' conftest.$ac_ext >&5 
90+ 
91+ ac_header_preproc=no 
92+fi 
93+ 
94+rm -f conftest.err conftest.$ac_ext 
95+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
96+echo "${ECHO_T}$ac_header_preproc" >&6; } 
97+ 
98+# So? What about this header? 
99+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 
100+ yes:no: ) 
101+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&5 
102+echo "$as_me: WARNING: sys/atomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 
103+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the compiler's result" >&5 
104+echo "$as_me: WARNING: sys/atomic.h: proceeding with the compiler's result" >&2;} 
105+ ac_header_preproc=yes 
106+ ;; 
107+ no:yes:* ) 
108+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: present but cannot be compiled" >&5 
109+echo "$as_me: WARNING: sys/atomic.h: present but cannot be compiled" >&2;} 
110+ { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: check for missing prerequisite headers?" >&5 
111+echo "$as_me: WARNING: sys/atomic.h: check for missing prerequisite headers?" >&2;} 
112+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: see the Autoconf documentation" >&5 
113+echo "$as_me: WARNING: sys/atomic.h: see the Autoconf documentation" >&2;} 
114+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&5 
115+echo "$as_me: WARNING: sys/atomic.h: section \"Present But Cannot Be Compiled\"" >&2;} 
116+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&5 
117+echo "$as_me: WARNING: sys/atomic.h: proceeding with the preprocessor's result" >&2;} 
118+ { echo "$as_me:$LINENO: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&5 
119+echo "$as_me: WARNING: sys/atomic.h: in the future, the compiler will take precedence" >&2;} 
120+ ( cat <<\_ASBOX 
121+## ------------------------------------------ ## 
122+## Report this to https://issues.asterisk.org ## 
123+## ------------------------------------------ ## 
124+_ASBOX 
125+ ) | sed "s/^/$as_me: WARNING: /" >&2 
126+ ;; 
127+esac 
128+{ echo "$as_me:$LINENO: checking for sys/atomic.h" >&5 
129+echo $ECHO_N "checking for sys/atomic.h... $ECHO_C" >&6; } 
130+if test "${ac_cv_header_sys_atomic_h+set}" = set; then 
131+ echo $ECHO_N "(cached) $ECHO_C" >&6 
132+else 
133+ ac_cv_header_sys_atomic_h=$ac_header_preproc 
134+fi 
135+{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_atomic_h" >&5 
136+echo "${ECHO_T}$ac_cv_header_sys_atomic_h" >&6; } 
137+ 
138+fi 
139+if test $ac_cv_header_sys_atomic_h = yes; then 
140+ 11+
141+cat >>confdefs.h <<_ACEOF 12+cat >>confdefs.h <<_ACEOF
142+#define HAVE_SYS_ATOMIC_H 1 13+#define HAVE_SYS_ATOMIC_H 1
143+_ACEOF 14+_ACEOF
144+ 15+
145+fi 16+fi
146+ 17+
147+ 18+
148+ 19+
149 { echo "$as_me:$LINENO: checking for int" >&5 20 # The cast to long int works around a bug in the HP C Compiler
150 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 21 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
151 if test "${ac_cv_type_int+set}" = set; then 22 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
152@@ -24509,6 +24649,8 @@ _ACEOF 23@@ -16181,6 +16192,8 @@ $as_echo_n "checking if \"struct ifaddrs
153 cat confdefs.h >>conftest.$ac_ext 24
154 cat >>conftest.$ac_ext <<_ACEOF 25 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
155 /* end confdefs.h. */ 26 /* end confdefs.h. */
156+#include <sys/types.h> 27+ #include <sys/types.h>
157+#include <sys/socket.h> 28+ #include <sys/socket.h>
158 #include <ifaddrs.h> 29 #include <ifaddrs.h>
159 int 30 int
160 main () 31 main ()

File Added: pkgsrc/comms/asterisk16/patches/Attic/patch-be
$NetBSD: patch-be,v 1.1 2011/06/06 06:25:06 jnemeth Exp $

--- contrib/scripts/autosupport.orig	2011-01-04 20:59:56.000000000 +0000
+++ contrib/scripts/autosupport
@@ -32,7 +32,7 @@ files="n";
 # If a prefix is specified on command-line, add it.
 if (set -u; : $1) 2> /dev/null
 then
-  if [ $1 == "-h" ] || [ $1 == "--help" ]; then
+  if [ $1 = "-h" ] || [ $1 = "--help" ]; then
     echo
     echo "Digium autosupport script"
     echo "Copyright (C) 2005-2010, Digium, Inc."