This update fixes 4 vulnerabilities. For details, see:
http://www.openwall.com/lists/oss-security/2017/01/23/4

Also there are a few API additions, but "the legacy APIs are all
retained and existing applications that worked with the previous version
of the library will continue to work unmodified". See:
http://www.wavpack.com/WavPack5PortingGuide.pdf

Changelog: http://www.wavpack.com/changelog.txt

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/wavpack/Makefile,v
retrieving revision 1.21
diff -p -u -r1.21 Makefile
--- Makefile    28 May 2016 21:19:16 -0000      1.21
+++ Makefile    30 Jan 2017 19:22:11 -0000
@@ -2,14 +2,14 @@
 
 COMMENT =              audio codec for lossless, lossy and hybrid compression
 
-DISTNAME =             wavpack-4.80.0
+DISTNAME =             wavpack-5.1.0
 CATEGORIES =           audio
 
 HOMEPAGE =             http://www.wavpack.com/
 
 MAINTAINER =           Tim van der Molen <t...@openbsd.org>
 
-SHARED_LIBS +=         wavpack         0.1     # 2.8
+SHARED_LIBS +=         wavpack         1.0     # 3.0
 
 # BSD
 PERMIT_PACKAGE_CDROM = Yes
@@ -27,7 +27,11 @@ CONFIGURE_ARGS =     --enable-tests
 CONFIGURE_ENV =                CPPFLAGS="-I${LOCALBASE}/include" \
                        LDFLAGS="-L${LOCALBASE}/lib"
 
+DOCDIR=                        ${PREFIX}/share/doc/wavpack
+
 post-install:
+       ${INSTALL_DATA_DIR} ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/doc/* ${DOCDIR}
        rm ${PREFIX}/bin/wvtest
 
 do-test:
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/wavpack/distinfo,v
retrieving revision 1.5
diff -p -u -r1.5 distinfo
--- distinfo    27 May 2016 21:57:52 -0000      1.5
+++ distinfo    30 Jan 2017 19:22:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (wavpack-4.80.0.tar.bz2) = eRgup1970cqTHtIwBitDX95KTC4NvK0EgAe9HvHma+k=
-SIZE (wavpack-4.80.0.tar.bz2) = 450257
+SHA256 (wavpack-5.1.0.tar.bz2) = GTlifVNY0dpivGFY1j9+0SkFVS86eZx5nukClqdhKUQ=
+SIZE (wavpack-5.1.0.tar.bz2) = 824331
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/audio/wavpack/pkg/PLIST,v
retrieving revision 1.5
diff -p -u -r1.5 PLIST
--- pkg/PLIST   22 May 2015 11:31:11 -0000      1.5
+++ pkg/PLIST   30 Jan 2017 19:22:11 -0000
@@ -1,6 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.5 2015/05/22 11:31:11 ajacoutot Exp $
 @bin bin/wavpack
 @bin bin/wvgain
+@bin bin/wvtag
 @bin bin/wvunpack
 include/wavpack/
 include/wavpack/wavpack.h
@@ -10,4 +11,12 @@ lib/libwavpack.la
 lib/pkgconfig/wavpack.pc
 @man man/man1/wavpack.1
 @man man/man1/wvgain.1
+@man man/man1/wvtag.1
 @man man/man1/wvunpack.1
+share/doc/wavpack/
+share/doc/wavpack/ChangeLog
+share/doc/wavpack/WavPack5FileFormat.pdf
+share/doc/wavpack/WavPack5LibraryDoc.pdf
+share/doc/wavpack/WavPack5PortingGuide.pdf
+share/doc/wavpack/style.css
+share/doc/wavpack/wavpack_doc.html

Reply via email to