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

Collapse All | Expand All

(-)b/GIDs (-1 / +1 lines)
Lines 232-238 victoria-metrics:*:289: Link Here
232
_gmid:*:290:
232
_gmid:*:290:
233
pydio:*:291:
233
pydio:*:291:
234
sftpgo:*:292:
234
sftpgo:*:292:
235
# free: 293
235
jottad:*:293:
236
# free: 294
236
# free: 294
237
# free: 295
237
# free: 295
238
# free: 296
238
# free: 296
(-)b/UIDs (-1 / +1 lines)
Lines 237-243 victoria-metrics:*:289:289::0:0:VictoriaMetrics user:/nonexistent:/usr/sbin/nolo Link Here
237
_gmid:*:290:290::0:0:gmid daemon user:/var/empty:/usr/sbin/nologin
237
_gmid:*:290:290::0:0:gmid daemon user:/var/empty:/usr/sbin/nologin
238
pydio:*:291:291::0:0:pydio cells user:/var/pydio:/bin/sh
238
pydio:*:291:291::0:0:pydio cells user:/var/pydio:/bin/sh
239
sftpgo:*:292:292::0:0:SFTPGo user:/nonexistent:/usr/sbin/nologin
239
sftpgo:*:292:292::0:0:SFTPGo user:/nonexistent:/usr/sbin/nologin
240
# free: 293
240
jottad:*:293:293::0:0:Jotta Cloud Daemon:/nonexisten:/usr/sbin/nologin
241
# free: 294
241
# free: 294
242
# free: 295
242
# free: 295
243
# free: 296
243
# free: 296
(-)b/net/jotta-cli/Makefile (+41 lines)
Added Link Here
1
# Created by: Trenton Schulz <trueos@norwegianrockcat.com>
2
3
PORTNAME=	jotta-cli
4
PORTVERSION=	0.11.44593
5
CATEGORIES=	net
6
MASTER_SITES=	https://repo.jotta.us/archives/freebsd/${ARCH:S|amd64|amd64|:S|i386|386|}/
7
DISTNAME=	${PORTNAME}-${PORTVERSION}_freebsd_${ARCH:S|amd64|amd64|:S|i386|386|}
8
9
MAINTAINER=	trueos@norwegianrockcat.com
10
COMMENT=	Jotta Cloud Daemon and Command-Line Interface
11
12
LICENSE=	UNKNOWN
13
LICENSE_NAME=	"Jottacloud Terms and Service"
14
LICENSE_TEXT=	"JottaCloud has its own terms and conditions available at https://www.jottacloud.com/en/terms.html"
15
LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
16
17
ONLY_FOR_ARCHS=	amd64 i386
18
RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
19
20
RESTRICTED=	yes
21
USERS=	jottad
22
GROUPS=	jottad
23
24
NO_BUILD=	yes
25
26
USE_RC_SUBR=	jottad
27
28
SUB_FILES=	pkg-message \
29
		jottad
30
31
do-install:
32
	${MKDIR} ${STAGEDIR}${PREFIX}/etc/jottad
33
	${INSTALL_SCRIPT} ${WRKDIR}/jottad ${STAGEDIR}${PREFIX}/etc/rc.d/jottad
34
	${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/jotta-cli ${STAGEDIR}${PREFIX}/bin
35
	${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/jottad ${STAGEDIR}${PREFIX}/sbin
36
	${INSTALL_DATA} ${WRKDIR}/etc/jottad/config.ini ${STAGEDIR}${PREFIX}/etc/jottad/config.ini.sample
37
38
post-install:
39
	${MKDIR} ${STAGEDIR}/var/lib/jottad
40
41
.include <bsd.port.mk>
(-)b/net/jotta-cli/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1624294110
2
SHA256 (jotta-cli-0.11.44593_freebsd_amd64.tar.gz) = d8e0ca6619cca4669556e35577601e88009a3993fc3e82009993e218fe4b4c9e
3
SIZE (jotta-cli-0.11.44593_freebsd_amd64.tar.gz) = 11731054
(-)b/net/jotta-cli/files/jottad.in (+18 lines)
Added Link Here
1
#!/bin/sh
2
# PROVIDE: jottad
3
# REQUIRE: DAEMON FILESYSTEMS netif
4
# KEYWORD:
5
6
# Heavily copied from user gt2416 on the FreeNAS forums
7
# Thread: https://www.ixsystems.com/community/threads/jottacloud-install-guide.69086/
8
9
. /etc/rc.subr
10
11
name=jottad
12
jottad_user=jottad
13
rcvar=jottad_enable
14
command_args="datadir %%PREFIX%%/etc/jottad &"
15
command="%%PREFIX%%/sbin/${name}"
16
17
load_rc_config $name
18
run_rc_command "$1"
(-)b/net/jotta-cli/files/pkg-message.in (+17 lines)
Added Link Here
1
[
2
{ type: install
3
  message: <<EOM
4
To use the Jottacloud CLI, you must first start the jottad
5
6
# service jottad onestart
7
8
You can make this happen at start up by setting the jottad_enable variable.
9
10
# sysrc jottad_enable=YES
11
12
Instructions for using the Jottacloud CLI is available at:
13
14
  https://docs.jottacloud.com/en/articles/1437248-login-and-basic-use-with-jottacloud-cli
15
16
}
17
]
(-)b/net/jotta-cli/pkg-descr (+23 lines)
Added Link Here
1
From the Jottacloud website:
2
3
The Jottacloud Command-line Tool or Command-line Client is a
4
Command-line tool for Jottacloud users.
5
6
The command-line client (CLI) is capable of running on most devices
7
with Windows, OS X and linux systems such as desktops, servers, NAS
8
devices, and even Raspberry Pi.
9
10
Note: The command-line client a special software designed for running
11
on servers or headless systems. It is not meant to control the
12
Jottacloud Desktop Client.
13
14
Features
15
16
* Automatic folder backup
17
* Archive files
18
* Custom scan interval
19
* Ignore files and folders with simple gitignore style pattern
20
* Simple webhooks
21
* Manage remote hosts
22
23
WWW: http://www.jottacloud.com
(-)b/net/jotta-cli/pkg-plist (+8 lines)
Added Link Here
1
bin/jotta-cli
2
sbin/jottad
3
@dir etc/rc.d
4
@owner jottad
5
@group jottad
6
@sample(jottad,jottad,644) etc/jottad/config.ini.sample
7
@dir /var/lib/jottad
8
@dir /var/lib

Return to bug 248173