pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/contao45 www/contao45: add contao 4.5.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee6df8295440
branches:  trunk
changeset: 373535:ee6df8295440
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jan 04 13:39:46 2018 +0000

description:
www/contao45: add contao 4.5.1

Contao is an Open Source Content Management Framework developed by Leo Feyer
and distributed under the LGPL license.

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.

Contao 4.5 is fifth minor release of Contao 4 and it require PHP 7.1 and
MySQL 5.5.7 with InnoDB as default storage engine and utf8mb4 as default
charset.

Additionally, these new features from 4.5.

* Store the request token as cookie instead of in the session
* Improve the locale handling
* Support use of Symfony translator
* Add the insert tag flag for absolute URLs
* Allow to sort news items by date, headline or randomly
* Use the Symfony assets component for the Contao assets
* Display form fieldsets as wrappers in the back end view
* Support adding external JavaScripts to a page layout
* Add the "require an item" option to the site structure
* Support wildcards in the "iflng" and "ifnlng" insert tags
* Replace the back end "limit width" option with a "fullscreen" option
* Support sorting enclosures
* Add the teaser image as media:content in the RSS/Atom feeds
* Add roles and ARIA landmarks in the back end
* Add all the player options to the YouTube element
* Add the toggle icon of the parent record in parent view
* Add the "event address" field and update the microdata tags
* Use the Symfony security component for authentication


4.5.1 (2018/1/4)

* fixes issues with the Symfony security implementation.

diffstat:

 www/contao45/DEINSTALL |    12 +
 www/contao45/DESCR     |    31 +
 www/contao45/INSTALL   |    12 +
 www/contao45/MESSAGE   |     8 +
 www/contao45/Makefile  |   102 +
 www/contao45/PLIST     |  9848 ++++++++++++++++++++++++++++++++++++++++++++++++
 www/contao45/distinfo  |     6 +
 7 files changed, 10019 insertions(+), 0 deletions(-)

diffs (truncated from 10047 to 300 lines):

diff -r 7cdc2dd56f82 -r ee6df8295440 www/contao45/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao45/DEINSTALL    Thu Jan 04 13:39:46 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: DEINSTALL,v 1.1 2018/01/04 13:39:46 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 7cdc2dd56f82 -r ee6df8295440 www/contao45/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao45/DESCR        Thu Jan 04 13:39:46 2018 +0000
@@ -0,0 +1,31 @@
+Contao is an Open Source Content Management Framework developed by Leo Feyer
+and distributed under the LGPL license.
+
+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.
+
+Contao 4.5 is fifth minor release of Contao 4 and it require PHP 7.1 and
+MySQL 5.5.7 with InnoDB as default storage engine and utf8mb4 as default
+charset.
+
+Additionally, these new features from 4.5.
+
+* Store the request token as cookie instead of in the session
+* Improve the locale handling
+* Support use of Symfony translator
+* Add the insert tag flag for absolute URLs
+* Allow to sort news items by date, headline or randomly
+* Use the Symfony assets component for the Contao assets
+* Display form fieldsets as wrappers in the back end view
+* Support adding external JavaScripts to a page layout
+* Add the "require an item" option to the site structure
+* Support wildcards in the "iflng" and "ifnlng" insert tags
+* Replace the back end "limit width" option with a "fullscreen" option
+* Support sorting enclosures
+* Add the teaser image as media:content in the RSS/Atom feeds
+* Add roles and ARIA landmarks in the back end
+* Add all the player options to the YouTube element
+* Add the toggle icon of the parent record in parent view
+* Add the "event address" field and update the microdata tags
+* Use the Symfony security component for authentication
diff -r 7cdc2dd56f82 -r ee6df8295440 www/contao45/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao45/INSTALL      Thu Jan 04 13:39:46 2018 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.1 2018/01/04 13:39:46 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 7cdc2dd56f82 -r ee6df8295440 www/contao45/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao45/MESSAGE      Thu Jan 04 13:39:46 2018 +0000
@@ -0,0 +1,8 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2018/01/04 13:39:46 taca Exp $
+
+To complete the setup, please read:
+
+       ${PREFIX}/share/doc/contao${CT_VER}/README
+
+===========================================================================
diff -r 7cdc2dd56f82 -r ee6df8295440 www/contao45/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao45/Makefile     Thu Jan 04 13:39:46 2018 +0000
@@ -0,0 +1,102 @@
+# $NetBSD: Makefile,v 1.1 2018/01/04 13:39:46 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=        managed-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}-gd>=7.1:../../graphics/php-gd
+DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=7.1:../../converters/php-mbstring
+DEPENDS+=      ${PHP_PKG_PREFIX}-pdo_mysql>=7.1:../../databases/php-pdo_mysql
+DEPENDS+=      ${PHP_PKG_PREFIX}-soap>=7.1:../../net/php-soap
+DEPENDS+=      ${PHP_PKG_PREFIX}-intl>=7.1:../../textproc/php-intl
+DEPENDS+=      ${PHP_PKG_PREFIX}-json>=7.1:../../textproc/php-json
+DEPENDS+=      ${PHP_PKG_PREFIX}-curl>=7.1:../../www/php-curl
+DEPENDS+=      ${PHP_PKG_PREFIX}-zlib>=7.1:../../archivers/php-zlib
+DEPENDS+=      ${PHP_PKG_PREFIX}-pecl-mcrypt>=1.0.1:../../security/php-pecl-mcrypt
+
+CT_VERSION=    4.5.1
+USE_TOOLS=     bash:run pax
+NO_BUILD=      yes
+
+PHP_VERSIONS_ACCEPTED= 71 72
+
+EG_DATA=       app/config
+
+RESTRICT_DIRS= ${EG_DATA} var/cache var/logs
+
+CONF_FILES+=   ${CT_EGDIR}/contao.conf ${PKG_SYSCONFDIR}/contao.conf
+
+.for d in ${RESTRICT_DIRS}
+OWN_DIRS_PERMS+= ${CT_WEBDIR}/${d} ${APACHE_USER} ${APACHE_GROUP} 0770
+.endfor
+
+WWW_FILES=     README.md assets composer.json composer.lock vendor web
+
+INSTALLATION_DIRS+=    ${CT_DOCDIR} ${CT_EGDIR}/${EG_DATA} \
+                       ${CT_WEBDIR}/${EG_DATA}
+
+PKG_GROUPS_VARS+=      APACHE_GROUP
+PKG_USERS_VARS+=       APACHE_USER
+
+REPLACE_BASH+= vendor/paragonie/random_compat/build-phar.sh \
+       vendor/sensio/distribution-bundle/Resources/bin/build.sh \
+       vendor/sensio/distribution-bundle/Resources/bin/build_demo.sh \
+       vendor/ua-parser/uap-php/update-resources.sh
+
+REPLACE_INTERPRETER+=  php
+REPLACE.php.old=       .*php[^ ]*
+REPLACE.php.new=       ${PREFIX}/bin/php
+REPLACE_FILES.php= \
+       vendor/bin/contao-api vendor/bin/update-psl-icann-section \
+       vendor/contao/manager-bundle/bin/contao-api \
+       vendor/league/uri-hostname-parser/bin/update-psl-icann-section \
+       vendor/contao/manager-bundle/bin/contao-console \
+       vendor/doctrine/dbal/bin/doctrine-dbal \
+       vendor/oyejorge/less.php/bin/lessc \
+       vendor/matthiasmullie/minify/bin/minifycss \
+       vendor/matthiasmullie/minify/bin/minifyjs \
+       vendor/leafo/scssphp/bin/pscss \
+       vendor/sensiolabs/security-checker/security-checker \
+       vendor/ua-parser/uap-php/bin/uaparser \
+       vendor/sensio/distribution-bundle/Resources/bin/build_bootstrap.php \
+       vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php \
+       vendor/symfony/symfony/link vendor/symfony/symfony/phpunit \
+       vendor/symfony/symfony/src/Symfony/Bridge/PhpUnit/bin/simple-phpunit \
+       vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php
+
+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
+
+PERMFIXFILES=  vendor/oyejorge/less.php/lib/Less/Less.php.combine \
+       vendor/simplepie/simplepie/.travis.yml \
+       vendor/simplepie/simplepie/library/SimplePie.php \
+       vendor/simplepie/simplepie/library/SimplePie/Cache/Memcached.php \
+       vendor/simplepie/simplepie/library/SimplePie/Registry.php
+
+.include "../../lang/php/phpversion.mk"
+
+pre-configure:
+       ${CP} ${FILESDIR}/contao.conf ${WRKDIR}
+       cd ${WRKSRC}; ${CHMOD} -x ${PERMFIXFILES}
+
+do-install:
+       cd ${WRKSRC}; pax -rw ${WWW_FILES} ${DESTDIR}${PREFIX}/${CT_WEBDIR}
+       ${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 7cdc2dd56f82 -r ee6df8295440 www/contao45/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/contao45/PLIST        Thu Jan 04 13:39:46 2018 +0000
@@ -0,0 +1,9848 @@
+@comment $NetBSD: PLIST,v 1.1 2018/01/04 13:39:46 taca Exp $
+${CT_WEBDIR}/README.md
+${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/.gitignore
+${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/gulpfile.js
+${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/chosen/package-lock.json
+${CT_WEBDIR}/assets/chosen/package.json
+${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/.gitignore
+${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/gulpfile.js
+${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/colorpicker/package-lock.json
+${CT_WEBDIR}/assets/colorpicker/package.json
+${CT_WEBDIR}/assets/contao/.gitignore
+${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/gulpfile.js
+${CT_WEBDIR}/assets/contao/images/facebook.svg
+${CT_WEBDIR}/assets/contao/images/gplus.svg
+${CT_WEBDIR}/assets/contao/images/iconAI.svg



Home | Main Index | Thread Index | Old Index