Date: Mon, 26 Jan 2026 15:33:51 +0000 From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav <des@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 821e1fd4373a - 2026Q1 - www/forgejo: Update to 14.0.0 Message-ID: <6977895f.3829e.79fc9f91@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2026Q1 has been updated by des: URL: https://cgit.FreeBSD.org/ports/commit/?id=821e1fd4373a198334ce2ff3bbd254d892ab0022 commit 821e1fd4373a198334ce2ff3bbd254d892ab0022 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2026-01-16 13:37:30 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2026-01-26 15:33:21 +0000 www/forgejo: Update to 14.0.0 Changelog: * https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/14.0.0.md MFH: 2026Q1 (cherry picked from commit e17d96300661e7043c7bd67852caac5e4377f499) --- www/forgejo/Makefile | 23 ++++++++++++++++------- www/forgejo/distinfo | 6 +++--- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/www/forgejo/Makefile b/www/forgejo/Makefile index 7355969cb923..e86e63af1306 100644 --- a/www/forgejo/Makefile +++ b/www/forgejo/Makefile @@ -1,7 +1,6 @@ PORTNAME= forgejo DISTVERSIONPREFIX= v -DISTVERSION= 13.0.4 -PORTREVISION= 1 +DISTVERSION= 14.0.0 CATEGORIES= www MASTER_SITES= https://codeberg.org/forgejo/forgejo/releases/download/${DISTVERSIONFULL}/ DISTNAME= forgejo-src-${DISTVERSION} @@ -34,6 +33,10 @@ NO_WRKSUBDIR= yes USERS= git GROUPS= git +# If the BINDATA option is off, we will install assets into DATADIR +# and this line ensures that they are included in the packing list. +# Otherwise, assets are compiled into the binary, DATADIR remains +# empty, and this line has no effect. PORTDATA= * OPTIONS_DEFINE= BINDATA GIT_LFS PAM SQLITE @@ -55,9 +58,16 @@ LDFLAGS= "'-X "forgejo.org/modules/setting.CustomPath=${PREFIX}/etc/forgejo"'" \ MAKE_ARGS= GOFLAGS="-buildvcs=false" \ GOPATH=${WRKDIR} \ TAGS="${GO_TAGS}" -ALL_TARGET= backend MAKE_JOBS_UNSAFE= yes +# The default build target builds both the frontend and the backend. +# However, release tarballs include a prebuilt frontend, so save a +# little time by explicitly building only the backend. +ALL_TARGET= backend + +# Go binaries are statically linked +STRIP= # + .include <bsd.port.options.mk> .if ${OPSYS} == FreeBSD @@ -68,11 +78,9 @@ DAEMONARGS= -f .endif SUB_LIST+= DAEMONARGS="${DAEMONARGS}" -# Too lazy to figure out why go install won't work. +# The provided Makefile does not include an install target. do-install: -# Go binary is statically linked and cannot be stripped, so use -# INSTALL_SCRIPT. - ${INSTALL_SCRIPT} ${WRKSRC}/gitea \ + ${INSTALL_PROGRAM} ${WRKSRC}/gitea \ ${STAGEDIR}${PREFIX}/sbin/forgejo @${MKDIR} ${STAGEDIR}${ETCDIR}/conf ${INSTALL_DATA} ${WRKDIR}/app.ini.sample \ @@ -84,6 +92,7 @@ do-install: ${MKDIR} ${STAGEDIR}${DBDIR}/forgejo-repositories ${MKDIR} ${STAGEDIR}${LOGDIR} +# If the BINDATA option is off, install assets into DATADIR. do-install-BINDATA-off: cd ${WRKSRC} && \ ${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR} diff --git a/www/forgejo/distinfo b/www/forgejo/distinfo index 55e0cd35dfce..048374c9d952 100644 --- a/www/forgejo/distinfo +++ b/www/forgejo/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1768565297 -SHA256 (forgejo-src-13.0.4.tar.gz) = 812c1d1f7e30170e614ce09406b76a0963068162862a9e3e7ffe3140b0569fe9 -SIZE (forgejo-src-13.0.4.tar.gz) = 55966986 +TIMESTAMP = 1768569532 +SHA256 (forgejo-src-14.0.0.tar.gz) = b15b367b4c30d8d2aa275618bedb5e34ad8fa604d20f4dc1804a949803a32dba +SIZE (forgejo-src-14.0.0.tar.gz) = 49713041home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6977895f.3829e.79fc9f91>
