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

Collapse All | Expand All

(-)GIDs (-1 / +1 lines)
Lines 296-302 Link Here
296
_iodined:*:353:
296
_iodined:*:353:
297
jackett:*:354:
297
jackett:*:354:
298
nzbhydra2:*:355:
298
nzbhydra2:*:355:
299
# free: 356
299
lidarr:*:356:
300
# free: 357
300
# free: 357
301
# free: 358
301
# free: 358
302
# free: 359
302
# free: 359
(-)UIDs (-1 / +1 lines)
Lines 301-307 Link Here
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
nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
303
nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
304
# free: 356
304
lidarr:*:356:356::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin
305
# free: 357
305
# free: 357
306
# free: 358
306
# free: 358
307
# free: 359
307
# free: 359
(-)net-p2p/Makefile (working copy) (+1 lines)
Lines 42-47 Link Here
42
    SUBDIR += libswift
42
    SUBDIR += libswift
43
    SUBDIR += libtorrent
43
    SUBDIR += libtorrent
44
    SUBDIR += libtorrent-rasterbar
44
    SUBDIR += libtorrent-rasterbar
45
    SUBDIR += lidarr
45
    SUBDIR += linuxdcpp
46
    SUBDIR += linuxdcpp
46
    SUBDIR += litecoin
47
    SUBDIR += litecoin
47
    SUBDIR += litecoin-daemon
48
    SUBDIR += litecoin-daemon
(-)net-p2p/lidarr/Makefile (+45 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	lidarr
4
PORTVERSION=	0.6.2.883
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
		chromaprint>0:audio/chromaprint
19
LIB_DEPENDS=	libcurl.so:ftp/curl
20
21
USE_RC_SUBR=	lidarr
22
23
NO_ARCH=	YES
24
NO_BUILD=	YES
25
WRKSRC=	${WRKDIR}/Lidarr
26
27
USERS=	lidarr
28
GROUPS=	lidarr
29
30
OPTIONS_DEFINE=	X11
31
32
# Permits image resizing
33
X11_LIB_DEPENDS+=libgdiplus.so:x11-toolkits/libgdiplus
34
35
.include <bsd.port.options.mk>
36
37
do-install:
38
	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
39
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
40
41
post-install:
42
	@${FIND} -s ${STAGEDIR}${DATADIR} -not -type d | ${SORT} | \
43
		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
44
45
.include <bsd.port.mk>
(-)net-p2p/lidarr/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1559503446
2
SHA256 (Lidarr.develop.0.6.2.883.linux.tar.gz) = 9bbc3cc18ce73bdc491a39d2ab1c20052b9e6d40e4db8d9080691c78b7902601
3
SIZE (Lidarr.develop.0.6.2.883.linux.tar.gz) = 10231816
(-)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