Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2019 05:35:59 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r510043 - in head: . net-p2p net-p2p/lidarr net-p2p/lidarr/files
Message-ID:  <201908280535.x7S5ZxW1043240@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Wed Aug 28 05:35:59 2019
New Revision: 510043
URL: https://svnweb.freebsd.org/changeset/ports/510043

Log:
  New port: net-p2p/lidarr
  
  Lidarr is a music collection manager for Usenet and BitTorrent users.
  
  It can monitor multiple RSS feeds for new tracks from your favorite
  artists and will grab, sort and rename them.
  It can also be configured to automatically upgrade the quality of
  files already downloaded when a better quality format becomes
  available.
  
  It looks and smells like Sonarr but made for music.
  
  WWW: https://lidarr.audio
  
  PR:		234233
  Submitted by:	Michiel van Baak <michiel@vanbaak.eu>, Matt Russi <mrussi@gmail.com>

Added:
  head/net-p2p/lidarr/
  head/net-p2p/lidarr/Makefile   (contents, props changed)
  head/net-p2p/lidarr/distinfo   (contents, props changed)
  head/net-p2p/lidarr/files/
  head/net-p2p/lidarr/files/lidarr.in   (contents, props changed)
  head/net-p2p/lidarr/pkg-descr   (contents, props changed)
Modified:
  head/GIDs
  head/UIDs
  head/net-p2p/Makefile

Modified: head/GIDs
==============================================================================
--- head/GIDs	Wed Aug 28 05:32:22 2019	(r510042)
+++ head/GIDs	Wed Aug 28 05:35:59 2019	(r510043)
@@ -296,7 +296,7 @@ radarr:*:352:
 _iodined:*:353:
 jackett:*:354:
 nzbhydra2:*:355:
-# free: 356
+lidarr:*:356:
 # free: 357
 # free: 358
 # free: 359

Modified: head/UIDs
==============================================================================
--- head/UIDs	Wed Aug 28 05:32:22 2019	(r510042)
+++ head/UIDs	Wed Aug 28 05:35:59 2019	(r510043)
@@ -301,7 +301,7 @@ radarr:*:352:352::0:0:Radarr Daemon:/nonexistent:/usr/
 _iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
 jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
 nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
-# free: 356
+lidarr:*:356:356::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin
 # free: 357
 # free: 358
 # free: 359

Modified: head/net-p2p/Makefile
==============================================================================
--- head/net-p2p/Makefile	Wed Aug 28 05:32:22 2019	(r510042)
+++ head/net-p2p/Makefile	Wed Aug 28 05:35:59 2019	(r510043)
@@ -42,6 +42,7 @@
     SUBDIR += libswift
     SUBDIR += libtorrent
     SUBDIR += libtorrent-rasterbar
+    SUBDIR += lidarr
     SUBDIR += linuxdcpp
     SUBDIR += litecoin
     SUBDIR += litecoin-daemon

Added: head/net-p2p/lidarr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/lidarr/Makefile	Wed Aug 28 05:35:59 2019	(r510043)
@@ -0,0 +1,44 @@
+# $FreeBSD$
+
+PORTNAME=	lidarr
+PORTVERSION=	0.6.2.883
+CATEGORIES=	net-p2p
+MASTER_SITES=	https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
+DISTNAME=	Lidarr.develop.${PORTVERSION}.linux
+
+MAINTAINER=	michiel@vanbaak.eu
+COMMENT=	Lidarr is a music collection manager for Usenet and BitTorrent users
+
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	mono>0:lang/mono \
+		mediainfo>0:multimedia/mediainfo \
+		sqlite3>0:databases/sqlite3 \
+		chromaprint>0:audio/chromaprint
+LIB_DEPENDS=	libcurl.so:ftp/curl
+
+USE_RC_SUBR=	lidarr
+
+NO_ARCH=	YES
+NO_BUILD=	YES
+WRKSRC=	${WRKDIR}/Lidarr
+
+USERS=	lidarr
+GROUPS=	lidarr
+
+OPTIONS_DEFINE=	X11
+
+# Permits image resizing
+X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus
+
+.include <bsd.port.options.mk>
+
+do-install:
+	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
+
+post-install:
+	@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
+		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+
+.include <bsd.port.mk>

Added: head/net-p2p/lidarr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/lidarr/distinfo	Wed Aug 28 05:35:59 2019	(r510043)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1559503446
+SHA256 (Lidarr.develop.0.6.2.883.linux.tar.gz) = 9bbc3cc18ce73bdc491a39d2ab1c20052b9e6d40e4db8d9080691c78b7902601
+SIZE (Lidarr.develop.0.6.2.883.linux.tar.gz) = 10231816

Added: head/net-p2p/lidarr/files/lidarr.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/lidarr/files/lidarr.in	Wed Aug 28 05:35:59 2019	(r510043)
@@ -0,0 +1,41 @@
+#!/bin/sh
+#
+# Author: Michiel van Baak <michiel@vanbaak.eu>
+#
+# $FreeBSD$
+#
+
+# PROVIDE: lidarr
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+
+# Add the following lines to /etc/rc.conf to enable lidarr:
+# lidarr_enable="YES"
+
+. /etc/rc.subr
+
+name="lidarr"
+rcvar=lidarr_enable
+
+load_rc_config $name
+
+: ${lidarr_enable="NO"}
+: ${lidarr_user:="lidarr"}
+: ${lidarr_data_dir:="%%PREFIX%%/lidarr"}
+
+pidfile="${lidarr_data_dir}/lidarr.pid"
+procname="%%PREFIX%%/bin/mono"
+command="/usr/sbin/daemon"
+command_args="-f ${procname} %%DATADIR%%/Lidarr.exe --nobrowser --data=${lidarr_data_dir}"
+start_precmd=lidarr_precmd
+
+lidarr_precmd()
+{
+	export XDG_CONFIG_HOME=${lidarr_data_dir}
+
+	if [ ! -d ${lidarr_data_dir} ]; then
+		install -d -o ${lidarr_user} ${lidarr_data_dir}
+	fi
+}
+
+run_rc_command "$1"

Added: head/net-p2p/lidarr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/lidarr/pkg-descr	Wed Aug 28 05:35:59 2019	(r510043)
@@ -0,0 +1,11 @@
+Lidarr is a music collection manager for Usenet and BitTorrent users.
+
+It can monitor multiple RSS feeds for new tracks from your favorite
+artists and will grab, sort and rename them.
+It can also be configured to automatically upgrade the quality of
+files already downloaded when a better quality format becomes
+available.
+
+It looks and smells like Sonarr but made for music.
+
+WWW: https://lidarr.audio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908280535.x7S5ZxW1043240>