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:           Tue May 26 01:01:15 UTC 2026

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

Log Message:
www/gitea: fix the RC script

rc.subr resets $PATH to values excluding pkgsrc's $PREFIX, while by
default, Gitea needs to find the path to the git(1) binary before
starting. This adds $PREFIX/bin to $PATH in the environment, giving
Gitea a chance to start correctly even when git.PATH is not set.

Tested on NetBSD/amd64.

Bumps PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 pkgsrc/www/gitea/Makefile
cvs rdiff -u -r1.5 -r1.6 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.134 pkgsrc/www/gitea/Makefile:1.135
--- pkgsrc/www/gitea/Makefile:1.134     Thu May  7 18:50:10 2026
+++ pkgsrc/www/gitea/Makefile   Tue May 26 01:01:15 2026
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.134 2026/05/07 18:50:10 bsiegert Exp $
+# $NetBSD: Makefile,v 1.135 2026/05/26 01:01:15 khorben Exp $
 
 DISTNAME=      gitea-1.24.7
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=go-gitea/}
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    www
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 

Index: pkgsrc/www/gitea/files/gitea.sh
diff -u pkgsrc/www/gitea/files/gitea.sh:1.5 pkgsrc/www/gitea/files/gitea.sh:1.6
--- pkgsrc/www/gitea/files/gitea.sh:1.5 Wed Mar 23 23:41:14 2022
+++ pkgsrc/www/gitea/files/gitea.sh     Tue May 26 01:01:15 2026
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: gitea.sh,v 1.5 2022/03/23 23:41:14 khorben Exp $
+# $NetBSD: gitea.sh,v 1.6 2026/05/26 01:01:15 khorben Exp $
 #
 # PROVIDE: gitea
 # REQUIRE: DAEMON
@@ -20,6 +20,7 @@ command_args="--config @PKG_SYSCONFDIR@/
 gitea_env="GITEA_WORK_DIR=@GITEA_SHARE_DIR@"
 gitea_env="${gitea_env} GITEA_CUSTOM=@PKG_SYSCONFDIR@"
 gitea_env="${gitea_env} HOME=@GITEA_USER_HOME@"
+gitea_env="${gitea_env} PATH=$PATH:@PREFIX@/bin"
 gitea_env="${gitea_env} USER=@GITEA_USER@"
 
 gitea_user="@GITEA_USER@"



Home | Main Index | Thread Index | Old Index