FreeBSD Bugzilla – Attachment 148021 Details for
Bug 186860
[New Port] www/madsonic network media streamer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
MAdsonic 5.1.5150 sharfile
madsonic-5.1.5150.shar (text/plain), 10.40 KB, created by
Nicole Reid
on 2014-10-06 06:49:50 UTC
(
hide
)
Description:
MAdsonic 5.1.5150 sharfile
Filename:
MIME Type:
Creator:
Nicole Reid
Created:
2014-10-06 06:49:50 UTC
Size:
10.40 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: ># ># madsonic ># madsonic/pkg-descr ># madsonic/files ># madsonic/files/pkg-message-tomcat.in ># madsonic/pkg-message-jetty ># madsonic/distinfo ># madsonic/pkg-plist-chunk ># madsonic/pkg-message-resin3 ># madsonic/Makefile ># >echo c - madsonic >mkdir -p madsonic > /dev/null 2>&1 >echo x - madsonic/pkg-descr >sed 's/^X//' >madsonic/pkg-descr << '28bfa9cc6d476e1f4be7eef05ba9fe17' >XMadsonic instantly transports your media to any HTTP connected device >Xregardless of bitrate. You can stream to multiple players simultaneously. >XMadsonic is designed to handle very large music collections. By using >Xtranscoder plug-ins, Madsonic supports on-the-fly conversion and streaming >Xof virtually any audio format, including MP3, OGG, WMA, FLAC, APE and more. >X >XMadsonic is a fork of Subsonic, offering more features and mobile client >Xaccess without the subscription fee. >X >XWWW: http://www.madsonic.org >28bfa9cc6d476e1f4be7eef05ba9fe17 >echo c - madsonic/files >mkdir -p madsonic/files > /dev/null 2>&1 >echo x - madsonic/files/pkg-message-tomcat.in >sed 's/^X//' >madsonic/files/pkg-message-tomcat.in << 'b8d52ca7bc7f2a3ebb814a58f97e4ab2' >X >X======================================================================== >X >XCreate a manager-gui capable user in Tomcat's conf/tomcat-users.xml, >Xthen access the Manager at http://127.0.0.1:%%TOMCATPORT%%/manager/html >Xand start Madsonic. >X >XAccess Madsonic at http://127.0.0.1:%%TOMCATPORT%%/subsonic/ (if using the default >XTomcat HTTP port). >X >XOn headless machines, start Tomcat with >X%%TOMCATOPTS%%="-Djava.awt.headless=true" >Xto prevent problems showing album art thumbnails. >X >XUse a UTF-8 locale to enable support for all possible tags. Otherwise, >Xfiles with Unicode tags will not scan properly and will be unplayable. >XIf you have trouble with tags displayed in the web interface but not with >Xtag scanning make sure your Tomcat port %%TOMCATPORT%% HTTP Connector >Xis configured with a UTF-8 URIEncoding. >XChapter 23 of the FreeBSD Handbook has information on using locales. >Xhttps://www.freebsd.org/doc/handbook/l10n.html >X >XFor example, US English: >X%%TOMCATOPTS%%="-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US" >X >XCombine multiple Tomcat flags in a single %%TOMCATOPTS%%="[...]" line. >X >X======================================================================== >b8d52ca7bc7f2a3ebb814a58f97e4ab2 >echo x - madsonic/pkg-message-jetty >sed 's/^X//' >madsonic/pkg-message-jetty << '364ac6d922f4ab860e6409d1ce92b28a' >X >X======================================================================== >X >XEnable or restart Jetty, then access Madsonic at http://127.0.0.1:8080/madsonic/ >X(if using the default Jetty HTTP port). >X >XOn headless machines, start Jetty with >Xjetty_flags="-Djava.awt.headless=true" >Xto prevent problems showing album art thumbnails. >X >XYou can increase Jetty's memory allocation if needed like >Xjetty_flags="-Xms96m -Xmx512m" >X >XUse a UTF-8 locale to enable support for all possible tags. Otherwise, >Xfiles with Unicode tags will not scan properly and will be unplayable. >XChapter 23 of the FreeBSD Handbook has information on using locales. >Xhttps://www.freebsd.org/doc/handbook/l10n.html >X >XFor example, US English: >Xjetty_flags="-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US" >X >XCombine multiple Jetty flags in a single jetty_flags="[...]" line. >X >X======================================================================== >364ac6d922f4ab860e6409d1ce92b28a >echo x - madsonic/distinfo >sed 's/^X//' >madsonic/distinfo << '4e894a15d8f3c06845fa7bbb601bdade' >XSHA256 (20140927_madsonic-5.1.5150-war-tomcat.zip) = f56b9e48fdfeb5f207bcbd7152393a2491739337d843942f1795adde248f1a8f >XSIZE (20140927_madsonic-5.1.5150-war-tomcat.zip) = 47617542 >XSHA256 (20140927_madsonic-5.1.5150-war-jspc.zip) = 300f2fd713d08700933b44ef178325520bedb33349ec19910eca4679b92f8597 >XSIZE (20140927_madsonic-5.1.5150-war-jspc.zip) = 47619896 >4e894a15d8f3c06845fa7bbb601bdade >echo x - madsonic/pkg-plist-chunk >sed 's/^X//' >madsonic/pkg-plist-chunk << '5fc7837b009c06381812df4b943a63d3' >X@unexec if [ -d %%WEBAPPS%%/madsonic ]; then rm -rf %%WEBAPPS%%/madsonic; fi >X@unexec test -d %%MADSONIC_HOME%% && (echo "Configuration information and database saved." && echo "If you you are permanently uninstalling this package" && echo "please remove %%MADSONIC_HOME%% and its contents manually.") >X%%FFMPEG%%@exec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/ffmpeg >X%%FLAC%%@exec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/flac >X%%LAME%%@exec ln -sf %%PREFIX%%/bin/lame %%MADSONIC_HOME%%/transcode/lame >X%%FFMPEG%%@unexec rm -f %%MADSONIC_HOME%%/transcode/ffmpeg >X%%FLAC%%@unexec rm -f %%MADSONIC_HOME%%/transcode/flac >X%%LAME%%@unexec rm -f %%MADSONIC_HOME%%/transcode/lame >X@dir %%MADSONIC_HOME%%/transcode >X@dir %%MADSONIC_HOME%% >5fc7837b009c06381812df4b943a63d3 >echo x - madsonic/pkg-message-resin3 >sed 's/^X//' >madsonic/pkg-message-resin3 << 'a6ea84d94920836b92ae08bae0138c84' >X >X======================================================================== >X >XEnable or restart resin3, then you can access Madsonic at >Xhttp://127.0.0.1:8080/madsonic/ if using the default Resin HTTP port. >X >XOn headless machines, start Resin with >Xresin3_flags="-Djava.awt.headless=true" >Xto prevent problems showing album art thumbnails. >X >XYou can increase resin3's memory allocation if needed like >Xresin3_flags="-Xms96m -Xmx512m" >X >XUse a UTF-8 locale to enable support for all possible tags. Otherwise, >Xfiles with Unicode tags will not scan properly and will be unplayable. >XChapter 23 of the FreeBSD Handbook has information on using locales. >Xhttps://www.freebsd.org/doc/handbook/l10n.html >X >XFor example, US English: >Xresin3_flags="-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US" >X >XCombine multiple resin3 flags in a single resin3_flags="[...]" line. >X >X======================================================================== >a6ea84d94920836b92ae08bae0138c84 >echo x - madsonic/Makefile >sed 's/^X//' >madsonic/Makefile << '166693834850d0cd643e8f70832bf949' >X# Created by: Nicole Reid <root@cooltrainer.org> >X# $FreeBSD$ >X >XPORTNAME= madsonic >XPORTVERSION= 5.1.5150 >XCATEGORIES= www java >XMASTER_SITES= http://www.madsonic.org/download/5.1/ >XDISTFILES= ${DISTDATE}_${PORTNAME}-${PORTVERSION}-war-tomcat.zip \ >X ${DISTDATE}_${PORTNAME}-${PORTVERSION}-war-jspc.zip >X >XMAINTAINER= root@cooltrainer.org >XCOMMENT= Madsonic streaming media server >X >XLICENSE= GPLv3 >X >XOPTIONS_SINGLE= APPSERVER >XAPPSERVER_DESC= Java Application Server >XOPTIONS_SINGLE_APPSERVER= JETTY TOMCAT8 TOMCAT7 TOMCAT6 RESIN3 >XTOMCAT8_DESC= Use Tomcat 8.x >XTOMCAT7_DESC= Use Tomcat 7.x >XTOMCAT6_DESC= Use Tomcat 6.x >XJETTY_DESC= Use Jetty >XRESIN3_DESC= Use Resin 3 >X >XOPTIONS_GROUP= TRANSCODING >XTRANSCODING_DESC= Transcoding support >XOPTIONS_GROUP_TRANSCODING= FFMPEG FLAC LAME >XFFMPEG_DESC= Depend on FFmpeg for transcoding >XFLAC_DESC= Depend on FLAC for transcoding >XLAME_DESC= Depend on LAME for transcoding >X >XOPTIONS_DEFAULT= FFMPEG FLAC LAME JETTY >XOPTIONS_SUB= yes >X >X.include <bsd.port.options.mk> >X >XNO_BUILD= yes >XDISTDATE= 20140927 >XUSE_JAVA= yes >XJAVA_VERSION= 1.6+ >XUSES= zip >XUSER= www >XGROUP= www >XMADSONIC_HOME= /var/madsonic >XWRKSRC= ${WRKDIR}/${PORTNAME} >XWEBAPPDIR= ${PREFIX}/${SERVERDIR}/webapps >XPLIST= ${WRKDIR}/plist >XPLIST_SUB+= MADSONIC_HOME="${MADSONIC_HOME}" \ >X WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} >X >XRUN_DEPENDS+= ${JAVAJARDIR}/servlet-api.jar:${PORTSDIR}/www/servlet-api >X >X.if ${PORT_OPTIONS:MFFMPEG} >XRUN_DEPENDS+= ffmpeg:${PORTSDIR}/multimedia/ffmpeg >X.endif >X >X.if ${PORT_OPTIONS:MFLAC} >XRUN_DEPENDS+= flac:${PORTSDIR}/audio/flac >X.endif >X >X.if ${PORT_OPTIONS:MLAME} >XRUN_DEPENDS+= lame:${PORTSDIR}/audio/lame >X.endif >X >X.if ${PORT_OPTIONS:MTOMCAT8} || ${PORT_OPTIONS:MTOMCAT7} || ${PORT_OPTIONS:MTOMCAT6} >XDISTVER= tomcat >XPKGMESSAGE= pkg-message-tomcat >XSUB_FILES= pkg-message-tomcat >XDISTVER= -tomcat >X.endif >X >X.if ${PORT_OPTIONS:MTOMCAT8} >XPKGNAMESUFFIX= -tomcat8 >XDISTVER= tomcat >XSERVERDIR= apache-tomcat-8.0 >XBUILD_DEPENDS+= ${LOCALBASE}/apache-tomcat-8.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat8 >XRUN_DEPENDS+= ${LOCALBASE}/apache-tomcat-8.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat8 >XSUB_LIST= TOMCATOPTS="tomcat8_java_opts" \ >X TOMCATPORT="8080" >X.endif >X >X.if ${PORT_OPTIONS:MTOMCAT7} >XPKGNAMESUFFIX= -tomcat7 >XDISTVER= tomcat >XSERVERDIR= apache-tomcat-7.0 >XBUILD_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7 >XRUN_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7 >XSUB_LIST= TOMCATOPTS="tomcat7_java_opts" \ >X TOMCATPORT="8080" >X.endif >X >X.if ${PORT_OPTIONS:MTOMCAT6} >XPKGNAMESUFFIX= -tomcat6 >XDISTVER= tomcat >XSERVERDIR= apache-tomcat-6.0 >XBUILD_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6 >XRUN_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6 >XSUB_LIST= TOMCATOPTS="tomcat60_java_opts" \ >X TOMCATPORT="8180" >X.endif >X >X.if ${PORT_OPTIONS:MJETTY} >XDISTVER= jspc >XPKGNAMESUFFIX= -jetty >XPKGMESSAGE= pkg-message-jetty >XSERVERDIR= jetty >XBUILD_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/start.jar:${PORTSDIR}/www/jetty >XRUN_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/start.jar:${PORTSDIR}/www/jetty >X.endif >X >X.if ${PORT_OPTIONS:MRESIN3} >XDISTVER= tomcat >XPKGNAMESUFFIX= -resin3 >XPKGMESSAGE= pkg-message-resin3 >XSERVERDIR= resin3 >XBUILD_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:${PORTSDIR}/www/resin3 >XRUN_DEPENDS+= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:${PORTSDIR}/www/resin3 >X.endif >X >Xdo-extract: >X ${EXTRACT_CMD} -qo ${DISTDIR}/${DISTDATE}_${PORTNAME}-${PORTVERSION}-war-${DISTVER}.zip -d ${WRKDIR} >X >Xpost-extract: >X @${MKDIR} ${WRKSRC} >X @${TAR} xf ${WRKDIR}/${PORTNAME}.war -C ${WRKSRC} >X >Xpre-install: >X ${RM} ${PLIST} >X ${ECHO} "@owner ${USER}" >> ${PLIST} >X ${ECHO} "@group ${GROUP}" >> ${PLIST} >X cd ${WRKSRC}; ${FIND} . -type f | cut -c2- \ >X | ${SED} 's|^|${WEBAPPDIR:S,${PREFIX}/,,}/${PORTDIRNAME}|' \ >X | ${SORT} >> ${PLIST} >X ${CAT} ${PKGDIR}/pkg-plist-chunk >> ${PLIST} >X cd ${WRKSRC}; ${FIND} . -type d | cut -c2- \ >X | ${SED} 's|^|@dir ${WEBAPPDIR:S,${PREFIX}/,,}/${PORTDIRNAME}|' \ >X | ${SORT} -r >> ${PLIST} >X >Xdo-install: >X cd ${WRKDIR} && ${COPYTREE_SHARE} ${PORTDIRNAME} ${STAGEDIR}${WEBAPPDIR} >X >Xpost-stage: >X ${MKDIR} ${STAGEDIR}${MADSONIC_HOME} >X ${MKDIR} ${STAGEDIR}${MADSONIC_HOME}/transcode >X >X.include <bsd.port.mk> >166693834850d0cd643e8f70832bf949 >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 186860
:
140323
|
148021
|
148022
|
148054
|
148055
|
148104
|
148317
|
148318
|
148345
|
148647
|
148685
|
148686
|
148812