From 173d9476598c7bfe27054db5122f153797f7dfe1 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Wed, 14 Mar 2007 17:22:43 +0000 Subject: [PATCH] =?utf8?q?Bump=20to=200.2.37=20=09*=20Fix=20null=20derefs?= =?utf8?q?=20and=20leaks=20reported=20by=20Covertiy=20(kjartan)=20=09*=20B?= =?utf8?q?uild=20fixes=20(David=20Schleef,=20Thomas=20Zajic,=20Behdad=20Es?= =?utf8?q?fahbod)=20=09*=20Disable=20autospawning=20(David=20Schleef)=20?= =?utf8?q?=09*=20Close=20filedescriptors=20and=20sockets=20(David=20Schlee?= =?utf8?q?f)=20=09*=20Don't=20terminate=20until=20the=20last=20sample=20is?= =?utf8?q?=20done=20(David=20Schleef)=20=09*=20Add=20checks=20for=20client?= =?utf8?q?s=20disconnecting=20(Peter=20=C3=85strand)=20=09*=20Updated=20ma?= =?utf8?q?n=20pages=20(Christopher=20Hanna)=20=09*=20Use=20pkg-config=20to?= =?utf8?q?=20check=20for=20audiofile=20(Frederic=20Peters)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Package-Manager: portage-2.1.2.2 --- media-sound/esound/ChangeLog | 15 +++- media-sound/esound/Manifest | 24 ++++-- media-sound/esound/esound-0.2.37.ebuild | 80 +++++++++++++++++++ media-sound/esound/files/digest-esound-0.2.37 | 3 + 4 files changed, 113 insertions(+), 9 deletions(-) create mode 100644 media-sound/esound/esound-0.2.37.ebuild create mode 100644 media-sound/esound/files/digest-esound-0.2.37 diff --git a/media-sound/esound/ChangeLog b/media-sound/esound/ChangeLog index 2f70355ea24b..2d3cddde78cb 100644 --- a/media-sound/esound/ChangeLog +++ b/media-sound/esound/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for media-sound/esound # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v 1.91 2007/01/22 09:18:38 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/ChangeLog,v 1.92 2007/03/14 17:22:43 dang Exp $ + +*esound-0.2.37 (14 Mar 2007) + + 14 Mar 2007; Daniel Gryniewicz +esound-0.2.37.ebuild: + Bump to 0.2.37 + * Fix null derefs and leaks reported by Covertiy (kjartan) + * Build fixes (David Schleef, Thomas Zajic, Behdad Esfahbod) + * Disable autospawning (David Schleef) + * Close filedescriptors and sockets (David Schleef) + * Don't terminate until the last sample is done (David Schleef) + * Add checks for clients disconnecting (Peter Åstrand) + * Updated man pages (Christopher Hanna) + * Use pkg-config to check for audiofile (Frederic Peters) 22 Jan 2007; Diego Pettenò -esound-0.2.34.ebuild: Remove old version. diff --git a/media-sound/esound/Manifest b/media-sound/esound/Manifest index 3a616f326814..547c8951700f 100644 --- a/media-sound/esound/Manifest +++ b/media-sound/esound/Manifest @@ -30,6 +30,7 @@ MD5 5cdfe4c743e91867fc96ecf5df1b263b files/esound.init.d.2 988 RMD160 af58377babe1681ae80bf8b3e85bc084360da215 files/esound.init.d.2 988 SHA256 9b568155e4dc9f7be013bb71a6990eca3d2c6a6dff7600f5c18f9cfc92f7ac89 files/esound.init.d.2 988 DIST esound-0.2.36.tar.bz2 369952 RMD160 1a6d4a1f31311e6265324fb1a392f9b0491cf1f9 SHA1 66f451ff5a6b9cae8d49b196a536cf49f3f1755c SHA256 68bf399fcbd45c5e9ba99cd13a3a479e4ef2bc5dc52e540ffa00aef1e1b19a76 +DIST esound-0.2.37.tar.bz2 383831 RMD160 36f6630df4fa3c611d9b7ff40157504334535abe SHA1 f5fd4a138598b01471907cd758077513c45a0dc4 SHA256 3c8525c08cce45557832cb20cc74e7b3d6c9664410f117372391b59fda2d4147 EBUILD esound-0.2.36-r1.ebuild 1876 RMD160 5c34e28212a0c98904f0e5e09fdb2d2f7345d4ab SHA1 b341e8fe1b2afa3a063352dc3946f93d42d8ddf7 SHA256 623a2a335490cd2b6645ba3f394f0a35d94af6b89ab383b31cd10340df5dd495 MD5 cafb460f5a3ab40fb643e98c914a744c esound-0.2.36-r1.ebuild 1876 RMD160 5c34e28212a0c98904f0e5e09fdb2d2f7345d4ab esound-0.2.36-r1.ebuild 1876 @@ -38,10 +39,14 @@ EBUILD esound-0.2.36-r2.ebuild 2064 RMD160 725e574ff9471c0c5c91256d4cb33e091263d MD5 44636a5ea87de80085ec35335b8a0f38 esound-0.2.36-r2.ebuild 2064 RMD160 725e574ff9471c0c5c91256d4cb33e091263d675 esound-0.2.36-r2.ebuild 2064 SHA256 5d489c8dec511ce8c0e43a24c39f1c52f448679d42d6898408c24cfd8599dc3b esound-0.2.36-r2.ebuild 2064 -MISC ChangeLog 11557 RMD160 054382e9ee546b3020361e6109c81cdc7db4c234 SHA1 862e8cd0d4496f8412bdf595f42f1a00db2f4a24 SHA256 96f5a5b1d34c0793ac3502d0609e8276ede81255b6aba5d00fb0e505c090a746 -MD5 c2eb7072d976e9498835086132eceee8 ChangeLog 11557 -RMD160 054382e9ee546b3020361e6109c81cdc7db4c234 ChangeLog 11557 -SHA256 96f5a5b1d34c0793ac3502d0609e8276ede81255b6aba5d00fb0e505c090a746 ChangeLog 11557 +EBUILD esound-0.2.37.ebuild 2092 RMD160 acd27307f6ade0d39e05ba52e5da03bc1b30e65b SHA1 44c0a54c1ef519fb655303fd17ac273c97deafb0 SHA256 95acd9f3ec296875fac7c9e6be0f3adb3940d24e0e7e5b21252cf383b5a91f4a +MD5 d702f516551c439767ea90fa973382d5 esound-0.2.37.ebuild 2092 +RMD160 acd27307f6ade0d39e05ba52e5da03bc1b30e65b esound-0.2.37.ebuild 2092 +SHA256 95acd9f3ec296875fac7c9e6be0f3adb3940d24e0e7e5b21252cf383b5a91f4a esound-0.2.37.ebuild 2092 +MISC ChangeLog 12128 RMD160 82e9d7f00ee9379d98dcd2baac21f5f6d8d0958d SHA1 17504d05f26e915dd158e6a4dc390f92a331daf6 SHA256 7dc1b73fc1b2e7245a454a6564f8a5017d244c7883362740bda57822a389e7c5 +MD5 5bc329f1a852d9a9c66469fdafda6d76 ChangeLog 12128 +RMD160 82e9d7f00ee9379d98dcd2baac21f5f6d8d0958d ChangeLog 12128 +SHA256 7dc1b73fc1b2e7245a454a6564f8a5017d244c7883362740bda57822a389e7c5 ChangeLog 12128 MISC metadata.xml 177 RMD160 c4ff678488aa3bd8f3e5e4cf6e52a56caba3dad9 SHA1 73b04fb757f8a6473a2c43b0807a95381da37afc SHA256 dfb196addaf8aa212436c53c3d47cda0d10c2850c59fa2dcb7554dfa10190af2 MD5 b263ff7675308d90b75a170acae3f5ff metadata.xml 177 RMD160 c4ff678488aa3bd8f3e5e4cf6e52a56caba3dad9 metadata.xml 177 @@ -52,10 +57,13 @@ SHA256 16ece8103a44cee10de1d41a141f1977347b58400ae28d017bd88f6f7e529c86 files/di MD5 c66f1145b5ad855011d64cc0a4c981e1 files/digest-esound-0.2.36-r2 244 RMD160 b7bc1d028470b463042a4ae50b4ca01e2eb662ad files/digest-esound-0.2.36-r2 244 SHA256 16ece8103a44cee10de1d41a141f1977347b58400ae28d017bd88f6f7e529c86 files/digest-esound-0.2.36-r2 244 +MD5 8f0274cece4407ca84077c1baa884261 files/digest-esound-0.2.37 244 +RMD160 d11b14e690758ea5f84308c82185fac37f1a4924 files/digest-esound-0.2.37 244 +SHA256 72b8cd9f0d4ee6501c2c4671c0e6745af03cc90be5751823dca63fc5af3b15d1 files/digest-esound-0.2.37 244 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.1 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFFtIF2AiZjviIA2XgRAs6ZAJ41tWKdpS/zEIOEB9bk5BkmQfZHdgCfXrS/ -FiB2N8mK0kOcoe9RIFVUCN0= -=mkeE +iD8DBQFF+C7QomPajV0RnrERAubNAJ9qM7GuIpJ80JgwvhcxN43E8EDkLgCeJbYv +NDcgGBV7TCOS1SHs4hO+kWc= +=fu24 -----END PGP SIGNATURE----- diff --git a/media-sound/esound/esound-0.2.37.ebuild b/media-sound/esound/esound-0.2.37.ebuild new file mode 100644 index 000000000000..1f13d77e1dc8 --- /dev/null +++ b/media-sound/esound/esound-0.2.37.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/esound/esound-0.2.37.ebuild,v 1.1 2007/03/14 17:22:43 dang Exp $ + +WANT_AUTOMAKE=1.10 +inherit libtool gnome.org eutils autotools flag-o-matic + +DESCRIPTION="The Enlightened Sound Daemon" +HOMEPAGE="http://www.tux.org/~ricdude/EsounD.html" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="alsa debug ipv6 tcpd" + +# esound comes with arts support, but it hasn't been tested yet, feel free to +# submit patches/improvements +DEPEND=">=media-libs/audiofile-0.1.5 + alsa? ( >=media-libs/alsa-lib-0.5.10b ) + tcpd? ( >=sys-apps/tcp-wrappers-7.6-r2 )" +# arts? ( kde-base/arts ) + +RDEPEND="${DEPEND} + app-admin/eselect-esd" + +src_unpack() { + + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-0.2.32-amd64.patch" + # please note, this is a conditional, version specific patch!!! + # when bumping avoid bugs like #103969 + use ppc-macos && epatch "${FILESDIR}/${PN}-0.2.36-ppc-macos.patch" + + epatch "${FILESDIR}/${PN}-0.2.36-mode_t.patch" + epatch "${FILESDIR}/${PN}-0.2.36-asneeded.patch" + + + AT_M4DIR="m4" eautomake + + elibtoolize +} + +src_compile() { + # Strict aliasing problem + append-flags -fno-strict-aliasing + + econf \ + --sysconfdir=/etc/esd \ + $(use_enable ipv6) \ + $(use_enable debug debugging) \ + $(use_enable alsa) \ + $(use_with tcpd libwrap) \ + --disable-dependency-tracking \ + || die "Configure failed" + + emake || die "Make failed" +} + +src_install() { + emake -j1 DESTDIR="${D}" install || die "Installation failed" + mv "${D}/usr/bin/"{esd,esound-esd} + + dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TIPS TODO + + [[ -d "docs/html" ]] && dohtml -r docs/html/* + + newconfd "${FILESDIR}/esound.conf.d" esound + + extradepend="" + use tcpd && extradepend=" portmap" + use alsa && extradepend="$extradepend alsasound" + sed -e "s/@extradepend@/$extradepend/" "${FILESDIR}/esound.init.d.2" >"${T}/esound" + doinitd "${T}/esound" +} + +pkg_postinst() { + eselect esd update --if-unset +} diff --git a/media-sound/esound/files/digest-esound-0.2.37 b/media-sound/esound/files/digest-esound-0.2.37 new file mode 100644 index 000000000000..d3bcabe648f0 --- /dev/null +++ b/media-sound/esound/files/digest-esound-0.2.37 @@ -0,0 +1,3 @@ +MD5 99cc68770176c8940cf346f60208420e esound-0.2.37.tar.bz2 383831 +RMD160 36f6630df4fa3c611d9b7ff40157504334535abe esound-0.2.37.tar.bz2 383831 +SHA256 3c8525c08cce45557832cb20cc74e7b3d6c9664410f117372391b59fda2d4147 esound-0.2.37.tar.bz2 383831 -- 2.26.2