diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-18 08:48:12 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-10-18 08:48:12 +0000 |
commit | 6920094b58ea0765611bffbe500854c600fc7c6a (patch) | |
tree | bb58fea9c6c76e66b7f53f12034e5219e1019e1d /media-sound/banshee | |
parent | Version bump (diff) | |
download | historical-6920094b58ea0765611bffbe500854c600fc7c6a.tar.gz historical-6920094b58ea0765611bffbe500854c600fc7c6a.tar.bz2 historical-6920094b58ea0765611bffbe500854c600fc7c6a.zip |
old
Package-Manager: portage-2.2_rc96/cvs/Linux x86_64
Diffstat (limited to 'media-sound/banshee')
-rw-r--r-- | media-sound/banshee/Manifest | 5 | ||||
-rw-r--r-- | media-sound/banshee/banshee-1.4.3-r2.ebuild | 114 | ||||
-rw-r--r-- | media-sound/banshee/files/banshee-1.4.2-metadata-writefail.patch | 115 | ||||
-rw-r--r-- | media-sound/banshee/files/banshee-1.4.3-CVE-2009-1175.patch | 60 |
4 files changed, 0 insertions, 294 deletions
diff --git a/media-sound/banshee/Manifest b/media-sound/banshee/Manifest index 68d31a8b4147..4d09d5c20221 100644 --- a/media-sound/banshee/Manifest +++ b/media-sound/banshee/Manifest @@ -1,11 +1,6 @@ -AUX banshee-1.4.2-metadata-writefail.patch 5701 RMD160 3985a02b7f4e9013951d75090051ff4d8991916d SHA1 28ab88d8eb12801d4b2a2a9186c71c2904e88525 SHA256 179608931a113a660965689cdf077e066952b0c125c9648befbbe3bd07c13399 -AUX banshee-1.4.3-CVE-2009-1175.patch 2985 RMD160 c149b8783431a4673b2f2a330a2f5059f7a210d0 SHA1 78841e5dce317fb3e16cc10f4e1b9b6f7ac2b825 SHA256 d8678cadb3c62f809bb977ad2563877d05c33a86ff4c315fe9d89d2c80c82feb AUX banshee-1.7.4-make-webkit-optional.patch 2151 RMD160 70ad41d04763a5023f9863809f3e35c77f103ada SHA1 6acad219469ee67ada7a89508fb639922db12e22 SHA256 5f5ceea4e09dd9f9dca776b9775d6998faa641c7daa8968241b9bbddd6f72ecf -DIST banshee-1-1.4.3.tar.bz2 2415388 RMD160 06a76574efaa6bc0740d5c656dcbb2334ee84e73 SHA1 3b137c1efe3eb8881da2e86210104eb292a7c560 SHA256 8abe54b17c6755b7b6f617c8470ba5e84c94a96b86af9aac1031080646e142d1 DIST banshee-1-1.6.1.tar.bz2 3171776 RMD160 1fccab76a155bc04deac7bfc2278aeb8be387cdc SHA1 cf96ad0ed634d92652054a371883ecc427015384 SHA256 ff7f79a8b86a819cffe0ff88aa9f8ab9ea3e2fcc540f3c6e82bf150a505cacd0 DIST banshee-1-1.8.0.tar.bz2 3231763 RMD160 4568f84a8b2c2453a4b051d794c357a19c62d616 SHA1 cbd0f2828b54f05df6d88993c7770c0b6fc9ccde SHA256 321a5ee45c0e6b0df0e7767512ad5466773fb53dc0aaef491db0ec68377896af -DIST banshee-1.4.2-musicbrainz-fix.patch.bz2 14078 RMD160 185e306fe4705c2d317b6dbbaa11d69b4c52b4ca SHA1 a98a56346c8a3134959c3533ecae72a3979ef392 SHA256 d238408dce5eec001c0ff77dec3097c43414c4d897b456a45451a0a7e8975dbb -EBUILD banshee-1.4.3-r2.ebuild 3309 RMD160 2de0e84578b83272f55db8dec9454edbbd0b5f0e SHA1 0f77c4b424e8db1bd3f33d8abe7992e30b0a26aa SHA256 5d03b328cade2d5ea824c58a56346e10e756a8c3f652a71f61236a2425105447 EBUILD banshee-1.6.1.ebuild 3665 RMD160 058d1e6f40dd4fe4210fdd8d858b01d8b484bd66 SHA1 d316b6d0d0c52a84dde2e58eaef3cab508715732 SHA256 ae4e606bca0456d316bb78aa6798d69b00453d66d4652b83328bc7c1ff4504fb EBUILD banshee-1.8.0.ebuild 4269 RMD160 cb016e93843b08547005a3a8d5f882d62a278eb9 SHA1 22a668e8c5fb842a03a9ff317408367d58952b73 SHA256 99460dc11ee5c5c22a16a3a511f33411f844dd74e4e774ce7eb5a2da41087e40 MISC ChangeLog 23563 RMD160 fa4b07d732f5dd2f81f442dc21ab73503ad80c85 SHA1 9e5872b4e9299858f5c256f073c895048814f729 SHA256 f388559dca3ebf533ff7324de8f9bcc9ba97581e08afb5f5ebf61e93a7070620 diff --git a/media-sound/banshee/banshee-1.4.3-r2.ebuild b/media-sound/banshee/banshee-1.4.3-r2.ebuild deleted file mode 100644 index a59ba0af0844..000000000000 --- a/media-sound/banshee/banshee-1.4.3-r2.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/banshee/banshee-1.4.3-r2.ebuild,v 1.4 2010/01/24 14:04:16 ranger Exp $ - -EAPI=2 -inherit eutils mono gnome2-utils fdo-mime versionator - -DESCRIPTION="Import, organize, play, and share your music using a simple and powerful interface." -HOMEPAGE="http://banshee-project.org" - -BANSHEE_V2=$(get_version_component_range 2) -[[ $((${BANSHEE_V2} % 2)) -eq 0 ]] && RELTYPE=stable || RELTYPE=unstable -SRC_URI="http://download.banshee-project.org/${PN}/${RELTYPE}/${PV}/${PN}-1-${PV}.tar.bz2 - mirror://gentoo/banshee-1.4.2-musicbrainz-fix.patch.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="+aac boo daap doc +encode +flac ipod karma +mad mtp podcast test +vorbis" - -RDEPEND=">=dev-lang/mono-2 - gnome-base/gnome-settings-daemon - x11-themes/gnome-icon-theme - sys-apps/dbus - >=dev-dotnet/gtk-sharp-2.12 - >=dev-dotnet/gconf-sharp-2.24.0 - >=dev-dotnet/gnome-sharp-2.24.0 - >=dev-dotnet/notify-sharp-0.4.0_pre20080912-r1 - >=media-libs/gstreamer-0.10.21-r3:0.10 - media-libs/gst-plugins-bad - media-libs/gst-plugins-good:0.10 - media-libs/gst-plugins-ugly:0.10 - media-plugins/gst-plugins-alsa:0.10 - media-plugins/gst-plugins-gnomevfs:0.10 - media-plugins/gst-plugins-gconf:0.10 - || ( media-plugins/gst-plugins-cdparanoia:0.10 - media-plugins/gst-plugins-cdio:0.10 ) - media-libs/musicbrainz:1 - >=dev-dotnet/dbus-glib-sharp-0.4.1 - >=dev-dotnet/dbus-sharp-0.6.1a - >=dev-dotnet/mono-addins-0.4[gtk] - >=dev-dotnet/taglib-sharp-2.0.3.1 - >=dev-db/sqlite-3.4 - karma? ( >=media-libs/libkarma-0.1.0-r1 ) - aac? ( media-plugins/gst-plugins-faad:0.10 ) - boo? ( >=dev-lang/boo-0.8.1 ) - daap? ( >=dev-dotnet/mono-zeroconf-0.8.0-r1 ) - doc? ( virtual/monodoc ) - encode? ( media-plugins/gst-plugins-lame:0.10 - media-plugins/gst-plugins-taglib:0.10 ) - flac? ( media-plugins/gst-plugins-flac:0.10 ) - ipod? ( >=dev-dotnet/ipod-sharp-0.8.1 ) - mad? ( media-plugins/gst-plugins-mad:0.10 ) - mtp? ( media-libs/libmtp ) - vorbis? ( media-plugins/gst-plugins-ogg:0.10 - media-plugins/gst-plugins-vorbis:0.10 )" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -DOCS="AUTHORS ChangeLog HACKING NEWS README" - -S=${WORKDIR}/${PN}-1-${PV} - -src_prepare() { - epatch "${FILESDIR}/${PN}-1.4.2-metadata-writefail.patch" - - #Upstream bug 527788, our bug 249620 - #tacorner@cornersplace.org is author - epatch "${WORKDIR}/${PN}-1.4.2-musicbrainz-fix.patch" - - epatch "${FILESDIR}"/${P}-CVE-2009-1175.patch -} - -src_configure() { - local myconf="--disable-dependency-tracking --disable-static - --enable-gnome --enable-schemas-install - --with-gconf-schema-file-dir=/etc/gconf/schemas - --with-vendor-build-id=Gentoo/${PN}/${PVR}" - - econf \ - $(use_enable doc docs) \ - $(use_enable boo) \ - $(use_enable mtp) \ - $(use_enable daap) \ - $(use_enable ipod) \ - $(use_enable podcast) \ - $(use_enable karma) \ - ${myconf} -} - -src_compile() { - default -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - find "${D}" -name '*.la' -delete -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - gnome2_icon_cache_update -} diff --git a/media-sound/banshee/files/banshee-1.4.2-metadata-writefail.patch b/media-sound/banshee/files/banshee-1.4.2-metadata-writefail.patch deleted file mode 100644 index 64a63d807cc5..000000000000 --- a/media-sound/banshee/files/banshee-1.4.2-metadata-writefail.patch +++ /dev/null @@ -1,115 +0,0 @@ -Upstream bug 563283 by thansen from Freenode. - -diff -NrU5 banshee-1-1.4.2.orig/src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs banshee-1-1.4.2/src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs ---- banshee-1-1.4.2.orig/src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs 2008-10-06 18:27:31.000000000 +0200 -+++ banshee-1-1.4.2/src/Core/Banshee.Core/Banshee.Streaming/SaveTrackMetadataJob.cs 2009-01-28 16:56:18.000000000 +0100 -@@ -27,10 +27,11 @@ - // - - using System; - using Mono.Unix; - -+using Banshee.Base; - using Banshee.Collection; - using Banshee.Configuration.Schema; - - namespace Banshee.Streaming - { -@@ -84,26 +85,28 @@ - file.Tag.Comment = track.Comment; - file.Tag.Disc = (uint)track.DiscNumber; - file.Tag.DiscCount = (uint)track.DiscCount; - file.Tag.Year = (uint)track.Year; - file.Tag.BeatsPerMinute = (uint)track.Bpm; -- -- SaveIsCompilation (file.Tag, track.IsCompilation); -+ -+ SaveIsCompilation (file, track.IsCompilation); - file.Save (); - } - -- private static void SaveIsCompilation (TagLib.Tag tag, bool is_compilation) -+ private static void SaveIsCompilation (TagLib.File file, bool is_compilation) - { -- TagLib.Id3v2.Tag id3v2_tag = tag as TagLib.Id3v2.Tag; -- if (id3v2_tag != null) { -- id3v2_tag.IsCompilation = is_compilation; -- return; -- } -+ try { -+ TagLib.Id3v2.Tag id3v2_tag = file.GetTag(TagLib.TagTypes.Id3v2, true) as TagLib.Id3v2.Tag; -+ if (id3v2_tag != null) { -+ id3v2_tag.IsCompilation = is_compilation; -+ } -+ } catch {} - -- TagLib.Mpeg4.AppleTag apple_tag = tag as TagLib.Mpeg4.AppleTag; -- if (apple_tag != null) { -- apple_tag.IsCompilation = is_compilation; -- return; -- } -+ try { -+ TagLib.Mpeg4.AppleTag apple_tag = file.GetTag(TagLib.TagTypes.Apple,true) as TagLib.Mpeg4.AppleTag; -+ if (apple_tag != null) { -+ apple_tag.IsCompilation = is_compilation; -+ } -+ } catch {} - } - } - } -diff -NrU5 banshee-1-1.4.2.orig/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs banshee-1-1.4.2/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs ---- banshee-1-1.4.2.orig/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs 2009-01-09 00:17:58.000000000 +0100 -+++ banshee-1-1.4.2/src/Core/Banshee.Core/Banshee.Streaming/StreamTagger.cs 2009-01-28 16:57:49.000000000 +0100 -@@ -139,11 +139,11 @@ - FindTrackMediaAttributes (track, file); - - track.ArtistName = Choose (file.Tag.JoinedPerformers, track.ArtistName, preferTrackInfo); - track.AlbumTitle = Choose (file.Tag.Album, track.AlbumTitle, preferTrackInfo); - track.AlbumArtist = Choose (file.Tag.FirstAlbumArtist, track.AlbumArtist, preferTrackInfo); -- track.IsCompilation = IsCompilation (file.Tag); -+ track.IsCompilation = IsCompilation (file); - - track.TrackTitle = Choose (file.Tag.Title, track.TrackTitle, preferTrackInfo); - track.Genre = Choose (file.Tag.FirstGenre, track.Genre, preferTrackInfo); - track.Composer = Choose (file.Tag.FirstComposer, track.Composer, preferTrackInfo); - track.Conductor = Choose (file.Tag.Conductor, track.Conductor, preferTrackInfo); -@@ -180,25 +180,29 @@ - // TODO look for track number in the file name if not set? - // TODO could also pull artist/album from folders _iff_ files two levels deep in the MusicLibrary folder - // TODO these ideas could also be done in an extension that collects such hacks - } - -- private static bool IsCompilation (TagLib.Tag tag) -+ private static bool IsCompilation (TagLib.File file) - { -- TagLib.Id3v2.Tag id3v2_tag = tag as TagLib.Id3v2.Tag; -- if (id3v2_tag != null && id3v2_tag.IsCompilation) -- return true; -- -- TagLib.Mpeg4.AppleTag apple_tag = tag as TagLib.Mpeg4.AppleTag; -- if (apple_tag != null && apple_tag.IsCompilation) -- return true; -+ try { -+ TagLib.Id3v2.Tag id3v2_tag = file.GetTag(TagLib.TagTypes.Id3v2, true) as TagLib.Id3v2.Tag; -+ if (id3v2_tag != null && id3v2_tag.IsCompilation) -+ return true; -+ } catch {} - -+ try { -+ TagLib.Mpeg4.AppleTag apple_tag = file.GetTag(TagLib.TagTypes.Apple,true) as TagLib.Mpeg4.AppleTag; -+ if (apple_tag != null && apple_tag.IsCompilation) -+ return true; -+ } catch {} -+ - // FIXME the FirstAlbumArtist != FirstPerformer check might return true for half the - // tracks on a compilation album, but false for some - // TODO checked for 'Soundtrack' (and translated) in the title? -- if (tag.Performers.Length > 0 && tag.AlbumArtists.Length > 0 && -- (tag.Performers.Length != tag.AlbumArtists.Length || tag.FirstAlbumArtist != tag.FirstPerformer)) { -+ if (file.Tag.Performers.Length > 0 && file.Tag.AlbumArtists.Length > 0 && -+ (file.Tag.Performers.Length != file.Tag.AlbumArtists.Length || file.Tag.FirstAlbumArtist != file.Tag.FirstPerformer)) { - return true; - } - return false; - } - diff --git a/media-sound/banshee/files/banshee-1.4.3-CVE-2009-1175.patch b/media-sound/banshee/files/banshee-1.4.3-CVE-2009-1175.patch deleted file mode 100644 index 74c4b41ba19f..000000000000 --- a/media-sound/banshee/files/banshee-1.4.3-CVE-2009-1175.patch +++ /dev/null @@ -1,60 +0,0 @@ -From cfb7d764a4cb2e78e49345667ab3723702805c28 Mon Sep 17 00:00:00 2001 -From: Gabriel Burt <gabriel.burt@gmail.com> -Date: Mon, 04 May 2009 15:29:54 +0000 -Subject: Escape tainted values in HTML output in DAAP plugin (BGO #577270) - ---- -diff --git a/src/Extensions/Banshee.Daap/Banshee.Daap/DaapProxyWebServer.cs b/src/Extensions/Banshee.Daap/Banshee.Daap/DaapProxyWebServer.cs -index 8985066..bf1bad1 100644 ---- a/src/Extensions/Banshee.Daap/Banshee.Daap/DaapProxyWebServer.cs -+++ b/src/Extensions/Banshee.Daap/Banshee.Daap/DaapProxyWebServer.cs -@@ -192,7 +192,7 @@ namespace Banshee.Daap - body += "<ul>"; - foreach(DAAP.Database database in (ArrayList)databases.Clone()) { - body += String.Format("<li><a href=\"/{0}\">{1} ({2} Tracks)</a></li>", -- database.GetHashCode(), database.Name, database.TrackCount); -+ database.GetHashCode(), Escape (database.Name), database.TrackCount); - } - body += "</ul>"; - } -@@ -209,7 +209,7 @@ namespace Banshee.Daap - continue; - } - -- body = GetHtmlHeader("Tracks in " + database.Name); -+ body = GetHtmlHeader("Tracks in " + Escape (database.Name)); - - if(database.TrackCount == 0) { - body += "<blockquote><p><em>No songs in this database.</em></p></blockquote>"; -@@ -217,7 +217,7 @@ namespace Banshee.Daap - body += "<p>Showing all " + database.TrackCount + " songs:</p><ul>"; - foreach(DAAP.Track song in database.Tracks) { - body += String.Format("<li><a href=\"/{0}/{1}\">{2} - {3}</a> ({4}:{5})</li>", -- database.GetHashCode(), song.Id, song.Artist, song.Title, -+ database.GetHashCode(), song.Id, Escape (song.Artist), Escape (song.Title), - song.Duration.Minutes, song.Duration.Seconds.ToString("00")); - } - body += "</ul>"; -@@ -275,7 +275,7 @@ namespace Banshee.Daap - code = HttpStatusCode.BadRequest; - body = GetHtmlHeader("Invalid Request"); - body += String.Format("<p>The request '{0}' could not be processed by server.</p>", -- split_request[1]); -+ Escape (split_request[1])); - } - - WriteResponse(client, code, body + GetHtmlFooter()); -@@ -351,6 +351,11 @@ namespace Banshee.Daap - } - } - } -+ -+ private static string Escape (string input) -+ { -+ return String.IsNullOrEmpty (input) ? "" : System.Web.HttpUtility.HtmlEncode (input); -+ } - - private static string GetHtmlHeader(string title) - { --- -cgit v0.8.2 |