Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libsndfile: ChangeLog libsndfile-1.0.17-r1.ebuild
Date: Wed, 19 Sep 2007 15:45:24
Message-Id: E1IY1cL-0006RH-6Y@stork.gentoo.org
1 aballier 07/09/19 15:37:33
2
3 Modified: ChangeLog
4 Added: libsndfile-1.0.17-r1.ebuild
5 Log:
6 add a patch wrt to buffer overflow possibility, bug #192834
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.72 media-libs/libsndfile/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.72&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?rev=1.72&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/ChangeLog?r1=1.71&r2=1.72
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v
19 retrieving revision 1.71
20 retrieving revision 1.72
21 diff -u -r1.71 -r1.72
22 --- ChangeLog 6 Aug 2007 11:35:33 -0000 1.71
23 +++ ChangeLog 19 Sep 2007 15:37:32 -0000 1.72
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-libs/libsndfile
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.71 2007/08/06 11:35:33 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/ChangeLog,v 1.72 2007/09/19 15:37:32 aballier Exp $
29 +
30 +*libsndfile-1.0.17-r1 (19 Sep 2007)
31 +
32 + 19 Sep 2007; Alexis Ballier <aballier@g.o>
33 + +files/libsndfile-1.0.17-flac-buffer-overflow.patch,
34 + +libsndfile-1.0.17-r1.ebuild:
35 + add a patch wrt to buffer overflow possibility, bug #192834
36
37 06 Aug 2007; Samuli Suominen <drac@g.o> libsndfile-1.0.17.ebuild:
38 Install pkgconfig for bug 187856.
39
40
41
42 1.1 media-libs/libsndfile/libsndfile-1.0.17-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.17-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.17-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libsndfile-1.0.17-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/libsndfile/libsndfile-1.0.17-r1.ebuild,v 1.1 2007/09/19 15:37:32 aballier Exp $
52
53 WANT_AUTOCONF=2.5
54 WANT_AUTOMAKE=1.9
55
56 inherit eutils libtool autotools
57
58 DESCRIPTION="A C library for reading and writing files containing sampled sound"
59 HOMEPAGE="http://www.mega-nerd.com/libsndfile"
60 SRC_URI="http://www.mega-nerd.com/libsndfile/${P}.tar.gz
61 mirror://gentoo/${P}+flac-1.1.3.patch.bz2"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
66 IUSE="sqlite flac alsa"
67
68 RESTRICT="test"
69
70 RDEPEND="flac? ( media-libs/flac )
71 alsa? ( media-libs/alsa-lib )
72 sqlite? ( >=dev-db/sqlite-3.2 )"
73 DEPEND="${RDEPEND}
74 dev-util/pkgconfig"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79
80 epatch "${WORKDIR}/${P}+flac-1.1.3.patch"
81 epatch "${FILESDIR}/${P}-ogg.patch"
82 epatch "${FILESDIR}/${P}-flac-buffer-overflow.patch"
83 eautoreconf
84 epunt_cxx
85 }
86
87 src_compile() {
88 econf $(use_enable sqlite) \
89 $(use_enable flac) \
90 $(use_enable alsa) \
91 --disable-werror \
92 --disable-gcc-pipe \
93 --disable-dependency-tracking || die "econf failed."
94 emake || die "emake failed."
95 }
96
97 src_install() {
98 emake -j1 DESTDIR="${D}" htmldocdir="/usr/share/doc/${PF}/html" install || die "emake install failed."
99 dodoc AUTHORS ChangeLog NEWS README TODO
100 }
101
102
103
104 --
105 gentoo-commits@g.o mailing list