naddy 5a634508a0 Security update to 1.3.6:
* Fix CVE-2018-5146 - out-of-bounds write on codebook decoding.
* Fix CVE-2017-14632 - free() on unitialized data
* Fix CVE-2017-14633 - out-of-bounds read
* Fix bitrate metadata parsing.
* Fix out-of-bounds read in codebook parsing.
* Fix residue vector size in Vorbis I spec.
2018-03-16 21:44:10 +00:00

31 lines
728 B
Makefile

# $OpenBSD: Makefile,v 1.42 2018/03/16 21:44:10 naddy Exp $
COMMENT= audio compression codec library
DISTNAME= libvorbis-1.3.6
CATEGORIES= audio
HOMEPAGE= https://www.xiph.org/vorbis/
SHARED_LIBS += vorbis 9.0 # 4.8
SHARED_LIBS += vorbisfile 6.0 # 6.7
SHARED_LIBS += vorbisenc 3.1 # 2.11
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/
EXTRACT_SUFX= .tar.xz
WANTLIB= m ogg
LIB_DEPENDS= audio/libogg
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-ogg=${LOCALBASE}
SEPARATE_BUILD= Yes
post-install:
cd ${PREFIX}/share/doc && mv ${DISTNAME} libvorbis
.include <bsd.port.mk>