Date: Sat, 1 Oct 2022 13:14:58 GMT From: Carlo Strub <cs@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f71668a18bcb - main - security/arti: Fix folder permissions Message-ID: <202210011314.291DEwQE024537@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cs: URL: https://cgit.FreeBSD.org/ports/commit/?id=f71668a18bcb7dbdcb497a9341162bb981b29884 commit f71668a18bcb7dbdcb497a9341162bb981b29884 Author: Carlo Strub <cs@FreeBSD.org> AuthorDate: 2022-10-01 13:14:42 +0000 Commit: Carlo Strub <cs@FreeBSD.org> CommitDate: 2022-10-01 13:14:42 +0000 security/arti: Fix folder permissions --- security/arti/Makefile | 2 +- security/arti/files/arti.in | 16 ---------------- security/arti/pkg-plist | 2 ++ 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/security/arti/Makefile b/security/arti/Makefile index 3fea1e343fde..96a23cc1d494 100644 --- a/security/arti/Makefile +++ b/security/arti/Makefile @@ -1,6 +1,6 @@ PORTNAME= arti DISTVERSION= 1.0.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MAINTAINER= cs@FreeBSD.org diff --git a/security/arti/files/arti.in b/security/arti/files/arti.in index 8cb8d4a48513..00f6c0239316 100644 --- a/security/arti/files/arti.in +++ b/security/arti/files/arti.in @@ -30,25 +30,9 @@ pidfiledir="/var/run/${name}" pidfile="${pidfiledir}/${name}.pid" logfiledir="/var/log/${name}" logfile="${logfiledir}/${name}.log" -dbfiledir="/var/db/${name}" command="/usr/sbin/daemon" procname="%%PREFIX%%/bin/${name}" command_args="-f -o $logfile -p $pidfile $procname proxy --config $arti_config" -start_precmd="${name}_prestart" - -arti_prestart() -{ - if [ ! -d ${pidfiledir} ]; then - install -d -o ${arti_user} -g ${arti_group} ${pidfiledir} - fi - if [ ! -d ${logfiledir} ]; then - install -d -o ${arti_user} -g ${arti_group} ${logfiledir} - fi - if [ ! -d ${dbfiledir} ]; then - install -d -o ${arti_user} -g ${arti_group} ${dbfiledir} - fi -} - run_rc_command "$1" diff --git a/security/arti/pkg-plist b/security/arti/pkg-plist index 4b90f62f5d8e..b70161d58f10 100644 --- a/security/arti/pkg-plist +++ b/security/arti/pkg-plist @@ -1,5 +1,7 @@ bin/arti @sample %%ETCDIR%%/arti.toml.sample +@owner %%USERS%% +@group %%GROUPS%% @dir /var/db/arti @dir /var/log/arti @dir /var/run/arti
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210011314.291DEwQE024537>