patches/gitea1.diff

51 lines
1.8 KiB
Diff

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/gitea/Makefile,v
retrieving revision 1.86
diff -u -p -u -p -r1.86 Makefile
--- Makefile 23 Dec 2022 22:09:27 -0000 1.86
+++ Makefile 7 Jan 2023 15:47:40 -0000
@@ -3,6 +3,7 @@ COMMENT = compact self-hosted Git servi
VERSION = 1.17.4
DISTNAME = gitea-src-${VERSION}
PKGNAME = gitea-${VERSION}
+REVISION = 0
MASTER_SITES = https://github.com/go-gitea/gitea/releases/download/v${VERSION}/
@@ -27,7 +28,8 @@ MODGO_LDFLAGS += -X code.gitea.io/gitea/
MODGO_LDFLAGS += -X main.Version=${VERSION}
MODGO_LDFLAGS += -X 'main.Tags=${GO_TAGS}'
-RUN_DEPENDS = devel/git
+RUN_DEPENDS = devel/git \
+ shells/bash
ALL_TARGET = code.gitea.io/gitea
WRKSRC = ${MODGO_WORKSPACE}/src/${ALL_TARGET}
Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/gitea/pkg/README,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 README
--- pkg/README 6 Mar 2022 11:05:26 -0000 1.6
+++ pkg/README 7 Jan 2023 15:47:40 -0000
@@ -43,7 +43,7 @@ Relevant configuration directives in ${S
listen on $ext_addr tls port 443
tls certificate "/etc/ssl/gitea.example.com.pem"
tls key "/etc/ssl/private/gitea.example.com.key"
- location "*" { fastcgi socket "/run/gitea/gitea.sock" }
+ location "*" { fastcgi socket "/run/gitea.sock" }
}
Relevant configuration directives in ${SYSCONFDIR}/gitea/app.ini:
@@ -52,7 +52,7 @@ Relevant configuration directives in ${S
PROTOCOL = fcgi+unix
DOMAIN = gitea.example.com
ROOT_URL = https://%(DOMAIN)s/
- HTTP_ADDR = /var/www/run/gitea/gitea.sock
+ HTTP_ADDR = /var/www/run/gitea.sock
LOCAL_ROOT_URL = %(ROOT_URL)s
Customizing gitea