diff --git a/www/forgejo7/Makefile b/www/forgejo7/Makefile index 16587e93b232..b7b985b696ea 100644 --- a/www/forgejo7/Makefile +++ b/www/forgejo7/Makefile @@ -1,91 +1,90 @@ PORTNAME= forgejo DISTVERSIONPREFIX= v -DISTVERSION= 7.0.9 -PORTREVISION= 1 +DISTVERSION= 7.0.10 CATEGORIES= www MASTER_SITES= https://codeberg.org/forgejo/forgejo/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/ PKGNAMESUFFIX= 7 DISTNAME= forgejo-src-${DISTVERSION} MAINTAINER= marko.cupac@mimar.rs COMMENT= Compact self-hosted Git service WWW= https://forgejo.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= git:devel/git USES= cpe gmake go:1.22,no_targets USE_RC_SUBR= forgejo CONFLICTS_INSTALL= forgejo forgejo[0-689]* EXTRACT_AFTER_ARGS= --strip-components 1 SUB_FILES= app.ini.sample pkg-message SUB_LIST= GITUSER=${USERS} NO_WRKSUBDIR= yes USERS= git GROUPS= git PORTDATA= * OPTIONS_DEFINE= BINDATA GIT_LFS PAM SQLITE OPTIONS_DEFAULT= BINDATA GIT_LFS PAM SQLITE OPTIONS_SUB= yes BINDATA_DESC= Build a single monolithic binary, with all assets included GIT_LFS_DESC= Support for Git Large File Storage (LFS) PAM_DESC= Enable support for PAM BINDATA_VARS= GO_TAGS+=bindata GIT_LFS_RUN_DEPENDS= git-lfs:devel/git-lfs PAM_VARS= GO_TAGS+=pam SQLITE_VARS= GO_TAGS+="sqlite sqlite_unlock_notify" .include .if ${OPSYS} == FreeBSD DAEMONARGS= -S -l \$${forgejo_facility} -s \$${forgejo_priority} -T \ \$${name} .else DAEMONARGS= -f .endif SUB_LIST+= DAEMONARGS="${DAEMONARGS}" SSP_UNSAFE= true LDFLAGS+= "'-X "code.gitea.io/gitea/modules/setting.CustomPath=${PREFIX}/etc/forgejo"'" LDFLAGS+= "'-X "code.gitea.io/gitea/modules/setting.AppWorkPath=${PREFIX}/share/forgejo"'" MAKE_ARGS= GOPATH=${WRKDIR} \ TAGS="${GO_TAGS}" \ GOFLAGS="-buildvcs=false" ALL_TARGET= backend MAKE_JOBS_UNSAFE= yes post-patch: ${ECHO_CMD} ${DISTVERSION} >${WRKSRC}/VERSION # Too lazy to figure out why go install won't work. do-install: # Go binary is statically linked and cannot be stripped, so use # INSTALL_SCRIPT. ${INSTALL_SCRIPT} ${WRKSRC}/gitea \ ${STAGEDIR}${PREFIX}/sbin/forgejo @${MKDIR} ${STAGEDIR}${ETCDIR}/conf ${INSTALL_DATA} ${WRKDIR}/app.ini.sample \ ${STAGEDIR}${ETCDIR}/conf/app.ini.sample ${INSTALL_DATA} ${WRKSRC}/custom/conf/app.example.ini \ ${STAGEDIR}${ETCDIR}/conf/app.ini.defaults ${MKDIR} ${STAGEDIR}${DATADIR} ${MKDIR} ${STAGEDIR}/var/db/forgejo/data ${MKDIR} ${STAGEDIR}/var/db/forgejo/forgejo-repositories ${MKDIR} ${STAGEDIR}/var/log/forgejo do-install-BINDATA-off: cd ${WRKSRC} && \ ${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR} .include diff --git a/www/forgejo7/distinfo b/www/forgejo7/distinfo index c32b9a97a2dd..b93984376268 100644 --- a/www/forgejo7/distinfo +++ b/www/forgejo7/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1725699509 -SHA256 (forgejo-src-7.0.9.tar.gz) = 9290ab6838d5f24daccd8c84b6d6218ff0f6ec2b212a52e357e01ea220fd33b7 -SIZE (forgejo-src-7.0.9.tar.gz) = 53600572 +TIMESTAMP = 1730145840 +SHA256 (forgejo-src-7.0.10.tar.gz) = 664e480921e6efb68c1379e2e24d4ad8f92f1bf3089f09c12755812bc847b9f9 +SIZE (forgejo-src-7.0.10.tar.gz) = 53613950