FreeBSD Bugzilla – Attachment 216664 Details for
Bug 248173
[NEW PORT] net/jotta-cli: Jotta Cloud Daemon and Command-Line Interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for Jotta-cli
jotta-cli.diff (text/plain), 5.30 KB, created by
Trenton Schulz
on 2020-07-22 13:51:18 UTC
(
hide
)
Description:
Patch for Jotta-cli
Filename:
MIME Type:
Creator:
Trenton Schulz
Created:
2020-07-22 13:51:18 UTC
Size:
5.30 KB
patch
obsolete
>commit bf9427b15f6ff1e412d592e56e1ccee9ae120ed8 >Author: Trenton Schulz <trenton@norwegianrockcat.com> >Date: Wed Jul 22 15:46:32 2020 +0200 > > Add jotta-cli > >diff --git a/GIDs b/GIDs >index 3cc31edfa19f..997a0258382f 100644 >--- a/GIDs >+++ b/GIDs >@@ -208,7 +208,7 @@ meta1:*:264: > sshout:*:265: > step:*:266: > odoo:*:267: >-# free: 268 >+jottad:*:268 > # free: 269 > # free: 270 > # free: 271 >diff --git a/UIDs b/UIDs >index 2806042871bc..923e6870e04a 100644 >--- a/UIDs >+++ b/UIDs >@@ -213,7 +213,7 @@ meta1:*:264:264::0:0:MeTA1 other:/nonexistent:/usr/sbin/nologin > sshout:*:265:265::0:0:Secure Shout Host Oriented Unified Talk:/var/db/sshout:/usr/local/libexec/sshoutd > step:*:266:266::0:0:Step CA:/nonexistent:/usr/sbin/nologin > odoo:*:267:267::0:0:Odoo ERP:/nonexistent:/usr/sbin/nologin >-# free: 268 >+jottad:*:268:268::0:0:Jotta Cloud Daemon:/nonexisten:/usr/sbin/nologin > # free: 269 > # free: 270 > # free: 271 >diff --git a/net/jotta-cli/Makefile b/net/jotta-cli/Makefile >new file mode 100644 >index 000000000000..6d6f59736416 >--- /dev/null >+++ b/net/jotta-cli/Makefile >@@ -0,0 +1,40 @@ >+# Created by: Trenton Schulz <trueos@norwegianrockcat.com> >+# $FreeBSD$ >+ >+PORTNAME= jotta-cli >+PORTVERSION= 0.6.24251 >+CATEGORIES= net >+MASTER_SITES= https://repo.jotta.us/archives/freebsd/${ARCH:S|amd64|amd64|:S|i386|386|}/ >+DISTNAME= ${PORTNAME}-${PORTVERSION}_freebsd_${ARCH:S|amd64|amd64|:S|i386|386|} >+ >+MAINTAINER= trueos@norwegianrockcat.com >+COMMENT= Jotta Cloud Daemon and Command-Line Interface >+ >+LICENSE= UNKNOWN >+LICENSE_NAME= "Jottacloud Terms and Service" >+LICENSE_TEXT= "JottaCloud has its own terms and conditions available at https://www.jottacloud.com/en/terms.html" >+LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept >+ >+ONLY_FOR_ARCHS= amd64 i386 >+RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss >+ >+RESTRICTED= yes >+USERS= jottad >+GROUPS= jottad >+ >+NO_BUILD= yes >+ >+USE_RC_SUBR= jottad >+ >+SUB_FILES= pkg-message \ >+ jottad >+ >+do-install: >+ ${INSTALL_SCRIPT} ${WRKDIR}/jottad ${STAGEDIR}${PREFIX}/etc/rc.d/jottad >+ ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/jotta-cli ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_PROGRAM} ${WRKDIR}/usr/bin/jottad ${STAGEDIR}${PREFIX}/sbin >+ ${MKDIR} ${STAGEDIR}/var/lib/jottad >+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/jottad >+ ${INSTALL_DATA} ${WRKDIR}/etc/jottad/config.ini ${STAGEDIR}${PREFIX}/etc/jottad/config.ini.sample >+ >+.include <bsd.port.mk> >diff --git a/net/jotta-cli/distinfo b/net/jotta-cli/distinfo >new file mode 100644 >index 000000000000..4663b9181149 >--- /dev/null >+++ b/net/jotta-cli/distinfo >@@ -0,0 +1,5 @@ >+TIMESTAMP = 1588357811 >+SHA256 (jotta-cli-0.6.24251_freebsd_amd64.tar.gz) = f004350087509e76c644a995dd2f23526cd43b84bf745e50fa649778c8b896f3 >+SIZE (jotta-cli-0.6.24251_freebsd_amd64.tar.gz) = 17996732 >+SHA256 (jotta-cli-0.6.24251_freebsd_386.tar.gz) = 17a99c0c4d443d5216e01c54e560bd417abe800c0b19aad2ac93550231f83bd4 >+SIZE (jotta-cli-0.6.24251_freebsd_386.tar.gz) = 17485181 >diff --git a/net/jotta-cli/files/jottad.in b/net/jotta-cli/files/jottad.in >new file mode 100755 >index 000000000000..847f5f736f14 >--- /dev/null >+++ b/net/jotta-cli/files/jottad.in >@@ -0,0 +1,18 @@ >+#!/bin/sh >+# PROVIDE: jottad >+# REQUIRE: DAEMON FILESYSTEMS netif >+# KEYWORD: >+ >+# Heavily copied from user gt2416 on the FreeNAS forums >+# Thread: https://www.ixsystems.com/community/threads/jottacloud-install-guide.69086/ >+ >+. /etc/rc.subr >+ >+name=jottad >+jottad_user=jottad >+rcvar=jottad_enable >+command_args="datadir %%PREFIX%%/etc/jottad &" >+command="%%PREFIX%%/sbin/${name}" >+ >+load_rc_config $name >+run_rc_command "$1" >diff --git a/net/jotta-cli/files/pkg-message.in b/net/jotta-cli/files/pkg-message.in >new file mode 100644 >index 000000000000..5c15e445a4ec >--- /dev/null >+++ b/net/jotta-cli/files/pkg-message.in >@@ -0,0 +1,17 @@ >+[ >+{ type: install >+ message: <<EOM >+To use the Jottacloud CLI, you must first start the jottad >+ >+# service jottad onestart >+ >+You can make this happen at start up by setting the jottad_enable variable. >+ >+# sysrc jottad_enable=YES >+ >+Instructions for using the Jottacloud CLI is available at: >+ >+ https://docs.jottacloud.com/en/articles/1437248-login-and-basic-use-with-jottacloud-cli >+ >+} >+] >diff --git a/net/jotta-cli/pkg-descr b/net/jotta-cli/pkg-descr >new file mode 100644 >index 000000000000..b24472f33039 >--- /dev/null >+++ b/net/jotta-cli/pkg-descr >@@ -0,0 +1,23 @@ >+From the Jottacloud website: >+ >+The Jottacloud Command-line Tool or Command-line Client is a >+Command-line tool for Jottacloud users. >+ >+The command-line client (CLI) is capable of running on most devices >+with Windows, OS X and linux systems such as desktops, servers, NAS >+devices, and even Raspberry Pi. >+ >+Note: The command-line client a special software designed for running >+on servers or headless systems. It is not meant to control the >+Jottacloud Desktop Client. >+ >+Features >+ >+* Automatic folder backup >+* Archive files >+* Custom scan interval >+* Ignore files and folders with simple gitignore style pattern >+* Simple webhooks >+* Manage remote hosts >+ >+WWW: http://www.jottacloud.com >diff --git a/net/jotta-cli/pkg-plist b/net/jotta-cli/pkg-plist >new file mode 100644 >index 000000000000..b7df6d3bb51d >--- /dev/null >+++ b/net/jotta-cli/pkg-plist >@@ -0,0 +1,8 @@ >+bin/jotta-cli >+sbin/jottad >+etc/rc.d/jottad >+@owner jottad >+@group jottad >+@dir etc/jottad >+@sample(jottad,jottad,644) etc/jottad/config.ini.sample >+@dir /var/lib/jottad
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248173
:
216664
|
221211
|
225970
|
227047