diff options
author | Trenton Schulz <trenton@nr.no> | 2023-02-17 15:02:56 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2023-02-20 23:36:40 +0000 |
commit | 6d180ad91535336621811d40456e7ad8de586f62 (patch) | |
tree | 2d5c631262d7e28a9bd18d4d1b5a9e9ef20a60d3 | |
parent | 46c865481fbc03fbad6ef94fd5a22c2b502f8e17 (diff) | |
download | ports-6d180ad91535336621811d40456e7ad8de586f62.tar.gz ports-6d180ad91535336621811d40456e7ad8de586f62.zip |
net/jotta-cli: Fix permissions for jotta-cli
The ownership for @LOCALBASE/etc/jottad were wrong (they need to be
owned by jottad:jottad.
As I had updated the portrevision, I fixed some PORTLINT issues as
well.
MFH: 2023Q1
PR: 268601
Reported by: Vidar Karlsen <vidar@karlsen.tech>
Approved by: flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38685
-rw-r--r-- | net/jotta-cli/Makefile | 6 | ||||
-rw-r--r-- | net/jotta-cli/pkg-plist | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/net/jotta-cli/Makefile b/net/jotta-cli/Makefile index 9fce17405b1b..ff1bf87471eb 100644 --- a/net/jotta-cli/Makefile +++ b/net/jotta-cli/Makefile @@ -1,5 +1,6 @@ PORTNAME= jotta-cli DISTVERSION= 0.14.60923 +PORTREVISION= 1 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|} @@ -13,12 +14,11 @@ 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 -RESTRICTED= yes - ONLY_FOR_ARCHS= amd64 i386 - RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss +RESTRICTED= yes + USE_RC_SUBR= jottad NO_BUILD= yes diff --git a/net/jotta-cli/pkg-plist b/net/jotta-cli/pkg-plist index d1d4447d456d..3bdb89180ea0 100644 --- a/net/jotta-cli/pkg-plist +++ b/net/jotta-cli/pkg-plist @@ -3,6 +3,7 @@ sbin/jottad @dir etc/rc.d @owner jottad @group jottad +@dir etc/jottad @sample(jottad,jottad,644) etc/jottad/config.ini.sample @dir /var/lib/jottad @dir /var/lib |