git: a89bae364efc - main - www/reproxy: the port had been updated to the latest version 1.7.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Sep 2026 19:40:25 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a89bae364efc82c7298fe41d23b42aeab8115cf5
commit a89bae364efc82c7298fe41d23b42aeab8115cf5
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2026-09-08 19:38:32 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2026-09-08 19:38:32 +0000
www/reproxy: the port had been updated to the latest version 1.7.1
Stop sed(1)-patching `main.go' and pass appropriate `main.revision'
via GO_LDFLAGS instead.
Reported by: portscout
---
www/reproxy/Makefile | 8 ++------
www/reproxy/distinfo | 6 +++---
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/www/reproxy/Makefile b/www/reproxy/Makefile
index a0b5cfd5bed6..31a92765a996 100644
--- a/www/reproxy/Makefile
+++ b/www/reproxy/Makefile
@@ -1,7 +1,6 @@
PORTNAME= reproxy
-PORTVERSION= 1.6.0
+PORTVERSION= 1.7.1
DISTVERSIONPREFIX= v
-PORTREVISION= 5
CATEGORIES= www
MAINTAINER= danfe@FreeBSD.org
@@ -14,14 +13,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:1.26+,modules
USE_GITHUB= yes
GH_ACCOUNT= umputun
+GO_LDFLAGS= -X main.revision=v${PORTVERSION}
BUILD_WRKSRC= ${WRKSRC}/app
PLIST_FILES= bin/reproxy
-post-patch:
- @${REINPLACE_CMD} -e '/var revision/s,unknown,${PORTVERSION},' \
- ${BUILD_WRKSRC}/main.go
-
do-build:
cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} \
GOPROXY=off ${GO_CMD} build ${GO_BUILDFLAGS} \
diff --git a/www/reproxy/distinfo b/www/reproxy/distinfo
index f83d761690e0..31ce93f816e2 100644
--- a/www/reproxy/distinfo
+++ b/www/reproxy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1778574610
-SHA256 (umputun-reproxy-v1.6.0_GH0.tar.gz) = 6dcc72ad9029f179b02a157cd00dcc9041bf49720eb95c7fc4a6acd6eb186afa
-SIZE (umputun-reproxy-v1.6.0_GH0.tar.gz) = 5140773
+TIMESTAMP = 1787194663
+SHA256 (umputun-reproxy-v1.7.1_GH0.tar.gz) = c4c1a7fa3290f40ad61b6cc2d983073a6f87970b09a69747a35c55658a40a69c
+SIZE (umputun-reproxy-v1.7.1_GH0.tar.gz) = 5178389