1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add litestream 1.0.1r3, an open source, infinitely scalable high-capacity

MP3 streaming system.

PR:		22938
Submitted by:	Aaron Smith <aaron@mutex.org>
This commit is contained in:
Will Andrews 2000-12-19 10:02:06 +00:00
parent 3ca5b689e1
commit 04b54b93b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36097
8 changed files with 107 additions and 0 deletions

View File

@ -85,6 +85,7 @@
SUBDIR += libvorbis
SUBDIR += libworkman
SUBDIR += linux-realplayer
SUBDIR += litestream
SUBDIR += lopster
SUBDIR += maplay
SUBDIR += mikmod

30
audio/litestream/Makefile Normal file
View File

@ -0,0 +1,30 @@
# ports collection makefile for: litestream
# Date created: Sat Nov 4 2000
# Whom: aaron@mutex.org
#
# $FreeBSD$
#
PORTNAME= litestream
PORTVERSION= 1.0.1r3
CATEGORIES= audio
MASTER_SITES= http://www.litestream.net/releases/
DISTNAME= ${PORTNAME}-1.0b1r3
MAINTAINER= aaron@mutex.org
USE_GMAKE= yes
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/litestream
${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/litestream
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/litestream
${INSTALL_DATA} ${WRKSRC}/ABOUT ${PREFIX}/share/doc/litestream
${INSTALL_DATA} ${WRKSRC}/MAKEITGO ${PREFIX}/share/doc/litestream
.endif
${INSTALL_PROGRAM} ${WRKSRC}/litestream ${PREFIX}/bin/litestream
${INSTALL_PROGRAM} ${WRKSRC}/literestream ${PREFIX}/bin/literestream
${INSTALL_PROGRAM} ${WRKSRC}/source ${PREFIX}/bin/source
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (litestream-1.0b1r3.tar.gz) = 0a0fa0e7112748be632841f3ad03502c

View File

@ -0,0 +1,40 @@
--- restream.c.orig Tue Feb 22 02:25:29 2000
+++ restream.c Sat Nov 4 17:18:57 2000
@@ -334,7 +334,7 @@
free(privdata);
return;
}
- privdata->state = STR_SNDANNOUNCE;
+ privdata->state = STR_STREAMING;
strservers[nstrservers++] = server;
@@ -342,7 +342,7 @@
if (nstrservers > stats.peak_servers)
stats.peak_servers = nstrservers;
- stream_sched_post_write(_sched, server->s, g_announce, sizeof(g_announce));
+ stream_sched_post_read(_sched, server->s, privdata->rbuf, sizeof(privdata->rbuf));
break;
case STR_SNDANNOUNCE:
privdata->state = STR_STREAMING;
--- stream.c.orig Tue Feb 22 06:24:58 2000
+++ stream.c Sat Nov 4 17:18:32 2000
@@ -329,7 +329,7 @@
free(privdata);
return;
}
- privdata->state = STR_SNDANNOUNCE;
+ privdata->state = STR_STREAMING;
strservers[nstrservers++] = server;
@@ -337,7 +337,7 @@
if (nstrservers > stats.peak_servers)
stats.peak_servers = nstrservers;
- stream_sched_post_write(_sched, server->s, g_announce, sizeof(g_announce));
+ stream_sched_post_read(_sched, server->s, privdata->rbuf, sizeof(privdata->rbuf));
break;
case STR_SNDANNOUNCE:
privdata->state = STR_STREAMING;

View File

@ -0,0 +1,10 @@
--- Makefile.orig Tue Nov 7 02:21:56 2000
+++ Makefile Tue Nov 7 02:22:50 2000
@@ -1,6 +1,6 @@
INCLUDES = -Iinclude
-CFLAGS = $(INCLUDES) -Wall -g -DVERSION="\"Litestream 1.0 beta 1 revision 3\""
+CFLAGS += $(INCLUDES) -DVERSION="\"Litestream 1.0 beta 1 revision 3\""
LDFLAGS = # -lnsl -lsocket

View File

@ -0,0 +1 @@
A lightweight, high-capacity MP3 streaming system.

View File

@ -0,0 +1,16 @@
Litestream is an Open Source, infinitely scalable high-capacity MP3
streaming system for Unix. Tests on Pentium II 400 single processor
demonstrated the system is capable of at at least 4000 simultaneous 56 Kbit
streams. That's 244 Mbit per node!
The Litestream system is a series of components which are compatible with
today's industry standards (Winamp, XMMS, Live365). Included in the
distribution is Streaming Server, Streaming Source, and Restreaming
Server. Each component is replaceable with the third-party component of
your choice. Streaming Source be replaced with Winamp DSP. Streaming Server
can be replaced with Shoutcast or Live365. Restreaming Server restreams
Shoutcast and Live365 streams. It's all plug-and-play.
WWW: http://www.litestream.net
-- aaron@mutex.org

View File

@ -0,0 +1,8 @@
bin/litestream
bin/literestream
bin/source
share/doc/litestream/README
share/doc/litestream/ABOUT
share/doc/litestream/LICENSE
share/doc/litestream/MAKEITGO
@dirrm share/doc/litestream