pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/gitea gitea: Fix config file handling.
details: https://anonhg.NetBSD.org/pkgsrc/rev/3598f0d9b376
branches: trunk
changeset: 399180:3598f0d9b376
user: nia <nia%pkgsrc.org@localhost>
date: Sun Aug 04 12:26:59 2019 +0000
description:
gitea: Fix config file handling.
diffstat:
www/gitea/Makefile | 5 +++--
www/gitea/files/gitea.sh | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (39 lines):
diff -r 96411bf1a4c2 -r 3598f0d9b376 www/gitea/Makefile
--- a/www/gitea/Makefile Sun Aug 04 12:24:41 2019 +0000
+++ b/www/gitea/Makefile Sun Aug 04 12:26:59 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2019/08/04 11:39:53 nia Exp $
+# $NetBSD: Makefile,v 1.7 2019/08/04 12:26:59 nia Exp $
DISTNAME= gitea-1.9.0
MASTER_SITES= ${MASTER_SITE_GITHUB:=go-gitea/}
@@ -65,7 +65,8 @@
MAKE_DIRS+= ${PKG_SYSCONFDIR}/conf
-CONF_FILES+= ${EGDIR}/app.ini.sample ${PKG_SYSCONFDIR}/conf/app.ini
+CONF_FILES_PERMS+= ${EGDIR}/app.ini.sample ${PKG_SYSCONFDIR}/conf/app.ini \
+ ${GITEA_USER} ${GITEA_GROUP} 0600
.include "../../mk/bsd.prefs.mk"
diff -r 96411bf1a4c2 -r 3598f0d9b376 www/gitea/files/gitea.sh
--- a/www/gitea/files/gitea.sh Sun Aug 04 12:24:41 2019 +0000
+++ b/www/gitea/files/gitea.sh Sun Aug 04 12:26:59 2019 +0000
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: gitea.sh,v 1.1 2019/03/24 21:34:23 nia Exp $
+# $NetBSD: gitea.sh,v 1.2 2019/08/04 12:26:59 nia Exp $
#
# PROVIDE: gitea
# REQUIRE: DAEMON
@@ -11,7 +11,7 @@
rcvar=${name}
required_files="@PKG_SYSCONFDIR@/conf/app.ini"
command="@PREFIX@/sbin/gitea"
-command_args="--config @PKG_SYSCONFDIR@/app.ini web &"
+command_args="--config @PKG_SYSCONFDIR@/conf/app.ini web &"
gitea_env="GITEA_WORK_DIR=@GITEA_SHARE_DIR@"
gitea_env="${gitea_env} GITEA_CUSTOM=@PKG_SYSCONFDIR@"
Home |
Main Index |
Thread Index |
Old Index