Received: by mail.netbsd.org (Postfix, from userid 605) id B467085364; Sun, 4 Feb 2024 08:41:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E64DE84FA5 for ; Sun, 4 Feb 2024 08:41:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id a6NxbvJgXcZM for ; Sun, 4 Feb 2024 08:41:27 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 04BF584ECD for ; Sun, 4 Feb 2024 08:41:27 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id EFBEEFA42; Sun, 4 Feb 2024 08:41:26 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_170703608662550" MIME-Version: 1.0 Date: Sun, 4 Feb 2024 08:41:26 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/www/php-contao-manager To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20240204084126.EFBEEFA42@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_170703608662550 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Sun Feb 4 08:41:26 UTC 2024 Added Files: pkgsrc/www/php-contao-manager: DESCR Makefile PLIST distinfo pkgsrc/www/php-contao-manager/files: README contao.conf Log Message: www/php-contao-manager: add package version 1.8.0 Contao Manager Contao Manager is a tool for the Contao Managed Edition. It fetch, install and mange Contao Open Source CMS with Web GUI. For more information, please refer Installation guide for Contao: https://to.contao.org/quickstart To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/www/php-contao-manager/DESCR \ pkgsrc/www/php-contao-manager/Makefile \ pkgsrc/www/php-contao-manager/PLIST \ pkgsrc/www/php-contao-manager/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/www/php-contao-manager/files/README \ pkgsrc/www/php-contao-manager/files/contao.conf Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_170703608662550 Content-Disposition: inline Content-Length: 7160 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/www/php-contao-manager/DESCR diff -u /dev/null pkgsrc/www/php-contao-manager/DESCR:1.1 --- /dev/null Sun Feb 4 08:41:26 2024 +++ pkgsrc/www/php-contao-manager/DESCR Sun Feb 4 08:41:26 2024 @@ -0,0 +1,8 @@ +Contao Manager + +Contao Manager is a tool for the Contao Managed Edition. It fetch, +install and mange Contao Open Source CMS with Web GUI. + +For more information, please refer Installation guide for Contao: + + https://to.contao.org/quickstart Index: pkgsrc/www/php-contao-manager/Makefile diff -u /dev/null pkgsrc/www/php-contao-manager/Makefile:1.1 --- /dev/null Sun Feb 4 08:41:26 2024 +++ pkgsrc/www/php-contao-manager/Makefile Sun Feb 4 08:41:26 2024 @@ -0,0 +1,78 @@ +# $NetBSD: Makefile,v 1.1 2024/02/04 08:41:26 taca Exp $ +# + +DISTNAME= ${CM_NAME}.phar +PKGNAME= ${PHP_PKG_PREFIX}-${CM_NAME}-${CM_VERSION} +CATEGORIES= www +MASTER_SITES= https://download.contao.org/contao-manager/stable/ +DIST_SUBDIR= ${CM_NAME}/${CM_VERSION} +EXTRACT_SUFX= + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= https://contao.org/ +COMMENT= Management tool for Contao Open Source CMS +LICENSE= gnu-lgpl-v3 + +DEPENDS+= ${PHP_PKG_PREFIX}-intl>=8.1.0:../../textproc/php-intl +DEPENDS+= ${PHP_PKG_PREFIX}-pdo_mysql>=8.1.0:../../databases/php-pdo_mysql +DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=8.1.0:../../archivers/php-zlib +DEPENDS+= ${PHP_PKG_PREFIX}-curl>=8.1.0:../../www/php-curl +DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=8.1.0:../../converters/php-mbstring +DEPENDS+= ${PHP_PKG_PREFIX}-gd>=8.1.0:../../graphics/php-gd +DEPENDS+= ${PHP_PKG_PREFIX}-pecl-mcrypt>=1.0.1:../../security/php-pecl-mcrypt + +CM_NAME= contao-manager +CM_VERSION= 1.8.0 +NO_BUILD= yes + +PHP_VERSIONS_ACCEPTED= 81 82 83 + +CT_DOCDIR= share/doc/${PHP_PKG_PREFIX}/${CM_NAME} +CT_EGDIR= share/examples/${PHP_PKG_PREFIX}/${CM_NAME} +CT_WEBDIR= share/${PHP_PKG_PREFIX}/contao +CT_PUBDIR?= public + +WRKSRC= ${WRKDIR} +BUILD_DEFS+= APACHE_USER CT_DOCDIR CT_EGDIR CT_WEBDIR CT_PUBDIR +PLIST_SUBST+= CT_DOCDIR=${CT_DOCDIR} CT_EGDIR=${CT_EGDIR} \ + DISTNAME=${DISTNAME} + +CONF_FILES+= ${CT_EGDIR}/contao.conf \ + ${PKG_SYSCONFDIR}/contao.conf +CONF_FILES_PERMS+= ${CT_EGDIR}/${DISTNAME}.php \ + ${CT_WEBDIR}/${CT_PUBDIR}/${DISTNAME}.php \ + ${APACHE_USER} ${APACHE_GROUP} 0644 +OWN_DIRS_PERMS+= ${CT_WEBDIR} ${APACHE_USER} ${APACHE_GROUP} 0770 +OWN_DIRS_PERMS+= ${CT_WEBDIR}/${CT_PUBDIR} \ + ${APACHE_USER} ${APACHE_GROUP} 0770 +PKG_SYSCONFSUBDIR= ${PHP_PKG_PREFIX} +PRINT_PLIST_AWK+= /${DISTNAME:S|.|\\.|g}/ \ + { sub(/${DISTNAME:S|.|\\.|g}/, "$${DISTNAME}"); } +PRINT_PLIST_AWK+= /^${CT_DOCDIR:S|/|\\/|g}/ \ + { sub(/^${CT_DOCDIR:S|/|\\/|g}/, "$${CT_DOCDIR}"); } +PRINT_PLIST_AWK+= /^${CT_EGDIR:S|/|\\/|g}/ \ + { sub(/^${CT_EGDIR:S|/|\\/|g}/, "$${CT_EGDIR}"); } + +PKG_GROUPS_VARS+= APACHE_GROUP +PKG_USERS_VARS+= APACHE_USER + +SUBST_CLASSES+= path +SUBST_STAGE.path= post-configure +SUBST_MESSAGE.path= Substituting path +SUBST_FILES.path+= ${WRKDIR}/README ${WRKDIR}/contao.conf +SUBST_VARS.path+= CT_WEBDIR CT_PUBDIR PREFIX PKG_SYSCONFDIR +SUBST_VARS.path+= PHP_PKG_PREFIX + +INSTALLATION_DIRS+= ${CT_DOCDIR} ${CT_EGDIR} ${CT_WEBDIR}/${CT_PUBDIR} + +pre-configure: + ${CP} ${FILESDIR}/README ${FILESDIR}/contao.conf ${WRKDIR} + +do-install: + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME} \ + ${DESTDIR}${PREFIX}/${CT_EGDIR}/${DISTNAME}.php + ${INSTALL_DATA} ${WRKDIR}/contao.conf ${DESTDIR}${PREFIX}/${CT_EGDIR} + ${INSTALL_DATA} ${WRKDIR}/README ${DESTDIR}${PREFIX}/${CT_DOCDIR} + +.include "../../lang/php/phpversion.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/www/php-contao-manager/PLIST diff -u /dev/null pkgsrc/www/php-contao-manager/PLIST:1.1 --- /dev/null Sun Feb 4 08:41:26 2024 +++ pkgsrc/www/php-contao-manager/PLIST Sun Feb 4 08:41:26 2024 @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2024/02/04 08:41:26 taca Exp $ +${CT_DOCDIR}/README +${CT_EGDIR}/${DISTNAME}.php +${CT_EGDIR}/contao.conf Index: pkgsrc/www/php-contao-manager/distinfo diff -u /dev/null pkgsrc/www/php-contao-manager/distinfo:1.1 --- /dev/null Sun Feb 4 08:41:26 2024 +++ pkgsrc/www/php-contao-manager/distinfo Sun Feb 4 08:41:26 2024 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2024/02/04 08:41:26 taca Exp $ + +BLAKE2s (contao-manager/1.8.0/contao-manager.phar) = 99f91a2f03ae2779df454add7e41697ebaa00173bc300f87b9418676bf42b8d4 +SHA512 (contao-manager/1.8.0/contao-manager.phar) = 6c6be434046fbc7b9c231a615f05081998d9bab2b448f736d9a4dc1789826c84ad42164cd6c1231773869a2ca7095ddc7d5f1652292f31a456e273550833b6d5 +Size (contao-manager/1.8.0/contao-manager.phar) = 16190189 bytes Index: pkgsrc/www/php-contao-manager/files/README diff -u /dev/null pkgsrc/www/php-contao-manager/files/README:1.1 --- /dev/null Sun Feb 4 08:41:26 2024 +++ pkgsrc/www/php-contao-manager/files/README Sun Feb 4 08:41:26 2024 @@ -0,0 +1,28 @@ +$NetBSD: README,v 1.1 2024/02/04 08:41:26 taca Exp $ + +1. First, create a database for Contao Open Source CMS. + + # mysqladmin -p -u create . + +2. Next, create a user for accessing that database. + + # mysql -p -u + mysql> grant select, insert, update, delete, create, drop, + index, alter, create temporary tables, lock tables on + .* to ''@'localhost' + identified by '' ; + +3. Edit @PKG_SYSCONFDIR@/contao.conf and include from httpd.conf. + + Include @PKG_SYSCONFDIR@/contao.conf + + Configure propery VirualHost and related SSL configuration and then + reload or restart apache. + +5. Start setup from Contao Manager with URL: + + https://www.example.org/contao-manager.phar.php + +For more information, please refer Installation guide for Contao: + + https://to.contao.org/quickstart Index: pkgsrc/www/php-contao-manager/files/contao.conf diff -u /dev/null pkgsrc/www/php-contao-manager/files/contao.conf:1.1 --- /dev/null Sun Feb 4 08:41:26 2024 +++ pkgsrc/www/php-contao-manager/files/contao.conf Sun Feb 4 08:41:26 2024 @@ -0,0 +1,42 @@ +# $NetBSD: contao.conf,v 1.1 2024/02/04 08:41:26 taca Exp $ + +# +# If you want to use contao for whole web site, set your DocumentRoot to +# "@PREFIX@/@CT_WEBDIR@/@CT_PUBDIR@". (https://www.example.org/) +# +# If you want to use contao on sub directory, uncomment below line. +# (https://www.example.org/subdir/) +# +#Alias /subdir @PREFIX@/@CT_WEBDIR@ + + + DirectoryIndex index.php index.html + Options Indexes SymLinksIfOwnerMatch FollowSymLinks + AllowOverride All + + + SetHandler "proxy:unix:/var/run/php-fpm|fcgi://localhost" + + + SetHandler application/x-httpd-php + + + + Order allow,deny + Allow from all + + + Require all granted + + + + + ServerName www.example.org + DocumentRoot @PREFIX@/@CT_WEBDIR@/@CT_PUBDIR@ + ServerAdmin webmaster@www.example.org + + + + ServerName www.example.org + DocumentRoot @PREFIX@/@CT_WEBDIR@/@CT_PUBDIR@ + --_----------=_170703608662550--