FreeBSD Bugzilla – Attachment 112599 Details for
Bug 154031
New port: audio/shoutcast2: SHOUTcast Distributed Network Audio Server 2.0 (and take ownership of audio/shoutcast)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
audio-shoutcast2-2.0.b10.shar
audio-shoutcast2-2.0.b10.shar (text/plain), 7.14 KB, created by
jarrod
on 2011-01-15 16:00:25 UTC
(
hide
)
Description:
audio-shoutcast2-2.0.b10.shar
Filename:
MIME Type:
Creator:
jarrod
Created:
2011-01-15 16:00:25 UTC
Size:
7.14 KB
patch
obsolete
># 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: ># ># ports/audio/shoutcast2 ># ports/audio/shoutcast2/Makefile ># ports/audio/shoutcast2/distinfo ># ports/audio/shoutcast2/files ># ports/audio/shoutcast2/files/shoutcast.in ># ports/audio/shoutcast2/files/pkg-message.in ># ports/audio/shoutcast2/pkg-descr ># ports/audio/shoutcast2/pkg-plist ># >echo c - ports/audio/shoutcast2 >mkdir -p ports/audio/shoutcast2 > /dev/null 2>&1 >echo x - ports/audio/shoutcast2/Makefile >sed 's/^X//' >ports/audio/shoutcast2/Makefile << 'a55700de74730da9048dc0e8165e9048' >X# New ports collection makefile for: shoutcast2 >X# Date created: 15 January 2011 >X# Whom: Jarrod Sayers <jarrod@downtools.com.au> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= shoutcast >XPORTVERSION= 2.0.b10 >XDISTNAME= sc_serv2_bsd_8_x_12_14_2010 >XCATEGORIES= audio net >XMASTER_SITES= http://download.nullsoft.com/shoutcast/tools/ >X >XMAINTAINER= jarrod@downtools.com.au >XCOMMENT= SHOUTcast Distributed Network Audio Server >X >XRESTRICTED= redistribution of software is not permitted >XIA32_BINARY_PORT= yes >X >XUSE_RC_SUBR= shoutcast >X >XCONFLICTS= shoutcast-* linux-shoutcast-* >XNO_WRKSUBDIR= yes >XNO_BUILD= yes >X >XSHOUTCASTUSER= ${PORTNAME} >XSHOUTCASTGROUP= ${PORTNAME} >XSHOUTCASTDIR= /var/run/${PORTNAME} >X >XPLIST_SUB= SHOUTCASTUSER=${SHOUTCASTUSER} \ >X SHOUTCASTGROUP=${SHOUTCASTGROUP} \ >X SHOUTCASTDIR=${SHOUTCASTDIR} >X >XSUB_FILES= pkg-message >X >X# XXX: Don't remove PREFIX from SUB_LIST here. >XSUB_LIST= PREFIX=${PREFIX} \ >X ${PLIST_SUB} >X >XUSERS= ${SHOUTCASTUSER} >XGROUPS= ${SHOUTCASTGROUP} >X >XLATEST_LINK= shoutcast2 >X >X.include <bsd.port.pre.mk> >X >X.if ${OSVERSION} < 800000 >XIGNORE= is for FreeBSD 8.x and later >X.endif >X >Xpost-patch: >X @${REINPLACE_CMD} -e '/^logfile=.*\/logfile.log/d' \ >X -e '/sc_serv2 directory/d' \ >X -e 's#=.*/sc_serv.log#=/var/log/sc_serv.log#g' \ >X -e 's#=.*/sc_w3c.log#=/var/log/sc_w3c.log#g' \ >X -e 's#=./control/#=${SHOUTCASTDIR}/#g' ${WRKSRC}/sc_serv_basic.conf >X >Xdo-install: >X ${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${PREFIX}/sbin >X ${MKDIR} ${ETCDIR} >X ${INSTALL_DATA} ${WRKSRC}/sc_serv_basic.conf ${ETCDIR}/sc_serv_basic.conf.sample >X ${INSTALL_DATA} ${WRKSRC}/sc_serv_debug.conf ${ETCDIR}/sc_serv_debug.conf.sample >X ${INSTALL_DATA} ${WRKSRC}/sc_serv_public.conf ${ETCDIR}/sc_serv_public.conf.sample >X ${INSTALL_DATA} ${WRKSRC}/sc_serv_relay.conf ${ETCDIR}/sc_serv_relay.conf.sample >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${DOCSDIR} >X ${INSTALL_DATA} ${WRKSRC}/changes.txt ${DOCSDIR}/changes.txt >X ${INSTALL_DATA} ${WRKSRC}/docs/crossdomain.xml ${DOCSDIR}/crossdomain.xml >X ${INSTALL_DATA} ${WRKSRC}/docs/dsp_sc/dsp_sc.txt ${DOCSDIR}/dsp_sc.txt >X ${INSTALL_DATA} ${WRKSRC}/docs/dsp_sc/dsp_sc_config.txt ${DOCSDIR}/dsp_sc_config.txt >X ${INSTALL_DATA} ${WRKSRC}/docs/getting_started.txt ${DOCSDIR}/getting_started.txt >X ${INSTALL_DATA} ${WRKSRC}/docs/sc2_xml_metadata.txt ${DOCSDIR}/sc2_xml_metadata.txt >X ${INSTALL_DATA} ${WRKSRC}/docs/sc_serv2.txt ${DOCSDIR}/sc_serv2.txt >X.endif >X >Xpost-install: >X ${MKDIR} ${SHOUTCASTDIR} >X @${CHMOD} 0750 ${SHOUTCASTDIR} >X @${CHOWN} ${SHOUTCASTUSER}:${SHOUTCASTGROUP} ${SHOUTCASTDIR} >X @${CAT} ${PKGMESSAGE} >X >X.include <bsd.port.post.mk> >a55700de74730da9048dc0e8165e9048 >echo x - ports/audio/shoutcast2/distinfo >sed 's/^X//' >ports/audio/shoutcast2/distinfo << '5e811b352d8e834bd43b4fdb636bedd7' >XSHA256 (sc_serv2_bsd_8_x_12_14_2010.tar.gz) = f5f6a6d025a0a75b353d12f919a4c1c435b11a6aa36c167c2c31f6d54dfdfd78 >XSIZE (sc_serv2_bsd_8_x_12_14_2010.tar.gz) = 603975 >5e811b352d8e834bd43b4fdb636bedd7 >echo c - ports/audio/shoutcast2/files >mkdir -p ports/audio/shoutcast2/files > /dev/null 2>&1 >echo x - ports/audio/shoutcast2/files/shoutcast.in >sed 's/^X//' >ports/audio/shoutcast2/files/shoutcast.in << '848a42348207055c161a040f8c2605bd' >X#!/bin/sh >X# >X# $FreeBSD$ >X# >X >X# PROVIDE: shoutcast >X# REQUIRE: LOGIN >X# BEFORE: >X# KEYWORD: shutdown >X >X# >X# Add the following lines to /etc/rc.conf to enable SHOUTcast: >X# shoutcast_enable (bool): Set to "NO" by default. >X# Set it to "YES" to enable SHOUTcast. >X# shoutcast_configfile (str): Set to "%%PREFIX%%/%%ETCDIR%%/sc_serv.conf" by default. >X# >X >X. /etc/rc.subr >X >Xname="shoutcast" >Xrcvar=`set_rcvar` >Xshoutcast_logfile="/var/log/sc_serv.log" >X >Xstart_cmd="shoutcast_startcmd" >Xstop_cmd="shoutcast_stopcmd" >X >X[ -z "${shoutcast_enable}" ] && shoutcast_enable="NO" >X[ -z "${shoutcast_configfile}" ] && shoutcast_configfile="%%PREFIX%%/%%ETCDIR%%/sc_serv.conf" >X >Xload_rc_config "${name}" >X >Xrequired_files="${shoutcast_configfile}" >X >Xshoutcast_startcmd() { >X touch ${shoutcast_logfile} >X chown %%SHOUTCASTUSER%%:wheel ${shoutcast_logfile} >X chmod 0640 ${shoutcast_logfile} >X su %%SHOUTCASTUSER%% -c "cd %%SHOUTCASTDIR%% && %%PREFIX%%/sbin/sc_serv ${shoutcast_configfile} >/dev/null 2>&1 &" >X} >X >Xshoutcast_stopcmd() { >X killall sc_serv >X} >X >Xrun_rc_command "$1" >848a42348207055c161a040f8c2605bd >echo x - ports/audio/shoutcast2/files/pkg-message.in >sed 's/^X//' >ports/audio/shoutcast2/files/pkg-message.in << '6f06ae28f62b281d7ccbb59fe3b4dfa2' >X********************************************************************** >X >X SHOUTcast Distributed Network Audio Server is now installed. >X >X Enable SHOUTcast in /etc/rc.conf with the following line: >X >X shoutcast_enable="YES" >X >X Configuration templates are available in %%PREFIX%%/%%ETCDIR%% as >X *.sample files. A basic installation can be completed by copying >X sc_serv_basic.conf.sample to sc_serv.conf. >X >X********************************************************************** >6f06ae28f62b281d7ccbb59fe3b4dfa2 >echo x - ports/audio/shoutcast2/pkg-descr >sed 's/^X//' >ports/audio/shoutcast2/pkg-descr << '252b6a4f2295fb1feda90e5a7da208a8' >XSHOUTcast Distributed Network Audio Server 2.0 (or DNAS for short) is >Xthe next-generation SHOUTcast server technology, designed to work with >Xthe new YP 2.0 playform that supports real-time and coming soon search >Xresults, international chatacter encoding support, and much more! >X >XWWW: http://www.shoutcast.com/broadcast-tools/ >252b6a4f2295fb1feda90e5a7da208a8 >echo x - ports/audio/shoutcast2/pkg-plist >sed 's/^X//' >ports/audio/shoutcast2/pkg-plist << '430fbb29a6b487db5bf195fc741ba6eb' >X@exec mkdir -p %%SHOUTCASTDIR%% >X@exec chmod 0750 %%SHOUTCASTDIR%% >X@exec chown %%SHOUTCASTUSER%%:%%SHOUTCASTGROUP%% %%SHOUTCASTDIR%% >X%%ETCDIR%%/sc_serv_basic.conf.sample >X%%ETCDIR%%/sc_serv_debug.conf.sample >X%%ETCDIR%%/sc_serv_public.conf.sample >X%%ETCDIR%%/sc_serv_relay.conf.sample >Xsbin/sc_serv >X%%PORTDOCS%%%%DOCSDIR%%/changes.txt >X%%PORTDOCS%%%%DOCSDIR%%/crossdomain.xml >X%%PORTDOCS%%%%DOCSDIR%%/dsp_sc.txt >X%%PORTDOCS%%%%DOCSDIR%%/dsp_sc_config.txt >X%%PORTDOCS%%%%DOCSDIR%%/getting_started.txt >X%%PORTDOCS%%%%DOCSDIR%%/sc2_xml_metadata.txt >X%%PORTDOCS%%%%DOCSDIR%%/sc_serv2.txt >X@dirrmtry %%ETCDIR%% >X%%PORTDOCS%%@dirrm %%DOCSDIR%% >X@unexec if [ ! -s %%SHOUTCASTDIR%%/sc_serv.ban ]; then rm -f %%SHOUTCASTDIR%%/sc_serv.ban; fi >X@unexec if [ ! -s %%SHOUTCASTDIR%%/sc_serv.rip ]; then rm -f %%SHOUTCASTDIR%%/sc_serv.rip; fi >X@unexec rmdir %%SHOUTCASTDIR%% 2>/dev/null || true >430fbb29a6b487db5bf195fc741ba6eb >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 154031
: 112599 |
112600