FreeBSD Bugzilla – Attachment 148345 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), 11.04 KB, created by
Nicole Reid
on 2014-10-15 17:33:40 UTC
(
hide
)
Description:
Madsonic 5.1.5150 sharfile
Filename:
MIME Type:
Creator:
Nicole Reid
Created:
2014-10-15 17:33:40 UTC
Size:
11.04 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/pkg-message-tomcat ># madsonic/files ># madsonic/files/message-common.in ># madsonic/files/message-transcoding.in ># madsonic/pkg-message-jetty ># madsonic/distinfo ># madsonic/pkg-plist-chunk ># madsonic/pkg-message-spacer ># 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 x - madsonic/pkg-message-tomcat >sed 's/^X//' >madsonic/pkg-message-tomcat << 'efccd9c3dfba07643630caa5be72b259' >XCreate a manager-gui capable user in Tomcat's conf/tomcat-users.xml, >Xthen access the Manager at http://127.0.0.1:8080/manager/html >X(if using the default Tomcat HTTP port) and deploy Madsonic. >efccd9c3dfba07643630caa5be72b259 >echo c - madsonic/files >mkdir -p madsonic/files > /dev/null 2>&1 >echo x - madsonic/files/message-common.in >sed 's/^X//' >madsonic/files/message-common.in << '32f2a589d251bddd258e2f23eed0c81c' >X >XOn headless machines, start the container server with >X%%CONTAINERFLAGS%%="-Djava.awt.headless=true" >Xto prevent problems showing album art thumbnails. >X >XYou can increase the container server's memory allocation if needed like >X%%CONTAINERFLAGS%%="-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: >X%%CONTAINERFLAGS%%="-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US" >X >XCombine multiple flags into a single %%CONTAINERFLAGS%%="[...]" line. >32f2a589d251bddd258e2f23eed0c81c >echo x - madsonic/files/message-transcoding.in >sed 's/^X//' >madsonic/files/message-transcoding.in << '19eeb0dc64957097bac90625807fa182' >XTranscoding in Madsonic is a way to re-encode music on the fly to a format >Xyour listening device supports. A common use is transcoding FLAC, WMA, >Xand Vorbis audio to MP3 for devices supporting only that codec. >X >XConfiguring transcoding uses up to three commands one would use on a normal >Xcommand line pipe but with a whitelist of executables installed or linked into >X%%MADSONIC_HOME%%/transcode. The transcoding configuration page takes >Xtranscoding rules in the form of: >X >X [rule name] [convert from] [convert to] [command 1] [command 2] [command 3] >X >XThe most compatible single audio transcoding command is with FFmpeg, transcoding >Xany input to MP3, mapping all streams to output, and limiting metadata to the >Xmore-compatible ID3v2.3: >X >X [All to MP3] [ogg flac wma aiff m4a] [mp3] ... >X [ffmpeg -i %s -ab %bk -id3v2_version 3 -map_metadata 0 -map 0:0 -ar 44100 -ac 2 -v 0 -f mp3 -] >X >XYou can also transcode with multiple single-codec commands to avoid >Xthe heavy FFmpeg dependency: >X >X [FLAC to MP3] [flac] [mp3] ... >X [flac --silent --decode --stdout %s] [lame --silent -h -b %b -] >19eeb0dc64957097bac90625807fa182 >echo x - madsonic/pkg-message-jetty >sed 's/^X//' >madsonic/pkg-message-jetty << '364ac6d922f4ab860e6409d1ce92b28a' >XEnable or restart Jetty, then access Madsonic at http://127.0.0.1:8080/madsonic/ >X(if using the default Jetty HTTP port). >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-spacer >sed 's/^X//' >madsonic/pkg-message-spacer << 'f944a3644d22f05857e4c8f046cb199d' >X >X======================================================================== >X >f944a3644d22f05857e4c8f046cb199d >echo x - madsonic/pkg-message-resin3 >sed 's/^X//' >madsonic/pkg-message-resin3 << 'a6ea84d94920836b92ae08bae0138c84' >XEnable or restart resin3, then you can access Madsonic at >Xhttp://127.0.0.1:8080/madsonic/ if using the default Resin HTTP port. >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 VORBIS FAAC FAAD >XFFMPEG_DESC= Depend on FFmpeg for audio and video transcoding >XFLAC_DESC= Depend on FLAC for transcoding >XLAME_DESC= Depend on LAME for MP3 transcoding >XVORBIS_DESC= Depend on oggenc/oggdec for Vorbis transcoding >XFAAC_DESC= Depend on FAAD for AAC/M4A transcoding >XFAAD_DESC= Degend on FAAC for AAC/M4A transcoding >X >XOPTIONS_DEFAULT= FFMPEG JETTY >XOPTIONS_SUB= yes >X >XRUN_DEPENDS+= ${JAVAJARDIR}/servlet-api.jar:${PORTSDIR}/www/servlet-api \ >X ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:${PORTSDIR}/audio/alsa-plugins >XTOMCAT8_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat8 >XTOMCAT8_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat8 >XTOMCAT7_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7 >XTOMCAT7_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7 >XTOMCAT6_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6 >XTOMCAT6_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6 >XJETTY_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:${PORTSDIR}/www/jetty >XJETTY_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:${PORTSDIR}/www/jetty >XRESIN3_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:${PORTSDIR}/www/resin3 >XRESIN3_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:${PORTSDIR}/www/resin3 >XFFMPEG_RUN_DEPENDS= ffmpeg:${PORTSDIR}/multimedia/ffmpeg >XFLAC_RUN_DEPENDS= flac:${PORTSDIR}/audio/flac >XLAME_RUN_DEPENDS= lame:${PORTSDIR}/audio/lame >XVORBIS_RUN_DEPENDS= oggenc:${PORTSDIR}/audio/vorbis-tools >XFAAC_RUN_DEPENDS= faac:${PORTSDIR}/audio/faac >XFAAD_RUN_DEPENDS= faad:${PORTSDIR}/audio/faad >X >X.include <bsd.port.options.mk> >X >XNO_BUILD= yes >XDISTDATE= 20140927 >XUSE_JAVA= yes >XJAVA_VERSION= 1.7+ >XUSES= zip >XUSER= www >XGROUP= www >XMADSONIC_HOME= /var/madsonic >XWRKSRC= ${WRKDIR}/${PORTNAME} >XWEBAPPDIR= ${PREFIX}/${SERVERDIR}/webapps >XPKGMESSAGE= ${WRKDIR}/pkg-message >XPLIST= ${WRKDIR}/plist >XPLIST_SUB+= MADSONIC_HOME="${MADSONIC_HOME}" \ >X WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} >XSUB_FILES= message-common\ >X message-transcoding >XSUB_LIST= MADSONIC_HOME="${MADSONIC_HOME}" >X >X.if ${PORT_OPTIONS:MTOMCAT8} >XAPPPKGMESSAGE= pkg-message-tomcat >XDISTVER= tomcat >XPKGNAMESUFFIX= -tomcat8 >XSERVERDIR= apache-tomcat-8.0 >XSUB_LIST+= CONTAINERFLAGS="tomcat8_java_opts" >X.endif >X >X.if ${PORT_OPTIONS:MTOMCAT7} >XAPPPKGMESSAGE= pkg-message-tomcat >XDISTVER= tomcat >XPKGNAMESUFFIX= -tomcat7 >XSERVERDIR= apache-tomcat-7.0 >XSUB_LIST+= CONTAINERFLAGS="tomcat7_java_opts" >X.endif >X >X.if ${PORT_OPTIONS:MTOMCAT6} >XAPPPKGMESSAGE= pkg-message-tomcat >XDISTVER= tomcat >XPKGNAMESUFFIX= -tomcat6 >XSERVERDIR= apache-tomcat-6.0 >XSUB_LIST+= CONTAINERFLAGS="tomcat60_java_opts" >X.endif >X >X.if ${PORT_OPTIONS:MJETTY} >XAPPPKGMESSAGE= pkg-message-jetty >XDISTVER= jspc >XPKGNAMESUFFIX= -jetty >XSERVERDIR= jetty >XSUB_LIST+= CONTAINERFLAGS="jetty_flags" >X.endif >X >X.if ${PORT_OPTIONS:MRESIN3} >XAPPPKGMESSAGE= pkg-message-resin3 >XDISTVER= tomcat >XPKGNAMESUFFIX= -resin3 >XSERVERDIR= resin3 >XSUB_LIST+= CONTAINERFLAGS="resin3_flags" >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 @${RM} ${PKGMESSAGE} >X @${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE} >X @${CAT} ${PKGDIR}/${APPPKGMESSAGE} >> ${PKGMESSAGE} >X @${CAT} ${WRKDIR}/message-common >> ${PKGMESSAGE} >X @${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE} >X @${CAT} ${WRKDIR}/message-transcoding >> ${PKGMESSAGE} >X @${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE} >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