1 |
ssuominen 09/07/22 15:38:18 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: shoutcast-server-bin-1.9.8-r1.ebuild |
5 |
Log: |
6 |
Don't run as root wrt #165331. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.23 media-sound/shoutcast-server-bin/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog?rev=1.23&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog?rev=1.23&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog?r1=1.22&r2=1.23 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v |
19 |
retrieving revision 1.22 |
20 |
retrieving revision 1.23 |
21 |
diff -u -r1.22 -r1.23 |
22 |
--- ChangeLog 12 May 2009 11:23:50 -0000 1.22 |
23 |
+++ ChangeLog 22 Jul 2009 15:38:18 -0000 1.23 |
24 |
@@ -1,14 +1,13 @@ |
25 |
# ChangeLog for media-sound/shoutcast-server-bin |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.22 2009/05/12 11:23:50 ssuominen Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/ChangeLog,v 1.23 2009/07/22 15:38:18 ssuominen Exp $ |
29 |
|
30 |
- 12 May 2009; Samuli Suominen <ssuominen@g.o> |
31 |
- shoutcast-server-bin-1.9.8.ebuild: |
32 |
- Fix SRC_URI wrt #250223, thanks to Thomas Beierlein. |
33 |
+*shoutcast-server-bin-1.9.8-r1 (22 Jul 2009) |
34 |
|
35 |
- 02 Jul 2007; Piotr JaroszyĆski <peper@g.o> |
36 |
- shoutcast-server-bin-1.9.7.ebuild, shoutcast-server-bin-1.9.8.ebuild: |
37 |
- (QA) RESTRICT clean up. |
38 |
+ 22 Jul 2009; Samuli Suominen <ssuominen@g.o> |
39 |
+ +files/1.9.8-sc_serv.conf.patch, +shoutcast-server-bin-1.9.8-r1.ebuild, |
40 |
+ +files/shoutcast.2: |
41 |
+ Don't run as root wrt #165331. |
42 |
|
43 |
19 Apr 2007; Christian Faulhammer <opfer@g.o> |
44 |
shoutcast-server-bin-1.9.8.ebuild: |
45 |
|
46 |
|
47 |
|
48 |
1.1 media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: shoutcast-server-bin-1.9.8-r1.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2009 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/shoutcast-server-bin/shoutcast-server-bin-1.9.8-r1.ebuild,v 1.1 2009/07/22 15:38:18 ssuominen Exp $ |
58 |
|
59 |
EAPI=2 |
60 |
inherit eutils |
61 |
|
62 |
DESCRIPTION="SHOUTcast is a streaming audio system" |
63 |
HOMEPAGE="http://www.shoutcast.com/license" |
64 |
SRC_URI="sc_serv_${PV}_Linux.tar.gz" |
65 |
|
66 |
LICENSE="shoutcast" |
67 |
SLOT="0" |
68 |
KEYWORDS="-* ~amd64 ~x86" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND="" |
72 |
DEPEND="" |
73 |
|
74 |
QA_PRESTRIPPED=/opt/bin/sc_serv |
75 |
|
76 |
RESTRICT="fetch" |
77 |
|
78 |
S=${WORKDIR} |
79 |
|
80 |
pkg_nofetch() { |
81 |
elog "Download ${A} from ${HOMEPAGE} and copy it to ${DISTDIR}." |
82 |
} |
83 |
|
84 |
pkg_setup() { |
85 |
enewuser shoutcast -1 -1 -1 nogroup |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
epatch "${FILESDIR}"/${PV}-sc_serv.conf.patch |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
into /opt |
94 |
dobin sc_serv || die "dobin failed" |
95 |
|
96 |
newinitd "${FILESDIR}"/shoutcast.2 shoutcast || die "newinitd failed" |
97 |
dodir /opt/shoutcast/content |
98 |
|
99 |
insinto /etc/shoutcast |
100 |
doins sc_serv.conf || die "doins failed" |
101 |
|
102 |
dodoc README.TXT |
103 |
|
104 |
fowners -R shoutcast:nogroup /{etc,opt}/shoutcast || die "chown failed" |
105 |
fperms -R 700 /{etc,opt}/shoutcast || die "chmod failed" |
106 |
} |
107 |
|
108 |
pkg_postinst() { |
109 |
elog |
110 |
elog "To start shoutcast, use the init.d script by running" |
111 |
elog "/etc/init.d/shoutcast." |
112 |
elog |
113 |
elog "On demand content should be stored in /opt/shoutcast/content" |
114 |
elog "See http://forums.winamp.com/showthread.php?threadid=75736 for" |
115 |
elog "more information on setting up on demand content" |
116 |
elog |
117 |
elog "FAQ's can be found at:" |
118 |
elog "http://forums.winamp.com/showthread.php?threadid=75736 " |
119 |
elog "and can help you with server setup." |
120 |
elog |
121 |
elog "An Gentoo Linux shoutcast guide can be found at " |
122 |
elog "http://www.gentoo.org/doc/en/shoutcast-config.xml" |
123 |
elog |
124 |
} |