Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2026 08:49:29 +0000
From:      Santhosh Raju <fox@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 11eeaad69d64 - main - www/opengist: Fix ownership for directories.
Message-ID:  <698af119.44110.15fa3853@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fox:

URL: https://cgit.FreeBSD.org/ports/commit/?id=11eeaad69d64438b68460fc8f94334f7b353ae67

commit 11eeaad69d64438b68460fc8f94334f7b353ae67
Author:     Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2026-02-10 08:48:13 +0000
Commit:     Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2026-02-10 08:49:20 +0000

    www/opengist: Fix ownership for directories.
    
    Also fixes the build failure.
---
 www/opengist/Makefile          | 4 +---
 www/opengist/files/opengist.in | 3 +++
 www/opengist/pkg-plist         | 4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/www/opengist/Makefile b/www/opengist/Makefile
index 90a5d7771069..822dc6069053 100644
--- a/www/opengist/Makefile
+++ b/www/opengist/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	opengist
 PORTVERSION=	1.11.1
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www textproc
 MASTER_SITES=	LOCAL/fox/:js
 DISTFILES=	opengist-${DISTVERSION}-node_modules.tgz:js
@@ -54,9 +54,7 @@ post-install:
 	${INSTALL_DATA} ${WRKSRC}/config.yml \
 		${STAGEDIR}${PREFIX}/etc/${PORTNAME}/config.yml.sample
 	${MKDIR} ${STAGEDIR}/var/db/${PORTNAME}
-	${CHOWN} opengist:opengist ${STAGEDIR}/var/db/${PORTNAME}
 	${MKDIR} ${STAGEDIR}/var/run/${PORTNAME}
-	${CHOWN} opengist:opengist ${STAGEDIR}/var/run/${PORTNAME}
 	${MKDIR} ${STAGEDIR}${WWWDIR}/assets
 	cd ${WRKSRC} && \
 		${INSTALL_DATA} public/assets/* \
diff --git a/www/opengist/files/opengist.in b/www/opengist/files/opengist.in
index be31988b3d7a..3045dc3fa511 100644
--- a/www/opengist/files/opengist.in
+++ b/www/opengist/files/opengist.in
@@ -12,6 +12,8 @@
 #						Default is "%%WWWDIR%%".
 # opengist_user (str):				Set the user for running opengist server.
 #						Default is "opengist".
+# opengist_group (str):				Set the group for running opengist server.
+#						Default is "opengist".
 # opengist_config_file (str):			Set config file location for opengist server.
 #						Default is "%%PREFIX%%/etc/${name}/config.yml".
 # opengist_syslog_output_enable (bool):		Set it to "YES" for enabling output to syslogd(8)
@@ -30,6 +32,7 @@ load_rc_config ${name}
 
 : ${opengist_enable:="NO"}
 : ${opengist_user:="opengist"}
+: ${opengist_group:="opengist"}
 : ${opengist_files:="/var/db/opengist/"}
 : ${opengist_home:="%%WWWDIR%%"}
 : ${opengist_config_file:="%%PREFIX%%/etc/${name}/config.yml"}
diff --git a/www/opengist/pkg-plist b/www/opengist/pkg-plist
index 4d729612ce64..0f00cfe6d149 100644
--- a/www/opengist/pkg-plist
+++ b/www/opengist/pkg-plist
@@ -73,5 +73,5 @@ bin/opengist
 %%WWWDIR%%/assets/style_preferences-1f030604.js
 %%WWWDIR%%/assets/webauthn-93328862.js
 %%WWWDIR%%/manifest.json
-@dir(opengist,opengist,640) /var/db/opengist
-@dir(opengist,opengist,600) /var/run/opengist
+@dir(opengist,opengist,750) /var/db/opengist
+@dir(opengist,opengist,750) /var/run/opengist


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698af119.44110.15fa3853>