git: 2055361af190 - main - www/subsonic-standalone: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Mon, 30 Sep 2024 19:13:24 UTC
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2055361af19057bfea30b0894f514bc64806acae

commit 2055361af19057bfea30b0894f514bc64806acae
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-09-30 19:13:19 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-09-30 19:13:19 +0000

    www/subsonic-standalone: Remove expired port
    
    2024-09-30 www/subsonic-standalone: Abandonware, no longer maintained upstream as of 2019
---
 MOVED                                              |  1 +
 www/Makefile                                       |  1 -
 www/subsonic-standalone/Makefile                   | 91 ----------------------
 www/subsonic-standalone/distinfo                   |  3 -
 .../files/message-transcoding.in                   | 38 ---------
 www/subsonic-standalone/files/pkg-message.in       |  7 --
 www/subsonic-standalone/files/subsonic.in          | 85 --------------------
 www/subsonic-standalone/pkg-descr                  |  5 --
 www/subsonic-standalone/pkg-plist                  |  9 ---
 9 files changed, 1 insertion(+), 239 deletions(-)

diff --git a/MOVED b/MOVED
index 2d0431a9e385..f5d4895216ac 100644
--- a/MOVED
+++ b/MOVED
@@ -3498,3 +3498,4 @@ games/adonthell||2024-09-30|Has expired: Unmaintained in tree and broken for mon
 www/thundercache||2024-09-30|Has expired: Deprecated and outdated, product is still being maintained upstream
 math/tablix||2024-09-30|Has expired: Abandonware, upstream is gone and source code is no longer available
 www/mod_amazon_proxy||2024-09-30|Has expired: Abandonware, last updated in 2010
+www/subsonic-standalone||2024-09-30|Has expired: Abandonware, no longer maintained upstream as of 2019
diff --git a/www/Makefile b/www/Makefile
index f6a71c5ac321..5ebf9ebbfbbe 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2377,7 +2377,6 @@
     SUBDIR += srt
     SUBDIR += stagit
     SUBDIR += stork
-    SUBDIR += subsonic-standalone
     SUBDIR += suitecrm
     SUBDIR += suphp
     SUBDIR += surf
diff --git a/www/subsonic-standalone/Makefile b/www/subsonic-standalone/Makefile
deleted file mode 100644
index a2f7326cdf03..000000000000
--- a/www/subsonic-standalone/Makefile
+++ /dev/null
@@ -1,91 +0,0 @@
-# Based on www/subsonic from Nicole Reid <root@cooltrainer.org>
-
-PORTNAME=	subsonic-standalone
-PORTVERSION=	6.0
-PORTREVISION=	8
-CATEGORIES=	www java
-MASTER_SITES=	SF/subsonic/subsonic/${PORTVERSION}
-DISTNAME=	subsonic-${PORTVERSION}-standalone
-
-MAINTAINER=	jlh@FreeBSD.org
-COMMENT=	Subsonic streaming media server, standalone version
-WWW=		http://www.subsonic.org
-
-# Subsonic 6 onwards has become proprietary.  License is unclear.
-# http://forum.subsonic.org/forum/viewtopic.php?f=4&t=16604#p71128
-LICENSE=	NONE
-
-DEPRECATED=	Abandonware, no longer maintained upstream as of 2019
-EXPIRATION_DATE=2024-09-30
-
-OPTIONS_GROUP=	TRANSCODING
-TRANSCODING_DESC=	Transcoding support
-OPTIONS_GROUP_TRANSCODING=	FFMPEG FLAC LAME VORBIS FAAC FAAD XMP APE
-FFMPEG_DESC=	Depend on FFmpeg for audio and video transcoding
-FLAC_DESC=	Depend on FLAC for transcoding
-LAME_DESC=	Depend on LAME for MP3 transcoding
-VORBIS_DESC=	Depend on oggenc/oggdec for Vorbis transcoding
-FAAC_DESC=	Depend on FAAD for AAC/M4A transcoding
-FAAD_DESC=	Depend on FAAC for AAC/M4A transcoding
-XMP_DESC=	Depend on XMP for module file transcoding
-APE_DESC=	Depend on mac for Monkey's Audio transcoding
-
-OPTIONS_DEFAULT=	FFMPEG
-OPTIONS_SUB=	yes
-
-FFMPEG_RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg
-FLAC_RUN_DEPENDS=	flac:audio/flac
-LAME_RUN_DEPENDS=	lame:audio/lame
-VORBIS_RUN_DEPENDS=	oggenc:audio/vorbis-tools
-FAAC_RUN_DEPENDS=	faac:audio/faac
-FAAD_RUN_DEPENDS=	faad:audio/faad
-XMP_RUN_DEPENDS=	xmp:audio/xmp
-APE_RUN_DEPENDS=	mac:audio/mac
-
-.include <bsd.port.options.mk>
-
-NO_WRKSUBDIR=	yes
-NO_BUILD=	yes
-USE_JAVA=	yes
-USE_RC_SUBR=	subsonic
-JAVA_RUN=	yes
-USERS=		subsonic
-GROUPS=		subsonic
-SUBSONIC_HOME=	/var/subsonic
-PLIST_SUB+=	SUBSONIC_HOME="${SUBSONIC_HOME}" \
-		USER="${USERS}" \
-		GROUP="${GROUPS}"
-SUB_FILES=	pkg-message \
-		message-transcoding
-SUB_LIST=	SUBSONIC_HOME="${SUBSONIC_HOME}" \
-		USER="${USERS}" \
-		GROUP="${GROUPS}" \
-		JAVA="${JAVA}"
-
-CONFLICTS_INSTALL=	subsonic-jetty subsonic-resin3 subsonic-tomcat[678]
-
-do-install:
-	@${ECHO_CMD} "[" >> ${PKGMESSAGE}
-	@${ECHO_CMD} "{ type: install, message: <<EOM" >> ${PKGMESSAGE}
-	@${CAT} ${WRKDIR}/message-transcoding >> ${PKGMESSAGE}
-	@${ECHO_CMD} "EOM" >> ${PKGMESSAGE}
-	@${ECHO_CMD} "}" >> ${PKGMESSAGE}
-	@${ECHO_CMD} "]" >> ${PKGMESSAGE}
-	${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/subsonic.war ${STAGEDIR}${DATADIR}/
-	${INSTALL_DATA} ${WRKSRC}/subsonic-booter-jar-with-dependencies.jar ${STAGEDIR}${DATADIR}/
-
-post-install:
-	${MKDIR} ${STAGEDIR}${SUBSONIC_HOME}/transcode
-
-post-install-FFMPEG-on:
-	${LN} -sf ${PREFIX}/bin/ffmpeg ${STAGEDIR}${SUBSONIC_HOME}/transcode/ffmpeg
-
-post-install-FLAC-on:
-	${LN} -sf ${PREFIX}/bin/flac ${STAGEDIR}${SUBSONIC_HOME}/transcode/flac
-
-post-install-LAME-on:
-	${LN} -sf ${PREFIX}/bin/lame ${STAGEDIR}${SUBSONIC_HOME}/transcode/lame
-
-.include <bsd.port.mk>
diff --git a/www/subsonic-standalone/distinfo b/www/subsonic-standalone/distinfo
deleted file mode 100644
index bcc6e40c25f5..000000000000
--- a/www/subsonic-standalone/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1468827196
-SHA256 (subsonic-6.0-standalone.tar.gz) = df14d05e3b52f07486782e3e16922688968c95b0c8cc4987941bc3b9cea7872b
-SIZE (subsonic-6.0-standalone.tar.gz) = 48572856
diff --git a/www/subsonic-standalone/files/message-transcoding.in b/www/subsonic-standalone/files/message-transcoding.in
deleted file mode 100644
index 6601ba9bc5b0..000000000000
--- a/www/subsonic-standalone/files/message-transcoding.in
+++ /dev/null
@@ -1,38 +0,0 @@
-Transcoding in Subsonic 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
-%%SUBSONIC_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/subsonic-standalone/files/pkg-message.in b/www/subsonic-standalone/files/pkg-message.in
deleted file mode 100644
index a00073cfeb84..000000000000
--- a/www/subsonic-standalone/files/pkg-message.in
+++ /dev/null
@@ -1,7 +0,0 @@
-
-========================================================================
-
-Enable Subsonic by putting the following line in /etc/rc.conf
-  subsonic_enable="YES"
-
-See %%LOCALBASE%%/etc/rc.d/subsonic for all the options.
diff --git a/www/subsonic-standalone/files/subsonic.in b/www/subsonic-standalone/files/subsonic.in
deleted file mode 100644
index 171b27d6d8de..000000000000
--- a/www/subsonic-standalone/files/subsonic.in
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: subsonic
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Configuration settings for subsonic in /etc/rc.conf:
-#
-# subsonic_enable (bool):
-#   Set to "NO" by default.
-#   Set it to "YES" to enable subsonic.
-#
-# subsonic_home (str):
-#   Set to "%%SUBSONIC_HOME%%" by default.
-#
-# subsonic_host (str):
-#   Set to "0.0.0.0" by default.
-#   Specify which IP address to listen to.
-#
-# subsonic_port (int):
-#   Set to "4040" by default.
-#   Specify which port to listen on for HTTP(S).
-#
-# subsonic_ssl (bool):
-#   Set to "NO" by default.
-#   Set it to "YES" to enable SSL.
-#
-# subsonic_ssl_keystore (str):
-#   Optionally set path to custom SSL keystore.
-#
-# subsonic_ssl_password (str):
-#   Optionally set password for custom SSL keystore.
-#
-# subsonic_context_path (str):
-#   Set to "/" by default.
-#   Specify the last part of the Subsonic URL, typically "/" or "/subsonic".
-#
-# subsonic_max_memory (int):
-#   Set to "100" by default.
-#   Specify the memory limit (Java heap size) in megabytes.
-#
-
-. /etc/rc.subr
-
-name=subsonic
-rcvar=${name}_enable
-procname="%%JAVA%%"
-
-load_rc_config "${name}"
-
-: ${subsonic_enable:="NO"}
-: ${subsonic_user:="%%USER%%"}
-: ${subsonic_group:="%%GROUP%%"}
-: ${subsonic_home:="%%SUBSONIC_HOME%%"}
-: ${subsonic_host:="0.0.0.0"}
-: ${subsonic_port:="4040"}
-: ${subsonic_ssl:="NO"}
-: ${subsonic_context_path:="/"}
-: ${subsonic_max_memory:="100"}
-
-if checkyesno subsonic_ssl; then
-	SUBSONIC_SSL_FLAGS="-Dsubsonic.httpsPort=${subsonic_port}" && subsonic_port="0"
-	if [ ! -z ${subsonic_ssl_keystore} ]; then
-		SUBSONIC_SSL_FLAGS=${SUBSONIC_SSL_FLAGS}" -Dsubsonic.ssl.keystore=${subsonic_ssl_keystore} -Dsubsonic.ssl.password=${subsonic_ssl_password}"
-	fi
-fi
-
-start_precmd="export LC_CTYPE='en_US.UTF-8'"
-subsonic_chdir="%%DATADIR%%"
-command="/usr/sbin/daemon"
-command_args="-f ${procname} \
-	-Dsubsonic.home=${subsonic_home} \
-	-Dsubsonic.host=${subsonic_host} \
-	-Dsubsonic.port=${subsonic_port} \
-	${SUBSONIC_SSL_FLAGS} \
-	-Dsubsonic.contextPath=${subsonic_context_path} \
-	-Dsubsonic.defaultMusicFolder=${subsonic_home}/music \
-	-Dsubsonic.defaultPodcastFolder=${subsonic_home}/Podcast \
-	-Dsubsonic.defaultPlaylistFolder=${subsonic_home}/playlists \
-	-Xmx${subsonic_max_memory}m \
-	-Djava.awt.headless=true \
-	-jar ${subsonic_chdir}/subsonic-booter-jar-with-dependencies.jar"
-
-run_rc_command "$1"
diff --git a/www/subsonic-standalone/pkg-descr b/www/subsonic-standalone/pkg-descr
deleted file mode 100644
index 2720ce2d85b6..000000000000
--- a/www/subsonic-standalone/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Subsonic instantly transports your media to any HTTP connected device
-regardless of bitrate. You can stream to multiple players simultaneously.
-Subsonic is designed to handle very large music collections. By using
-transcoder plug-ins, Subsonic supports on-the-fly conversion and streaming
-of virtually any audio format, including MP3, OGG, WMA, FLAC, APE and more.
diff --git a/www/subsonic-standalone/pkg-plist b/www/subsonic-standalone/pkg-plist
deleted file mode 100644
index 0ed36f587560..000000000000
--- a/www/subsonic-standalone/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-%%DATADIR%%/README.TXT
-%%DATADIR%%/subsonic-booter-jar-with-dependencies.jar
-%%DATADIR%%/subsonic.war
-%%FFMPEG%%%%SUBSONIC_HOME%%/transcode/ffmpeg
-%%FLAC%%%%SUBSONIC_HOME%%/transcode/flac
-%%LAME%%%%SUBSONIC_HOME%%/transcode/lame
-@postunexec test -d %%SUBSONIC_HOME%% && (echo "Configuration information and database saved." && echo "If you you are permanently uninstalling this package" && echo "please remove %%SUBSONIC_HOME%% and its contents manually.") || true
-@dir(%%USER%%,%%GROUP%%,750) %%SUBSONIC_HOME%%/transcode
-@dir(%%USER%%,%%GROUP%%,750) %%SUBSONIC_HOME%%