head 1.13; access; symbols pkgsrc-2013Q2:1.13.0.10 pkgsrc-2013Q2-base:1.13 pkgsrc-2012Q4:1.13.0.8 pkgsrc-2012Q4-base:1.13 pkgsrc-2011Q4:1.13.0.6 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q2:1.13.0.4 pkgsrc-2011Q2-base:1.13 pkgsrc-2009Q4:1.13.0.2 pkgsrc-2009Q4-base:1.13 pkgsrc-2009Q3:1.12.0.6 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.4 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.2 pkgsrc-2008Q4:1.10.0.24 pkgsrc-2008Q4-base:1.10 pkgsrc-2008Q3:1.10.0.22 pkgsrc-2008Q3-base:1.10 cube-native-xorg:1.10.0.20 cube-native-xorg-base:1.10 pkgsrc-2008Q2:1.10.0.18 pkgsrc-2008Q2-base:1.10 cwrapper:1.10.0.16 pkgsrc-2008Q1:1.10.0.14 pkgsrc-2008Q1-base:1.10 pkgsrc-2007Q4:1.10.0.12 pkgsrc-2007Q4-base:1.10 pkgsrc-2007Q3:1.10.0.10 pkgsrc-2007Q3-base:1.10 pkgsrc-2007Q2:1.10.0.8 pkgsrc-2007Q2-base:1.10 pkgsrc-2007Q1:1.10.0.6 pkgsrc-2007Q1-base:1.10 pkgsrc-2006Q4:1.10.0.4 pkgsrc-2006Q4-base:1.10 pkgsrc-2006Q3:1.10.0.2 pkgsrc-2006Q3-base:1.10 pkgsrc-2006Q2:1.9.0.2 pkgsrc-2006Q2-base:1.9 pkgsrc-2006Q1:1.8.0.2 pkgsrc-2006Q1-base:1.8 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.8 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.6 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.4 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.2 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.5.0.2 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2; locks; strict; comment @# @; 1.13 date 2009.12.15.11.08.38; author wiz; state dead; branches; next 1.12; 1.12 date 2009.06.08.09.30.17; author tron; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 2009.02.21.13.20.45; author wiz; state dead; branches; next 1.10; 1.10 date 2006.09.01.06.02.23; author adam; state Exp; branches; next 1.9; 1.9 date 2006.04.30.17.29.29; author adam; state Exp; branches; next 1.8; 1.8 date 2006.02.24.08.11.26; author adam; state Exp; branches; next 1.7; 1.7 date 2005.09.30.13.26.02; author adam; state Exp; branches; next 1.6; 1.6 date 2004.11.19.12.15.14; author adam; state Exp; branches; next 1.5; 1.5 date 2004.06.28.08.14.03; author adam; state Exp; branches; next 1.4; 1.4 date 2004.04.02.10.13.43; author adam; state Exp; branches; next 1.3; 1.3 date 2004.02.13.14.57.20; author adam; state Exp; branches; next 1.2; 1.2 date 2002.12.14.17.30.33; author jmmv; state Exp; branches; next 1.1; 1.1 date 2002.10.18.13.26.13; author jlam; state Exp; branches; next ; 1.12.2.1 date 2009.06.08.09.30.17; author spz; state dead; branches; next 1.12.2.2; 1.12.2.2 date 2009.06.08.21.05.22; author spz; state Exp; branches; next ; desc @@ 1.13 log @Update to 1.0.21: Version 1.0.21 (2009-12-13) * Add a couple of new binary programs to programs/ dir. * Remove sndfile-jackplay (now in sndfile-tools package). * Add windows only function sf_wchar_open(). * Bunch of minor bug fixes. (The last entry sums up at least the DOS patches we had in pkgsrc.) @ text @$NetBSD: patch-ad,v 1.12 2009/06/08 09:30:17 tron Exp $ Upstream fix for DoS vulnerability taken from here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530831 --- src/pcm.c.orig 2009-03-22 19:17:14.000000000 +0000 +++ src/pcm.c 2009-06-08 10:03:02.000000000 +0100 @@@@ -271,7 +271,7 @@@@ else psf->datalength = 0 ; - psf->sf.frames = psf->datalength / psf->blockwidth ; + psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; return 0 ; } /* pcm_init */ @ 1.12 log @Add upstream patch (taken from Debian bug report) to fix crashes caused by bad audio files. @ text @d1 1 a1 1 $NetBSD$ @ 1.12.2.1 log @file patch-ad was added on branch pkgsrc-2009Q1 on 2009-06-08 21:05:22 +0000 @ text @d1 17 @ 1.12.2.2 log @Pullup ticket 2790 - requested by tron Security update Revisions pulled up: - pkgsrc/audio/libsndfile/Makefile 1.52 - pkgsrc/audio/libsndfile/distinfo 1.29 - pkgsrc/audio/libsndfile/options.mk 1.7 Files added: pkgsrc/audio/libsndfile/patches/patch-aa 1.15 pkgsrc/audio/libsndfile/patches/patch-ab 1.9 pkgsrc/audio/libsndfile/patches/patch-ac 1.11 pkgsrc/audio/libsndfile/patches/patch-ad 1.12 pkgsrc/audio/libsndfile/patches/patch-ae 1.7 pkgsrc/audio/libsndfile/patches/patch-af 1.7 Module Name: pkgsrc Committed By: wiz Date: Sat May 2 17:24:15 UTC 2009 Modified Files: pkgsrc/audio/libsndfile: options.mk Log Message: Add octave option, based on PR 41307 by Rumko. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/audio/libsndfile/options.mk --------------------------------------------------------------------- Module Name: pkgsrc Committed By: adam Date: Thu May 14 12:58:27 UTC 2009 Modified Files: pkgsrc/audio/libsndfile: Makefile distinfo options.mk Log Message: Changes 1.0.20: * Fix potential heap overflow in VOC file parser. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 pkgsrc/audio/libsndfile/Makefile cvs rdiff -u -r1.27 -r1.28 pkgsrc/audio/libsndfile/distinfo cvs rdiff -u -r1.6 -r1.7 pkgsrc/audio/libsndfile/options.mk --------------------------------------------------------------------- Module Name: pkgsrc Committed By: tron Date: Mon Jun 8 09:30:17 UTC 2009 Modified Files: pkgsrc/audio/libsndfile: Makefile distinfo Added Files: pkgsrc/audio/libsndfile/patches: patch-aa patch-ab patch-ac patch-ad patch-ae patch-af Log Message: Add upstream patch (taken from Debian bug report) to fix crashes caused by bad audio files. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 pkgsrc/audio/libsndfile/Makefile cvs rdiff -u -r1.28 -r1.29 pkgsrc/audio/libsndfile/distinfo cvs rdiff -u -r0 -r1.15 pkgsrc/audio/libsndfile/patches/patch-aa cvs rdiff -u -r0 -r1.9 pkgsrc/audio/libsndfile/patches/patch-ab cvs rdiff -u -r0 -r1.11 pkgsrc/audio/libsndfile/patches/patch-ac cvs rdiff -u -r0 -r1.12 pkgsrc/audio/libsndfile/patches/patch-ad cvs rdiff -u -r0 -r1.7 pkgsrc/audio/libsndfile/patches/patch-ae \ pkgsrc/audio/libsndfile/patches/patch-af @ text @a0 17 $NetBSD: patch-ad,v 1.12 2009/06/08 09:30:17 tron Exp $ Upstream fix for DoS vulnerability taken from here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530831 --- src/pcm.c.orig 2009-03-22 19:17:14.000000000 +0000 +++ src/pcm.c 2009-06-08 10:03:02.000000000 +0100 @@@@ -271,7 +271,7 @@@@ else psf->datalength = 0 ; - psf->sf.frames = psf->datalength / psf->blockwidth ; + psf->sf.frames = psf->blockwidth > 0 ? psf->datalength / psf->blockwidth : 0 ; return 0 ; } /* pcm_init */ @ 1.11 log @Update to 1.0.18: Version 1.0.18 (2009-02-07) * Add Ogg/Vorbis support (thanks to John ffitch). * Remove captive FLAC library. * Many new features and bug fixes. * Generate Win32 and Win64 pre-compiled binaries. Add ogg and vorbis dependencies to bl3.mk and increase ABI depends. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.10 2006/09/01 06:02:23 adam Exp $ d3 15 a17 11 --- examples/Makefile.in.orig 2006-08-31 12:55:32.000000000 +0200 +++ examples/Makefile.in @@@@ -238,7 +238,7 @@@@ INCLUDES = -I$(srcdir)/$(SNDFILEDIR) $(O sndfile_info_SOURCES = sndfile-info.c sndfile_info_LDADD = $(SNDFILEDIR)/libsndfile.la sndfile_play_SOURCES = sndfile-play.c -sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la $(OS_SPECIFIC_LINKS) $(ALSA_LIBS) +sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la $(OS_SPECIFIC_LINKS) $(ALSA_LIBS) $(LIBOSSAUDIO) sndfile_convert_SOURCES = sndfile-convert.c sndfile_convert_LDADD = $(SNDFILEDIR)/libsndfile.la make_sine_SOURCES = make_sine.c @ 1.10 log @Changes 1.0.17: * Add sndfile.hh C++ wrapper. * Update Win32 MinGW build instructions. * Minor bug fixes and cleanups. @ text @d1 1 a1 1 $NetBSD$ @ 1.9 log @Changes 1.0.16: * Add support for Broadcast (BEXT) chunks in WAV files. * Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS. * Add support for RIFX (big endian WAV variant). * Fix configure script bugs. * Fix bug in INST and MARK chunk writing for AIFF files. @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2006-04-30 04:48:27.000000000 +0200 d5 1 a5 1 @@@@ -235,7 +235,7 @@@@ INCLUDES = -I$(srcdir)/$(SNDFILEDIR) $(O @ 1.8 log @Changes 1.0.14: * Really fix MinGW compile problems. * Minor bug fixes. @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2006-02-20 22:10:12.000000000 +0100 d5 1 a5 1 @@@@ -237,7 +237,7 @@@@ INCLUDES = -I$(srcdir)/$(SNDFILEDIR) $(O @ 1.7 log @Changes 1.0.12: * Add support for FLAC and Apple's Core Audio Format (CAF). * Add virtual I/O interface (still needs docs). * Cygwin and other Win32 fixes. * Minor bug fixes and cleanups. @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2005-09-29 20:00:29.000000000 +0000 d5 1 a5 1 @@@@ -235,7 +235,7 @@@@ INCLUDES = -I$(srcdir)/$(SNDFILEDIR) $(O @ 1.6 log @Changes 1.0.11: * Add SD2 file support * Reading of loop data in WAV and AIFF * Minor bug fixes @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2004-11-15 10:53:01.000000000 +0000 d5 2 a6 1 @@@@ -168,7 +168,7 @@@@ sndfile_info_SOURCES = sndfile-info.c a7 1 a10 1 d13 1 @ 1.5 log @Changes 1.0.10: * Minor bug fixes * Fix support for Win32 MinGW compiler @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2004-06-16 10:18:29.000000000 +0000 d5 1 a5 1 @@@@ -170,7 +170,7 @@@@ sndfile_info_SOURCES = sndfile-info.c @ 1.4 log @Changes 1.0.9: * Add AVR format * Improve handling of some WAV files @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2004-03-30 11:25:36.000000000 +0000 d5 1 a5 1 @@@@ -164,7 +164,7 @@@@ sndfile_info_SOURCES = sndfile-info.c @ 1.3 log @Changes 1.0.6: Large file fix for Linux/Solaris New functionality and Win32 improvements @ text @d3 1 a3 1 --- examples/Makefile.in.orig 2004-02-08 08:57:20.000000000 +0000 d5 1 a5 1 @@@@ -163,7 +163,7 @@@@ sndfile_info_SOURCES = sndfile-info.c d9 2 a10 2 -sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la $(OS_SPECIFIC_LINKS) +sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la $(OS_SPECIFIC_LINKS) $(LIBOSSAUDIO) @ 1.2 log @Update libsndfile to 1.0.3. There have been several changes since 1.0.1, but the most important ones are (according to the homepage): - Version 1.0.2 (Nov 24 2002) Added VOX ADPCM format. - Version 1.0.3 (Dec 09 2002) Fixes for Linux on ia64 CPUs. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1 2002/10/18 13:26:13 jlam Exp $ d3 1 a3 1 --- examples/Makefile.in.orig Sun Nov 24 07:02:46 2002 d5 1 a5 1 @@@@ -115,7 +115,7 @@@@ sndfile_info_SOURCES = sndfile-info.c @ 1.1 log @Make this package OSS-aware. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- examples/Makefile.in.orig Thu Oct 17 22:22:17 2002 d5 2 a6 2 @@@@ -107,7 +107,7 @@@@ sndfile_info_SOURCES = sndfile-info.c sndfile_info_LDADD = $(SNDFILEDIR)/libsndfile.la -lm d9 2 a10 2 -sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la -lm $(OS_SPECIFIC_LINKS) +sndfile_play_LDADD = $(SNDFILEDIR)/libsndfile.la -lm $(OS_SPECIFIC_LINKS) $(LIBOSSAUDIO) d12 2 a13 2 sfconvert_SOURCES = sfconvert.c sfconvert_LDADD = $(SNDFILEDIR)/libsndfile.la -lm @