View | Details | Raw Unified | Return to bug 247612
Collapse All | Expand All

(-)Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
2
3
PORTNAME=	gitea
3
PORTNAME=	gitea
4
DISTVERSIONPREFIX=	v
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	1.11.6
5
DISTVERSION=	1.11.8
6
PORTREVISION=	1
7
CATEGORIES=	www
6
CATEGORIES=	www
8
MASTER_SITES=	https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
7
MASTER_SITES=	https://github.com/go-gitea/gitea/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
9
DISTNAME=	gitea-src-${DISTVERSION}
8
DISTNAME=	gitea-src-${DISTVERSION}
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1590915922
1
TIMESTAMP = 1593337278
2
SHA256 (gitea-src-1.11.6.tar.gz) = 1ac3880df7f38e411376c284959d8f5e1e1d9137ac423fe20d1e02ac5cc1de86
2
SHA256 (gitea-src-1.11.8.tar.gz) = f4f965bd8f7da9320b6693c249eab07ff8baf5ef81649fd9025133f91391bab8
3
SIZE (gitea-src-1.11.6.tar.gz) = 68915319
3
SIZE (gitea-src-1.11.8.tar.gz) = 68927493
(-)files/patch-Makefile (-20 lines)
Lines 1-20 Link Here
1
--- Makefile.orig	2020-03-06 17:18:36.000000000 +0000
2
+++ Makefile	2020-03-18 20:56:00.588102000 +0000
3
@@ -123,7 +123,7 @@
4
 
5
 .PHONY: go-check
6
 go-check:
7
-	$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?[[:space:]]' | tr '.' ' ');))
8
+	$(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo 'go[0-9\.]+' | tr -d go | tr '.' ' ');))
9
 	@if [ "$(GO_VERSION)" -lt "001011000" ]; then \
10
 		echo "Gitea requires Go 1.11.0 or greater to build. You can get it at https://golang.org/dl/"; \
11
 		exit 1; \
12
@@ -138,7 +138,7 @@
13
 
14
 .PHONY: node-check
15
 node-check:
16
-	$(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?' | tr '.' ' ');))
17
+	$(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | grep -Eo '[0-9]+\.?[0-9]+\.?[0-9]+' | tr '.' ' ');))
18
 	$(eval NPM_MISSING := $(shell hash npm > /dev/null 2>&1 || echo 1))
19
 	@if [ "$(NODE_VERSION)" -lt "010000000" -o "$(NPM_MISSING)" = "1" ]; then \
20
 		echo "Gitea requires Node.js 10.0.0 or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \
(-)files/patch-templates_repo_wiki_view.tmpl (-11 lines)
Lines 1-11 Link Here
1
--- templates/repo/wiki/view.tmpl.orig	2020-04-29 07:06:03 UTC
2
+++ templates/repo/wiki/view.tmpl
3
@@ -45,7 +45,7 @@
4
 					{{else if and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)}}
5
 						<input id="repo-clone-url" value="{{$.WikiCloneLink.SSH}}" readonly>
6
 					{{end}}
7
-					{{if or ((not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH)))}}
8
+					{{if or (not $.DisableHTTP) (and (not $.DisableSSH) (or $.IsSigned $.ExposeAnonSSH))}}
9
 						<button class="ui basic icon button poping up clipboard" id="clipboard-btn" data-original="{{.i18n.Tr "repo.copy_link"}}" data-success="{{.i18n.Tr "repo.copy_link_success"}}" data-error="{{.i18n.Tr "repo.copy_link_error"}}" data-content="{{.i18n.Tr "repo.copy_link"}}" data-variation="inverted tiny" data-clipboard-target="#repo-clone-url">
10
 							<i class="octicon octicon-clippy"></i>
11
 						</button>

Return to bug 247612