View | Details | Raw Unified | Return to bug 18834
Collapse All | Expand All

(-)icecast/Makefile (-52 / +36 lines)
Lines 1-62 Link Here
1
# New ports collection makefile for:   icecast
1
# New ports collection makefile for: icecast
2
# Date created:		28 Jan 1999
2
# Date created:         25 May 2000
3
# Whom:			Chip Marshall <chip@eboai.org>
3
# Whom:                 zach@pabst.bendnet.com
4
#
4
#
5
# $FreeBSD: ports/audio/icecast/Makefile,v 1.10 2000/04/08 21:23:41 mharo Exp $
5
# $FreeBSD$
6
#
6
#
7
7
8
PORTNAME=	icecast
8
PORTNAME=      icecast
9
PORTVERSION=	1.3.0
9
PORTVERSION=   1.3.5
10
CATEGORIES=	audio net
10
CATEGORIES=    audio net
11
MASTER_SITES=	http://www.icecast.org/releases/	\
11
MASTER_SITES=  http://www.icecast.org/releases/
12
		ftp://ftp.eboai.org/pub/icecast/
13
12
14
MAINTAINER=	chip@eboai.org
13
MAINTAINER=    chip@eboai.org
15
14
16
WRKSRC=		${WRKDIR}/icecast-1.3
15
HAS_CONFIGURE= yes
17
16
CONFIGURE_ARGS=--with-libwrap
18
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS=	--with-libwrap
20
21
ALL_TARGET=	all mkpasswd
22
23
post-extract:
24
	@( cd ${WRKSRC}; ${RM} -f shout/calibrate shout/stresstest )
25
26
post-configure:
27
	@${MAKE} WRKSRC=${WRKSRC}/liveice do-configure
28
29
post-build:
30
	@${MAKE} WRKSRC=${WRKSRC}/liveice ALL_TARGET=all do-build
31
17
32
do-install:
18
do-install:
33
	${INSTALL_PROGRAM} ${WRKSRC}/icecast ${PREFIX}/sbin
19
	${INSTALL_PROGRAM} ${WRKSRC}/src/icecast ${PREFIX}/sbin
34
	${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin
20
	${MKDIR} ${PREFIX}/etc/icecast
35
	${INSTALL_PROGRAM} ${WRKSRC}/shout/listen ${PREFIX}/bin
21
	${MKDIR} ${PREFIX}/etc/icecast/conf
36
	${INSTALL_PROGRAM} ${WRKSRC}/shout/shout ${PREFIX}/bin
22
	${INSTALL_MAN} ${WRKSRC}/conf/groups.aut.dist ${PREFIX}/etc/icecast/conf
37
	${INSTALL_PROGRAM} ${WRKSRC}/shout/calibrate ${PREFIX}/bin
23
	${INSTALL_MAN} ${WRKSRC}/conf/icecast.conf.dist ${PREFIX}/etc/icecast/conf
38
	${INSTALL_PROGRAM} ${WRKSRC}/shout/stresstest ${PREFIX}/bin
24
	${INSTALL_MAN} ${WRKSRC}/conf/mounts.aut.dist ${PREFIX}/etc/icecast/conf
39
	${INSTALL_PROGRAM} ${WRKSRC}/liveice/liveice ${PREFIX}/bin
25
	${INSTALL_MAN} ${WRKSRC}/conf/users.aut.dist ${PREFIX}/etc/icecast/conf
40
	${INSTALL_SCRIPT} ${WRKSRC}/shout/iceplay ${PREFIX}/bin
26
	${MKDIR} ${PREFIX}/etc/icecast/templates
41
.if !defined(NOPORTDOCS)
27
	${INSTALL_MAN} ${WRKSRC}/templates/306.html ${PREFIX}/etc/icecast/templates
42
	${MKDIR} ${PREFIX}/share/doc/icecast
28
	${INSTALL_MAN} ${WRKSRC}/templates/400.html ${PREFIX}/etc/icecast/templates
43
	${INSTALL_MAN} ${WRKSRC}/doc/* ${PREFIX}/share/doc/icecast
29
	${INSTALL_MAN} ${WRKSRC}/templates/403.html ${PREFIX}/etc/icecast/templates
44
	${INSTALL_MAN} ${WRKSRC}/liveice/README.liveice ${PREFIX}/share/doc/icecast
30
	${INSTALL_MAN} ${WRKSRC}/templates/404.html ${PREFIX}/etc/icecast/templates
45
	${INSTALL_MAN} ${WRKSRC}/liveice/README.xingmp3enc ${PREFIX}/share/doc/icecast
31
	${INSTALL_MAN} ${WRKSRC}/templates/504.html ${PREFIX}/etc/icecast/templates
46
	${INSTALL_MAN} ${WRKSRC}/liveice/README_new_mixer.txt ${PREFIX}/share/doc/icecast
32
	${INSTALL_MAN} ${WRKSRC}/templates/bodytag.html ${PREFIX}/etc/icecast/templates
47
	${MKDIR} ${PREFIX}/share/examples/icecast
33
	${INSTALL_MAN} ${WRKSRC}/templates/info.html ${PREFIX}/etc/icecast/templates
48
	${INSTALL_MAN} ${WRKSRC}/icecast.conf ${PREFIX}/share/examples/icecast
34
	${INSTALL_MAN} ${WRKSRC}/templates/list_directory.html ${PREFIX}/etc/icecast/templates
49
	${INSTALL_MAN} ${WRKSRC}/liveice/liveice.cfg ${PREFIX}/share/examples/icecast
35
	${INSTALL_MAN} ${WRKSRC}/templates/mountlist.html ${PREFIX}/etc/icecast/templates
50
	${INSTALL_MAN} ${WRKSRC}/shout/shoutrc.example ${PREFIX}/share/examples/icecast
36
	${INSTALL_MAN} ${WRKSRC}/templates/statistics.html ${PREFIX}/etc/icecast/templates
51
	${INSTALL_MAN} ${WRKSRC}/shout/playlist.example ${PREFIX}/share/examples/icecast
37
	${INSTALL_MAN} ${WRKSRC}/templates/admin_describe.html ${PREFIX}/etc/icecast/templates
52
	${INSTALL_MAN} ${WRKSRC}/shout/radio.tcl.example ${PREFIX}/share/examples/icecast
38
	${INSTALL_MAN} ${WRKSRC}/templates/admin.html ${PREFIX}/etc/icecast/templates
53
	${MKDIR} ${PREFIX}/share/examples/icecast/icedir
39
	${INSTALL_MAN} ${WRKSRC}/templates/alias_add.html ${PREFIX}/etc/icecast/templates
54
	${INSTALL_MAN} ${WRKSRC}/icedir/* ${PREFIX}/share/examples/icecast/icedir
40
	${INSTALL_MAN} ${WRKSRC}/templates/manual.html ${PREFIX}/etc/icecast/templates
55
	${MKDIR} ${PREFIX}/share/examples/icecast/templates
41
	${INSTALL_MAN} ${WRKSRC}/templates/alias_del.html ${PREFIX}/etc/icecast/templates
56
	${INSTALL_MAN} ${WRKSRC}/templates/* ${PREFIX}/share/examples/icecast/templates
42
	${MKDIR} ${PREFIX}/share/doc/icecast/
57
	${INSTALL_MAN} ${WRKSRC}/liveice/frontend.tcl ${PREFIX}/share/examples/icecast
43
	${INSTALL_MAN} ${WRKSRC}/doc/manual.html ${PREFIX}/share/doc/icecast/
58
	${INSTALL_MAN} ${WRKSRC}/liveice/liveiceconfigure.tk ${PREFIX}/share/examples/icecast
59
.endif
60
	@${CAT} ${PKGDIR}/MESSAGE
44
	@${CAT} ${PKGDIR}/MESSAGE
61
45
62
.include <bsd.port.mk>
46
.include <bsd.port.mk>
(-)icecast/files/md5 (-1 / +1 lines)
Line 1 Link Here
1
MD5 (icecast-1.3.0.tar.gz) = d322cc60b5f3185a764bf65adca282e4
1
MD5 (icecast-1.3.5.tar.gz) = 29f762ab1f48c9b45b2eec4a7922c063
(-)icecast/patches/patch-ad (-38 lines)
Lines 1-38 Link Here
1
--- configure.orig	Tue Jul 13 13:19:28 1999
2
+++ configure	Tue Jan 25 23:44:38 2000
3
@@ -1553,14 +1553,14 @@
4
 
5
 
6
 if test "$THREADLIBS" = no; then
7
-        echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
8
-echo "configure:1558: checking for pthread_create in -lc_r" >&5
9
+        echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
10
+echo "configure:1558: checking for pthread_create in -pthread" >&5
11
 ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13
   echo $ac_n "(cached) $ac_c" 1>&6
14
 else
15
   ac_save_LIBS="$LIBS"
16
-LIBS="-lc_r  $LIBS"
17
+LIBS="-pthread  $LIBS"
18
 cat > conftest.$ac_ext <<EOF
19
 #line 1566 "configure"
20
 #include "confdefs.h"
21
@@ -1588,7 +1588,8 @@
22
 fi
23
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
24
   echo "$ac_t""yes" 1>&6
25
-  THREADLIBS="-lc_r"
26
+  THREADLIBS="-pthread"
27
+  # CFLAGS="${CFLAGS} -D_THREAD_SAFE"
28
 else
29
   echo "$ac_t""no" 1>&6
30
 fi
31
@@ -2319,6 +2320,7 @@
32
 cat > conftest.$ac_ext <<EOF
33
 #line 2321 "configure"
34
 #include "confdefs.h"
35
+#include <sys/types.h>
36
 #include <sys/socket.h>
37
 int main() {
38
 typedef socklen_t int; 
(-)icecast/patches/patch-ae (-11 lines)
Lines 1-11 Link Here
1
--- liveice/configure.orig	Tue Jan 25 23:46:00 2000
2
+++ liveice/configure	Tue Jan 25 23:47:22 2000
3
@@ -1154,7 +1154,7 @@
4
 fi
5
 done
6
 
7
-for ac_hdr in sys/soundcard.h
8
+for ac_hdr in machine/soundcard.h
9
 do
10
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
(-)icecast/patches/patch-af (-20 lines)
Lines 1-20 Link Here
1
--- shout/Makefile.in.orig	Fri Feb 18 10:26:53 2000
2
+++ shout/Makefile.in	Fri Feb 18 10:28:03 2000
3
@@ -17,10 +17,16 @@
4
 
5
 COMPILE_CFLAGS=$(CFLAGS) $(DEFS) 
6
 
7
-all: shout listen
8
+all: shout listen calibrate stresstest
9
 
10
 shout: shout.c rand.o mpeg.o configfile.o 
11
 	$(CC) $(COMPILE_CFLAGS) -o shout shout.c rand.o mpeg.o configfile.o $(LDFLAGS)
12
+
13
+calibrate: calibrate.c
14
+	$(CC) $(COMPILE_CFLAGS) -o $@ $@.c
15
+
16
+stresstest: stresstest.c
17
+	$(CC) $(COMPILE_CFLAGS) -o $@ $@.c
18
 
19
 configfile.o: configfile.c
20
 	$(CC) $(COMPILE_CFLAGS) -c -o configfile.o configfile.c
(-)icecast/pkg/COMMENT (-1 / +1 lines)
Line 1 Link Here
1
A SHOUTcast-compatible streaming MP3 server
1
Icecast is a streaming mp3 audio server
(-)icecast/pkg/DESCR (-5 / +5 lines)
Lines 1-7 Link Here
1
Icecast provides nearly all the functionality of the Shoutcast
1
This is a port for icecast. Icecast is a streaming mp3 audio server.
2
server.  It will accept encoding streams from either iceplay or WinAmp.
2
Icecast provides nearly all the functionality of the Shoutcast server.
3
It can also add itself to a directory server such as our own
3
It will accept encoding streams from either iceplay or WinAmp. It can
4
icecast.linuxpower.org or Nullsoft's yp.shoutcast.com.  It does not yet 
4
also add itself to a directory server such as our own
5
support redirection of streams from other icecast servers, but soon will.
5
icecast.linuxpower.org or Nullsoft's yp.shoutcast.com.
6
6
7
WWW: http://www.icecast.org/
7
WWW: http://www.icecast.org/
(-)icecast/pkg/MESSAGE (-9 / +13 lines)
Lines 1-11 Link Here
1
**********************************************************************
1
-----------------------------------------------------------------
2
2
3
	FYI, there a several useful programs included in the
3
Icecast's various components have been installed in the following
4
	icecast distribution that are not installed as part
4
directories:
5
	of this port. These include two ways of sending data
6
	to the server, a program for listening to the server,
7
	and another for managing a listing of servers. These
8
	are located in the subdirectories icedir and iceplay
9
	under the working directory.
10
5
11
**********************************************************************
6
  - The icecast server:
7
    /usr/local/sbin/icecast
8
9
  - Icecast configuration files have been installed in:
10
    /usr/local/etc/icecast/
11
12
  - Icecast documentation is located in:
13
    /usr/local/share/doc/icecast/
14
15
-----------------------------------------------------------------
(-)icecast/pkg/PLIST (-50 / +23 lines)
Lines 1-53 Link Here
1
bin/mkpasswd
2
bin/listen
3
bin/shout
4
bin/calibrate
5
bin/stresstest
6
bin/liveice
7
bin/iceplay
8
sbin/icecast
1
sbin/icecast
9
share/doc/icecast/AUTHORS
2
etc/icecast/conf/groups.aut.dist
10
share/doc/icecast/BUGS
3
etc/icecast/conf/icecast.conf.dist
11
share/doc/icecast/CHANGES
4
etc/icecast/conf/mounts.aut.dist
12
share/doc/icecast/COPYING
5
etc/icecast/conf/users.aut.dist
13
share/doc/icecast/FAQ
6
etc/icecast/templates/306.html
14
share/doc/icecast/INSTALL
7
etc/icecast/templates/400.html
15
share/doc/icecast/README
8
etc/icecast/templates/403.html
16
share/doc/icecast/TESTED
9
etc/icecast/templates/404.html
17
share/doc/icecast/TODO
10
etc/icecast/templates/504.html
11
etc/icecast/templates/bodytag.html
12
etc/icecast/templates/info.html
13
etc/icecast/templates/list_directory.html
14
etc/icecast/templates/mountlist.html
15
etc/icecast/templates/statistics.html
16
etc/icecast/templates/admin_describe.html
17
etc/icecast/templates/admin.html
18
etc/icecast/templates/alias_add.html
19
etc/icecast/templates/manual.html
20
etc/icecast/templates/alias_del.html
18
share/doc/icecast/manual.html
21
share/doc/icecast/manual.html
19
share/doc/icecast/README.liveice
22
20
share/doc/icecast/README.xingmp3enc
23
@dirrm etc/icecast/conf
21
share/doc/icecast/README_new_mixer.txt
24
@dirrm etc/icecast/templates
22
share/examples/icecast/icecast.conf
25
@dirrm etc/icecast
23
share/examples/icecast/liveice.cfg
24
share/examples/icecast/shoutrc.example
25
share/examples/icecast/playlist.example
26
share/examples/icecast/icedir/addsrv
27
share/examples/icecast/icedir/byserver.php3
28
share/examples/icecast/icedir/bystream.php3
29
share/examples/icecast/icedir/db_mysql.inc
30
share/examples/icecast/icedir/example.html
31
share/examples/icecast/icedir/example.phtml
32
share/examples/icecast/icedir/functions.phps
33
share/examples/icecast/icedir/gen-playlist
34
share/examples/icecast/icedir/gen-playlist.pls
35
share/examples/icecast/icedir/icedir_cleanup.pl
36
share/examples/icecast/icedir/remsrv
37
share/examples/icecast/icedir/servers.sql
38
share/examples/icecast/icedir/sources.sql
39
share/examples/icecast/icedir/tchsrv
40
share/examples/icecast/icedir/touch
41
share/examples/icecast/icedir/yp.inc
42
share/examples/icecast/radio.tcl.example
43
share/examples/icecast/templates/bodytag.html
44
share/examples/icecast/templates/info.html
45
share/examples/icecast/templates/list_directory.html
46
share/examples/icecast/templates/mountlist.html
47
share/examples/icecast/templates/statistics.html
48
share/examples/icecast/frontend.tcl
49
share/examples/icecast/liveiceconfigure.tk
50
@dirrm share/doc/icecast
26
@dirrm share/doc/icecast
51
@dirrm share/examples/icecast/icedir
52
@dirrm share/examples/icecast/templates
53
@dirrm share/examples/icecast

Return to bug 18834