Commit 2055361a authored by Rene Ladan's avatar Rene Ladan
Browse files

www/subsonic-standalone: Remove expired port

2024-09-30 www/subsonic-standalone: Abandonware, no longer maintained upstream as of 2019
parent a96fd33a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −1
Original line number Diff line number Diff line
@@ -2377,7 +2377,6 @@
    SUBDIR += srt
    SUBDIR += stagit
    SUBDIR += stork
    SUBDIR += subsonic-standalone
    SUBDIR += suitecrm
    SUBDIR += suphp
    SUBDIR += surf

www/subsonic-standalone/Makefile

deleted100644 → 0
+0 −91
Original line number Diff line number Diff line
# 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>

www/subsonic-standalone/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1468827196
SHA256 (subsonic-6.0-standalone.tar.gz) = df14d05e3b52f07486782e3e16922688968c95b0c8cc4987941bc3b9cea7872b
SIZE (subsonic-6.0-standalone.tar.gz) = 48572856
+0 −38
Original line number Diff line number Diff line
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 -]
Loading