pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/gitea



Module Name:    pkgsrc
Committed By:   khorben
Date:           Mon Mar  1 23:47:09 UTC 2021

Modified Files:
        pkgsrc/www/gitea: Makefile
        pkgsrc/www/gitea/files: gitea.sh

Log Message:
gitea: do not log to the console

When started as a service, gitea logs directly to the console, in
addition to its own log files. This change redirects the standard output
to /dev/null.

Bumps PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 pkgsrc/www/gitea/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/gitea/files/gitea.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/gitea/Makefile
diff -u pkgsrc/www/gitea/Makefile:1.48 pkgsrc/www/gitea/Makefile:1.49
--- pkgsrc/www/gitea/Makefile:1.48      Sat Jan 23 14:23:13 2021
+++ pkgsrc/www/gitea/Makefile   Mon Mar  1 23:47:09 2021
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.48 2021/01/23 14:23:13 bsiegert Exp $
+# $NetBSD: Makefile,v 1.49 2021/03/01 23:47:09 khorben Exp $
 
 DISTNAME=      gitea-1.12.6
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=go-gitea/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 

Index: pkgsrc/www/gitea/files/gitea.sh
diff -u pkgsrc/www/gitea/files/gitea.sh:1.2 pkgsrc/www/gitea/files/gitea.sh:1.3
--- pkgsrc/www/gitea/files/gitea.sh:1.2 Sun Aug  4 12:26:59 2019
+++ pkgsrc/www/gitea/files/gitea.sh     Mon Mar  1 23:47:09 2021
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: gitea.sh,v 1.2 2019/08/04 12:26:59 nia Exp $
+# $NetBSD: gitea.sh,v 1.3 2021/03/01 23:47:09 khorben Exp $
 #
 # PROVIDE: gitea
 # REQUIRE: DAEMON
@@ -11,7 +11,7 @@ name="gitea"
 rcvar=${name}
 required_files="@PKG_SYSCONFDIR@/conf/app.ini"
 command="@PREFIX@/sbin/gitea"
-command_args="--config @PKG_SYSCONFDIR@/conf/app.ini web &"
+command_args="--config @PKG_SYSCONFDIR@/conf/app.ini web > /dev/null &"
 
 gitea_env="GITEA_WORK_DIR=@GITEA_SHARE_DIR@"
 gitea_env="${gitea_env} GITEA_CUSTOM=@PKG_SYSCONFDIR@"



Home | Main Index | Thread Index | Old Index