pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/contao43 Add contao43 4.3.0 (Contao Open Source CM...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/24b08dd512b6
branches:  trunk
changeset: 355573:24b08dd512b6
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Dec 05 14:48:24 2016 +0000

description:
Add contao43 4.3.0 (Contao Open Source CMS 4.3.0).

Contao is an Open Source Content Management Framework developed by Leo Feyer
and distributed under the LGPL license (see GPL.txt and LGPL.txt for more
information).  It was formerly known as TYPOlight Open Source CMS.

Its open architecture allows everybody to extend the system to fit his
needs. Contao specializes in accessible websites and is accessbile
itself (front end and back end), rendering valid HTML5 or XHTML pages.

Contao 4.3 is fourth minor release of Contao 4, which has incompatible API
from Contao 3.

* Now Contao is Symfony bundle.
* Contao 4 dose not use .htaccess files for protexting directory.
* DocumentRoot is "web" subdirecotry.
* XHTML support has gone, HTML5 only.
* Schema.org markup support.

Additionally, these new features from 4.2.

* Flexible custom layout sections
* Save and duplicate
* Running events
* Template for form
* Image meta data
* HTTP/2 support
* Handling preview of protected elements
* And more...

diffstat:

 www/contao43/DEINSTALL |    12 +
 www/contao43/DESCR     |    27 +
 www/contao43/INSTALL   |    12 +
 www/contao43/MESSAGE   |     8 +
 www/contao43/Makefile  |    98 +
 www/contao43/PLIST     |  8143 ++++++++++++++++++++++++++++++++++++++++++++++++
 www/contao43/distinfo  |     6 +
 7 files changed, 8306 insertions(+), 0 deletions(-)

diffs (truncated from 8334 to 300 lines):

diff -r aaffdda6b154 -r 24b08dd512b6 www/contao43/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao43/DEINSTALL    Mon Dec 05 14:48:24 2016 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: DEINSTALL,v 1.1 2016/12/05 14:48:24 taca Exp $
+
+CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
+
+case ${STAGE} in
+DEINSTALL)
+       # remove symbolic links and caches.
+       rm -f ${CT_WEBDIR}/system/logs
+       rm -f ${CT_WEBDIR}/system/thems/flexible
+       rm -fr ${CT_WEBDIR}/var/cache
+       ;;
+esac
diff -r aaffdda6b154 -r 24b08dd512b6 www/contao43/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao43/DESCR        Mon Dec 05 14:48:24 2016 +0000
@@ -0,0 +1,27 @@
+Contao is an Open Source Content Management Framework developed by Leo Feyer
+and distributed under the LGPL license (see GPL.txt and LGPL.txt for more
+information).  It was formerly known as TYPOlight Open Source CMS.
+
+Its open architecture allows everybody to extend the system to fit his
+needs. Contao specializes in accessible websites and is accessbile
+itself (front end and back end), rendering valid HTML5 or XHTML pages.
+
+Contao 4.3 is fourth minor release of Contao 4, which has incompatible API
+from Contao 3.
+
+* Now Contao is Symfony bundle.
+* Contao 4 dose not use .htaccess files for protexting directory.
+* DocumentRoot is "web" subdirecotry.
+* XHTML support has gone, HTML5 only.
+* Schema.org markup support.
+
+Additionally, these new features from 4.2.
+
+* Flexible custom layout sections
+* Save and duplicate
+* Running events
+* Template for form
+* Image meta data
+* HTTP/2 support
+* Handling preview of protected elements
+* And more...
diff -r aaffdda6b154 -r 24b08dd512b6 www/contao43/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao43/INSTALL      Mon Dec 05 14:48:24 2016 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.1 2016/12/05 14:48:24 taca Exp $
+
+CT_WEBDIR="@PREFIX@/@CT_WEBDIR@"
+WWWOWN="@WWWOWN@"
+WWWGRP="@WWWGRP@"
+
+case ${STAGE} in
+POST-INSTALL)
+       ${CHGRP} -R ${WWWGRP} ${CT_WEBDIR}
+       ${CHOWN} -R ${WWWOWN} ${CT_WEBDIR}
+       ;;
+esac
diff -r aaffdda6b154 -r 24b08dd512b6 www/contao43/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao43/MESSAGE      Mon Dec 05 14:48:24 2016 +0000
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2016/12/05 14:48:24 taca Exp $
+
+To complete the setup, please read:
+
+       ${PREFIX}/share/doc/contao${CT_VER}/README
+
+===========================================================================
diff -r aaffdda6b154 -r 24b08dd512b6 www/contao43/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao43/Makefile     Mon Dec 05 14:48:24 2016 +0000
@@ -0,0 +1,98 @@
+# $NetBSD: Makefile,v 1.1 2016/12/05 14:48:24 taca Exp $
+#
+
+DISTNAME=      contao-${CT_PKGVER}
+PKGNAME=       ${PHP_PKG_PREFIX}-contao${CT_VER}-${CT_VERSION}
+CATEGORIES=    www
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=contao/}
+GITHUB_PROJECT=        standard-edition
+GITHUB_RELEASE=        ${CT_VERSION}
+
+MAINTAINER=    taca%NetBSD.org@localhost
+HOMEPAGE=      https://contao.org/
+COMMENT=       Contao Open Source CMS ${CT_VERSION}
+LICENSE=       gnu-lgpl-v3
+
+DEPENDS+=      ${PHP_PKG_PREFIX}-dom>=5.4.0:../../textproc/php-dom
+DEPENDS+=      ${PHP_PKG_PREFIX}-gd>=5.4.0:../../graphics/php-gd
+DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=5.4.0:../../converters/php-mbstring
+DEPENDS+=      ${PHP_PKG_PREFIX}-mysqli>=5.4.0:../../databases/php-mysqli
+DEPENDS+=      ${PHP_PKG_PREFIX}-mcrypt>=5.4.0:../../security/php-mcrypt
+DEPENDS+=      ${PHP_PKG_PREFIX}-soap>=5.4.0:../../net/php-soap
+DEPENDS+=      ${PHP_PKG_PREFIX}-intl>=5.4.0:../../textproc/php-intl
+DEPENDS+=      ${PHP_PKG_PREFIX}-curl>=5.4.0:../../www/php-curl
+DEPENDS+=      ${PHP_PKG_PREFIX}-zlib>=5.4.0:../../archivers/php-zlib
+DEPENDS+=      bash>=4.0:../../shells/bash
+
+CT_VERSION=    4.3.0
+USE_TOOLS=     bash pax
+NO_BUILD=      yes
+
+EG_CONFIG=     app/config/config.yml app/config/config_dev.yml \
+               app/config/config_prod.yml app/config/config_test.yml \
+               app/config/routing.yml \
+               app/config/routing_dev.yml app/config/security.yml
+# app/config/parameters.yml.dist 
+EG_DATA=       app/config
+
+RESTRICT_DIRS= app/config var/cache var/logs
+
+CONF_FILES+=   ${CT_EGDIR}/contao.conf ${PKG_SYSCONFDIR}/contao.conf
+
+.for f in ${EG_CONFIG}
+CONF_FILES+=   ${CT_EGDIR}/${f} ${CT_WEBDIR}/${f}
+.endfor
+#CONF_FILES+=  ${CT_WEBDIR}/app/config/parameters.yml.dist \
+#                      ${CT_WEBDIR}/app/config/parameters.yml
+
+.for d in ${RESTRICT_DIRS}
+OWN_DIRS_PERMS+= ${CT_WEBDIR}/${d} ${APACHE_USER} ${APACHE_GROUP} 0770
+.endfor
+
+REPLACE_INTERPRETER+=  php
+REPLACE.php.old=       .*php[^ ]*
+REPLACE.php.new=       ${PREFIX}/bin/php
+REPLACE_FILES.php= \
+       bin/console vendor/bin/doctrine-dbal vendor/bin/lessc \
+       vendor/bin/minifycss vendor/bin/minifyjs vendor/bin/pscss \
+       vendor/bin/security-checker vendor/doctrine/dbal/bin/doctrine-dbal \
+       vendor/leafo/scssphp/bin/pscss \
+       vendor/matthiasmullie/minify/bin/minifycss \
+       vendor/matthiasmullie/minify/bin/minifyjs \
+       vendor/oyejorge/less.php/bin/lessc \
+       vendor/sensiolabs/security-checker/security-checker \
+       vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \
+       vendor/symfony/symfony/phpunit
+
+SUBST_CLASSES+=                conf
+SUBST_FILES.conf+=     ${WRKDIR}/contao.conf
+SUBST_SED.conf+=        -e 's|@PREFIX@|${PREFIX:Q}|g'
+SUBST_SED.conf+=        -e 's|@CT_WEBDIR@|${CT_WEBDIR:Q}|g'
+SUBST_STAGE.conf=      post-configure
+
+WWW_FILES=     CHANGELOG.md README.md app/AppCache.php app/AppKernel.php \
+               app/autoload.php app/bootstrap.php.cache assets bin/console \
+               build.xml composer.json composer.lock vendor web
+
+INSTALLATION_DIRS+=    ${CT_DOCDIR} ${CT_EGDIR}/app/config \
+                        ${CT_WEBDIR}/app/config
+
+PKG_GROUPS_VARS+=      APACHE_GROUP
+PKG_USERS_VARS+=       APACHE_USER
+
+pre-configure:
+       ${CP} ${FILESDIR}/contao.conf ${WRKDIR}
+
+do-install:
+       cd ${WRKSRC}; pax -rw ${WWW_FILES} ${DESTDIR}${PREFIX}/${CT_WEBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/app/config/parameters.yml.dist \
+               ${DESTDIR}${PREFIX}/${CT_WEBDIR}/app/config
+       cd ${WRKSRC}/${EG_DATA}; \
+               ${INSTALL_DATA} *.yml ${DESTDIR}${PREFIX}/${CT_EGDIR}/app/config
+       ${INSTALL_DATA} ${WRKDIR}/contao.conf ${DESTDIR}${PREFIX}/${CT_EGDIR}
+       ${INSTALL_DATA} ${FILESDIR}/README \
+               ${DESTDIR}${PREFIX}/${CT_DOCDIR}
+
+.include "../../www/contao/Makefile.common"
+.include "../../lang/php/phpversion.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r aaffdda6b154 -r 24b08dd512b6 www/contao43/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao43/PLIST        Mon Dec 05 14:48:24 2016 +0000
@@ -0,0 +1,8143 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/05 14:48:24 taca Exp $
+${CT_WEBDIR}/CHANGELOG.md
+${CT_WEBDIR}/README.md
+${CT_WEBDIR}/app/AppCache.php
+${CT_WEBDIR}/app/AppKernel.php
+${CT_WEBDIR}/app/autoload.php
+${CT_WEBDIR}/app/bootstrap.php.cache
+${CT_WEBDIR}/app/config/parameters.yml.dist
+${CT_WEBDIR}/assets/ace/README.md
+${CT_WEBDIR}/assets/ace/composer.json
+${CT_WEBDIR}/assets/ace/js/ace.js
+${CT_WEBDIR}/assets/ace/js/ext-searchbox.js
+${CT_WEBDIR}/assets/ace/js/ext-spellcheck.js
+${CT_WEBDIR}/assets/ace/js/ext-static_highlight.js
+${CT_WEBDIR}/assets/ace/js/ext-textarea.js
+${CT_WEBDIR}/assets/ace/js/ext-whitespace.js
+${CT_WEBDIR}/assets/ace/js/keybinding-emacs.js
+${CT_WEBDIR}/assets/ace/js/keybinding-vim.js
+${CT_WEBDIR}/assets/ace/js/mode-asciidoc.js
+${CT_WEBDIR}/assets/ace/js/mode-css.js
+${CT_WEBDIR}/assets/ace/js/mode-diff.js
+${CT_WEBDIR}/assets/ace/js/mode-html.js
+${CT_WEBDIR}/assets/ace/js/mode-ini.js
+${CT_WEBDIR}/assets/ace/js/mode-java.js
+${CT_WEBDIR}/assets/ace/js/mode-javascript.js
+${CT_WEBDIR}/assets/ace/js/mode-json.js
+${CT_WEBDIR}/assets/ace/js/mode-jsp.js
+${CT_WEBDIR}/assets/ace/js/mode-jsx.js
+${CT_WEBDIR}/assets/ace/js/mode-less.js
+${CT_WEBDIR}/assets/ace/js/mode-livescript.js
+${CT_WEBDIR}/assets/ace/js/mode-markdown.js
+${CT_WEBDIR}/assets/ace/js/mode-mysql.js
+${CT_WEBDIR}/assets/ace/js/mode-perl.js
+${CT_WEBDIR}/assets/ace/js/mode-pgsql.js
+${CT_WEBDIR}/assets/ace/js/mode-php.js
+${CT_WEBDIR}/assets/ace/js/mode-python.js
+${CT_WEBDIR}/assets/ace/js/mode-rdoc.js
+${CT_WEBDIR}/assets/ace/js/mode-rhtml.js
+${CT_WEBDIR}/assets/ace/js/mode-ruby.js
+${CT_WEBDIR}/assets/ace/js/mode-scss.js
+${CT_WEBDIR}/assets/ace/js/mode-sh.js
+${CT_WEBDIR}/assets/ace/js/mode-sql.js
+${CT_WEBDIR}/assets/ace/js/mode-text.js
+${CT_WEBDIR}/assets/ace/js/mode-textile.js
+${CT_WEBDIR}/assets/ace/js/mode-twig.js
+${CT_WEBDIR}/assets/ace/js/mode-xml.js
+${CT_WEBDIR}/assets/ace/js/mode-xquery.js
+${CT_WEBDIR}/assets/ace/js/mode-yaml.js
+${CT_WEBDIR}/assets/ace/js/theme-clouds.js
+${CT_WEBDIR}/assets/ace/js/theme-textmate.js
+${CT_WEBDIR}/assets/ace/js/theme-vibrant_ink.js
+${CT_WEBDIR}/assets/ace/js/worker-coffee.js
+${CT_WEBDIR}/assets/ace/js/worker-css.js
+${CT_WEBDIR}/assets/ace/js/worker-html.js
+${CT_WEBDIR}/assets/ace/js/worker-javascript.js
+${CT_WEBDIR}/assets/ace/js/worker-json.js
+${CT_WEBDIR}/assets/ace/js/worker-lua.js
+${CT_WEBDIR}/assets/ace/js/worker-php.js
+${CT_WEBDIR}/assets/ace/js/worker-xml.js
+${CT_WEBDIR}/assets/ace/js/worker-xquery.js
+${CT_WEBDIR}/assets/chosen/README.md
+${CT_WEBDIR}/assets/chosen/composer.json
+${CT_WEBDIR}/assets/chosen/css/chosen.css
+${CT_WEBDIR}/assets/chosen/css/chosen.min.css
+${CT_WEBDIR}/assets/chosen/images/chosen-sprite.png
+${CT_WEBDIR}/assets/chosen/images/down.svg
+${CT_WEBDIR}/assets/chosen/images/magnify.svg
+${CT_WEBDIR}/assets/chosen/images/up.svg
+${CT_WEBDIR}/assets/chosen/js/chosen.js
+${CT_WEBDIR}/assets/chosen/js/chosen.min.js
+${CT_WEBDIR}/assets/colorbox/README.md
+${CT_WEBDIR}/assets/colorbox/composer.json
+${CT_WEBDIR}/assets/colorbox/css/colorbox.css
+${CT_WEBDIR}/assets/colorbox/css/colorbox.min.css
+${CT_WEBDIR}/assets/colorbox/images/controls.png
+${CT_WEBDIR}/assets/colorbox/images/loading.gif
+${CT_WEBDIR}/assets/colorbox/js/colorbox.js
+${CT_WEBDIR}/assets/colorbox/js/colorbox.min.js
+${CT_WEBDIR}/assets/colorpicker/README.md
+${CT_WEBDIR}/assets/colorpicker/composer.json
+${CT_WEBDIR}/assets/colorpicker/css/mooRainbow.css
+${CT_WEBDIR}/assets/colorpicker/css/mooRainbow.min.css
+${CT_WEBDIR}/assets/colorpicker/images/blank.gif
+${CT_WEBDIR}/assets/colorpicker/images/moor_arrows.gif
+${CT_WEBDIR}/assets/colorpicker/images/moor_boverlay.png
+${CT_WEBDIR}/assets/colorpicker/images/moor_cursor.gif
+${CT_WEBDIR}/assets/colorpicker/images/moor_slider.png
+${CT_WEBDIR}/assets/colorpicker/images/moor_woverlay.png
+${CT_WEBDIR}/assets/colorpicker/js/mooRainbow.js
+${CT_WEBDIR}/assets/colorpicker/js/mooRainbow.min.js
+${CT_WEBDIR}/assets/contao/README.md
+${CT_WEBDIR}/assets/contao/composer.json
+${CT_WEBDIR}/assets/contao/css/form.css
+${CT_WEBDIR}/assets/contao/css/form.min.css
+${CT_WEBDIR}/assets/contao/css/grid.css
+${CT_WEBDIR}/assets/contao/css/grid.min.css
+${CT_WEBDIR}/assets/contao/css/icons.css
+${CT_WEBDIR}/assets/contao/css/icons.min.css
+${CT_WEBDIR}/assets/contao/css/layout.css
+${CT_WEBDIR}/assets/contao/css/layout.min.css
+${CT_WEBDIR}/assets/contao/css/reset.css
+${CT_WEBDIR}/assets/contao/css/reset.min.css
+${CT_WEBDIR}/assets/contao/css/responsive.css
+${CT_WEBDIR}/assets/contao/css/responsive.min.css
+${CT_WEBDIR}/assets/contao/images/facebook.svg
+${CT_WEBDIR}/assets/contao/images/gplus.svg
+${CT_WEBDIR}/assets/contao/images/iconAUDIO.svg
+${CT_WEBDIR}/assets/contao/images/iconBMP.svg
+${CT_WEBDIR}/assets/contao/images/iconCSS.svg
+${CT_WEBDIR}/assets/contao/images/iconCTO.svg
+${CT_WEBDIR}/assets/contao/images/iconGIF.svg
+${CT_WEBDIR}/assets/contao/images/iconHTML.svg
+${CT_WEBDIR}/assets/contao/images/iconJPG.svg
+${CT_WEBDIR}/assets/contao/images/iconJS.svg
+${CT_WEBDIR}/assets/contao/images/iconOFFICE.svg
+${CT_WEBDIR}/assets/contao/images/iconPDF.svg
+${CT_WEBDIR}/assets/contao/images/iconPHP.svg
+${CT_WEBDIR}/assets/contao/images/iconPLAIN.svg
+${CT_WEBDIR}/assets/contao/images/iconRAR.svg



Home | Main Index | Thread Index | Old Index