This commit is contained in:
milisbir 2018-07-18 12:38:37 +03:00
parent 885f3e2e9c
commit 376ab1db72
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/var/log/icecast/*log {
missingok
notifempty
sharedscripts
postrotate
endscript
}

View File

@ -0,0 +1,15 @@
--- icecast-2.3.2/conf/icecast.xml.in~ 2010-11-12 16:47:54.750000918 +0100
+++ icecast-2.3.2/conf/icecast.xml.in 2010-11-12 16:48:08.086667585 +0100
@@ -164,11 +164,9 @@
<security>
<chroot>0</chroot>
- <!--
<changeowner>
<user>nobody</user>
- <group>nogroup</group>
+ <group>nobody</group>
</changeowner>
- -->
</security>
</icecast>

View File

@ -0,0 +1,24 @@
# Tanım: Ağ üzerinden ses akışı sağlamak
# URL: http://www.icecast.org/
# Paketçi: milisarge
# Gerekler: libxslt libvorbis speex libtheora
# Grup: medya
isim=icecast
surum=2.4.3
devir=1
kaynak=(http://downloads.us.xiph.org/releases/icecast/icecast-$surum.tar.gz
icecast.logrotate
start-by-nobody.patch)
derle() {
cd "${SRC}/${isim}-${surum}"
patch -Np1 -i "${SRC}/start-by-nobody.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make
make DESTDIR="${PKG}" install
install -Dm644 "${SRC}/icecast.logrotate" "${PKG}/etc/logrotate.d/icecast"
# create log directory
install -d -g99 -o99 "${PKG}/var/log/icecast"
rm -rf $PKG/usr/share/doc
}