aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-09-15 21:08:11 +0000
committerRene Ladan <rene@FreeBSD.org>2024-09-15 21:08:11 +0000
commit43b035be971b5970d8b012d1c29639313fb81f7c (patch)
tree5080390df6512cd4520c1fe9ac11a0337748896e
parent598348059b76405b74b39b5c320fc3df9dadbeb6 (diff)
www/libresonic-standalone: Remove expired port
2024-09-14 www/libresonic-standalone: Abandonware, repo deleted
-rw-r--r--MOVED1
-rw-r--r--www/Makefile1
-rw-r--r--www/libresonic-standalone/Makefile83
-rw-r--r--www/libresonic-standalone/distinfo3
-rw-r--r--www/libresonic-standalone/files/libresonic.in71
-rw-r--r--www/libresonic-standalone/files/pkg-message.in51
-rw-r--r--www/libresonic-standalone/pkg-descr7
-rw-r--r--www/libresonic-standalone/pkg-plist7
8 files changed, 1 insertions, 223 deletions
diff --git a/MOVED b/MOVED
index 57ea37a13d19..f1515bce797e 100644
--- a/MOVED
+++ b/MOVED
@@ -3476,3 +3476,4 @@ textproc/rubygem-elasticsearch713|textproc/rubygem-elasticsearch|2024-09-11|Has
graphics/svg2png||2024-09-14|Has expired: Depends on deprecated library graphics/libsvg-cairo, please consider using ImageMagick or librsvg
graphics/libsvg-cairo||2024-09-14|Has expired: Depends on deprecated library graphics/libsvg
graphics/libsvg||2024-09-14|Has expired: Abandoned upstream, obsolete and fails to build with newer versions of libxml2. Consider migrating to librsvg or (lib)resvg
+www/libresonic-standalone||2024-09-15|Has expired: Abandonware, repo deleted
diff --git a/www/Makefile b/www/Makefile
index eed9c46095b0..019e1fcf374f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -308,7 +308,6 @@
SUBDIR += libmicrohttpd
SUBDIR += libnghttp2
SUBDIR += libnghttp3
- SUBDIR += libresonic-standalone
SUBDIR += librespeed
SUBDIR += librewolf
SUBDIR += libwpe
diff --git a/www/libresonic-standalone/Makefile b/www/libresonic-standalone/Makefile
deleted file mode 100644
index 43eebfaeb2c5..000000000000
--- a/www/libresonic-standalone/Makefile
+++ /dev/null
@@ -1,83 +0,0 @@
-PORTNAME= libresonic
-DISTVERSIONPREFIX= v
-DISTVERSION= 6.2
-PORTREVISION= 4
-CATEGORIES= www java
-MASTER_SITES= https://github.com/Libresonic/libresonic/releases/download/v${DISTVERSION}/
-PKGNAMESUFFIX= -standalone
-EXTRACT_SUFX= .war
-
-MAINTAINER= jlh@FreeBSD.org
-COMMENT= Subsonic streaming media server, standalone version
-WWW= https://www.libresonic.org
-
-USE_JAVA= yes
-USE_RC_SUBR= libresonic
-
-LICENSE= GPLv3
-
-BROKEN= Unfetchable, upstream is gone
-DEPRECATED= Abandonware, repo deleted
-EXPIRATION_DATE=2024-09-14
-
-OPTIONS_GROUP= TRANSCODING
-TRANSCODING_DESC= Transcoding support
-OPTIONS_GROUP_TRANSCODING= FFMPEG FLAC LAME VORBIS FAAC FAAD XMP APE
-APE_DESC= Depend on mac for Monkey's Audio transcoding #'
-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
-LAME_DESC= Depend on LAME for MP3 transcoding
-VORBIS_DESC= Depend on oggenc/oggdec for Vorbis transcoding
-XMP_DESC= Depend on XMP for module file transcoding
-
-OPTIONS_DEFAULT= FFMPEG
-OPTIONS_SUB= yes
-
-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
-LAME_RUN_DEPENDS= lame:audio/lame
-VORBIS_RUN_DEPENDS= oggenc:audio/vorbis-tools
-XMP_RUN_DEPENDS= xmp:audio/xmp
-
-# We don't want to extract the .war file, just copy it.
-EXTRACT_CMD= ${CP}
-EXTRACT_BEFORE_ARGS=
-EXTRACT_AFTER_ARGS= libresonic.war
-
-NO_WRKSUBDIR= yes
-NO_BUILD= yes
-JAVA_VERSION= 8+
-JAVA_RUN= yes
-# Don't waste UID/GID and reuse Subsonic's user.
-USERS= subsonic
-GROUPS= subsonic
-LIBRESONIC_HOME= /var/libresonic
-PLIST_SUB= LIBRESONIC_HOME="${LIBRESONIC_HOME}" \
- USER="${USERS}" \
- GROUP="${GROUPS}"
-SUB_FILES= pkg-message
-SUB_LIST= LIBRESONIC_HOME="${LIBRESONIC_HOME}" \
- USER="${USERS}" \
- GROUP="${GROUPS}" \
- JAVA="${JAVA}"
-
-do-install:
- ${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/libresonic.war ${STAGEDIR}${DATADIR}/
- ${MKDIR} ${STAGEDIR}${LIBRESONIC_HOME}/transcode
-
-do-install-FFMPEG-on:
- ${RLN} ${PREFIX}/bin/ffmpeg ${STAGEDIR}${LIBRESONIC_HOME}/transcode/ffmpeg
-
-do-install-FLAC-on:
- ${RLN} ${PREFIX}/bin/flac ${STAGEDIR}${LIBRESONIC_HOME}/transcode/flac
-
-do-install-LAME-on:
- ${RLN} ${PREFIX}/bin/lame ${STAGEDIR}${LIBRESONIC_HOME}/transcode/lame
-
-.include <bsd.port.mk>
diff --git a/www/libresonic-standalone/distinfo b/www/libresonic-standalone/distinfo
deleted file mode 100644
index f7002133193d..000000000000
--- a/www/libresonic-standalone/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1507218527
-SHA256 (libresonic-v6.2.war) = 458249eda3f105c0023c7b51d5983ed71a2cb6a3d3a22dd39be656ee359fab99
-SIZE (libresonic-v6.2.war) = 61674004
diff --git a/www/libresonic-standalone/files/libresonic.in b/www/libresonic-standalone/files/libresonic.in
deleted file mode 100644
index e89d0a038ae7..000000000000
--- a/www/libresonic-standalone/files/libresonic.in
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: libresonic
-# REQUIRE: LOGIN
-# KEYWORD: shutdown
-
-#
-# Configuration settings for libresonic in /etc/rc.conf:
-#
-# libresonic_enable (bool):
-# Set to "NO" by default.
-# Set it to "YES" to enable libresonic.
-#
-# libresonic_home (str):
-# Set to "%%LIBRESONIC_HOME%%" by default.
-#
-# libresonic_host (str):
-# Set to "0.0.0.0" by default.
-# Specify which IP address to listen to.
-#
-# libresonic_port (int):
-# Set to "4040" by default.
-#
-# libresonic_context_path (str):
-# Set to "/" by default.
-# Specify the last part of the Libresonic URL, typically "/" or "/libresonic".
-#
-# libresonic_max_memory (int):
-# Set to "100" by default.
-# Specify the memory limit (Java heap size) in megabytes.
-#
-
-. /etc/rc.subr
-
-name=libresonic
-rcvar=${name}_enable
-procname="%%JAVA%%"
-
-load_rc_config "${name}"
-
-: ${libresonic_enable:="NO"}
-: ${libresonic_user:="%%USER%%"}
-: ${libresonic_group:="%%GROUP%%"}
-: ${libresonic_home:="%%LIBRESONIC_HOME%%"}
-: ${libresonic_host:="0.0.0.0"}
-: ${libresonic_port:="4040"}
-: ${libresonic_context_path:="/"}
-: ${libresonic_max_memory:="100"}
-
-if checkyesno libresonic_ssl; then
- err 1 \
-"Libresonic SSL/HTTPS support has been removed.
-Please see entry 20180924 in UPDATING."
-fi
-
-start_precmd="export LC_CTYPE='en_US.UTF-8'"
-libresonic_chdir="%%DATADIR%%"
-command="/usr/sbin/daemon"
-command_args="-f ${procname} \
- -Dlibresonic.home=${libresonic_home} \
- -Dserver.host=${libresonic_host} \
- -Dserver.port=${libresonic_port} \
- -Dserver.contextPath=${libresonic_context_path} \
- -Dlibresonic.defaultMusicFolder=${libresonic_home}/music \
- -Dlibresonic.defaultPodcastFolder=${libresonic_home}/Podcast \
- -Dlibresonic.defaultPlaylistFolder=${libresonic_home}/playlists \
- -Xmx${libresonic_max_memory}m \
- -Djava.awt.headless=true \
- -jar ${libresonic_chdir}/libresonic.war"
-
-run_rc_command "$1"
diff --git a/www/libresonic-standalone/files/pkg-message.in b/www/libresonic-standalone/files/pkg-message.in
deleted file mode 100644
index b3d497893d90..000000000000
--- a/www/libresonic-standalone/files/pkg-message.in
+++ /dev/null
@@ -1,51 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Enable Libresonic by putting the following line in /etc/rc.conf
- libresonic_enable="YES"
-
-See %%LOCALBASE%%/etc/rc.d/libresonic for all the options.
-
-
-
-Transcoding in Libresonic 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
-%%LIBRESONIC_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 -]
-EOM
-}
-]
diff --git a/www/libresonic-standalone/pkg-descr b/www/libresonic-standalone/pkg-descr
deleted file mode 100644
index fba0c4a77eda..000000000000
--- a/www/libresonic-standalone/pkg-descr
+++ /dev/null
@@ -1,7 +0,0 @@
-Libresonic is a web-based media streamer and jukebox fork of Subsonic.
-
-Libresonic instantly transports your media to any HTTP connected device
-regardless of bitrate. You can stream to multiple players simultaneously.
-Libresonic is designed to handle very large music collections. By using
-transcoder plug-ins, Libresonic supports on-the-fly conversion and streaming
-of virtually any audio format, including MP3, OGG, WMA, FLAC, APE and more.
diff --git a/www/libresonic-standalone/pkg-plist b/www/libresonic-standalone/pkg-plist
deleted file mode 100644
index 6f1d0e5ebbb7..000000000000
--- a/www/libresonic-standalone/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-%%DATADIR%%/libresonic.war
-%%FFMPEG%%%%LIBRESONIC_HOME%%/transcode/ffmpeg
-%%FLAC%%%%LIBRESONIC_HOME%%/transcode/flac
-%%LAME%%%%LIBRESONIC_HOME%%/transcode/lame
-@postunexec test -d %%LIBRESONIC_HOME%% && (echo "Configuration information and database saved." && echo "If you you are permanently uninstalling this package" && echo "please remove %%LIBRESONIC_HOME%% and its contents manually.") || true
-@dir(%%USER%%,%%GROUP%%,750) %%LIBRESONIC_HOME%%/transcode
-@dir(%%USER%%,%%GROUP%%,750) %%LIBRESONIC_HOME%%