public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-libs/libmikmod: libmikmod-3.1.12-r1.ebuild libmikmod-3.2.0_beta2-r3.ebuild ChangeLog
@ 2012-02-06 21:46 Sergei Trofimovich (slyfox)
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich (slyfox) @ 2012-02-06 21:46 UTC (permalink / raw
  To: gentoo-commits

slyfox      12/02/06 21:46:32

  Modified:             ChangeLog
  Added:                libmikmod-3.1.12-r1.ebuild
                        libmikmod-3.2.0_beta2-r3.ebuild
  Log:
  Fixed sdl-mixer crash (bug #300525 reported by A.C.Heron and fixed by pva).
  Fixed CVE-2009-3995, CVE-2009-3996 CVE-2010-2546 CVE-2010-2971 (security
  bug #335892 by Stefan Behte fixes are pulled from upstream, redhat and suse).
  Added workaround to avoid crash when libmikmod ran under padsp pulseaudio wrapper.
  
  (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)

Revision  Changes    Path
1.76                 media-libs/libmikmod/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/ChangeLog?rev=1.76&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/ChangeLog?rev=1.76&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/ChangeLog?r1=1.75&r2=1.76

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- ChangeLog	21 Jan 2012 16:23:07 -0000	1.75
+++ ChangeLog	6 Feb 2012 21:46:32 -0000	1.76
@@ -1,6 +1,22 @@
 # ChangeLog for media-libs/libmikmod
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.75 2012/01/21 16:23:07 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.76 2012/02/06 21:46:32 slyfox Exp $
+
+*libmikmod-3.1.12-r1 (06 Feb 2012)
+*libmikmod-3.2.0_beta2-r3 (06 Feb 2012)
+
+  06 Feb 2012; Sergei Trofimovich <slyfox@gentoo.org>
+  +files/libmikmod-3.2.0_beta2-CVE-2009-3995-3996.patch,
+  +files/libmikmod-3.2.0_beta2-CVE-2010-2546-2971.patch,
+  +files/libmikmod-3.2.0_beta2-fix-unload-crash.patch,
+  +files/libmikmod-3.2.0_beta2-fix-vol-crash.patch,
+  +files/libmikmod-3.2.0_beta2-pa-workaround.patch, +libmikmod-3.1.12-r1.ebuild,
+  +libmikmod-3.2.0_beta2-r3.ebuild:
+  Fixed sdl-mixer crash (bug #300525 reported by A.C.Heron and fixed by pva).
+  Fixed CVE-2009-3995, CVE-2009-3996 CVE-2010-2546 CVE-2010-2971 (security bug
+  #335892 by Stefan Behte fixes are pulled from upstream, redhat and suse).
+  Added workaround to avoid crash when libmikmod ran under padsp pulseaudio
+  wrapper.
 
   21 Jan 2012; Pawel Hajdan jr <phajdan.jr@gentoo.org> libmikmod-3.1.12.ebuild:
   x86 stable wrt bug #384713



1.1                  media-libs/libmikmod/libmikmod-3.1.12-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.12-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.12-r1.ebuild?rev=1.1&content-type=text/plain

Index: libmikmod-3.1.12-r1.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.12-r1.ebuild,v 1.1 2012/02/06 21:46:32 slyfox Exp $

# this ebuild is only for the libmikmod.so.2 SONAME for ABI compat

EAPI=2
inherit autotools eutils flag-o-matic multilib

DESCRIPTION="A library to play a wide range of module formats"
HOMEPAGE="http://mikmod.raphnet.net/"
SRC_URI="mirror://sourceforge/mikmod/${P}.tar.gz"

LICENSE="|| ( LGPL-2.1 LGPL-2 )"
SLOT="2"
KEYWORDS="~amd64 ~x86"
IUSE="+oss raw"

src_prepare() {
	epatch "${FILESDIR}"/${P}-64bit.patch \
		"${FILESDIR}"/${P}-autotools.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-info.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-doubleRegister.patch \
		"${FILESDIR}"/${PN}-CVE-2007-6720.patch \
		"${FILESDIR}"/${PN}-CVE-2009-0179.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-no-drv_raw.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-fix-vol-crash.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-fix-unload-crash.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-CVE-2009-3995-3996.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-CVE-2010-2546-2971.patch \
		"${FILESDIR}"/${PN}-3.2.0_beta2-pa-workaround.patch

	AT_M4DIR=${S} eautoreconf
}

src_configure() {
	use raw && append-flags -DDRV_RAW

	econf \
		--disable-af \
		--disable-alsa \
		--disable-esd \
		$(use_enable oss) \
		--disable-static
}

src_install() {
	exeinto /usr/$(get_libdir)
	newexe ${PN}/.libs/${PN}.so.2.0.4 ${PN}.so.2 || die
}

pkg_postinst() {
	use oss || ewarn "No audio output will be available because of USE=\"-oss\"."
}



1.1                  media-libs/libmikmod/libmikmod-3.2.0_beta2-r3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/libmikmod-3.2.0_beta2-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/libmikmod-3.2.0_beta2-r3.ebuild?rev=1.1&content-type=text/plain

Index: libmikmod-3.2.0_beta2-r3.ebuild
===================================================================
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/libmikmod-3.2.0_beta2-r3.ebuild,v 1.1 2012/02/06 21:46:32 slyfox Exp $

EAPI=2
MY_P=${P/_/-}
inherit autotools eutils flag-o-matic

DESCRIPTION="A library to play a wide range of module formats"
HOMEPAGE="http://mikmod.raphnet.net/"
SRC_URI="http://mikmod.raphnet.net/files/${MY_P}.tar.gz"

LICENSE="|| ( LGPL-2.1 LGPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
# Enable OSS by default since ALSA support isn't available, look below
IUSE="+oss raw"

S=${WORKDIR}/${MY_P}

src_prepare() {
	epatch "${FILESDIR}"/${P}-64bit.patch \
		"${FILESDIR}"/${P}-autotools.patch \
		"${FILESDIR}"/${P}-info.patch \
		"${FILESDIR}"/${P}-doubleRegister.patch \
		"${FILESDIR}"/${PN}-CVE-2007-6720.patch \
		"${FILESDIR}"/${PN}-CVE-2009-0179.patch \
		"${FILESDIR}"/${P}-no-drv_raw.patch \
		"${FILESDIR}"/${P}-fix-vol-crash.patch \
		"${FILESDIR}"/${P}-fix-unload-crash.patch \
		"${FILESDIR}"/${P}-CVE-2009-3995-3996.patch \
		"${FILESDIR}"/${P}-CVE-2010-2546-2971.patch \
		"${FILESDIR}"/${P}-pa-workaround.patch

	AT_M4DIR=${S} eautoreconf
}

src_configure() {
	use raw && append-flags -DDRV_RAW

	# * af is something called AF/AFlib.h and -lAF, not audiofile in tree
	# * alsa support is for deprecated API and doesn't work
	econf \
		--disable-af \
		--disable-alsa \
		--disable-esd \
		$(use_enable oss)
}

src_install() {
	emake DESTDIR="${D}" install || die
	dodoc AUTHORS NEWS README TODO
	dohtml docs/*.html
}

pkg_postinst() {
	use oss || ewarn "No audio output will be available because of USE=\"-oss\"."
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-06 21:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-06 21:46 [gentoo-commits] gentoo-x86 commit in media-libs/libmikmod: libmikmod-3.1.12-r1.ebuild libmikmod-3.2.0_beta2-r3.ebuild ChangeLog Sergei Trofimovich (slyfox)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox