Commit fad6db40 authored by Rene Ladan's avatar Rene Ladan
Browse files

www/redmine51: Remove expired port

2026-05-31 www/redmine51: Please migrate to newer version. Ruby 3.2 has been removed from the ports tree
parent 1d96bc48
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5333,3 +5333,4 @@ japanese/p5-2chproxy||2026-05-31|Has expired: Abandoned, it is not compatible wi
www/py-azure-storage||2026-05-31|Has expired: Deprecated by upstream. Use other py-azure-storage-* ports instead
www/py-pyjwt1|www/py-pyjwt|2026-05-31|Has expired: Obsoleted. Use www/py-pyjwt instead
net/rubygem-gitaly-proto||2026-05-31|Has expired: gitaly-proto has been deprecated
www/redmine51||2026-05-31|Has expired: Please migrate to newer version. Ruby 3.2 has been removed from the ports tree
+0 −1
Original line number Diff line number Diff line
@@ -2056,7 +2056,6 @@
    SUBDIR += rdrview
    SUBDIR += rearx
    SUBDIR += reddsaver
    SUBDIR += redmine51
    SUBDIR += redmine60
    SUBDIR += redmine61
    SUBDIR += rejik

www/redmine51/Makefile

deleted100644 → 0
+0 −129
Original line number Diff line number Diff line
PORTNAME=	redmine
PORTVERSION=	5.1.8
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	https://www.redmine.org/releases/
PKGNAMESUFFIX=	51

# mikael@FreeBSD.org also have full maintainership
MAINTAINER=	delphij@FreeBSD.org
COMMENT=	Flexible project management web application
WWW=		https://www.redmine.org/

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/doc/COPYING

BROKEN_RUBY33=	Ruby 3.3 and later is not supported
BROKEN_RUBY34=	Ruby 3.3 and later is not supported
BROKEN_RUBY40=	Ruby 3.3 and later is not supported
DEPRECATED=	Please migrate to newer version. Ruby 3.2 has been removed from the ports tree
EXPIRATION_DATE=2026-05-31

RUN_DEPENDS=	rubygem-actionpack-xml_parser-rails61>=0:textproc/rubygem-actionpack-xml_parser-rails61 \
		rubygem-addressable>0:www/rubygem-addressable \
		rubygem-bundler>=1.12.0:sysutils/rubygem-bundler \
		rubygem-csv>=3.2.6:devel/rubygem-csv \
		rubygem-erb>0:devel/rubygem-erb \
		rubygem-globalid-rails61>0:databases/rubygem-globalid-rails61 \
		rubygem-i18n>=1.14.1:devel/rubygem-i18n \
		rubygem-mail>=2.8.1:mail/rubygem-mail \
		rubygem-marcel>0:devel/rubygem-marcel \
		rubygem-mini_mime>=1.1.0:mail/rubygem-mini_mime \
		rubygem-mini_portile2>=2.8.2:devel/rubygem-mini_portile2 \
		rubygem-mocha>=0.5.3:devel/rubygem-mocha \
		rubygem-net-imap>=0.3.4:mail/rubygem-net-imap \
		rubygem-net-ldap>=0.17.0:net/rubygem-net-ldap \
		rubygem-net-pop>=0.1.2:mail/rubygem-net-pop \
		rubygem-net-smtp>=0.3.3:mail/rubygem-net-smtp \
		rubygem-nokogiri>=1.15.2:textproc/rubygem-nokogiri \
		rubygem-rails61>=6.1:www/rubygem-rails61 \
		rubygem-rbpdf>=1.21.3:print/rubygem-rbpdf \
		rubygem-request_store15>=1.5.1:devel/rubygem-request_store15 \
		rubygem-roadie-rails-rails61>=3.1.0:mail/rubygem-roadie-rails-rails61 \
		rubygem-rotp>=5.0.0:devel/rubygem-rotp \
		rubygem-rouge>=4.2.0:textproc/rubygem-rouge \
		rubygem-rqrcode>0:www/rubygem-rqrcode \
		rubygem-rubocop-performance>=0:devel/rubygem-rubocop-performance \
		rubygem-rubocop-rails>0:devel/rubygem-rubocop-rails \
		rubygem-rubocop>0<2:devel/rubygem-rubocop \
		rubygem-rubyzip>0:archivers/rubygem-rubyzip \
		rubygem-simplecov>0:devel/rubygem-simplecov

# Per https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264638#c9
# to be removed if https://www.redmine.org/issues/37394 is fixed
RUN_DEPENDS+=	rubygem-redcarpet>=3.6.0:textproc/rubygem-redcarpet \
		rubygem-html-pipeline>=2.13.2:textproc/rubygem-html-pipeline \
		rubygem-commonmarker0>=0.23.8:textproc/rubygem-commonmarker0 \
		rubygem-sanitize>=6.0<8:textproc/rubygem-sanitize \
		rubygem-deckar01-task_list>=2.3.2:www/rubygem-deckar01-task_list

USES=		cpe ruby

NO_ARCH=	yes
NO_BUILD=	yes

USERS=		${WWWOWN}
GROUPS=		${WWWGRP}
PLIST_SUB=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
SUB_LIST=	RUBY_SUFFIX=${RUBY_SUFFIX}

OPTIONS_DEFINE=	MYSQL POSTGRESQL MARKDOWN RMAGIC THIN
OPTIONS_DEFAULT=MYSQL MARKDOWN RMAGIC THIN
OPTIONS_SUB=	yes
POSTGRESQL_DESC=Enable PostgreSQL support
MARKDOWN_DESC=	Enable Markdown support
RMAGIC_DESC=	Enable Gantt charts support
THIN_DESC=	Use Thin WEB server
MYSQL_DESC=	MySQL database support (via mysql2 rubygem)
NO_OPTIONS_SORT=	yes
MYSQL_RUN_DEPENDS=	rubygem-mysql2>=0.5.0:databases/rubygem-mysql2 \
			rubygem-with_advisory_lock61>0:devel/rubygem-with_advisory_lock61
POSTGRESQL_RUN_DEPENDS=	rubygem-pg>=1.2.2:databases/rubygem-pg
MARKDOWN_RUN_DEPENDS=	rubygem-redcarpet>=3.5.1:textproc/rubygem-redcarpet
RMAGIC_RUN_DEPENDS=	rubygem-mini_magick4>=4.11.0:graphics/rubygem-mini_magick4
THIN_RUN_DEPENDS=	rubygem-thin>=1.6.2:www/rubygem-thin
THIN_SUB_LIST=		WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
THIN_VARS=		USE_RC_SUBR=redmine

post-extract:
	@${RM} -r ${WRKSRC}/.hgignore ${WRKSRC}/.gitignore ${WRKSRC}/.github \
		${WRKSRC}/files/delete.me ${WRKSRC}/log/delete.me
	@${MV} ${WRKSRC}/config/settings.yml ${WRKSRC}/config/settings.yml.sample
	@${MV} ${WRKSRC}/config/database.yml.example ${WRKSRC}/config/database.yml.sample

post-patch:
	@${RM} ${WRKSRC}/Gemfile.orig

do-install:
	${MKDIR} ${STAGEDIR}${WWWDIR}
	${MKDIR} ${STAGEDIR}${WWWDIR}/bundler.d
	${MKDIR} ${STAGEDIR}${WWWDIR}/log
	${MKDIR} ${STAGEDIR}${WWWDIR}/public/plugin_assets
	${MKDIR} ${STAGEDIR}${WWWDIR}/tmp

	# https://www.redmine.org/issues/37394
	${CP} ${FILESDIR}/commonmark.rb ${STAGEDIR}${WWWDIR}/bundler.d
	cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
	${TOUCH} ${STAGEDIR}${WWWDIR}/Gemfile.lock

do-install-MYSQL-on:
	${CP} ${FILESDIR}/mysql.rb ${STAGEDIR}${WWWDIR}/bundler.d

do-install-POSTGRESQL-on:
	${CP} ${FILESDIR}/pg.rb ${STAGEDIR}${WWWDIR}/bundler.d

do-install-MARKDOWN-on:
	${CP} ${FILESDIR}/markdown.rb ${STAGEDIR}${WWWDIR}/bundler.d

do-install-RMAGIC-on:
	${CP} ${FILESDIR}/mini_magick.rb ${STAGEDIR}${WWWDIR}/bundler.d

do-install-THIN-on:
	${CP} ${FILESDIR}/thin.rb ${STAGEDIR}${WWWDIR}/bundler.d

post-install:
	(cd ${STAGEDIR}${WWWDIR} && ${RM} Gemfile.lock && bundle install --local)
	${RM} ${STAGEDIR}${WWWDIR}/package.json \
		${STAGEDIR}${WWWDIR}/yarn.lock

.include <bsd.port.mk>

www/redmine51/bsd.redmine.mk

deleted100644 → 0
+0 −78
Original line number Diff line number Diff line
# Module that simplifies installation of Redmine plugins.
#
# Date created:                      2010-09-12
# Whom:                              Eygene Ryabinkin <rea-fbsd@codelabs.ru>
#
# We're assuming standard plugin installation sequence that is described
# in the https://www.redmine.org/projects/redmine/wiki/Plugins
#
# Basically, we need the following variables to be defined:
# - REDMINE_PLUGIN_NAME: the name of the plugin;
# - WWWDIR: the location of the Redmine installation;
#   the default value is ${PREFIX}/www/redmine;
#   the directory must lie under ${PREFIX} or such configuration
#   will be IGNORE'd;
# - WRKSRC must be set to the root directory of the plugin contents:
#   we will copy all objects in this directory to the plugin's
#   destination directory, excluding all files named *.orig.
#
# PLIST will be generated automatically, there is no need to worry
# about it.  But if you will need to use your own (even the standard
# packaging list in ${PORTDIR}/pkg-plist), set the variable PLIST
# pointing to that file.
#
# You can override the target 'do-build', but in this case, you should
# remember that the target named 'redmine-plugin-plist' does the
# automated generation of the PLIST: use it if you need.
#
#
# Here is an example of a simple Makefile for Redmine plugin:
# {{{
# PORTNAME=	me-the-plugin
# PORTVERSION=	1.0
# CATEGORIES=	www
# MASTER_SITES=	http://cool.org.name/some/path/
#
# MAINTAINER=	you@your.org
# COMMENT=	Another cool plugin for Redmine
#
# REDMINE_PLUGIN_NAME=	redmine_http_auth
#
# .include "${.CURDIR}/../../www/redmine/bsd.redmine.mk"
# }}}

PKGNAMEPREFIX?=	redmine51-

RUN_DEPENDS+=	redmine51>0:www/redmine51

USE_RUBY=	yes
.if !defined(PLIST)
PLIST=		${WRKDIR}/PLIST
_GEN_PLIST=	YesPlease
.endif

WWWDIR?=	${PREFIX}/www/redmine
WWWDIR_REL=	${WWWDIR:S|^${PREFIX}/||}

.if ${WWWDIR_REL} == ${WWWDIR}
IGNORE=		WWWDIR is not a child of PREFIX (${PREFIX})
.endif

.if !defined(do-build)
do-build: redmine-plugin-plist
	@${DO_NADA}
.endif

redmine-plugin-plist:
.if defined(_GEN_PLIST)
	cd ${WRKSRC} && ${FIND} . -type f | ${GREP} -v '\.orig$$' | ${SED} -e's|^\.|${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST}
	cd ${WRKSRC} && ${FIND} -d . -empty -type d | ${SED} -e's|^\.|@dir ${WWWDIR_REL}/plugins/${REDMINE_PLUGIN_NAME}|' >> ${PLIST}
.else
	@${DO_NADA}
.endif

do-install:
	${MKDIR} "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}"
	${TAR} -C "${WRKSRC}" -cf - --exclude '*.orig' . | ${TAR} -C "${STAGEDIR}${WWWDIR}/plugins/${REDMINE_PLUGIN_NAME}" -xf -

.include <bsd.port.mk>

www/redmine51/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1745224044
SHA256 (redmine-5.1.8.tar.gz) = 50a30cd16c43d0ae64f256866c8cef4b0e9dd818d6feef489fa24507fbde3a7b
SIZE (redmine-5.1.8.tar.gz) = 3255783
Loading