Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 May 2024 08:05:55 GMT
From:      Wen Heping <wen@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e5b38e0d4770 - main - www/typo3-13: Add new port, copied from www/typo3-12
Message-ID:  <202405170805.44H85tsh039750@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by wen:

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

commit e5b38e0d477071312401f5d5164be48e6fdf1dbf
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2024-05-17 08:03:57 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2024-05-17 08:05:39 +0000

    www/typo3-13: Add new port, copied from www/typo3-12
    
    Once released in October 2023, the long-term support version of TYPO3 13 will receive
    bug fixes until April 2026, and we will provide security updates until October 2027.
    Frontend rendering presets
    * Content blocks
    * Improved search, redirects and workspaces
    * Simplified external system integration
    * Top-modern image rendering
    
    System requirements
    * PHP 8.2, 8.3
    * MariaDB 10.4+ / MySQL 8.0+ / PostgreSQL 10.0+ / SQLite 3.8.3+
    * Modern Browsers
    * Detailed list of requirements:
      https://get.typo3.org/version/12#system-requirements
    PR:             279022
    Reported by:    maintainer
---
 www/Makefile                      |  1 +
 www/typo3-13/Makefile             | 76 +++++++++++++++++++++++++++++++++++++++
 www/typo3-13/distinfo             |  3 ++
 www/typo3-13/files/pkg-message.in | 24 +++++++++++++
 www/typo3-13/pkg-descr            | 14 ++++++++
 5 files changed, 118 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 6502ccb19417..76eb2f912d2e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2454,6 +2454,7 @@
     SUBDIR += twms
     SUBDIR += typo3-11
     SUBDIR += typo3-12
+    SUBDIR += typo3-13
     SUBDIR += uchiwa
     SUBDIR += ufdbguard
     SUBDIR += ulfius
diff --git a/www/typo3-13/Makefile b/www/typo3-13/Makefile
new file mode 100644
index 000000000000..f1cd870fdc90
--- /dev/null
+++ b/www/typo3-13/Makefile
@@ -0,0 +1,76 @@
+PORTNAME=	typo3
+DISTVERSION=	${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH}
+CATEGORIES=	www
+MASTER_SITES=	https://typo3.azureedge.net/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
+
+IGNORE_WITH_PHP=	81
+
+USES=		cpe php:web,flavors shebangfix
+# php openssl extension is required but it's statically linked in default php
+USE_PHP=	ctype dom fileinfo filter gd intl mbstring pdo session \
+		simplexml tokenizer xml zip zlib
+
+WRKSRC=		${WRKDIR}/${PORTNAME}_src-${PORTVERSION}
+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}
+
+PORT_V_MAJOR=	13
+PORT_V_MINOR=	1
+PORT_V_PATCH=	1
+
+TYPO3DIR=	www/${PORTNAME}-${PORT_V_MAJOR}
+
+OPTIONS_DEFINE=		CURL GMP IMAGICK MYSQL POSTGRES SQLITE
+OPTIONS_DEFAULT=	MYSQL
+
+IMAGICK_DESC=	${IMAGEMAGICK_DESC}
+MBSTRING_DESC=	${MULTIBYTE_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-13/distinfo b/www/typo3-13/distinfo
new file mode 100644
index 000000000000..4a35beb1361d
--- /dev/null
+++ b/www/typo3-13/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1715914407
+SHA256 (typo3_src-13.1.1.tar.gz) = e57cbb2e201e0fb00007a75e8abf0f796146ea3771240f48f6e3c0d5d37626e8
+SIZE (typo3_src-13.1.1.tar.gz) = 25818232
diff --git a/www/typo3-13/files/pkg-message.in b/www/typo3-13/files/pkg-message.in
new file mode 100644
index 000000000000..2ab734bd1bbb
--- /dev/null
+++ b/www/typo3-13/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-13/pkg-descr b/www/typo3-13/pkg-descr
new file mode 100644
index 000000000000..b6562969b0eb
--- /dev/null
+++ b/www/typo3-13/pkg-descr
@@ -0,0 +1,14 @@
+Once released in October 2023, the long-term support version of TYPO3 13 will receive
+bug fixes until April 2026, and we will provide security updates until October 2027.
+Frontend rendering presets
+* Content blocks
+* Improved search, redirects and workspaces
+* Simplified external system integration
+* Top-modern image rendering
+
+System requirements
+* PHP 8.2, 8.3
+* MariaDB 10.4+ / MySQL 8.0+ / PostgreSQL 10.0+ / SQLite 3.8.3+
+* Modern Browsers
+* Detailed list of requirements:
+  https://get.typo3.org/version/12#system-requirements



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405170805.44H85tsh039750>