Index: GIDs =================================================================== --- GIDs (revision 487925) +++ GIDs (working copy) @@ -295,7 +295,7 @@ radarr:*:352: _iodined:*:353: jackett:*:354: -# free: 355 +lidarr:*:355: # free: 356 # free: 357 # free: 358 Index: UIDs =================================================================== --- UIDs (revision 487925) +++ UIDs (working copy) @@ -300,8 +300,7 @@ radarr:*:352:352::0:0:Radarr Daemon:/nonexistent:/usr/sbin/nologin _iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin -# free: 354 -# free: 355 +lidarr:*:355:355::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin # free: 356 # free: 357 # free: 358 Index: net-p2p/Makefile =================================================================== --- net-p2p/Makefile (revision 487925) +++ net-p2p/Makefile (working copy) @@ -48,6 +48,7 @@ SUBDIR += libswift SUBDIR += libtorrent SUBDIR += libtorrent-rasterbar + SUBDIR += lidarr SUBDIR += linuxdcpp SUBDIR += litecoin SUBDIR += litecoin-daemon Index: net-p2p/lidarr/Makefile =================================================================== --- net-p2p/lidarr/Makefile (nonexistent) +++ net-p2p/lidarr/Makefile (working copy) @@ -0,0 +1,44 @@ +# $FreeBSD$ + +PORTNAME= lidarr +PORTVERSION= 0.5.0.583 +PORTREVISION= 0 +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 +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 + +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 Property changes on: net-p2p/lidarr/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/lidarr/distinfo =================================================================== --- net-p2p/lidarr/distinfo (nonexistent) +++ net-p2p/lidarr/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1545342695 +SHA256 (Lidarr.develop.0.5.0.583.linux.tar.gz) = e77b86b38e981c3f859a6e373be63a20d49ba855523b77a8a664d7d336ea166f +SIZE (Lidarr.develop.0.5.0.583.linux.tar.gz) = 9127359 Property changes on: net-p2p/lidarr/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/lidarr/files/lidarr.in =================================================================== --- net-p2p/lidarr/files/lidarr.in (nonexistent) +++ net-p2p/lidarr/files/lidarr.in (working copy) @@ -0,0 +1,41 @@ +#!/bin/sh +# +# Author: Michiel van Baak +# +# $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" Property changes on: net-p2p/lidarr/files/lidarr.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: net-p2p/lidarr/pkg-descr =================================================================== --- net-p2p/lidarr/pkg-descr (nonexistent) +++ net-p2p/lidarr/pkg-descr (working copy) @@ -0,0 +1,3 @@ +Looks and smells like Sonarr but made for music. + +WWW: https://lidarr.audio Property changes on: net-p2p/lidarr/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property