New package: icecast streaming server

This commit is contained in:
davehome 2011-11-07 12:39:26 -07:00
parent 161bfd40b2
commit 16c5e557d5
4 changed files with 67 additions and 0 deletions

9
srcpkgs/icecast/INSTALL Normal file
View File

@ -0,0 +1,9 @@
case ${ACTION} in
post)
[ ! -d var/log/icecast ] && mkdir -p var/log/icecast
[ ! -f var/log/icecast/access.log ] && \
touch var/log/icecast/access.log && \
touch var/log/icecast/error.log
chown -R 99:99 var/log/icecast
;;
esac

5
srcpkgs/icecast/REMOVE Normal file
View File

@ -0,0 +1,5 @@
case ${ACTION} in
purge)
[ -d var/log/icecast ] && rm -rf var/log/icecast
;;
esac

View File

@ -0,0 +1,15 @@
--- conf/icecast.xml.in 2010-11-12 16:47:54.750000918 +0100
+++ 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>
</changeowner>
- -->
</security>
</icecast>

38
srcpkgs/icecast/template Normal file
View File

@ -0,0 +1,38 @@
# Template file for 'icecast'
pkgname=icecast
version=2.3.2
build_style=gnu-configure
homepage="http://www.icecast.org/"
distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
short_desc="Free server software for streaming multimedia"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
checksum=4742b38fc55b6373895a7c0a35baed49a848fec99f5e8538e3f0157383d0b3f0
long_desc="
Icecast is a streaming media server which currently supports Ogg Vorbis and
MP3 audio streams. It can be used to create an Internet radio station or a
privately running jukebox and many things in between. It is very versatile
in that new formats can be added relatively easily and supports open
standards for commuincation and interaction."
conf_files="/etc/icecast.xml"
Add_dependency run glibc
Add_dependency run libssl
Add_dependency run libcurl
Add_dependency run libspeex
Add_dependency run libtheora
Add_dependency run libvorbis
Add_dependency run libogg
Add_dependency run libxslt
Add_dependency run libxml2
Add_dependency build pkg-config
Add_dependency build openssl-devel
Add_dependency build libcurl-devel
Add_dependency build speex-devel
Add_dependency build libtheora-devel
Add_dependency build libvorbis-devel
Add_dependency build libogg-devel
Add_dependency build libxslt-devel
Add_dependency build libxml2-devel