FreeBSD Bugzilla – Attachment 186441 Details for
Bug 222378
[New port] www/airsonic 10.0: free, web-based media streamer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Airsonic 10.0.1 sharfile
airsonic-10.0.1.shar (text/plain), 12.41 KB, created by
Allison Reid
on 2017-09-17 02:15:37 UTC
(
hide
)
Description:
Airsonic 10.0.1 sharfile
Filename:
MIME Type:
Creator:
Allison Reid
Created:
2017-09-17 02:15:37 UTC
Size:
12.41 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: ># ># airsonic/ ># airsonic/pkg-message-tomcat ># airsonic/Makefile ># airsonic/distinfo ># airsonic/pkg-descr ># airsonic/files ># airsonic/files/message-transcoding.in ># airsonic/files/message-common.in ># airsonic/pkg-message-jetty ># airsonic/pkg-message-spacer ># airsonic/pkg-plist-chunk ># airsonic/pkg-message-resin3 ># >echo c - airsonic/ >mkdir -p airsonic/ > /dev/null 2>&1 >echo x - airsonic/pkg-message-tomcat >sed 's/^X//' >airsonic/pkg-message-tomcat << 'e4658cbe8df6c7001a90ebc68288a8b1' >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 Airsonic. >e4658cbe8df6c7001a90ebc68288a8b1 >echo x - airsonic/Makefile >sed 's/^X//' >airsonic/Makefile << '1c3f21dbb4336737a917e15628798eb8' >X# Created by: Allison Nicole Reid <root@cooltrainer.org> >X# $FreeBSD$ >X >XPORTNAME= airsonic >XPORTVERSION= 10.0.1 >XCATEGORIES= www java >XMASTER_SITES= https://github.com/airsonic/airsonic/releases/download/v${PORTVERSION}/ >XDISTFILES= ${PORTNAME}.war >X >XMAINTAINER= root@cooltrainer.org >XCOMMENT= Airsonic 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 XMP MPC APE >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= Depend on FAAC for AAC/M4A transcoding >XXMP_DESC= Depend on XMP for module file transcoding >XMPC_DESC= Depend on mpcdec for MPC transcoding >XAPE_DESC= Depend on mac for Monkey's Audio transcoding #' >X >XOPTIONS_DEFAULT= FFMPEG JETTY >XOPTIONS_SUB= yes >X >XRUN_DEPENDS+= ${JAVALIBDIR}/servlet-api.jar:www/servlet-api \ >X ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins >XTOMCAT8_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat8 >XTOMCAT8_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat8 >XTOMCAT7_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat7 >XTOMCAT7_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat7 >XTOMCAT6_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat6 >XTOMCAT6_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat6 >XJETTY_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 >XJETTY_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 >XRESIN3_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:www/resin3 >XRESIN3_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/lib/resin.jar:www/resin3 >XFFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg >XFLAC_RUN_DEPENDS= flac:audio/flac >XLAME_RUN_DEPENDS= lame:audio/lame >XVORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools >XFAAC_RUN_DEPENDS= faac:audio/faac >XFAAD_RUN_DEPENDS= faad:audio/faad >XXMP_RUN_DEPENDS= xmp:audio/xmp >XMPC_RUN_DEPENDS= mpcdec:audio/musepack >XAPE_RUN_DEPENDS= mac:audio/mac >X >X.include <bsd.port.options.mk> >X >XNO_BUILD= yes >XUSE_JAVA= yes >XJAVA_VERSION= 1.7+ >XUSES= zip >XUSER= www >XGROUP= www >XAIRSONIC_HOME= /var/airsonic >XNO_WRKSUBDIR= yes >XWEBAPPDIR= ${PREFIX}/${SERVERDIR}/webapps >XPKGMESSAGE= ${WRKDIR}/pkg-message >XPLIST= ${WRKDIR}/plist >XPLIST_SUB+= AIRSONIC_HOME="${AIRSONIC_HOME}" \ >X WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} >XSUB_FILES= message-common\ >X message-transcoding >XSUB_LIST= AIRSONIC_HOME="${AIRSONIC_HOME}" >X >X.if ${PORT_OPTIONS:MTOMCAT8} >XAPPPKGMESSAGE= pkg-message-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 >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 >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 >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 >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}/,,}/${PORTNAME}|' \ >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}/,,}/${PORTNAME}|' \ >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 ${MKDIR} ${STAGEDIR}${WEBAPPDIR} >X cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WEBAPPDIR}/${PORTNAME} >X >X ${MKDIR} ${STAGEDIR}${AIRSONIC_HOME} >X ${MKDIR} ${STAGEDIR}${AIRSONIC_HOME}/transcode >X >X.include <bsd.port.mk> >1c3f21dbb4336737a917e15628798eb8 >echo x - airsonic/distinfo >sed 's/^X//' >airsonic/distinfo << 'c13a7a48dd14f9f06f92effa0087c23f' >XTIMESTAMP = 1503614776 >XSHA256 (airsonic.war) = 8c2eaf42437a946f240359e0fbc69e1f82785eb173470082710088447e437ee2 >XSIZE (airsonic.war) = 65458661 >c13a7a48dd14f9f06f92effa0087c23f >echo x - airsonic/pkg-descr >sed 's/^X//' >airsonic/pkg-descr << '99fbb4802ef862855cc585d701e3adf3' >XAirsonic is a free, web-based media streamer, providing ubiquitious access to your music. Use it to share your music with friends, or to listen to your own music while at work. You can stream to multiple players simultaneously, for instance to one player in your kitchen and another in your living room. >X >XAirsonic is designed to handle very large music collections (hundreds of gigabytes). Although optimized for MP3 streaming, it works for any audio or video format that can stream over HTTP, for instance AAC and OGG. By using transcoder plug-ins, Airsonic supports on-the-fly conversion and streaming of virtually any audio format, including WMA, FLAC, APE, Musepack, WavPack and Shorten. >X >XAirsonic's goal is to provide a full-featured, stable, self-hosted media server based on the Subsonic codebase that is free, open source, and community driven. >X >XWWW: https://github.com/airsonic/airsonic >99fbb4802ef862855cc585d701e3adf3 >echo c - airsonic/files >mkdir -p airsonic/files > /dev/null 2>&1 >echo x - airsonic/files/message-transcoding.in >sed 's/^X//' >airsonic/files/message-transcoding.in << 'ba4b4daea66eb6490979855b3fd9f06b' >XTranscoding in Airsonic 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%%AIRSONIC_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 -] >X >X [AAC to MP3] [m4a] [mp3] ... >X [faad -s -o - %s] [lame --silent -h -b %b -] >X >X [Vorbis to MP3] [ogg] [mp3] ... >X [oggdec -Q -o /dev/stdout %s] [lame --silent -h -b %b -] >X >X [MPC to MP3] [mpc] [mp3] ... >X [mpcdec %s -] [lame --silent -h -b %b -] >X >X [APE to MP3] [ape] [mp3] ... >X [mac %s - -d] [lame --silent -h -b %b -] >X >X [Trackers to MP3] [mod s3m xm it] [mp3] ... >X [xmp -q -c %s] [lame --silent -h -b %b -] >ba4b4daea66eb6490979855b3fd9f06b >echo x - airsonic/files/message-common.in >sed 's/^X//' >airsonic/files/message-common.in << '0913e017110692c224d2f4ada828d9ed' >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. >0913e017110692c224d2f4ada828d9ed >echo x - airsonic/pkg-message-jetty >sed 's/^X//' >airsonic/pkg-message-jetty << 'ca9f53cb6791e13faac8905e7dab4937' >XEnable or restart Jetty, then access Airsonic at http://127.0.0.1:8080/airsonic/ >X(if using the default Jetty HTTP port). >ca9f53cb6791e13faac8905e7dab4937 >echo x - airsonic/pkg-message-spacer >sed 's/^X//' >airsonic/pkg-message-spacer << 'ad97670b06def8418d17f137bf2d9ada' >X >X======================================================================== >X >ad97670b06def8418d17f137bf2d9ada >echo x - airsonic/pkg-plist-chunk >sed 's/^X//' >airsonic/pkg-plist-chunk << '36143bc3e96f91ade31a91234347a063' >X@unexec if [ -d %%WEBAPPS%%/airsonic ]; then rm -rf %%WEBAPPS%%/airsonic; fi >X@unexec test -d %%AIRSONIC_HOME%% && (echo "Configuration information and database saved." && echo "If you you are permanently uninstalling this package" && echo "please remove %%AIRSONIC_HOME%% and its contents manually.") >X%%FFMPEG%%@exec ln -sf %%PREFIX%%/bin/ffmpeg %%AIRSONIC_HOME%%/transcode/ffmpeg >X%%FLAC%%@exec ln -sf %%PREFIX%%/bin/flac %%AIRSONIC_HOME%%/transcode/flac >X%%LAME%%@exec ln -sf %%PREFIX%%/bin/lame %%AIRSONIC_HOME%%/transcode/lame >X%%VORBIS%%@exec ln -sf %%PREFIX%%/bin/oggdec %%AIRSONIC_HOME%%/transcode/oggdec >X%%VORBIS%%@exec ln -sf %%PREFIX%%/bin/oggenc %%AIRSONIC_HOME%%/transcode/oggenc >X%%FAAC%%@exec ln -sf %%PREFIX%%/bin/faac %%AIRSONIC_HOME%%/transcode/faac >X%%FAAD%%@exec ln -sf %%PREFIX%%/bin/faad %%AIRSONIC_HOME%%/transcode/faad >X%%XMP%%@exec ln -sf %%PREFIX%%/bin/xmp %%AIRSONIC_HOME%%/transcode/xmp >X%%MPC%%@exec ln -sf %%PREFIX%%/bin/mpcdec %%AIRSONIC_HOME%%/transcode/mpcdec >X%%MPC%%@exec ln -sf %%PREFIX%%/bin/mpcenc %%AIRSONIC_HOME%%/transcode/mpcenc >X%%APE%%@exec ln -sf %%PREFIX%%/bin/mac %%AIRSONIC_HOME%%/transcode/mac >X%%FFMPEG%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/ffmpeg >X%%FLAC%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/flac >X%%LAME%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/lame >X%%VORBIS%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/oggdec >X%%VORBIS%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/oggenc >X%%FAAC%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/faac >X%%FAAD%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/faad >X%%XMP%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/xmp >X%%MPC%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/mpcdec >X%%MPC%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/mpcenc >X%%APE%%@unexec rm -f %%AIRSONIC_HOME%%/transcode/mac >X@dir %%AIRSONIC_HOME%%/transcode >X@dir %%AIRSONIC_HOME%% >36143bc3e96f91ade31a91234347a063 >echo x - airsonic/pkg-message-resin3 >sed 's/^X//' >airsonic/pkg-message-resin3 << 'c7b0a84e77896fd434ad53423109c744' >XEnable or restart resin3, then you can access Airsonic at >Xhttp://127.0.0.1:8080/airsonic/ if using the default Resin HTTP port. >c7b0a84e77896fd434ad53423109c744 >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
Flags:
root
:
maintainer-approval+
Actions:
View
Attachments on
bug 222378
: 186441 |
186442