Update to an up to date snapshot of the Tremor decoder.

* fixes a few security related issues and a good number of bugs

from Brad
This commit is contained in:
ajacoutot 2012-04-28 09:03:08 +00:00
parent 71544ab8b4
commit ed82376280
5 changed files with 25 additions and 63 deletions

View File

@ -1,11 +1,13 @@
# $OpenBSD: Makefile,v 1.17 2011/08/17 12:38:35 jasper Exp $
# $OpenBSD: Makefile,v 1.18 2012/04/28 09:03:08 ajacoutot Exp $
COMMENT= integer-only, fully Ogg Vorbis compliant decoder library
DISTNAME= tremor-20080326
REVISION= 0
SHARED_LIBS += vorbisidec 2.0 # .1.2
DISTNAME= tremor-20120410
CATEGORIES= audio
MASTER_SITES= http://comstyle.com/source/
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= vorbisidec 3.0
HOMEPAGE= http://www.xiph.org/vorbis/
@ -15,25 +17,24 @@ PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= http://distfiles.bsdfrog.org/
WANTLIB= ogg
LIB_DEPENDS= audio/libogg
# autogen.sh needs libtoolize
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS} \
devel/libtool
AUTOCONF_VERSION=2.61
AUTOMAKE_VERSION=1.9
AUTOCONF_VERSION= 2.61
AUTOMAKE_VERSION= 1.10
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_STYLE= gnu
WRKDIST= ${WRKDIR}/Tremor
post-extract:
@perl -pi -e 's/\r\n/\n/g' ${WRKSRC}/Version_script.in
pre-configure:
post-patch:
@cd ${WRKSRC} && env AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} ./autogen.sh

View File

@ -1,5 +1,5 @@
MD5 (tremor-20080326.tar.gz) = //zUUE/tHg9nxv1fTvJJ/w==
RMD160 (tremor-20080326.tar.gz) = 5SPJbqKCzgCC4i2QCDAKWPniWIo=
SHA1 (tremor-20080326.tar.gz) = 7p0VLjkcSlY3Bn9pLhWR7Eycu6Q=
SHA256 (tremor-20080326.tar.gz) = TIqNDWm6RsdEZpy19fNmi6+xWnqdeWbteLVi1G4wxUY=
SIZE (tremor-20080326.tar.gz) = 313582
MD5 (tremor-20120410.tar.bz2) = eXAO0PXXjhsQi0zZ/Q13sw==
RMD160 (tremor-20120410.tar.bz2) = QvPTs7uOeACVa9ZuHtapOXhE2fM=
SHA1 (tremor-20120410.tar.bz2) = BHdlg+w+DZImxXZkI5Ojz9EQucA=
SHA256 (tremor-20120410.tar.bz2) = RM3oW90YOsiG9Vjf57Ms03BdmgdtONrQTu7l+dc7tOA=
SIZE (tremor-20120410.tar.bz2) = 256053

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-Version_script_in,v 1.1 2011/08/17 12:38:35 jasper Exp $
--- Version_script.in.orig Sat Jul 30 20:16:15 2011
+++ Version_script.in Sat Jul 30 20:21:11 2011
@@ -43,6 +43,17 @@
vorbis_comment_query;
vorbis_comment_query_count;
vorbis_comment_clear;
+ vorbis_block_init;
+ vorbis_block_clear;
+ vorbis_dsp_clear;
+ vorbis_synthesis_headerin;
+ vorbis_synthesis_init;
+ vorbis_synthesis_restart;
+ vorbis_synthesis;
+ vorbis_synthesis_blockin;
+ vorbis_synthesis_pcmout;
+ vorbis_synthesis_read;
+ vorbis_packet_blocksize;
local:
*;

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-configure_in,v 1.1 2011/08/17 12:38:35 jasper Exp $
--- configure.in.orig Tue Mar 25 22:56:24 2008
+++ configure.in Sat Jul 30 20:33:10 2011
@@ -59,13 +59,13 @@ else
$OpenBSD: patch-configure_in,v 1.2 2012/04/28 09:03:08 ajacoutot Exp $
--- configure.in.orig Wed Oct 5 01:12:59 2011
+++ configure.in Wed Oct 5 01:23:43 2011
@@ -62,13 +62,13 @@ else
case $host in
arm-*-*)
DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -D_ARM_ASSEM_"
@ -19,21 +19,3 @@ $OpenBSD: patch-configure_in,v 1.1 2011/08/17 12:38:35 jasper Exp $
esac
fi
CFLAGS="$CFLAGS $cflags_save -D_REENTRANT"
@@ -76,16 +76,7 @@ LDFLAGS="$LDFLAGS $ldflags_save"
AC_PROG_LD
AC_PROG_LD_GNU
if test "x$lt_cv_prog_gnu_ld" = "xyes"; then
- SHLIB_VERSION_ARG="Wl,--version-script=Version_script"
-
- dnl Set extra linker options
- case "$target_os" in
- linux* | solaris* )
- SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
- ;;
- *)
- ;;
- esac
+ SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
LDFLAGS="$LDFLAGS $SHLIB_VERSION_ARG"
fi

View File

@ -1,10 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/04/15 02:21:31 jolan Exp $
@comment $OpenBSD: PLIST,v 1.2 2012/04/28 09:03:08 ajacoutot Exp $
%%SHARED%%
include/tremor/
include/tremor/config_types.h
include/tremor/ivorbiscodec.h
include/tremor/ivorbisfile.h
include/tremor/ogg.h
include/tremor/os_types.h
lib/libvorbisidec.a
lib/libvorbisidec.la
lib/pkgconfig/
lib/pkgconfig/vorbisidec.pc