git: ddd8ad392233 - main - www/typo3-14: New port: TYPO3 14.0.2

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 18 Jan 2026 21:13:41 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ddd8ad39223304120994c21ad72da577acb29cf7

commit ddd8ad39223304120994c21ad72da577acb29cf7
Author:     Helmut Ritter <freebsd-ports@charlieroot.de>
AuthorDate: 2026-01-18 21:10:54 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-18 21:10:54 +0000

    www/typo3-14: New port: TYPO3 14.0.2
    
    News:
    https://news.typo3.com/article/typo3-v140-were-just-getting-started
    
    Release Notes:
    https://get.typo3.org/release-notes/14.0.0
    https://get.typo3.org/release-notes/14.0.1
    https://get.typo3.org/release-notes/14.0.2
    
    PR:     292478
---
 www/Makefile                      |  1 +
 www/typo3-14/Makefile             | 73 +++++++++++++++++++++++++++++++++++++++
 www/typo3-14/distinfo             |  3 ++
 www/typo3-14/files/pkg-message.in | 24 +++++++++++++
 www/typo3-14/pkg-descr            | 15 ++++++++
 5 files changed, 116 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 64c3f9c8d71a..f6eaeb6edc75 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2631,6 +2631,7 @@
     SUBDIR += typo3-11
     SUBDIR += typo3-12
     SUBDIR += typo3-13
+    SUBDIR += typo3-14
     SUBDIR += uchiwa
     SUBDIR += ufdbguard
     SUBDIR += ulfius
diff --git a/www/typo3-14/Makefile b/www/typo3-14/Makefile
new file mode 100644
index 000000000000..57cc03a1a9c6
--- /dev/null
+++ b/www/typo3-14/Makefile
@@ -0,0 +1,73 @@
+PORTNAME=	typo3
+DISTVERSION=	${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH}
+CATEGORIES=	www
+MASTER_SITES=	https://cdn.typo3.com/typo3/${DISTVERSION}/
+PKGNAMESUFFIX=	-${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX}
+DISTNAME=	${PORTNAME}_src-${DISTVERSION}
+
+MAINTAINER=	freebsd-ports@charlieroot.de
+COMMENT=	Typo3 content management system
+WWW=		https://typo3.org/
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		cpe php:web,flavors shebangfix
+# php openssl extension is required but it's statically linked in default php
+USE_PHP=	ctype dom exif fileinfo filter gd intl mbstring pdo session \
+		simplexml tokenizer xml zip zlib
+
+SHEBANG_GLOB=	*.php *.sh
+NO_ARCH=	yes
+NO_BUILD=	yes
+PORTSCOUT=	limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\.
+SUB_FILES=	pkg-message
+SUB_LIST+=	PREFIX=${PREFIX} \
+		TYPO3DIR=${TYPO3DIR} \
+		TYPO3WWW=${TYPO3WWW}
+WRKSRC=		${WRKDIR}/${PORTNAME}_src-${DISTVERSION}
+
+PORT_V_MAJOR=	14
+PORT_V_MINOR=	0
+PORT_V_PATCH=	2
+
+TYPO3DIR=	www/${PORTNAME}-${PORT_V_MAJOR}
+
+OPTIONS_DEFINE=		CURL GMP IMAGICK MYSQL POSTGRES SQLITE
+OPTIONS_DEFAULT=	MYSQL
+
+IMAGICK_DESC=	${IMAGEMAGICK_DESC}
+MYSQL_DESC=	Use MySQL as DBMS
+POSTGRES_DESC=	Use PostgreSQL as DBMS
+SQLITE_DESC=	Use SQLite as DBMS
+
+CURL_USE=	PHP=curl
+GMP_USE=	PHP=gmp
+MYSQL_USE=	PHP=mysqli
+POSTGRES_USE=	PHP=pgsql
+SQLITE_USE=	PHP=sqlite3
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MIMAGICK}
+.if ${PORT_OPTIONS:MX11}
+USES+=		magick:7,run
+.else
+USES+=		magick:7,run,nox11
+.endif
+.endif
+
+do-install:
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${TYPO3DIR}
+
+post-install:
+	@${ECHO_CMD} "@owner ${WWWOWN}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@group ${WWWGRP}" >> ${TMPPLIST}
+	@${ECHO_CMD} "@mode 755" >> ${TMPPLIST}
+	@${FIND} -s -d ${WRKSRC} -type f | ${SED} "s?${WRKSRC}?${TYPO3DIR}?g" >>${TMPPLIST}
+	@${FIND} -s -d ${WRKSRC} -type d  | ${SED} "s?${WRKSRC}?@dir ${TYPO3DIR}?g" >> ${TMPPLIST}
+	@${ECHO_CMD} "@mode" >> ${TMPPLIST}
+	@${ECHO_CMD} "@group" >> ${TMPPLIST}
+	@${ECHO_CMD} "@owner" >> ${TMPPLIST}
+
+.include <bsd.port.mk>
diff --git a/www/typo3-14/distinfo b/www/typo3-14/distinfo
new file mode 100644
index 000000000000..d0747a02abe4
--- /dev/null
+++ b/www/typo3-14/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1768473891
+SHA256 (typo3_src-14.0.2.tar.gz) = 6f3567916c7ec915bd424e91f0c2cc7f65970539354290c6f1ad923da1cc1d89
+SIZE (typo3_src-14.0.2.tar.gz) = 25581993
diff --git a/www/typo3-14/files/pkg-message.in b/www/typo3-14/files/pkg-message.in
new file mode 100644
index 000000000000..2ab734bd1bbb
--- /dev/null
+++ b/www/typo3-14/files/pkg-message.in
@@ -0,0 +1,24 @@
+[
+{ type: install
+  message: <<EOM
+1) Add the following to your Apache configuration file
+   httpd.conf and restart the web server:
+
+   Alias /typo3 %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/
+   AcceptPathInfo On
+   <Directory %%PREFIX%%/%%TYPO3WWW%%/%%TYPO3DIR%%/>
+      Options Indexes FollowSymLinks
+      AllowOverride all
+      Require all granted
+   </Directory>
+
+2) Visit your TYPO3 site with a browser (i.e.
+   http://your.server.com/typo3/) to continue the
+   installation / upgrade process.
+
+For more information, see the INSTALL DOCUMENTATION:
+
+  https://docs.typo3.org/typo3cms/GettingStartedTutorial/latest/Installation/Index.html
+EOM
+}
+]
diff --git a/www/typo3-14/pkg-descr b/www/typo3-14/pkg-descr
new file mode 100644
index 000000000000..650624047cc9
--- /dev/null
+++ b/www/typo3-14/pkg-descr
@@ -0,0 +1,15 @@
+We support each TYPO3 sprint release until the next minor version is published.
+Once released in April 2026, the long-term support version of TYPO3 14 will
+receive bug fixes until December 2027, and we will provide security updates until
+June 2029.
+
+We encourage users and agencies to install and use the sprint releases until
+the LTS release is available. Further details about the releases and planned
+release dates are available in the roadmap.
+
+System requirements
+* PHP 8.2, 8.3, 8.4, 8.5
+* MariaDB 10.4.3+ / MySQL 8.0.17+ / PostgreSQL 10.0+ / SQLite 3.8.3+
+* Modern Browsers
+* Detailed list of requirements:
+  https://get.typo3.org/version/14#system-requirements