openbsd-ports/audio/libvorbis/Makefile
naddy 2cc7aa96d8 SECURITY fixes from Xiph SVN:
* add code to prevent heap attacks by exploiting dim=bignum and
  partition_codewords = partion_values
* correctly handle the nonsensical codebook.dim==0 case
* dd checks/rejection for absurdly huge codebooks

CVE-2008-1419, CVE-2008-1420, CVE-2008-1423
2008-05-17 19:58:25 +00:00

32 lines
841 B
Makefile

# $OpenBSD: Makefile,v 1.26 2008/05/17 19:58:25 naddy Exp $
COMMENT= audio compression codec library
DISTNAME= libvorbis-1.2.0
PKGNAME= ${DISTNAME}p0
CATEGORIES= audio
HOMEPAGE= http://www.xiph.org/vorbis/
SHARED_LIBS += vorbis 6.0 # .4.0
SHARED_LIBS += vorbisfile 5.0 # .5.0
SHARED_LIBS += vorbisenc 2.3 # .2.3
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://downloads.xiph.org/releases/vorbis/
# no inter-library dependency, but we still build against the API
LIB_DEPENDS= ogg.>=5::audio/libogg
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --with-ogg=${LOCALBASE}
SEPARATE_BUILD= simple
.include <bsd.port.mk>