Commit 2f81ecc0 authored by Rene Ladan's avatar Rene Ladan
Browse files

www/forgejo11: Remove expired port

2026-06-30 www/forgejo11: End of life, please switch to www/forgejo-lts
parent d024148c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5433,3 +5433,4 @@ net-mgmt/zabbix72-proxy||2026-06-30|Has expired: End of life
net-mgmt/zabbix72-java||2026-06-30|Has expired: End of life
net-mgmt/zabbix72-frontend||2026-06-30|Has expired: End of life
net-mgmt/zabbix72-server||2026-06-30|Has expired: End of life
www/forgejo11|www/forgejo-lts|2026-06-30|Has expired: End of life, please switch to www/forgejo-lts
+0 −1
Original line number Diff line number Diff line
@@ -213,7 +213,6 @@
    SUBDIR += foreign-cdm
    SUBDIR += forgejo
    SUBDIR += forgejo-lts
    SUBDIR += forgejo11
    SUBDIR += forgejo14
    SUBDIR += forgejo15
    SUBDIR += formication

www/forgejo11/Makefile

deleted100644 → 0
+0 −98
Original line number Diff line number Diff line
PORTNAME=	forgejo
DISTVERSIONPREFIX=	v
DISTVERSION=	11.0.15
CATEGORIES=	www
MASTER_SITES=	https://codeberg.org/forgejo/forgejo/releases/download/${DISTVERSIONFULL}/
PKGNAMESUFFIX=	${PORTVERSION:C/([0-9]+).*/\1/}
DISTNAME=	forgejo-src-${DISTVERSION}

PATCHFILES=	9762f9ea2041d4eaf38e47415ea0692fa60cf0a7.patch:-p1
PATCH_SITES=	https://codeberg.org/forgejo/forgejo/commit/

MAINTAINER=	des@FreeBSD.org
COMMENT=	Compact self-hosted Git forge
WWW=		https://forgejo.org/

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

DEPRECATED=	End of life, please switch to www/forgejo-lts
EXPIRATION_DATE=	2026-06-30

RUN_DEPENDS=	git:devel/git

USES=		cpe gmake go:1.25+,no_targets
USE_RC_SUBR=	forgejo

PIE_UNSAFE=	yes

CONFLICTS_INSTALL=	forgejo[0-9]*

EXTRACT_AFTER_ARGS=	--strip-components 1
DBDIR=		/var/db/forgejo
LOGDIR=		/var/log/forgejo
SUB_FILES=	app.ini.sample pkg-message
SUB_LIST=	GITUSER=${USERS} DBDIR=${DBDIR} LOGDIR=${LOGDIR}
PLIST_SUB=	DBDIR=${DBDIR} LOGDIR=${LOGDIR}

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
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"

SSP_UNSAFE=	true
LDFLAGS=	"'-X "forgejo.org/modules/setting.CustomPath=${PREFIX}/etc/forgejo"'" \
		"'-X "forgejo.org/modules/setting.StaticRootPath=${DATADIR}"'" \
		"'-X "forgejo.org/modules/setting.AppWorkPath=${DBDIR}"'"
MAKE_ARGS=	GOFLAGS="-buildvcs=false" \
		GOPATH=${WRKDIR} \
		TAGS="${GO_TAGS}"
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=		#

# The provided Makefile does not include an install target.
do-install:
	${INSTALL_PROGRAM} ${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}${DBDIR}/data
	${MKDIR} ${STAGEDIR}${DBDIR}/forgejo-repositories
	${MKDIR} ${STAGEDIR}${LOGDIR}

# If the BINDATA option is off, install assets into DATADIR.
do-install-BINDATA-off:
	${MKDIR} ${STAGEDIR}${DATADIR}
	cd ${WRKSRC} && \
		${COPYTREE_SHARE} "options public templates" ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>

www/forgejo11/distinfo

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
TIMESTAMP = 1781113082
SHA256 (forgejo-src-11.0.15.tar.gz) = 5ede2108352c7de55a16ee66e904fd41d9ec6205e524c0cd5411134e12df3942
SIZE (forgejo-src-11.0.15.tar.gz) = 54796184
SHA256 (9762f9ea2041d4eaf38e47415ea0692fa60cf0a7.patch) = 2d7452de27f0f88c2fd1a713363e10b1fdc201c12522200202923e7739db6440
SIZE (9762f9ea2041d4eaf38e47415ea0692fa60cf0a7.patch) = 3840
+0 −94
Original line number Diff line number Diff line
#
# Sample Configuration for Forgejo using SQLite
#
# For information on the available settings, consult the online
# documentation, or see the accompanying file app.ini.defaults, which
# contains the settings incorporated into the forgejo binary.
#
# This sample configuration runs Forgejo with a local database.  Before
# running this configuration, make sure to change the INTERNAL_TOKEN,
# JWT_SECRET, and SECRET_KEY variables.  SECRET_KEY is a password of your
# choosing, INTERNAL_TOKEN is a 64-byte random number in BASE64 encoding,
# JWT_SECRET is a 32-byte random number in BASE64 encoding.
#
# You can generate appropriate values using:
#   gitea generate secret [INTERNAL_TOKEN|JWT_SECRET|LFS_JWT_SECRET|SECRET_KEY]
# and then copy that output to the appropriate place in this file.
#
# You can let Forgejo add these to the config for you; you need to make
# app.ini writeable by the git user.
#
# There are no pre-configured users; the first user to register becomes an
# admin.  In this sample configuration, the HTTP server only listens on
# localhost.
#
# If you'd rather use the web-based installer, remove this conf/app.ini file
# and make %%ETCDIR%%/conf writeable to the git user.

APP_NAME = Forgejo: A self-hosted lightweight software forge
RUN_MODE = prod
RUN_USER = %%GITUSER%%

[database]
DB_TYPE  = sqlite3
HOST     = 127.0.0.1:3306
NAME     = forgejo
PASSWD   =
PATH     = %%DBDIR%%/forgejo.db
SSL_MODE = disable
USER     = root

[indexer]
ISSUE_INDEXER_PATH = %%DBDIR%%/indexers/issues.bleve

[log]
LEVEL     = Info
MODE      = file
ROOT_PATH = %%LOGDIR%%

[mailer]
ENABLED = false

[oauth2]
JWT_SECRET = CHANGE_ME

[picture]
AVATAR_UPLOAD_PATH      = %%DBDIR%%/data/avatars
DISABLE_GRAVATAR        = true
ENABLE_FEDERATED_AVATAR = false

[repository]
ROOT = %%DBDIR%%/forgejo-repositories
# Forgejo's default is 'bash', so if you have bash installed, you can comment
# this out.
SCRIPT_TYPE = sh

[repository.upload]
TEMP_PATH = %%DBDIR%%/data/tmp/uploads

[security]
INSTALL_LOCK   = true
INTERNAL_TOKEN = CHANGE_ME
SECRET_KEY     = CHANGE_ME

[session]
PROVIDER        = file
PROVIDER_CONFIG = %%DBDIR%%/data/sessions

[server]
APP_DATA_PATH = %%DBDIR%%/data
DISABLE_SSH   = false
DOMAIN        = localhost
HTTP_ADDR     = 127.0.0.1
HTTP_PORT     = 3000
OFFLINE_MODE  = false
ROOT_URL      = http://localhost:3000/
SSH_DOMAIN    = %(DOMAIN)s
SSH_PORT      = 22

[service]
DISABLE_REGISTRATION   = false
ENABLE_CAPTCHA         = true
ENABLE_NOTIFY_MAIL     = false
REGISTER_EMAIL_CONFIRM = false
REQUIRE_SIGNIN_VIEW    = false
Loading