Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 15:32:23 -0500 (EST)
From:      chip@eboai.org
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9760: Submission of icecast port
Message-ID:  <19990128203223.AB1681E75@hindenburg.eboai.org>

next in thread | raw e-mail | index | archive | help

>Number:         9760
>Category:       ports
>Synopsis:       Submission of icecast
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 28 12:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chip Marshall
>Release:        FreeBSD 2.2.7-RELEASE i386
>Organization:
>Environment:
>Description:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	icecast
#	icecast/pkg
#	icecast/pkg/COMMENT
#	icecast/pkg/DESCR
#	icecast/pkg/PLIST
#	icecast/pkg/MESSAGE
#	icecast/Makefile
#	icecast/patches
#	icecast/patches/patch-ab
#	icecast/patches/patch-ac
#	icecast/patches/patch-aa
#	icecast/files
#	icecast/files/md5
#
echo c - icecast
mkdir -p icecast > /dev/null 2>&1
echo c - icecast/pkg
mkdir -p icecast/pkg > /dev/null 2>&1
echo x - icecast/pkg/COMMENT
sed 's/^X//' >icecast/pkg/COMMENT << 'END-of-icecast/pkg/COMMENT'
XA SHOUTcast-compatible streaming MP3 server
END-of-icecast/pkg/COMMENT
echo x - icecast/pkg/DESCR
sed 's/^X//' >icecast/pkg/DESCR << 'END-of-icecast/pkg/DESCR'
Xicecast
X~~~~~~~
XIcecast provides nearly all the functionality of the Shoutcast Linux
Xserver.  It will accept encoding streams from either iceplay or WinAmp.
XIt can also add itself to a directory server such as our own
Xicecast.linuxpower.org or Nullsoft's yp.shoutcast.com.  It does not yet 
Xsupport redirection of streams from other icecast servers, but soon will.
XCommand-line options are as follows (these can be obtained by running 
X'icecast -h' as well):
X
Xcontacts and webpage
X~~~~~~~~~~~~~~~~~~~~
XThe main webpage for icecast is http://icecast.linuxpower.org
XPlease send any suggestions, bugfixes, or anything else to
Xicecast@linuxpower.org
X
X--
XPort by Chip Marshall <chip@eboai.org> http://www.eboai.org/~chip/
END-of-icecast/pkg/DESCR
echo x - icecast/pkg/PLIST
sed 's/^X//' >icecast/pkg/PLIST << 'END-of-icecast/pkg/PLIST'
Xbin/icecast
END-of-icecast/pkg/PLIST
echo x - icecast/pkg/MESSAGE
sed 's/^X//' >icecast/pkg/MESSAGE << 'END-of-icecast/pkg/MESSAGE'
XFYI, there a several useful programs included in the icecast distribution that
Xare not installed as part of this port. These include two ways of sending
Xdata to the server, a program for listening to the server, and another for
Xmanaging a listing of servers. These are located in the subdirectories
Xicedir and iceplay under the working directory.
END-of-icecast/pkg/MESSAGE
echo x - icecast/Makefile
sed 's/^X//' >icecast/Makefile << 'END-of-icecast/Makefile'
X# New ports collection makefile for:   icecast
X# Date created:                28 Jan 1999
X# Whom:                        Chip Marshall <chip@eboai.org>
X#
X# $Id$
X#
X
XDISTNAME=		icecast-0.8.2
XPKGNAME=		icecast
XCATEGORIES=		audio net
XMASTER_SITES=	http://icecast.linuxpower.org/
X
XMAINTAINER=		chip@eboai.org
X
XGNU_CONFIGURE= yes
X
Xpost-extract:
X	${CP} ${WRKSRC}/iceplay/configure ${WRKSRC}/
X	${CP} ${WRKSRC}/iceplay/configure.in ${WRKSRC}/
X	${CP} ${WRKSRC}/iceplay/config.h.in ${WRKSRC}/
X	${CP} ${WRKSRC}/iceplay/mkdirs ${WRKSRC}/
X	${CP} ${WRKSRC}/config.h ${WRKSRC}/config.bak
X	${CP} ${WRKSRC}/iceplay/install-sh ${WRKSRC}/
X	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.in
X
Xpost-configure:
X	${CP} ${WRKSRC}/config.bak ${WRKSRC}/config.h
X
Xpost-install:
X	strip ${PREFIX}/bin/icecast
X
X.include <bsd.port.mk>
END-of-icecast/Makefile
echo c - icecast/patches
mkdir -p icecast/patches > /dev/null 2>&1
echo x - icecast/patches/patch-ab
sed 's/^X//' >icecast/patches/patch-ab << 'END-of-icecast/patches/patch-ab'
X--- iceplay/rand.c.orig	Tue Jan 26 02:46:26 1999
X+++ iceplay/rand.c	Thu Jan 28 14:02:17 1999
X@@ -43,7 +43,7 @@
X #include <stdlib.h>
X #include <unistd.h>
X #include <string.h>
X-#include <getopt.h>
X+/* #include <getopt.h> */
X 
X #define LINE 0
X unsigned char method;
END-of-icecast/patches/patch-ab
echo x - icecast/patches/patch-ac
sed 's/^X//' >icecast/patches/patch-ac << 'END-of-icecast/patches/patch-ac'
X--- configure.orig	Thu Jan 28 14:44:16 1999
X+++ configure	Tue Jan 26 02:46:26 1999
X@@ -451,7 +451,7 @@
X 
X # A filename unique to this package, relative to the directory that
X # configure is in, which we can look for to find out if srcdir is correct.
X+ac_unique_file=sock.c
X-ac_unique_file=shout.c
X 
X # Find the source files, if location was not specified.
X if test -z "$srcdir"; then
END-of-icecast/patches/patch-ac
echo x - icecast/patches/patch-aa
sed 's/^X//' >icecast/patches/patch-aa << 'END-of-icecast/patches/patch-aa'
X--- Makefile.in.orig	Tue Jan 26 02:44:56 1999
X+++ Makefile.in	Thu Jan 28 15:10:56 1999
X@@ -1,5 +1,16 @@
X-CC=gcc
X-CFLAGS=-Wall -O2
X+CC= @CC@
X+CFLAGS= @CFLAGS@
X+INSTALL= @INSTALL@
X+INSTALL_PROGRAM= @INSTALL_PROGRAM@
X+INSTALL_DATA= @INSTALL_DATA@
X+
X+srcdir = @srcdir@
X+VPATH = @srcdir@
X+
X+prefix = @prefix@
X+exec_prefix = @prefix@
X+bindir = @bindir@
X+
X LFLAGS=
X 
X OBJS=	main.o		\
X@@ -21,3 +32,9 @@
X 
X clean:
X 	rm -f *.o icecast
X+
X+installdirs:
X+	${srcdir}/mkdirs $(bindir)
X+
X+install: installdirs
X+	$(INSTALL_PROGRAM) icecast $(bindir)/icecast
END-of-icecast/patches/patch-aa
echo c - icecast/files
mkdir -p icecast/files > /dev/null 2>&1
echo x - icecast/files/md5
sed 's/^X//' >icecast/files/md5 << 'END-of-icecast/files/md5'
XMD5 (icecast-0.8.2.tar.gz) = 58b15dbc9b924848ae1c61d22110f607
END-of-icecast/files/md5
exit

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990128203223.AB1681E75>