diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-sound/shell-fm | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-sound/shell-fm')
-rw-r--r-- | media-sound/shell-fm/Manifest | 1 | ||||
-rw-r--r-- | media-sound/shell-fm/files/shell-fm-0.8-doublefree.patch | 24 | ||||
-rw-r--r-- | media-sound/shell-fm/metadata.xml | 13 | ||||
-rw-r--r-- | media-sound/shell-fm/shell-fm-0.8-r1.ebuild | 43 |
4 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/shell-fm/Manifest b/media-sound/shell-fm/Manifest new file mode 100644 index 000000000000..c007d53773e2 --- /dev/null +++ b/media-sound/shell-fm/Manifest @@ -0,0 +1 @@ +DIST shell-fm-0.8.tar.gz 54303 SHA256 b6d5b754c6ea0285c060f4989de730101dd6a172bb075a2a04b4649be33a06a3 diff --git a/media-sound/shell-fm/files/shell-fm-0.8-doublefree.patch b/media-sound/shell-fm/files/shell-fm-0.8-doublefree.patch new file mode 100644 index 000000000000..5054ee1ad024 --- /dev/null +++ b/media-sound/shell-fm/files/shell-fm-0.8-doublefree.patch @@ -0,0 +1,24 @@ +Fix double free crash: http://bugs.gentoo.org/392413 + +--- source/sckif.c ++++ source/sckif.c +@@ -39,6 +39,8 @@ + + #include "split.h" + ++#include "ropen.h" /* fshutdown */ ++ + struct hash track; + + static int stcpsck = -1, sunixsck = -1; +@@ -191,9 +193,7 @@ + + if(disconnect) { + debug("removing client\n"); +- shutdown(SHUT_RDWR, client_socket); +- close(client_socket); +- fclose(fd); ++ fshutdown(& fd); + + remove_handle(client_socket); + } diff --git a/media-sound/shell-fm/metadata.xml b/media-sound/shell-fm/metadata.xml new file mode 100644 index 000000000000..8868a09811d7 --- /dev/null +++ b/media-sound/shell-fm/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sound</herd> + <longdescription lang="en"> + Shell.FM is a lightweight console based player for Last.FM radio + streams. It's written mainly for Linux, but should be able to run on any + UNIX based system (even Mac OS X) with some minor tweaks. + </longdescription> + <upstream> + <remote-id type="github">jkramer/shell-fm</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-sound/shell-fm/shell-fm-0.8-r1.ebuild b/media-sound/shell-fm/shell-fm-0.8-r1.ebuild new file mode 100644 index 000000000000..76cd0962ebeb --- /dev/null +++ b/media-sound/shell-fm/shell-fm-0.8-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="A lightweight console based player for Last.FM radio streams" +HOMEPAGE="http://nex.scrapping.cc/shell-fm/" +SRC_URI="https://github.com/jkramer/${PN}/tarball/v${PV} -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="media-libs/libao + media-libs/libmad + media-libs/taglib" +DEPEND="${RDEPEND} + virtual/pkgconfig + sys-apps/sed" + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-doublefree.patch #392413 + + sed -i -e 's:-Os::' source/Makefile || die + + tc-export CC AR + use ppc && append-flags -DWORDS_BIGENDIAN=1 +} + +src_install() { + dobin source/${PN} + doman manual/${PN}.1 + exeinto /usr/share/${PN}/scripts + doexe scripts/{*.sh,*.pl,zcontrol} +} |