View | Details | Raw Unified | Return to bug 234233 | Differences between
and this patch

Collapse All | Expand All

(-)GIDs (-1 / +1 lines)
Lines 295-301 Link Here
295
radarr:*:352:
295
radarr:*:352:
296
_iodined:*:353:
296
_iodined:*:353:
297
jackett:*:354:
297
jackett:*:354:
298
# free: 355
298
lidarr:*:355:
299
# free: 356
299
# free: 356
300
# free: 357
300
# free: 357
301
# free: 358
301
# free: 358
(-)UIDs (-2 / +1 lines)
Lines 300-307 Link Here
300
radarr:*:352:352::0:0:Radarr Daemon:/nonexistent:/usr/sbin/nologin
300
radarr:*:352:352::0:0:Radarr Daemon:/nonexistent:/usr/sbin/nologin
301
_iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
301
_iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
302
jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
302
jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
303
# free: 354
303
lidarr:*:355:355::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin
304
# free: 355
305
# free: 356
304
# free: 356
306
# free: 357
305
# free: 357
307
# free: 358
306
# free: 358
(-)net-p2p/lidarr/Makefile (+44 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	lidarr
4
PORTVERSION=	0.5.0.583
5
PORTREVISION=	0
6
CATEGORIES=	net-p2p
7
MASTER_SITES=	https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
8
DISTNAME=	Lidarr.develop.${PORTVERSION}.linux
9
10
MAINTAINER=	michiel@vanbaak.eu
11
COMMENT=        Lidarr is a music collection manager for Usenet and BitTorrent users.
12
13
LICENSE=	GPLv3
14
15
RUN_DEPENDS=	mono>0:lang/mono \
16
		mediainfo>0:multimedia/mediainfo \
17
		sqlite3>0:databases/sqlite3
18
LIB_DEPENDS=	libcurl.so:ftp/curl
19
20
USE_RC_SUBR=	lidarr
21
22
NO_ARCH=	YES
23
NO_BUILD=	YES
24
WRKSRC=	${WRKDIR}/Lidarr
25
26
USERS=	lidarr
27
GROUPS=	lidarr
28
29
OPTIONS_DEFINE=	X11
30
31
# Permits image resizing
32
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus
33
34
.include <bsd.port.options.mk>
35
36
do-install:
37
	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
38
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
39
40
post-install:
41
	@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
42
		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
43
44
.include <bsd.port.mk>
(-)net-p2p/lidarr/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1545342695
2
SHA256 (Lidarr.develop.0.5.0.583.linux.tar.gz) = e77b86b38e981c3f859a6e373be63a20d49ba855523b77a8a664d7d336ea166f
3
SIZE (Lidarr.develop.0.5.0.583.linux.tar.gz) = 9127359
(-)net-p2p/lidarr/files/lidarr.in (+41 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Author: Michiel van Baak <michiel@vanbaak.eu>
4
#
5
# $FreeBSD$
6
#
7
8
# PROVIDE: lidarr
9
# REQUIRE: LOGIN
10
# KEYWORD: shutdown
11
12
# Add the following lines to /etc/rc.conf to enable lidarr:
13
# lidarr_enable="YES"
14
15
. /etc/rc.subr
16
17
name="lidarr"
18
rcvar=lidarr_enable
19
20
load_rc_config $name
21
22
: ${lidarr_enable="NO"}
23
: ${lidarr_user:="lidarr"}
24
: ${lidarr_data_dir:="%%PREFIX%%/lidarr"}
25
26
pidfile="${lidarr_data_dir}/lidarr.pid"
27
procname="%%PREFIX%%/bin/mono"
28
command="/usr/sbin/daemon"
29
command_args="-f ${procname} %%DATADIR%%/Lidarr.exe --nobrowser --data=${lidarr_data_dir}"
30
start_precmd=lidarr_precmd
31
32
lidarr_precmd()
33
{
34
	export XDG_CONFIG_HOME=${lidarr_data_dir}
35
36
	if [ ! -d ${lidarr_data_dir} ]; then
37
		install -d -o ${lidarr_user} ${lidarr_data_dir}
38
	fi
39
}
40
41
run_rc_command "$1"
(-)net-p2p/lidarr/pkg-descr (+3 lines)
Line 0 Link Here
1
Looks and smells like Sonarr but made for music.
2
3
WWW: https://lidarr.audio

Return to bug 234233