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

Collapse All | Expand All

(-)b/GIDs (-1 / +1 lines)
Lines 296-302 _iodined:*:353: Link Here
296
jackett:*:354:
296
jackett:*:354:
297
nzbhydra2:*:355:
297
nzbhydra2:*:355:
298
lidarr:*:356:
298
lidarr:*:356:
299
# free: 357
299
bazarr:*:357:
300
# free: 358
300
# free: 358
301
# free: 359
301
# free: 359
302
v2ray:*:360:
302
v2ray:*:360:
(-)b/UIDs (-1 / +1 lines)
Lines 301-307 _iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin Link Here
301
jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
301
jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
302
nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
302
nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin
303
lidarr:*:356:356::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin
303
lidarr:*:356:356::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin
304
# free: 357
304
bazarr:*:357:357::0:0:Bazarr Daemon:/nonexistent:/usr/sbin/nologin
305
# free: 358
305
# free: 358
306
# free: 359
306
# free: 359
307
v2ray:*:360:360::0:0:V2Ray Daemon:/nonexistent:/usr/sbin/nologin
307
v2ray:*:360:360::0:0:V2Ray Daemon:/nonexistent:/usr/sbin/nologin
(-)b/net-p2p/Makefile (+2 lines)
Lines 3-8 Link Here
3
    SUBDIR += amule
3
    SUBDIR += amule
4
    SUBDIR += amule-devel
4
    SUBDIR += amule-devel
5
    SUBDIR += awgg
5
    SUBDIR += awgg
6
    SUBDIR += bazarr
7
    SUBDIR += bazarr-devel
6
    SUBDIR += bitcoin
8
    SUBDIR += bitcoin
7
    SUBDIR += bitcoin-daemon
9
    SUBDIR += bitcoin-daemon
8
    SUBDIR += bitcoin-utils
10
    SUBDIR += bitcoin-utils
(-)b/net-p2p/bazarr-devel/Makefile (+50 lines)
Added Link Here
1
# $FreeBSD: $
2
3
PORTNAME=	bazarr-devel
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.9.6-beta.18
6
CATEGORIES=	net-p2p python
7
# Grab the asset as it contains built frontend and some extra files
8
MASTER_SITES=	https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
9
DISTNAME=	bazarr
10
11
MAINTAINER=	michiel@vanbaak.eu
12
COMMENT=	and Automatic downloader for Radarr Sonarr subtitle
13
14
LICENSE=	GPLv3
15
16
RUN_DEPENDS=	${PYNUMPY} \
17
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}lxml>=4.3.0:devel/py-lxml@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}webrtcvad>=2.0.10:audio/py-webrtcvad@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}gevent>=21:devel/py-gevent@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}gevent-websocket>=0.10.1:www/py-gevent-websocket@${PY_FLAVOR} \
22
		ffprobe:multimedia/ffmpeg \
23
		unrar:archivers/unrar
24
25
USES=		python:3.7+ zip
26
27
USE_RC_SUBR=	bazarr
28
29
NO_ARCH=	yes
30
SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} \
31
		USERS=${USERS}
32
33
NO_WRKSUBDIR=	yes
34
35
USERS=		bazarr
36
GROUPS=		bazarr
37
38
do-build:
39
	@${PYTHON_CMD} -m compileall ${WRKSRC}
40
	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
41
42
do-install:
43
	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
44
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
45
46
post-install:
47
	@${FIND} -s ${STAGEDIR} -not -type d | ${SORT} | \
48
		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
49
50
.include <bsd.port.mk>
(-)b/net-p2p/bazarr-devel/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1622897366
2
SHA256 (bazarr.zip) = 131796084d41e5a30b9ee13fbf786a91953beab6b069a903c0ff52a46e0ffa27
3
SIZE (bazarr.zip) = 32894504
(-)b/net-p2p/bazarr-devel/files/bazarr.in (+42 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# Author: Michiel van Baak <michiel@vanbaak.eu>
4
#
5
# $FreeBSD: $
6
#
7
# PROVIDE: bazarr
8
# REQUIRE: LOGIN
9
# KEYWORD: shutdown
10
11
# Add the following lines to /etc/rc.conf to enable bazarr:
12
# bazarr_enable:   Set to NO by default. Set it to YES to enable it.
13
# bazarr_user:     The user account bazarr daemon runs as what
14
#                  you want it to be.
15
# bazarr_datadir:  Directory where bazarr user data lives.
16
#                  Default: /usr/local/bazarr
17
18
. /etc/rc.subr
19
20
name=bazarr
21
rcvar=bazarr_enable
22
23
load_rc_config ${name}
24
25
: ${bazarr_enable:=NO}
26
: ${bazarr_user:=%%USERS%%}
27
: ${bazarr_datadir:="%%PREFIX%%/bazarr"}
28
29
pidfile="${bazarr_datadir}/bazarr.pid"
30
procname="%%PYTHON_CMD%%"
31
command="/usr/sbin/daemon"
32
command_args="-f -p ${pidfile} ${procname} %%DATADIR%%/bazarr.py --no-update -c ${bazarr_datadir}"
33
start_precmd=bazarr_precmd
34
35
bazarr_precmd()
36
{
37
	if [ ! -d ${bazarr_datadir} ]; then
38
		install -d -o ${bazarr_user} ${bazarr_datadir}
39
	fi
40
}
41
42
run_rc_command "$1"
(-)b/net-p2p/bazarr-devel/pkg-descr (+4 lines)
Added Link Here
1
Bazarr is a companion application to Sonarr and Radarr.
2
It manages and downloads subtitles based on your requirements.
3
You define your preferences by TV show or movie
4
and Bazarr takes care of everything for you.
(-)b/net-p2p/bazarr/Makefile (+48 lines)
Added Link Here
1
# $FreeBSD: $
2
3
PORTNAME=	bazarr
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.9.5
6
CATEGORIES=	net-p2p python
7
# Grab the asset as it contains built frontend and some extra files
8
MASTER_SITES=	https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
9
DISTNAME=	bazarr
10
11
MAINTAINER=	michiel@vanbaak.eu
12
COMMENT=	and Automatic downloader for Radarr Sonarr subtitle
13
14
LICENSE=	GPLv3
15
16
RUN_DEPENDS=	${PYNUMPY} \
17
		${PYTHON_PKGNAMEPREFIX}lxml>=4.3.0:devel/py-lxml@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}webrtcvad>=2.0.10:audio/py-webrtcvad@${PY_FLAVOR} \
20
		ffprobe:multimedia/ffmpeg \
21
		unrar:archivers/unrar
22
23
USES=		python:3.7+ zip
24
25
USE_RC_SUBR=	bazarr
26
27
NO_ARCH=	yes
28
SUB_LIST=	PYTHON_CMD=${PYTHON_CMD} \
29
		USERS=${USERS}
30
31
NO_WRKSUBDIR=	yes
32
33
USERS=		bazarr
34
GROUPS=		bazarr
35
36
do-build:
37
	@${PYTHON_CMD} -m compileall ${WRKSRC}
38
	@${PYTHON_CMD} -O -m compileall ${WRKSRC}
39
40
do-install:
41
	${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
42
	cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
43
44
post-install:
45
	@${FIND} -s ${STAGEDIR} -not -type d | ${SORT} | \
46
		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
47
48
.include <bsd.port.mk>
(-)b/net-p2p/bazarr/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1620486973
2
SHA256 (bazarr.zip) = 00607dd56cb426ccede4543173268df514abaca00b6882d612b84e7a3e86ab87
3
SIZE (bazarr.zip) = 33225385
(-)b/net-p2p/bazarr/files/bazarr.in (+42 lines)
Added Link Here
1
#!/bin/sh
2
#
3
# Author: Michiel van Baak <michiel@vanbaak.eu>
4
#
5
# $FreeBSD: $
6
#
7
# PROVIDE: bazarr
8
# REQUIRE: LOGIN
9
# KEYWORD: shutdown
10
11
# Add the following lines to /etc/rc.conf to enable bazarr:
12
# bazarr_enable:   Set to NO by default. Set it to YES to enable it.
13
# bazarr_user:     The user account bazarr daemon runs as what
14
#                  you want it to be.
15
# bazarr_datadir:  Directory where bazarr user data lives.
16
#                  Default: /usr/local/bazarr
17
18
. /etc/rc.subr
19
20
name=bazarr
21
rcvar=bazarr_enable
22
23
load_rc_config ${name}
24
25
: ${bazarr_enable:=NO}
26
: ${bazarr_user:=%%USERS%%}
27
: ${bazarr_datadir:="%%PREFIX%%/bazarr"}
28
29
pidfile="${bazarr_datadir}/bazarr.pid"
30
procname="%%PYTHON_CMD%%"
31
command="/usr/sbin/daemon"
32
command_args="-f -p ${pidfile} ${procname} %%DATADIR%%/bazarr.py --no-update -c ${bazarr_datadir}"
33
start_precmd=bazarr_precmd
34
35
bazarr_precmd()
36
{
37
	if [ ! -d ${bazarr_datadir} ]; then
38
		install -d -o ${bazarr_user} ${bazarr_datadir}
39
	fi
40
}
41
42
run_rc_command "$1"
(-)b/net-p2p/bazarr/pkg-descr (-1 / +4 lines)
Added Link Here
0
- 
1
Bazarr is a companion application to Sonarr and Radarr.
2
It manages and downloads subtitles based on your requirements.
3
You define your preferences by TV show or movie
4
and Bazarr takes care of everything for you.

Return to bug 243967