add icecast
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
diff -Naur icecast-2.3.2.orig/conf/icecast.xml.in icecast-2.3.2/conf/icecast.xml.in
|
||||
--- icecast-2.3.2.orig/conf/icecast.xml.in 2008-04-04 18:14:10.000000000 +0300
|
||||
+++ icecast-2.3.2/conf/icecast.xml.in 2008-09-28 01:01:51.000000000 +0300
|
||||
@@ -7,8 +7,8 @@
|
||||
<client-timeout>30</client-timeout>
|
||||
<header-timeout>15</header-timeout>
|
||||
<source-timeout>10</source-timeout>
|
||||
- <!-- If enabled, this will provide a burst of data when a client
|
||||
- first connects, thereby significantly reducing the startup
|
||||
+ <!-- If enabled, this will provide a burst of data when a client
|
||||
+ first connects, thereby significantly reducing the startup
|
||||
time for listeners that do substantial buffering. However,
|
||||
it also significantly increases latency between the source
|
||||
client and listening client. For low-latency setups, you
|
||||
@@ -102,7 +102,7 @@
|
||||
<hidden>1</hidden>
|
||||
<no-yp>1</no-yp>
|
||||
<authentication type="htpasswd">
|
||||
- <option name="filename" value="myauth"/>
|
||||
+ <option name="filename" value="/usr/share/icecast/myauth"/>
|
||||
<option name="allow_duplicate_users" value="0"/>
|
||||
</authentication>
|
||||
<on-connect>/home/icecast/bin/stream-start</on-connect>
|
||||
@@ -129,10 +129,10 @@
|
||||
|
||||
<!-- Note that if <chroot> is turned on below, these paths must both
|
||||
be relative to the new root, not the original root -->
|
||||
- <logdir>@localstatedir@/log/@PACKAGE@</logdir>
|
||||
+ <logdir>/var/log/icecast</logdir>
|
||||
<webroot>@pkgdatadir@/web</webroot>
|
||||
<adminroot>@pkgdatadir@/admin</adminroot>
|
||||
- <!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
|
||||
+ <pidfile>/run/icecast/icecast.pid</pidfile>
|
||||
|
||||
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
|
||||
May be made specific to a port or bound address using the "port"
|
||||
@@ -164,11 +164,10 @@
|
||||
|
||||
<security>
|
||||
<chroot>0</chroot>
|
||||
- <!--
|
||||
+ <!--test for logrotate soon-->
|
||||
<changeowner>
|
||||
- <user>nobody</user>
|
||||
- <group>nogroup</group>
|
||||
+ <user>icecast</user>
|
||||
+ <group>icecast</group>
|
||||
</changeowner>
|
||||
- -->
|
||||
</security>
|
||||
</icecast>
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -Naur icecast-2.3.2.orig/m4/acx_pthread.m4 icecast-2.3.2/m4/acx_pthread.m4
|
||||
--- icecast-2.3.2.orig/m4/acx_pthread.m4 2009-02-22 00:33:42.000000000 +0200
|
||||
+++ icecast-2.3.2/m4/acx_pthread.m4 2009-05-01 05:27:18.000000000 +0300
|
||||
@@ -63,7 +63,7 @@
|
||||
# pthread-config: use pthread-config program (for GNU Pth library)
|
||||
|
||||
case "${host_cpu}-${host_os}" in
|
||||
- *solaris*)
|
||||
+ *solaris*|*linux*)
|
||||
|
||||
# On Solaris (at least, for some versions), libc contains stubbed
|
||||
# (non-functional) versions of the pthreads routines, so link-based
|
||||
@@ -0,0 +1 @@
|
||||
d /run/icecast 0755 icecast icecast
|
||||
Reference in New Issue
Block a user