Thu Aug 1 13:42:54 2019 UTC ()
aubio: update to 0.4.9

fixes at least the following bugs:

CVE-2018-19800 prevent a possible buffer overflow in new_aubio_tempo
CVE-2018-19801 prevent a null-pointer dereference in new_aubio_filterbank
CVE-2018-19802 prevent a null-pointer dereference in new_aubio_onset


(nia)
diff -r1.16 -r1.17 pkgsrc/audio/aubio/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/audio/aubio/PLIST
diff -r1.3 -r1.4 pkgsrc/audio/aubio/distinfo
diff -r1.1 -r0 pkgsrc/audio/aubio/patches/patch-ext_Makefile.in
diff -r1.1.1.1 -r0 pkgsrc/audio/aubio/patches/patch-python_aubio_Makefile.in
diff -r0 -r1.1 pkgsrc/audio/aubio/patches/patch-scripts_build__apple__frameworks

cvs diff -r1.16 -r1.17 pkgsrc/audio/aubio/Makefile (expand / switch to unified diff)

--- pkgsrc/audio/aubio/Makefile 2019/04/26 14:12:31 1.16
+++ pkgsrc/audio/aubio/Makefile 2019/08/01 13:42:54 1.17
@@ -1,34 +1,40 @@ @@ -1,34 +1,40 @@
1# $NetBSD: Makefile,v 1.16 2019/04/26 14:12:31 maya Exp $ 1# $NetBSD: Makefile,v 1.17 2019/08/01 13:42:54 nia Exp $
2 2
3DISTNAME= aubio-0.3.2 3DISTNAME= aubio-0.4.9
4PKGREVISION= 3 
5CATEGORIES= audio 4CATEGORIES= audio
6MASTER_SITES= https://aubio.org/pub/ 5MASTER_SITES= https://aubio.org/pub/
 6EXTRACT_SUFX= .tar.bz2
7 7
8MAINTAINER= pho@cielonegro.org 8MAINTAINER= pho@cielonegro.org
9HOMEPAGE= https://aubio.org/ 9HOMEPAGE= https://aubio.org/
10COMMENT= Extracting annotations from audio signals 10COMMENT= Extracting annotations from audio signals
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13GNU_CONFIGURE= yes 
14USE_LIBTOOL= yes 
15USE_TOOLS+= pkg-config 13USE_TOOLS+= pkg-config
16 14
17PKGCONFIG_OVERRIDE+= aubio.pc.in 15PKGCONFIG_OVERRIDE+= aubio.pc.in
18 16
19# Python related variables: 17MAKE_FLAGS+= WAFCMD="${PYTHONBIN} ./waf"
20PY_PATCHPLIST= yes 18MAKE_FLAGS+= WAFOPTS="--disable-tests"
21REPLACE_PYTHON= python/aubiocut python/aubiopitch 19MAKE_FLAGS+= MANDIR="${PREFIX}/${PKGMANDIR}"
22PYTHON_VERSIONS_INCOMPATIBLE= 36 37 # not yet ported as of 0.3.2 20
 21TOOL_DEPENDS+= txt2man-[0-9]*:../../converters/txt2man
23 22
24CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t 23CPPFLAGS.SunOS+= -Du_int8_t=uint8_t -Du_int16_t=uint16_t -Du_int32_t=uint32_t -Du_int64_t=uint64_t
25 24
26.include "options.mk" 25#REPLACE_PYTHON+= tests/create_tests_source.py
 26
 27PYTHON_FOR_BUILD_ONLY= yes
27 28
 29do-configure:
 30 cd ${WRKSRC} && ${MAKE_ENV} ${MAKE} configure ${MAKE_FLAGS}
 31
 32.include "options.mk"
28.include "../../audio/libsamplerate/buildlink3.mk" 33.include "../../audio/libsamplerate/buildlink3.mk"
29.include "../../audio/libsndfile/buildlink3.mk" 34.include "../../audio/libsndfile/buildlink3.mk"
30.include "../../devel/swig/buildlink3.mk" 35.include "../../devel/swig/buildlink3.mk"
 36.include "../../multimedia/ffmpeg4/buildlink3.mk"
31.include "../../lang/python/application.mk" 37.include "../../lang/python/application.mk"
32.include "../../lang/python/extension.mk" 38.include "../../lang/python/pyversion.mk"
33.include "../../math/fftw/buildlink3.mk" 39.include "../../math/fftw/buildlink3.mk"
34.include "../../mk/bsd.pkg.mk" 40.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/audio/aubio/PLIST (expand / switch to unified diff)

--- pkgsrc/audio/aubio/PLIST 2011/10/06 11:45:47 1.1.1.1
+++ pkgsrc/audio/aubio/PLIST 2019/08/01 13:42:54 1.2
@@ -1,128 +1,73 @@ @@ -1,128 +1,73 @@
1@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/06 11:45:47 ryoon Exp $ 1@comment $NetBSD: PLIST,v 1.2 2019/08/01 13:42:54 nia Exp $
2bin/aubiocut 2bin/aubiomfcc
3bin/aubionotes 3bin/aubionotes
4bin/aubioonset 4bin/aubioonset
5bin/aubiopitch 5bin/aubiopitch
 6bin/aubioquiet
6bin/aubiotrack 7bin/aubiotrack
7include/aubio/aubio.h 8include/aubio/aubio.h
8include/aubio/aubioext.h 9include/aubio/cvec.h
9include/aubio/beattracking.h 10include/aubio/fmat.h
10include/aubio/biquad.h 11include/aubio/fvec.h
11include/aubio/config.h 12include/aubio/io/audio_unit.h
12include/aubio/fft.h 13include/aubio/io/ioutils.h
13include/aubio/filter.h 14include/aubio/io/sink.h
14include/aubio/hist.h 15include/aubio/io/sink_apple_audio.h
15include/aubio/jackio.h 16include/aubio/io/sink_sndfile.h
 17include/aubio/io/sink_wavwrite.h
 18include/aubio/io/source.h
 19include/aubio/io/source_apple_audio.h
 20include/aubio/io/source_avcodec.h
 21include/aubio/io/source_sndfile.h
 22include/aubio/io/source_wavread.h
 23include/aubio/lvec.h
16include/aubio/mathutils.h 24include/aubio/mathutils.h
17include/aubio/midi/list.h 25include/aubio/musicutils.h
18include/aubio/midi/midi.h 26include/aubio/notes/notes.h
19include/aubio/midi/midi_driver.h 27include/aubio/onset/onset.h
20include/aubio/midi/midi_event.h 28include/aubio/onset/peakpicker.h
21include/aubio/midi/midi_file.h 29include/aubio/pitch/pitch.h
22include/aubio/midi/midi_parser.h 30include/aubio/pitch/pitchfcomb.h
23include/aubio/midi/midi_player.h 31include/aubio/pitch/pitchmcomb.h
24include/aubio/midi/midi_track.h 32include/aubio/pitch/pitchschmitt.h
25include/aubio/midi/timer.h 33include/aubio/pitch/pitchspecacf.h
26include/aubio/onset.h 34include/aubio/pitch/pitchyin.h
27include/aubio/onsetdetection.h 35include/aubio/pitch/pitchyinfast.h
28include/aubio/peakpick.h 36include/aubio/pitch/pitchyinfft.h
29include/aubio/phasevoc.h 37include/aubio/spectral/awhitening.h
30include/aubio/pitchdetection.h 38include/aubio/spectral/dct.h
31include/aubio/pitchfcomb.h 39include/aubio/spectral/fft.h
32include/aubio/pitchmcomb.h 40include/aubio/spectral/filterbank.h
33include/aubio/pitchschmitt.h 41include/aubio/spectral/filterbank_mel.h
34include/aubio/pitchyin.h 42include/aubio/spectral/mfcc.h
35include/aubio/pitchyinfft.h 43include/aubio/spectral/phasevoc.h
36include/aubio/resample.h 44include/aubio/spectral/specdesc.h
37include/aubio/sample.h 45include/aubio/spectral/tss.h
38include/aubio/scale.h 46include/aubio/synth/sampler.h
39include/aubio/sndfileio.h 47include/aubio/synth/wavetable.h
40include/aubio/tempo.h 48include/aubio/tempo/beattracking.h
41include/aubio/tss.h 49include/aubio/tempo/tempo.h
 50include/aubio/temporal/a_weighting.h
 51include/aubio/temporal/biquad.h
 52include/aubio/temporal/c_weighting.h
 53include/aubio/temporal/filter.h
 54include/aubio/temporal/resampler.h
42include/aubio/types.h 55include/aubio/types.h
43lib/libaubio.la 56include/aubio/utils/hist.h
44lib/libaubioext.la 57include/aubio/utils/log.h
 58include/aubio/utils/parameter.h
 59include/aubio/utils/scale.h
 60include/aubio/vecutils.h
 61lib/libaubio.a
 62lib/libaubio.so
 63lib/libaubio.so.5
 64lib/libaubio.so.5.4.8
45lib/pkgconfig/aubio.pc 65lib/pkgconfig/aubio.pc
46${PYSITELIB}/aubio/__init__.py 66share/man/man1/aubio.1
47${PYSITELIB}/aubio/__init__.pyc 67share/man/man1/aubiocut.1
48${PYSITELIB}/aubio/__init__.pyo 68share/man/man1/aubiomfcc.1
49${PYSITELIB}/aubio/_aubiowrapper.la 69share/man/man1/aubionotes.1
50${PYSITELIB}/aubio/aubioclass.py 70share/man/man1/aubioonset.1
51${PYSITELIB}/aubio/aubioclass.pyc 71share/man/man1/aubiopitch.1
52${PYSITELIB}/aubio/aubioclass.pyo 72share/man/man1/aubioquiet.1
53${PYSITELIB}/aubio/aubiowrapper.py 73share/man/man1/aubiotrack.1
54${PYSITELIB}/aubio/aubiowrapper.pyc 
55${PYSITELIB}/aubio/aubiowrapper.pyo 
56${PYSITELIB}/aubio/bench/__init__.py 
57${PYSITELIB}/aubio/bench/__init__.pyc 
58${PYSITELIB}/aubio/bench/__init__.pyo 
59${PYSITELIB}/aubio/bench/broadcast.py 
60${PYSITELIB}/aubio/bench/broadcast.pyc 
61${PYSITELIB}/aubio/bench/broadcast.pyo 
62${PYSITELIB}/aubio/bench/config.py 
63${PYSITELIB}/aubio/bench/config.pyc 
64${PYSITELIB}/aubio/bench/config.pyo 
65${PYSITELIB}/aubio/bench/node.py 
66${PYSITELIB}/aubio/bench/node.pyc 
67${PYSITELIB}/aubio/bench/node.pyo 
68${PYSITELIB}/aubio/bench/onset.py 
69${PYSITELIB}/aubio/bench/onset.pyc 
70${PYSITELIB}/aubio/bench/onset.pyo 
71${PYSITELIB}/aubio/gnuplot.py 
72${PYSITELIB}/aubio/gnuplot.pyc 
73${PYSITELIB}/aubio/gnuplot.pyo 
74${PYSITELIB}/aubio/median.py 
75${PYSITELIB}/aubio/median.pyc 
76${PYSITELIB}/aubio/median.pyo 
77${PYSITELIB}/aubio/onsetcompare.py 
78${PYSITELIB}/aubio/onsetcompare.pyc 
79${PYSITELIB}/aubio/onsetcompare.pyo 
80${PYSITELIB}/aubio/plot/__init__.py 
81${PYSITELIB}/aubio/plot/__init__.pyc 
82${PYSITELIB}/aubio/plot/__init__.pyo 
83${PYSITELIB}/aubio/plot/keyboard.py 
84${PYSITELIB}/aubio/plot/keyboard.pyc 
85${PYSITELIB}/aubio/plot/keyboard.pyo 
86${PYSITELIB}/aubio/task/__init__.py 
87${PYSITELIB}/aubio/task/__init__.pyc 
88${PYSITELIB}/aubio/task/__init__.pyo 
89${PYSITELIB}/aubio/task/beat.py 
90${PYSITELIB}/aubio/task/beat.pyc 
91${PYSITELIB}/aubio/task/beat.pyo 
92${PYSITELIB}/aubio/task/cut.py 
93${PYSITELIB}/aubio/task/cut.pyc 
94${PYSITELIB}/aubio/task/cut.pyo 
95${PYSITELIB}/aubio/task/notes.py 
96${PYSITELIB}/aubio/task/notes.pyc 
97${PYSITELIB}/aubio/task/notes.pyo 
98${PYSITELIB}/aubio/task/onset.py 
99${PYSITELIB}/aubio/task/onset.pyc 
100${PYSITELIB}/aubio/task/onset.pyo 
101${PYSITELIB}/aubio/task/params.py 
102${PYSITELIB}/aubio/task/params.pyc 
103${PYSITELIB}/aubio/task/params.pyo 
104${PYSITELIB}/aubio/task/pitch.py 
105${PYSITELIB}/aubio/task/pitch.pyc 
106${PYSITELIB}/aubio/task/pitch.pyo 
107${PYSITELIB}/aubio/task/silence.py 
108${PYSITELIB}/aubio/task/silence.pyc 
109${PYSITELIB}/aubio/task/silence.pyo 
110${PYSITELIB}/aubio/task/task.py 
111${PYSITELIB}/aubio/task/task.pyc 
112${PYSITELIB}/aubio/task/task.pyo 
113${PYSITELIB}/aubio/task/utils.py 
114${PYSITELIB}/aubio/task/utils.pyc 
115${PYSITELIB}/aubio/task/utils.pyo 
116${PYSITELIB}/aubio/txtfile.py 
117${PYSITELIB}/aubio/txtfile.pyc 
118${PYSITELIB}/aubio/txtfile.pyo 
119${PYSITELIB}/aubio/web/__init__.py 
120${PYSITELIB}/aubio/web/__init__.pyc 
121${PYSITELIB}/aubio/web/__init__.pyo 
122${PYSITELIB}/aubio/web/browser.py 
123${PYSITELIB}/aubio/web/browser.pyc 
124${PYSITELIB}/aubio/web/browser.pyo 
125${PYSITELIB}/aubio/web/html.py 
126${PYSITELIB}/aubio/web/html.pyc 
127${PYSITELIB}/aubio/web/html.pyo 
128share/sounds/aubio/woodblock.aiff 

cvs diff -r1.3 -r1.4 pkgsrc/audio/aubio/distinfo (expand / switch to unified diff)

--- pkgsrc/audio/aubio/distinfo 2015/11/03 01:12:25 1.3
+++ pkgsrc/audio/aubio/distinfo 2019/08/01 13:42:54 1.4
@@ -1,15 +1,7 @@ @@ -1,15 +1,7 @@
1$NetBSD: distinfo,v 1.3 2015/11/03 01:12:25 agc Exp $ 1$NetBSD: distinfo,v 1.4 2019/08/01 13:42:54 nia Exp $
2 2
3SHA1 (aubio-0.3.2.tar.gz) = 8ef7ccbf18a4fa6db712a9192acafc9c8d080978 3SHA1 (aubio-0.4.9.tar.bz2) = ab9c4f853e74dd7774d6325da9c9840e6d50a6d6
4RMD160 (aubio-0.3.2.tar.gz) = 44e3bb8ab38aa715052466e7ae50123089914b5b 4RMD160 (aubio-0.4.9.tar.bz2) = 6595c969e1c7ea84b667b35ea10dc0d8f3a6fc5b
5SHA512 (aubio-0.3.2.tar.gz) = b3d8445716c0cde02ee1e7b036864598ec7562d8a938a61f644c384d80e95601abcb6e713cdaab7b2613f6f4f27db1cfafa7c23824c61f504e83d11fefdee8fc 5SHA512 (aubio-0.4.9.tar.bz2) = 0cb81bb4b15051db3f3f4d160d500af56fdfb237e0a74e3f366f53c2870030aa0a7cee8469a611a9694c36b8866d3d42ffb48241c999de08f3fee43e6d903130
6Size (aubio-0.3.2.tar.gz) = 609006 bytes 6Size (aubio-0.4.9.tar.bz2) = 397604 bytes
7SHA1 (patch-ext_Makefile.in) = 4f4f40549860ac00739c3955b034745403128d7b 7SHA1 (patch-scripts_build__apple__frameworks) = d29858886b61dc2194e228c6113fbc6a54577b45
8SHA1 (patch-python_aubio_Makefile.in) = 4d6b2bf9f6b1cc6661f4aa65f400a0c575c8aca5 
9SHA1 (patch-python_aubio_bench_onset.py) = 1076258814ced4e91afcd0e5242b4de23c008211 
10SHA1 (patch-python_aubio_gnuplot.py) = 7ed573a32f4443cf4a48ad32575e2d38d55889f2 
11SHA1 (patch-python_aubio_plot_keyboard.py) = ae207a1f5a508b49d2815a1e3496d209b06ee351 
12SHA1 (patch-python_aubio_task_beat.py) = 1413775da8b9982ab66604208f3d522eed270a90 
13SHA1 (patch-python_aubio_task_notes.py) = d0c28c1d41519617a731cc7baed9105ff8453e42 
14SHA1 (patch-python_aubio_task_onset.py) = 403879042e287edd332e56fd56f4255796665dd9 
15SHA1 (patch-python_aubio_task_pitch.py) = ceb9d777f0ae91b261086d53f4cb24bdefb3a185 

File Deleted: pkgsrc/audio/aubio/patches/Attic/patch-ext_Makefile.in

File Deleted: pkgsrc/audio/aubio/patches/Attic/patch-python_aubio_Makefile.in

File Added: pkgsrc/audio/aubio/patches/patch-scripts_build__apple__frameworks
$NetBSD: patch-scripts_build__apple__frameworks,v 1.1 2019/08/01 13:42:54 nia Exp $

Use portable test operator.

--- scripts/build_apple_frameworks.orig	2018-09-22 15:47:33.000000000 +0000
+++ scripts/build_apple_frameworks
@@ -82,7 +82,7 @@ do
   done
 
   create_framework $PACKAGE $VERSION $PLATFORM
-  if [ $PLATFORM == 'darwin' ]
+  if [ $PLATFORM = 'darwin' ]
   then
     # on darwin, build a .tar.bz2 of /usr and a .zip of aubio.framework
     create_tarballs $PACKAGE $VERSION $PLATFORM