From nobody Tue Oct 05 00:40:18 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8C05117DB29A; Tue, 5 Oct 2021 00:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HNdz63YPvz531F; Tue, 5 Oct 2021 00:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5608822AFF; Tue, 5 Oct 2021 00:40:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1950eIGN086967; Tue, 5 Oct 2021 00:40:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1950eID7086960; Tue, 5 Oct 2021 00:40:18 GMT (envelope-from git) Date: Tue, 5 Oct 2021 00:40:18 GMT Message-Id: <202110050040.1950eID7086960@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Wen Heping Subject: git: 994f0c451efb - main - www/typo3-11: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wen X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 994f0c451efbf3c8787939b1b61eed5220356759 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wen: URL: https://cgit.FreeBSD.org/ports/commit/?id=994f0c451efbf3c8787939b1b61eed5220356759 commit 994f0c451efbf3c8787939b1b61eed5220356759 Author: Wen Heping AuthorDate: 2021-10-05 00:38:26 +0000 Commit: Wen Heping CommitDate: 2021-10-05 00:38:26 +0000 www/typo3-11: New port PR: 258841 Reported by: freebsd-ports@charlieroot.de --- www/Makefile | 1 + www/typo3-11/Makefile | 96 +++++++++++++++++++++++++++++++++++++++ www/typo3-11/distinfo | 3 ++ www/typo3-11/files/pkg-message.in | 24 ++++++++++ www/typo3-11/pkg-descr | 17 +++++++ 5 files changed, 141 insertions(+) diff --git a/www/Makefile b/www/Makefile index 3dbcb92bf5d4..ed67c7d46d3f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2281,6 +2281,7 @@ SUBDIR += twiki-WysiwygPlugin SUBDIR += twms SUBDIR += typo3-10 + SUBDIR += typo3-11 SUBDIR += typo3-9 SUBDIR += uchiwa SUBDIR += ufdbguard diff --git a/www/typo3-11/Makefile b/www/typo3-11/Makefile new file mode 100644 index 000000000000..66c293b90ce9 --- /dev/null +++ b/www/typo3-11/Makefile @@ -0,0 +1,96 @@ +# Created by: Helmut Ritter + +PORTNAME= typo3 +PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} +CATEGORIES= www +MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ +PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} + +MAINTAINER= freebsd-ports@charlieroot.de +COMMENT= Typo3 content management system + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= cpe php:web,flavors shebangfix +USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \ + spl tokenizer xml zip + +WRKSRC= ${WRKDIR}/${TYPO3SRC} +NO_BUILD= yes +NO_ARCH= yes +SHEBANG_GLOB= *.sh *.php +PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. + +PORT_V_MAJOR= 11 +PORT_V_MINOR= 4 +PORT_V_PATCH= 0 + +TYPO3WWW= www +TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} +TYPO3DIR= ${PORTNAME}-${PORT_V_MAJOR} + +USERS= ${WWWOWN} +GROUPS= ${WWWGRP} + +SUB_FILES= pkg-message +SUB_LIST+= PREFIX=${PREFIX} \ + TYPO3WWW=${TYPO3WWW} \ + TYPO3DIR=${TYPO3DIR} + +DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} + +OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB +OPTIONS_DEFAULT=MYSQL +GD_DESC= GDlib/freetype support +IMAGICK_DESC= ${IMAGEMAGICK_DESC} +MBSTRING_DESC= ${MULTIBYTE_DESC} +MYSQL_DESC= Use MySQL as DBMS +POSTGRES_DESC= Use PostgreSQL as DBMS +SQLITE_DESC= Use SQLiet as DBMS +SQLSRV_DESC= Use MSSQL as DBMS + +CURL_USE= PHP=curl +GD_USE= PHP=gd +GMP_USE= PHP=gmp +MBSTRING_USE= PHP=mbstring +MYSQL_USE= PHP=mysqli +POSTGRES_USE= PHP=postgresql +SQLSRV_USE= PHP=sqlsrv +SQLITE_USE= PHP=sqlite +ZLIB_USE= PHP=zlib + +.include + +.if ${PORT_OPTIONS:MIMAGICK} +.if ${PORT_OPTIONS:MX11} +RUN_DEPENDS+= convert:graphics/ImageMagick7 +.else +RUN_DEPENDS+= convert:graphics/ImageMagick7-nox11 +.endif +.endif + +do-install: + # workaround fix for: + # "Checking for items in STAGEDIR missing from pkg-plist" + # "Error: Orphaned: @dir %%WWWDIR%%_src-10.4.16/vendor/symfony/string/Resources/bin" + ${RMDIR} ${WRKSRC}/vendor/symfony/string/Resources/bin + # remove source empty directory + ${MKDIR} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR} + ${CP} -R ${WRKDIR}/${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/ + ${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src + ${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php + ${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 + +post-install: + @cd ${STAGEDIR}${PREFIX}; \ + ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ + ${SORT} >> ${TMPPLIST}; \ + ${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ + ${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} + @cd ${STAGEDIR}${PREFIX}; \ + ${ECHO} "@owner" >> ${TMPPLIST}; \ + ${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ + ${SORT} >> ${TMPPLIST} + +.include diff --git a/www/typo3-11/distinfo b/www/typo3-11/distinfo new file mode 100644 index 000000000000..1b12037f92a0 --- /dev/null +++ b/www/typo3-11/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1633081347 +SHA256 (typo3_src-11.4.0.tar.gz) = 04452d0dcecccad9398fc01d29ea8ba812bec0e008a98821ea803c81e6b35a56 +SIZE (typo3_src-11.4.0.tar.gz) = 27474920 diff --git a/www/typo3-11/files/pkg-message.in b/www/typo3-11/files/pkg-message.in new file mode 100644 index 000000000000..0e4c51232440 --- /dev/null +++ b/www/typo3-11/files/pkg-message.in @@ -0,0 +1,24 @@ +[ +{ type: install + message: < + Options Indexes FollowSymLinks + AllowOverride None + Require all granted + + +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-11/pkg-descr b/www/typo3-11/pkg-descr new file mode 100644 index 000000000000..3d81ff12e57b --- /dev/null +++ b/www/typo3-11/pkg-descr @@ -0,0 +1,17 @@ +TYPO3 v11 LTS is scheduled to be released in October 2021. + +Updates and security fixes will be provided for three years starting from the +release date. We encourage users and agencies to install and use the v11 sprint +releases until the LTS release is available. Further details about the releases +and release dates are available in the roadmap. + +System requirements +* PHP 7.4 or 8.0 +* MySQL 5.7+ / MariaDB / Postgres / SQLite support +* Modern Browsers + +Supported Until +Free: 2024-10-31 +ELTS: 2027-10-31 + +WWW: https://typo3.org/