pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/icecast2 Initial import of icecast2-2.0.0, packa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/74f0f5916e4f
branches: trunk
changeset: 465938:74f0f5916e4f
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Jan 08 19:39:42 2004 +0000
description:
Initial import of icecast2-2.0.0, packaged by pancake in pkgsrc-wip,
adapted to use the bsd.pkg.install.mk framework by me.
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.
--
The package has been prepared to be launched in chroot mode by default,
enjoy!
diffstat:
audio/icecast2/DESCR | 6 +++
audio/icecast2/Makefile | 68 +++++++++++++++++++++++++++++++++++++++++
audio/icecast2/PLIST | 33 +++++++++++++++++++
audio/icecast2/distinfo | 6 +++
audio/icecast2/files/icecast.sh | 18 ++++++++++
audio/icecast2/patches/patch-aa | 13 +++++++
audio/icecast2/patches/patch-ab | 46 +++++++++++++++++++++++++++
7 files changed, 190 insertions(+), 0 deletions(-)
diffs (218 lines):
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/DESCR Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,6 @@
+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.
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/Makefile Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,68 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $
+#
+
+DISTNAME= icecast-2.0.0
+PKGNAME= ${DISTNAME:S/-/2-/}
+CATEGORIES= audio
+MASTER_SITES= http://www.icecast.org/files/
+
+MAINTAINER= pancake%phreaker.net@localhost
+HOMEPAGE= http://www.icecast.org/
+COMMENT= Live streaming audio server
+
+CONFLICTS+= icecast-[0-9]*:../../audio/icecast
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+USE_PKGINSTALL= yes
+GNU_CONFIGURE= yes
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+BUILD_DEFS+= ICECAST_CHROOTDIR
+
+PKG_SYSCONFSUBDIR= icecast
+RCD_SCRIPTS= icecast
+
+ICECAST_LOGDIR?= ${ICECAST_CHROOTDIR}/log
+
+ICECAST_USER?= icecast
+ICECAST_GROUP?= icecast
+
+PKG_GROUPS= ${ICECAST_GROUP}
+PKG_USERS= ${ICECAST_USER}:${ICECAST_GROUP}::Icecast2\\ user
+
+EGDIR= ${PREFIX}/share/examples/icecast
+CONF_FILES= ${EGDIR}/icecast.xml ${PKG_SYSCONFDIR}/icecast.xml
+
+.for D in ${ICECAST_CHROOTDIR} ${ICECAST_LOGDIR}
+OWN_DIRS_PERMS+= ${D} ${ICECAST_USER} ${ICECAST_GROUP} 770
+.endfor
+.undef D
+
+post-extract:
+ @${MV} ${WRKSRC}/conf/icecast.xml.in ${WRKSRC}/conf/icecast.fixme
+
+post-install:
+ @( \
+ ${SED} \
+ -e "s,@BASEDIR@,${ICECAST_CHROOTDIR},g" \
+ -e "s,@LOGDIR@,log/,g" \
+ -e "s,@WEBROOT@,${PREFIX}/share/icecast/web,g" \
+ -e "s,@ADMINROOT@,${PREFIX}/share/icecast/admin,g" \
+ -e "s,@PIDDIR@,${ICECAST_CHROOTDIR},g" \
+ -e "s,@ICECAST_USER@,${ICECAST_USER},g" \
+ -e "s,@ICECAST_GROUP@,${ICECAST_GROUP},g" \
+ ${WRKSRC}/conf/icecast.fixme > ${WRKSRC}/conf/icecast.xml; \
+ ${INSTALL_DATA_DIR} ${EGDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/conf/icecast.xml ${EGDIR} \
+ )
+
+.include "../../audio/libvorbis/buildlink2.mk"
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../textproc/libxslt/buildlink2.mk"
+.include "../../www/curl/buildlink2.mk"
+
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/PLIST Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $
+bin/icecast
+etc/rc.d/icecast
+share/doc/icecast/AUTHORS
+share/doc/icecast/COPYING
+share/doc/icecast/NEWS
+share/doc/icecast/README
+share/doc/icecast/TODO
+share/doc/icecast/icecast2_admin.html
+share/doc/icecast/icecast2_basicsetup.html
+share/doc/icecast/icecast2_config_file.html
+share/doc/icecast/icecast2_faq.html
+share/doc/icecast/icecast2_glossary.html
+share/doc/icecast/icecast2_introduction.html
+share/doc/icecast/icecast2_relay.html
+share/doc/icecast/icecast2_stats.html
+share/doc/icecast/icecast2_win32.html
+share/doc/icecast/icecast2_yp.html
+share/doc/icecast/index.html
+share/examples/icecast/icecast.xml
+share/icecast/admin/listclients.xsl
+share/icecast/admin/listmounts.xsl
+share/icecast/admin/moveclients.xsl
+share/icecast/admin/response.xsl
+share/icecast/admin/stats.xsl
+share/icecast/web/status.xsl
+share/icecast/web/status2.xsl
+@dirrm share/icecast/web
+@dirrm share/icecast/doc
+@dirrm share/icecast/admin
+@dirrm share/icecast
+@dirrm share/doc/icecast
+@dirrm share/examples/icecast
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/distinfo Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $
+
+SHA1 (icecast-2.0.0.tar.gz) = 76f41f807bdff5dfb50d5b67075fc401de7e270a
+Size (icecast-2.0.0.tar.gz) = 684624 bytes
+SHA1 (patch-aa) = fa92a4a704a3f471a0669c9933b36a3586425dc5
+SHA1 (patch-ab) = 39cf0ed1e9da8c7d90fa192731307817e91496c9
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/files/icecast.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/files/icecast.sh Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,18 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: icecast.sh,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $
+#
+
+# PROVIDE: icecast
+# REQUIRE: DAEMON LOGIN
+
+. /etc/rc.subr
+
+name="icecast"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+command_args="-b -c @PKG_SYSCONFDIR@/$name.xml 1>2& >/dev/null"
+required_files="@PKG_SYSCONFDIR@/$name.xml"
+
+load_rc_config $name
+run_rc_command "$1"
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/patches/patch-aa Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $
+
+--- Makefile.in.orig 2004-01-08 18:59:21.000000000 +0100
++++ Makefile.in 2004-01-08 18:59:45.000000000 +0100
+@@ -112,7 +112,7 @@
+ AUTOMAKE_OPTIONS = 1.6 foreign dist-zip
+ ACLOCAL_AMFLAGS = -I m4
+
+-SUBDIRS = src conf debian doc web admin win32
++SUBDIRS = src doc web admin
+
+ EXTRA_DIST = HACKING m4/acx_pthread.m4 m4/ogg.m4 m4/vorbis.m4 \
+ m4/xiph_compiler.m4 m4/xiph_curl.m4 m4/xiph_net.m4 \
diff -r c015744b035a -r 74f0f5916e4f audio/icecast2/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast2/patches/patch-ab Thu Jan 08 19:39:42 2004 +0000
@@ -0,0 +1,46 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/08 19:39:42 xtraeme Exp $
+
+--- conf/icecast.fixme.orig 2004-01-08 19:10:14.000000000 +0100
++++ conf/icecast.fixme 2004-01-08 19:14:15.000000000 +0100
+@@ -82,14 +82,15 @@
+
+ <paths>
+ <!-- basedir is only used if chroot is enabled -->
+- <basedir>@pkgdatadir@</basedir>
++ <basedir>@BASEDIR@</basedir>
+
+ <!-- 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>
+- <webroot>@pkgdatadir@/web</webroot>
+- <adminroot>@pkgdatadir@/admin</adminroot>
+- <!-- <pidfile>@pkgdatadir@/icecast.pid</pidfile> -->
++
++ <logdir>@LOGDIR@/</logdir>
++ <webroot>@WEBROOT@</webroot>
++ <adminroot>@ADMINROOT@</adminroot>
++ <pidfile>@PIDDIR@/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"
+@@ -103,16 +104,14 @@
+ <logging>
+ <accesslog>access.log</accesslog>
+ <errorlog>error.log</errorlog>
+- <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
++ <loglevel>2</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
+ </logging>
+
+ <security>
+- <chroot>0</chroot>
+- <!--
++ <chroot>1</chroot>
+ <changeowner>
+- <user>nobody</user>
+- <group>nogroup</group>
++ <user>@ICECAST_USER@</user>
++ <group>@ICECAST_GROUP@</group>
+ </changeowner>
+- -->
+ </security>
+ </icecast>
Home |
Main Index |
Thread Index |
Old Index