pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/icecast1 Reimport icecast to icecast1.
details: https://anonhg.NetBSD.org/pkgsrc/rev/32fe22953ea7
branches: trunk
changeset: 465944:32fe22953ea7
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Thu Jan 08 20:48:45 2004 +0000
description:
Reimport icecast to icecast1.
diffstat:
audio/icecast1/DESCR | 4 +++
audio/icecast1/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++
audio/icecast1/PLIST | 32 ++++++++++++++++++++++++++
audio/icecast1/distinfo | 6 +++++
audio/icecast1/files/icecast.sh | 29 ++++++++++++++++++++++++
audio/icecast1/patches/patch-aa | 20 ++++++++++++++++
audio/icecast1/patches/patch-ab | 36 ++++++++++++++++++++++++++++++
7 files changed, 176 insertions(+), 0 deletions(-)
diffs (204 lines):
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/DESCR Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,4 @@
+Icecast is an Internet based broadcasting system based on the Mpeg
+Layer III streaming technology. It is, however, not limited to
+streaming mp3 files. It was originally inspired by Nullsoft's
+Shoutcast and also mp3serv by Scott Man ley.
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/Makefile Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/01/08 20:48:45 xtraeme Exp $
+#
+
+DISTNAME= icecast-1.3.12
+PKGREVISION= 1
+CATEGORIES= audio
+MASTER_SITES= http://www.icecast.org/releases/
+
+MAINTAINER= hubertf%NetBSD.org@localhost
+HOMEPAGE= http://www.icecast.org/
+COMMENT= Internet broadcasting system using Mpeg Layer III streaming
+
+USE_BUILDLINK2= # defined
+GNU_CONFIGURE= # defined
+USE_PKGINSTALL= yes
+
+RCD_SCRIPTS= icecast
+PKG_SYSCONFSUBDIR= icecast
+
+CONFIGURE_ARGS+= --with-readline \
+ --with-libwrap \
+ --with-python \
+ --sysconfdir=${PKG_SYSCONFDIR}
+CPPFLAGS+= -I${BUILDLINK_PREFIX.readline}/include/readline
+CPPFLAGS+= ${BUILDLINK_CPPFLAGS.${PYPACKAGE}}
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LDFLAGS}
+LDFLAGS+= ${BUILDLINK_LDFLAGS.${PYPACKAGE}}
+LIBS+= -lutil
+PTHREAD_OPTS+= native
+
+EGDIR= ${PREFIX}/share/examples/icecast
+EGFILES= groups.aut mounts.aut users.aut icecast.conf
+
+.for f in ${EGFILES}
+CONF_FILES+= ${EGDIR}/${f}.dist ${PKG_SYSCONFDIR}/${f}
+.endfor
+.undef f
+
+.include "../../devel/readline/buildlink2.mk"
+.include "../../lang/python/application.mk"
+.include "../../security/tcp_wrappers/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+
+.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
+. include "../../devel/unproven-pthreads/buildlink2.mk"
+.endif
+
+.include "../../mk/bsd.pkg.mk"
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/PLIST Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/08 20:48:46 xtraeme Exp $
+bin/icecast
+etc/rc.d/icecast
+share/doc/icecast/manual.html
+share/examples/icecast/groups.aut.dist
+share/examples/icecast/icecast.conf.dist
+share/examples/icecast/mounts.aut.dist
+share/examples/icecast/users.aut.dist
+share/icecast/templates/306.html
+share/icecast/templates/400.html
+share/icecast/templates/403.html
+share/icecast/templates/404.html
+share/icecast/templates/504.html
+share/icecast/templates/admin.html
+share/icecast/templates/admin_change.html
+share/icecast/templates/admin_describe.html
+share/icecast/templates/alias_add.html
+share/icecast/templates/alias_del.html
+share/icecast/templates/bodytag.html
+share/icecast/templates/footer.html
+share/icecast/templates/header.html
+share/icecast/templates/info.html
+share/icecast/templates/list_directory.html
+share/icecast/templates/manual.html
+share/icecast/templates/mountlist.html
+share/icecast/templates/statistics.html
+@dirrm share/icecast/templates
+@exec ${MKDIR} %D/share/icecast/static
+@dirrm share/icecast/static
+@dirrm share/icecast
+@dirrm share/examples/icecast
+@dirrm share/doc/icecast
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/distinfo Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/01/08 20:48:45 xtraeme Exp $
+
+SHA1 (icecast-1.3.12.tar.gz) = bacb760390453718de536b85979ff3a9a73c7710
+Size (icecast-1.3.12.tar.gz) = 269822 bytes
+SHA1 (patch-aa) = 169202f563e4e2812d8d532264dcdb4f9ffc8df2
+SHA1 (patch-ab) = de33a89e6078721a7e9c3a09515846752e76680e
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/files/icecast.sh
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/files/icecast.sh Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,29 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $NetBSD: icecast.sh,v 1.1.1.1 2004/01/08 20:48:46 xtraeme Exp $
+#
+# PROVIDE: icecast
+# REQUIRE: DAEMON LOGIN network
+
+
+name="icecast"
+command="@PREFIX@/bin/${name}"
+mainconfigfile="@PKG_SYSCONFDIR@/${name}.conf"
+icecast_flags="-c ${mainconfigfile} -d @PKG_SYSCONFDIR@ -b"
+sig_stop="KILL"
+
+
+. /etc/rc.subr
+
+
+pidfile="/var/run/${name}.pid"
+required_files="${mainconfigfile}"
+
+
+load_rc_config $name
+run_rc_command "$1"
+
+
+if [ "$1" != "stop" ]; then
+ echo $(check_process $command) > $pidfile
+fi
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/patches/patch-aa Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/01/08 20:48:46 xtraeme Exp $
+
+--- src/definitions.h.orig Tue Nov 21 02:26:07 2000
++++ src/definitions.h
+@@ -31,6 +31,7 @@
+ # define __USE_BSD
+ #endif
+
++#ifndef __NetBSD__
+ #ifndef __EXTENSIONS__
+ # define __EXTENSIONS__
+ #endif
+@@ -62,6 +63,7 @@
+ # endif
+ #endif
+
++#endif /* __NetBSD__ */
+
+
+
diff -r f7a79328ac60 -r 32fe22953ea7 audio/icecast1/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/icecast1/patches/patch-ab Thu Jan 08 20:48:45 2004 +0000
@@ -0,0 +1,36 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/01/08 20:48:46 xtraeme Exp $
+
+--- configure.orig 2002-04-11 00:50:20.000000000 +0200
++++ configure
+@@ -876,16 +876,16 @@ if test "x$enable_fsstd" = "xyes"; then
+ else
+ ICECAST_BINDIR=${prefix}/bin
+ ICECAST_SBINDIR=${prefix}/bin
+- ICECAST_ETCDIR=conf
+- ICECAST_ETCDIR_INST=${prefix}/conf
++ ICECAST_ETCDIR=${sysconfdir}
++ ICECAST_ETCDIR_INST=${prefix}/share/examples/icecast
+ ICECAST_SHAREDIR=${prefix}
+ ICECAST_LOGDIR=logs
+- ICECAST_LOGDIR_INST=${prefix}/logs
++ ICECAST_LOGDIR_INST=/var/log/icecast
+ ICECAST_TEMPLATEDIR=templates
+- ICECAST_TEMPLATEDIR_INST=${prefix}/templates
++ ICECAST_TEMPLATEDIR_INST=${prefix}/share/icecast/templates
+ ICECAST_STATICDIR=static
+- ICECAST_STATICDIR_INST=${prefix}/static
+- ICECAST_DOCDIR=${prefix}/doc
++ ICECAST_STATICDIR_INST=${prefix}/share/icecast/static
++ ICECAST_DOCDIR=${prefix}/share/doc/icecast
+ USE_FSSTD=no
+ fi
+
+@@ -1540,7 +1540,7 @@ EOF
+
+ echo "$ac_t""BSD/OS" 1>&6
+ ;;
+- *BSD*)
++ unused)
+ __SOMEBSD__=yes
+ cat >> confdefs.h <<\EOF
+ #define __SOMEBSD__ 1
Home |
Main Index |
Thread Index |
Old Index