git: 65768300d175 - main - www/madsonic: Remove expired port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Dec 2023 13:29:33 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=65768300d175da01ec941495728c1b2b8b0991ab commit 65768300d175da01ec941495728c1b2b8b0991ab Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2023-12-02 13:24:18 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2023-12-02 13:29:24 +0000 www/madsonic: Remove expired port 2023-11-30 www/madsonic: Depends on www/jetty8 which has been listed as end of life since 2015 --- MOVED | 1 + www/Makefile | 1 - www/madsonic/Makefile | 127 ------------------------------ www/madsonic/distinfo | 5 -- www/madsonic/files/message-common.in | 17 ---- www/madsonic/files/message-transcoding.in | 38 --------- www/madsonic/pkg-descr | 8 -- www/madsonic/pkg-message-jetty | 2 - www/madsonic/pkg-message-spacer | 3 - www/madsonic/pkg-message-tomcat | 3 - www/madsonic/pkg-plist-chunk | 10 --- 11 files changed, 1 insertion(+), 214 deletions(-) diff --git a/MOVED b/MOVED index 1dc440342e81..29fd9e048174 100644 --- a/MOVED +++ b/MOVED @@ -8147,3 +8147,4 @@ www/mozplugger||2023-12-02|Has expired: Obsolete, defunct as Mozilla Firefox dro devel/ptmalloc||2023-12-02|Has expired: Abandonware, last release in 2006 and there are other alternative malloc implementations available java/wildfly18||2023-12-02|Has expired: End of life upstream java/wildfly14||2023-12-02|Has expired: End of life upstream +www/madsonic||2023-12-02|Has expired: Depends on www/jetty8 which has been listed as end of life since 2015 diff --git a/www/Makefile b/www/Makefile index 42bcff7a03aa..6897a2b27ba0 100644 --- a/www/Makefile +++ b/www/Makefile @@ -341,7 +341,6 @@ SUBDIR += lynx SUBDIR += lynx-current SUBDIR += lzr - SUBDIR += madsonic SUBDIR += man2web SUBDIR += manpageblog SUBDIR += mathjax diff --git a/www/madsonic/Makefile b/www/madsonic/Makefile deleted file mode 100644 index b2a394db3bb9..000000000000 --- a/www/madsonic/Makefile +++ /dev/null @@ -1,127 +0,0 @@ -PORTNAME= madsonic -PORTVERSION= 6.2.9092 -CATEGORIES= www java -MASTER_SITES= https://madsonic.org/download/6.2/ -DISTFILES= ${DISTDATE}_${DISTNAME}-war-tomcat.zip \ - ${DISTDATE}_${DISTNAME}-war-jspc.zip - -MAINTAINER= ports@FreeBSD.org -COMMENT= Madsonic streaming media server -WWW= https://www.madsonic.org - -DEPRECATED= Depends on www/jetty8 which has been listed as end of life since 2015 -EXPIRATION_DATE=2023-11-30 - -LICENSE= GPLv3 - -RUN_DEPENDS+= ${JAVALIBDIR}/servlet-api.jar:www/servlet-api \ - ${LOCALBASE}/lib/alsa-lib/libasound_module_pcm_oss.so:audio/alsa-plugins - -USES= zip -USE_JAVA= yes -JAVA_VERSION= 8 - -WRKSRC= ${WRKDIR}/${PORTNAME} -NO_ARCH= yes -NO_BUILD= yes -PLIST= ${WRKDIR}/plist -PKGMESSAGE= ${WRKDIR}/pkg-message -PLIST_SUB+= MADSONIC_HOME="${MADSONIC_HOME}" \ - WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||} -SUB_FILES= message-common message-transcoding -SUB_LIST= MADSONIC_HOME="${MADSONIC_HOME}" - -OPTIONS_SINGLE= APPSERVER -OPTIONS_SINGLE_APPSERVER= JETTY8 TOMCAT85 -OPTIONS_GROUP= TRANSCODING -OPTIONS_GROUP_TRANSCODING= APE FAAC FAAD FFMPEG FLAC LAME MPC VORBIS XMP -OPTIONS_DEFAULT= FFMPEG JETTY8 -OPTIONS_SUB= yes - -APE_DESC= Depend on mac for Monkey's Audio transcoding #' -APPSERVER_DESC= Java Application Server -FAAC_DESC= Depend on FAAD for AAC/M4A transcoding -FAAD_DESC= Depend on FAAC for AAC/M4A transcoding -FFMPEG_DESC= Depend on FFmpeg for audio and video transcoding -FLAC_DESC= Depend on FLAC for transcoding -JETTY8_DESC= Use Jetty 8.x -LAME_DESC= Depend on LAME for MP3 transcoding -MPC_DESC= Depend on mpcdec for MPC transcoding -TRANSCODING_DESC= Transcoding support -VORBIS_DESC= Depend on oggenc/oggdec for Vorbis transcoding -XMP_DESC= Depend on XMP for module file transcoding - -APE_RUN_DEPENDS= mac:audio/mac -FAAC_RUN_DEPENDS= faac:audio/faac -FAAD_RUN_DEPENDS= faad:audio/faad -FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg -FLAC_RUN_DEPENDS= flac:audio/flac -JETTY8_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 -JETTY8_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/start.jar:www/jetty8 -LAME_RUN_DEPENDS= lame:audio/lame -MPC_RUN_DEPENDS= mpcdec:audio/musepack -TOMCAT85_BUILD_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat85 -TOMCAT85_RUN_DEPENDS= ${LOCALBASE}/${SERVERDIR}/bin/bootstrap.jar:www/tomcat85 -VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools -XMP_RUN_DEPENDS= xmp:audio/xmp - -DISTDATE= 20220126 -USER= www -GROUP= www -MADSONIC_HOME= /var/madsonic - -.include <bsd.port.options.mk> - -WEBAPPDIR= ${PREFIX}/${SERVERDIR}/webapps - -.if ${PORT_OPTIONS:MTOMCAT85} -APPPKGMESSAGE= pkg-message-tomcat -DISTVER= tomcat -PKGNAMESUFFIX= -tomcat85 -SERVERDIR= apache-tomcat-8.5 -SUB_LIST+= CONTAINERFLAGS="tomcat85_java_opts" -.endif - -.if ${PORT_OPTIONS:MJETTY8} -APPPKGMESSAGE= pkg-message-jetty -DISTVER= jspc -PKGNAMESUFFIX= -jetty -SERVERDIR= jetty -SUB_LIST+= CONTAINERFLAGS="jetty_flags" -.endif - -do-extract: - ${EXTRACT_CMD} -qo ${DISTDIR}/${DISTDATE}_${PORTNAME}-${PORTVERSION}-war-${DISTVER}.zip -d ${WRKDIR} - -post-extract: - @${MKDIR} ${WRKSRC} - @${TAR} -xf ${WRKDIR}/${PORTNAME}.war -C ${WRKSRC} - -pre-install: - @${RM} ${PLIST} - @${ECHO} "@owner ${USER}" >> ${PLIST} - @${ECHO} "@group ${GROUP}" >> ${PLIST} - @cd ${WRKSRC}; ${FIND} . -type f | cut -c2- \ - | ${SED} 's|^|${WEBAPPDIR:S,${PREFIX}/,,}/${PORTNAME}|' \ - | ${SORT} >> ${PLIST} - @${CAT} ${PKGDIR}/pkg-plist-chunk >> ${PLIST} - @cd ${WRKSRC}; ${FIND} . -type d | cut -c2- \ - | ${SED} 's|^|@dir ${WEBAPPDIR:S,${PREFIX}/,,}/${PORTNAME}|' \ - | ${SORT} -r >> ${PLIST} - @${ECHO_CMD} "[" > ${PKGMESSAGE} - @${ECHO_CMD} "{ type: install, message: <<EOM" >> ${PKGMESSAGE} - @${CAT} ${PKGDIR}/${APPPKGMESSAGE} >> ${PKGMESSAGE} - @${CAT} ${WRKDIR}/message-common >> ${PKGMESSAGE} - @${CAT} ${PKGDIR}/pkg-message-spacer >> ${PKGMESSAGE} - @${CAT} ${WRKDIR}/message-transcoding >> ${PKGMESSAGE} - @${ECHO_CMD} "EOM" >> ${PKGMESSAGE} - @${ECHO_CMD} "}" >> ${PKGMESSAGE} - @${ECHO_CMD} "]" >> ${PKGMESSAGE} - -do-install: - cd ${WRKDIR} && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${WEBAPPDIR} - - ${MKDIR} ${STAGEDIR}${MADSONIC_HOME} - ${MKDIR} ${STAGEDIR}${MADSONIC_HOME}/transcode - -.include <bsd.port.mk> diff --git a/www/madsonic/distinfo b/www/madsonic/distinfo deleted file mode 100644 index 1ee372f5fd5c..000000000000 --- a/www/madsonic/distinfo +++ /dev/null @@ -1,5 +0,0 @@ -TIMESTAMP = 1689251347 -SHA256 (20220126_madsonic-6.2.9092-war-tomcat.zip) = c23d8fc9e80132811cf0fd1ab47e61a7a4f6ae653fb0cf16d9305ce38acf83fb -SIZE (20220126_madsonic-6.2.9092-war-tomcat.zip) = 79926349 -SHA256 (20220126_madsonic-6.2.9092-war-jspc.zip) = b1e670910674ce481da578ea716b8dacd6032c168c7eb0e0764a747bb0240eeb -SIZE (20220126_madsonic-6.2.9092-war-jspc.zip) = 79929699 diff --git a/www/madsonic/files/message-common.in b/www/madsonic/files/message-common.in deleted file mode 100644 index 473f342a61f6..000000000000 --- a/www/madsonic/files/message-common.in +++ /dev/null @@ -1,17 +0,0 @@ - -On headless machines, start the container server with -%%CONTAINERFLAGS%%="-Djava.awt.headless=true" -to prevent problems showing album art thumbnails. - -You can increase the container server's memory allocation if needed like -%%CONTAINERFLAGS%%="-Xms96m -Xmx512m" - -Use a UTF-8 locale to enable support for all possible tags. Otherwise, -files with Unicode tags will not scan properly and will be unplayable. -Chapter 23 of the FreeBSD Handbook has information on using locales. -https://docs.freebsd.org/en/books/handbook/l10n/ - -For example, US English: -%%CONTAINERFLAGS%%="-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=US" - -Combine multiple flags into a single %%CONTAINERFLAGS%%="[...]" line. diff --git a/www/madsonic/files/message-transcoding.in b/www/madsonic/files/message-transcoding.in deleted file mode 100644 index 87e3d6fc81fb..000000000000 --- a/www/madsonic/files/message-transcoding.in +++ /dev/null @@ -1,38 +0,0 @@ -Transcoding in Madsonic is a way to re-encode music on the fly to a format -your listening device supports. A common use is transcoding FLAC, WMA, -and Vorbis audio to MP3 for devices supporting only that codec. - -Configuring transcoding uses up to three commands one would use on a normal -command line pipe but with a whitelist of executables installed or linked into -%%MADSONIC_HOME%%/transcode. The transcoding configuration page takes -transcoding rules in the form of: - - [rule name] [convert from] [convert to] [command 1] [command 2] [command 3] - -The most compatible single audio transcoding command is with FFmpeg, transcoding -any input to MP3, mapping all streams to output, and limiting metadata to the -more-compatible ID3v2.3: - - [All to MP3] [ogg flac wma aiff m4a] [mp3] ... - [ffmpeg -i %s -ab %bk -id3v2_version 3 -map_metadata 0 -map 0:0 -ar 44100 -ac 2 -v 0 -f mp3 -] - -You can also transcode with multiple single-codec commands to avoid -the heavy FFmpeg dependency: - - [FLAC to MP3] [flac] [mp3] ... - [flac --silent --decode --stdout %s] [lame --silent -h -b %b -] - - [AAC to MP3] [m4a] [mp3] ... - [faad -s -o - %s] [lame --silent -h -b %b -] - - [Vorbis to MP3] [ogg] [mp3] ... - [oggdec -Q -o /dev/stdout %s] [lame --silent -h -b %b -] - - [MPC to MP3] [mpc] [mp3] ... - [mpcdec %s -] [lame --silent -h -b %b -] - - [APE to MP3] [ape] [mp3] ... - [mac %s - -d] [lame --silent -h -b %b -] - - [Trackers to MP3] [mod s3m xm it] [mp3] ... - [xmp -q -c %s] [lame --silent -h -b %b -] diff --git a/www/madsonic/pkg-descr b/www/madsonic/pkg-descr deleted file mode 100644 index 3f172e358ad2..000000000000 --- a/www/madsonic/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Madsonic instantly transports your media to any HTTP connected device -regardless of bitrate. You can stream to multiple players simultaneously. -Madsonic is designed to handle very large music collections. By using -transcoder plug-ins, Madsonic supports on-the-fly conversion and streaming -of virtually any audio format, including MP3, OGG, WMA, FLAC, APE and more. - -Madsonic is a fork of Subsonic, offering more features and mobile client -access without the subscription fee. diff --git a/www/madsonic/pkg-message-jetty b/www/madsonic/pkg-message-jetty deleted file mode 100644 index 194a2841905e..000000000000 --- a/www/madsonic/pkg-message-jetty +++ /dev/null @@ -1,2 +0,0 @@ -Enable or restart Jetty, then access Madsonic at http://127.0.0.1:8080/madsonic/ -(if using the default Jetty HTTP port). diff --git a/www/madsonic/pkg-message-spacer b/www/madsonic/pkg-message-spacer deleted file mode 100644 index c2c7e42958f6..000000000000 --- a/www/madsonic/pkg-message-spacer +++ /dev/null @@ -1,3 +0,0 @@ - -======================================================================== - diff --git a/www/madsonic/pkg-message-tomcat b/www/madsonic/pkg-message-tomcat deleted file mode 100644 index 1005c54a186d..000000000000 --- a/www/madsonic/pkg-message-tomcat +++ /dev/null @@ -1,3 +0,0 @@ -Create a manager-gui capable user in Tomcat's conf/tomcat-users.xml, -then access the Manager at http://127.0.0.1:8080/manager/html -(if using the default Tomcat HTTP port) and deploy Madsonic. diff --git a/www/madsonic/pkg-plist-chunk b/www/madsonic/pkg-plist-chunk deleted file mode 100644 index 44916e48b212..000000000000 --- a/www/madsonic/pkg-plist-chunk +++ /dev/null @@ -1,10 +0,0 @@ -@postunexec if [ -d %%WEBAPPS%%/madsonic ]; then rm -rf %%WEBAPPS%%/madsonic; fi -@postunexec 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.") -%%FFMPEG%%@postexec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/ffmpeg -%%FLAC%%@postexec ln -sf %%PREFIX%%/bin/ffmpeg %%MADSONIC_HOME%%/transcode/flac -%%LAME%%@postexec ln -sf %%PREFIX%%/bin/lame %%MADSONIC_HOME%%/transcode/lame -%%FFMPEG%%@postunexec rm -f %%MADSONIC_HOME%%/transcode/ffmpeg -%%FLAC%%@postunexec rm -f %%MADSONIC_HOME%%/transcode/flac -%%LAME%%@postunexec rm -f %%MADSONIC_HOME%%/transcode/lame -@dir %%MADSONIC_HOME%%/transcode -@dir %%MADSONIC_HOME%%