1 |
commit: f707d401f5560d359d7eafaa955ab6dee318500f |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 26 08:26:31 2016 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 08:26:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f707d401 |
7 |
|
8 |
media-sound/shoutcast-server-bin: package removed per security bug 261182 |
9 |
|
10 |
media-sound/shoutcast-server-bin/Manifest | 1 - |
11 |
.../files/1.9.8-sc_serv.conf.patch | 44 -------------- |
12 |
media-sound/shoutcast-server-bin/files/shoutcast.2 | 30 ---------- |
13 |
media-sound/shoutcast-server-bin/metadata.xml | 8 --- |
14 |
.../shoutcast-server-bin-1.9.8-r1.ebuild | 70 ---------------------- |
15 |
5 files changed, 153 deletions(-) |
16 |
|
17 |
diff --git a/media-sound/shoutcast-server-bin/Manifest b/media-sound/shoutcast-server-bin/Manifest |
18 |
deleted file mode 100644 |
19 |
index 080cf57..0000000 |
20 |
--- a/media-sound/shoutcast-server-bin/Manifest |
21 |
+++ /dev/null |
22 |
@@ -1 +0,0 @@ |
23 |
-DIST sc_serv_1.9.8_Linux.tar.gz 60840 RMD160 b3618ece0a8939b826776fef313707675e846ece SHA1 8edf72fd3891630143f531cdd6b8bf13688b4ee3 SHA256 bb3a6eea5178ee79a014bbf0192bc44447c7a0c4fceb8872b9580153ba434fe6 |
24 |
|
25 |
diff --git a/media-sound/shoutcast-server-bin/files/1.9.8-sc_serv.conf.patch b/media-sound/shoutcast-server-bin/files/1.9.8-sc_serv.conf.patch |
26 |
deleted file mode 100644 |
27 |
index 09bf6af..0000000 |
28 |
--- a/media-sound/shoutcast-server-bin/files/1.9.8-sc_serv.conf.patch |
29 |
+++ /dev/null |
30 |
@@ -1,44 +0,0 @@ |
31 |
---- sc_serv.conf.orig 2007-02-28 21:35:24.000000000 +0200 |
32 |
-+++ sc_serv.conf 2009-07-22 17:42:45.000000000 +0300 |
33 |
-@@ -50,17 +50,17 @@ |
34 |
- ; Note: on win32 systems if no path is specified the location is |
35 |
- ; in the same dir as the executable, on *nix systems it is in the |
36 |
- ; current directory. |
37 |
--LogFile=sc_serv.log |
38 |
-+LogFile=/dev/null |
39 |
- |
40 |
- ; RealTime displays a status line that is updated every second |
41 |
- ; with the latest information on the current stream (*nix and win32 |
42 |
- ; console systems only) |
43 |
--RealTime=1 |
44 |
-+RealTime=0 |
45 |
- |
46 |
- ; ScreenLog controls whether logging is printed to the screen or not |
47 |
- ; on *nix and win32 console systems. It is useful to disable this when |
48 |
- ; running servers in background without their own terminals. Default is 1 |
49 |
--ScreenLog=1 |
50 |
-+ScreenLog=0 |
51 |
- |
52 |
- ; ShowLastSongs specifies how many songs to list in the /played.html |
53 |
- ; page. The default is 10. Acceptable entries are 1 to 20. |
54 |
-@@ -91,7 +91,7 @@ |
55 |
- |
56 |
- ; W3CLog describes the name of the logfile for W3C logging. Default logfile is |
57 |
- ; sc_w3c.log, in the same directory wherever the DNAS gets started from. |
58 |
--W3CLog=sc_w3c.log |
59 |
-+W3CLog=/dev/null |
60 |
- |
61 |
- |
62 |
- ; *************************** |
63 |
-@@ -153,9 +153,9 @@ |
64 |
- |
65 |
- ; ContentDir specifies the directory location on disk of where to stream |
66 |
- ; on-demand content from. Subdirectories are supported as of DNAS 1.8.2. |
67 |
--; Default is ./content, meaning a directory named content in the same directory |
68 |
-+; Default is ./content/, meaning a directory named content in the same directory |
69 |
- ; as where sc_serv was invoked from. |
70 |
--; ContentDir=./content |
71 |
-+ContentDir=/opt/shoutcast/content/ |
72 |
- |
73 |
- ; IntroFile can specify a mp3 file that will be streamed to listeners right |
74 |
- ; when they connect before they hear the live stream. |
75 |
|
76 |
diff --git a/media-sound/shoutcast-server-bin/files/shoutcast.2 b/media-sound/shoutcast-server-bin/files/shoutcast.2 |
77 |
deleted file mode 100644 |
78 |
index bd8e07b..0000000 |
79 |
--- a/media-sound/shoutcast-server-bin/files/shoutcast.2 |
80 |
+++ /dev/null |
81 |
@@ -1,30 +0,0 @@ |
82 |
-#!/sbin/runscript |
83 |
- |
84 |
-depend() { |
85 |
- need localmount |
86 |
-} |
87 |
- |
88 |
-checkconfig() { |
89 |
- if ! [ -f /etc/shoutcast/sc_serv.conf ]; then |
90 |
- eerror "Can't find /etc/shoutcast/sc_serv.conf!" |
91 |
- return 1 |
92 |
- fi |
93 |
- |
94 |
- return 0 |
95 |
-} |
96 |
- |
97 |
-start() { |
98 |
- checkconfig || return 1 |
99 |
- |
100 |
- ebegin "Starting SHOUTcast" |
101 |
- start-stop-daemon --background --start --quiet --user shoutcast \ |
102 |
- --group nogroup --make-pidfile --pidfile /var/run/sc_serv.pid \ |
103 |
- --exec /opt/bin/sc_serv /etc/shoutcast/sc_serv.conf |
104 |
- eend $? |
105 |
-} |
106 |
- |
107 |
-stop() { |
108 |
- ebegin "Stopping SHOUTcast" |
109 |
- start-stop-daemon --stop --pidfile /var/run/sc_serv.pid --name sc_serv |
110 |
- eend $? |
111 |
-} |
112 |
|
113 |
diff --git a/media-sound/shoutcast-server-bin/metadata.xml b/media-sound/shoutcast-server-bin/metadata.xml |
114 |
deleted file mode 100644 |
115 |
index c870d0e..0000000 |
116 |
--- a/media-sound/shoutcast-server-bin/metadata.xml |
117 |
+++ /dev/null |
118 |
@@ -1,8 +0,0 @@ |
119 |
-<?xml version="1.0" encoding="UTF-8"?> |
120 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
121 |
-<pkgmetadata> |
122 |
-<maintainer type="project"> |
123 |
- <email>sound@g.o</email> |
124 |
- <name>Gentoo Sound project</name> |
125 |
-</maintainer> |
126 |
-</pkgmetadata> |
127 |
|
128 |
diff --git a/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild b/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild |
129 |
deleted file mode 100644 |
130 |
index f192799..0000000 |
131 |
--- a/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild |
132 |
+++ /dev/null |
133 |
@@ -1,70 +0,0 @@ |
134 |
-# Copyright 1999-2012 Gentoo Foundation |
135 |
-# Distributed under the terms of the GNU General Public License v2 |
136 |
-# $Id$ |
137 |
- |
138 |
-EAPI=2 |
139 |
-inherit eutils user |
140 |
- |
141 |
-DESCRIPTION="SHOUTcast is a streaming audio system" |
142 |
-HOMEPAGE="http://www.shoutcast.com/license" |
143 |
-SRC_URI="sc_serv_${PV}_Linux.tar.gz" |
144 |
- |
145 |
-LICENSE="shoutcast" |
146 |
-SLOT="0" |
147 |
-KEYWORDS="-* amd64 x86" |
148 |
-IUSE="" |
149 |
- |
150 |
-RDEPEND="" |
151 |
-DEPEND="" |
152 |
- |
153 |
-QA_PRESTRIPPED=/opt/bin/sc_serv |
154 |
- |
155 |
-RESTRICT="fetch" |
156 |
- |
157 |
-S=${WORKDIR} |
158 |
- |
159 |
-pkg_nofetch() { |
160 |
- elog "Download ${A} from ${HOMEPAGE} and copy it to ${DISTDIR}." |
161 |
-} |
162 |
- |
163 |
-pkg_setup() { |
164 |
- enewuser shoutcast -1 -1 -1 nogroup |
165 |
-} |
166 |
- |
167 |
-src_prepare() { |
168 |
- epatch "${FILESDIR}"/${PV}-sc_serv.conf.patch |
169 |
-} |
170 |
- |
171 |
-src_install() { |
172 |
- into /opt |
173 |
- dobin sc_serv || die "dobin failed" |
174 |
- |
175 |
- newinitd "${FILESDIR}"/shoutcast.2 shoutcast || die "newinitd failed" |
176 |
- dodir /opt/shoutcast/content |
177 |
- |
178 |
- insinto /etc/shoutcast |
179 |
- doins sc_serv.conf || die "doins failed" |
180 |
- |
181 |
- dodoc README.TXT |
182 |
- |
183 |
- fowners -R shoutcast:nogroup /{etc,opt}/shoutcast || die "chown failed" |
184 |
- fperms -R 700 /{etc,opt}/shoutcast || die "chmod failed" |
185 |
-} |
186 |
- |
187 |
-pkg_postinst() { |
188 |
- elog |
189 |
- elog "To start shoutcast, use the init.d script by running" |
190 |
- elog "/etc/init.d/shoutcast." |
191 |
- elog |
192 |
- elog "On demand content should be stored in /opt/shoutcast/content" |
193 |
- elog "See http://forums.winamp.com/showthread.php?threadid=75736 for" |
194 |
- elog "more information on setting up on demand content" |
195 |
- elog |
196 |
- elog "FAQ's can be found at:" |
197 |
- elog "http://forums.winamp.com/showthread.php?threadid=75736 " |
198 |
- elog "and can help you with server setup." |
199 |
- elog |
200 |
- elog "An Gentoo Linux shoutcast guide can be found at " |
201 |
- elog "https://www.gentoo.org/doc/en/shoutcast-config.xml" |
202 |
- elog |
203 |
-} |