Gentoo Archives: gentoo-commits

From: "Sergei Trofimovich (slyfox)" <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libmikmod: libmikmod-3.1.12-r1.ebuild libmikmod-3.2.0_beta2-r3.ebuild ChangeLog
Date: Mon, 06 Feb 2012 21:46:46
Message-Id: 20120206214632.6ABBB2004C@flycatcher.gentoo.org
1 slyfox 12/02/06 21:46:32
2
3 Modified: ChangeLog
4 Added: libmikmod-3.1.12-r1.ebuild
5 libmikmod-3.2.0_beta2-r3.ebuild
6 Log:
7 Fixed sdl-mixer crash (bug #300525 reported by A.C.Heron and fixed by pva).
8 Fixed CVE-2009-3995, CVE-2009-3996 CVE-2010-2546 CVE-2010-2971 (security
9 bug #335892 by Stefan Behte fixes are pulled from upstream, redhat and suse).
10 Added workaround to avoid crash when libmikmod ran under padsp pulseaudio wrapper.
11
12 (Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
13
14 Revision Changes Path
15 1.76 media-libs/libmikmod/ChangeLog
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/ChangeLog?rev=1.76&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/ChangeLog?rev=1.76&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/ChangeLog?r1=1.75&r2=1.76
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v
24 retrieving revision 1.75
25 retrieving revision 1.76
26 diff -u -r1.75 -r1.76
27 --- ChangeLog 21 Jan 2012 16:23:07 -0000 1.75
28 +++ ChangeLog 6 Feb 2012 21:46:32 -0000 1.76
29 @@ -1,6 +1,22 @@
30 # ChangeLog for media-libs/libmikmod
31 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.75 2012/01/21 16:23:07 phajdan.jr Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmikmod/ChangeLog,v 1.76 2012/02/06 21:46:32 slyfox Exp $
34 +
35 +*libmikmod-3.1.12-r1 (06 Feb 2012)
36 +*libmikmod-3.2.0_beta2-r3 (06 Feb 2012)
37 +
38 + 06 Feb 2012; Sergei Trofimovich <slyfox@g.o>
39 + +files/libmikmod-3.2.0_beta2-CVE-2009-3995-3996.patch,
40 + +files/libmikmod-3.2.0_beta2-CVE-2010-2546-2971.patch,
41 + +files/libmikmod-3.2.0_beta2-fix-unload-crash.patch,
42 + +files/libmikmod-3.2.0_beta2-fix-vol-crash.patch,
43 + +files/libmikmod-3.2.0_beta2-pa-workaround.patch, +libmikmod-3.1.12-r1.ebuild,
44 + +libmikmod-3.2.0_beta2-r3.ebuild:
45 + Fixed sdl-mixer crash (bug #300525 reported by A.C.Heron and fixed by pva).
46 + Fixed CVE-2009-3995, CVE-2009-3996 CVE-2010-2546 CVE-2010-2971 (security bug
47 + #335892 by Stefan Behte fixes are pulled from upstream, redhat and suse).
48 + Added workaround to avoid crash when libmikmod ran under padsp pulseaudio
49 + wrapper.
50
51 21 Jan 2012; Pawel Hajdan jr <phajdan.jr@g.o> libmikmod-3.1.12.ebuild:
52 x86 stable wrt bug #384713
53
54
55
56 1.1 media-libs/libmikmod/libmikmod-3.1.12-r1.ebuild
57
58 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/libmikmod-3.1.12-r1.ebuild?rev=1.1&view=markup
59 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
60
61 Index: libmikmod-3.1.12-r1.ebuild
62 ===================================================================
63 # Copyright 1999-2012 Gentoo Foundation
64 # Distributed under the terms of the GNU General Public License v2
65 # $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 $
66
67 # this ebuild is only for the libmikmod.so.2 SONAME for ABI compat
68
69 EAPI=2
70 inherit autotools eutils flag-o-matic multilib
71
72 DESCRIPTION="A library to play a wide range of module formats"
73 HOMEPAGE="http://mikmod.raphnet.net/"
74 SRC_URI="mirror://sourceforge/mikmod/${P}.tar.gz"
75
76 LICENSE="|| ( LGPL-2.1 LGPL-2 )"
77 SLOT="2"
78 KEYWORDS="~amd64 ~x86"
79 IUSE="+oss raw"
80
81 src_prepare() {
82 epatch "${FILESDIR}"/${P}-64bit.patch \
83 "${FILESDIR}"/${P}-autotools.patch \
84 "${FILESDIR}"/${PN}-3.2.0_beta2-info.patch \
85 "${FILESDIR}"/${PN}-3.2.0_beta2-doubleRegister.patch \
86 "${FILESDIR}"/${PN}-CVE-2007-6720.patch \
87 "${FILESDIR}"/${PN}-CVE-2009-0179.patch \
88 "${FILESDIR}"/${PN}-3.2.0_beta2-no-drv_raw.patch \
89 "${FILESDIR}"/${PN}-3.2.0_beta2-fix-vol-crash.patch \
90 "${FILESDIR}"/${PN}-3.2.0_beta2-fix-unload-crash.patch \
91 "${FILESDIR}"/${PN}-3.2.0_beta2-CVE-2009-3995-3996.patch \
92 "${FILESDIR}"/${PN}-3.2.0_beta2-CVE-2010-2546-2971.patch \
93 "${FILESDIR}"/${PN}-3.2.0_beta2-pa-workaround.patch
94
95 AT_M4DIR=${S} eautoreconf
96 }
97
98 src_configure() {
99 use raw && append-flags -DDRV_RAW
100
101 econf \
102 --disable-af \
103 --disable-alsa \
104 --disable-esd \
105 $(use_enable oss) \
106 --disable-static
107 }
108
109 src_install() {
110 exeinto /usr/$(get_libdir)
111 newexe ${PN}/.libs/${PN}.so.2.0.4 ${PN}.so.2 || die
112 }
113
114 pkg_postinst() {
115 use oss || ewarn "No audio output will be available because of USE=\"-oss\"."
116 }
117
118
119
120 1.1 media-libs/libmikmod/libmikmod-3.2.0_beta2-r3.ebuild
121
122 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmikmod/libmikmod-3.2.0_beta2-r3.ebuild?rev=1.1&view=markup
123 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
124
125 Index: libmikmod-3.2.0_beta2-r3.ebuild
126 ===================================================================
127 # Copyright 1999-2012 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $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 $
130
131 EAPI=2
132 MY_P=${P/_/-}
133 inherit autotools eutils flag-o-matic
134
135 DESCRIPTION="A library to play a wide range of module formats"
136 HOMEPAGE="http://mikmod.raphnet.net/"
137 SRC_URI="http://mikmod.raphnet.net/files/${MY_P}.tar.gz"
138
139 LICENSE="|| ( LGPL-2.1 LGPL-2 )"
140 SLOT="0"
141 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
142 # Enable OSS by default since ALSA support isn't available, look below
143 IUSE="+oss raw"
144
145 S=${WORKDIR}/${MY_P}
146
147 src_prepare() {
148 epatch "${FILESDIR}"/${P}-64bit.patch \
149 "${FILESDIR}"/${P}-autotools.patch \
150 "${FILESDIR}"/${P}-info.patch \
151 "${FILESDIR}"/${P}-doubleRegister.patch \
152 "${FILESDIR}"/${PN}-CVE-2007-6720.patch \
153 "${FILESDIR}"/${PN}-CVE-2009-0179.patch \
154 "${FILESDIR}"/${P}-no-drv_raw.patch \
155 "${FILESDIR}"/${P}-fix-vol-crash.patch \
156 "${FILESDIR}"/${P}-fix-unload-crash.patch \
157 "${FILESDIR}"/${P}-CVE-2009-3995-3996.patch \
158 "${FILESDIR}"/${P}-CVE-2010-2546-2971.patch \
159 "${FILESDIR}"/${P}-pa-workaround.patch
160
161 AT_M4DIR=${S} eautoreconf
162 }
163
164 src_configure() {
165 use raw && append-flags -DDRV_RAW
166
167 # * af is something called AF/AFlib.h and -lAF, not audiofile in tree
168 # * alsa support is for deprecated API and doesn't work
169 econf \
170 --disable-af \
171 --disable-alsa \
172 --disable-esd \
173 $(use_enable oss)
174 }
175
176 src_install() {
177 emake DESTDIR="${D}" install || die
178 dodoc AUTHORS NEWS README TODO
179 dohtml docs/*.html
180 }
181
182 pkg_postinst() {
183 use oss || ewarn "No audio output will be available because of USE=\"-oss\"."
184 }