pkgsrc/www/drupal8/Makefile
taca 4f69060b6f www/drupal8: update to 8.9.16
8.9.16 (2021-05-26)

Maintenance and security release of the Drupal 8 series.

This release fixes a security vulnerability.  Sites are urged to upgrade
immediately after reading the notes below and the security announcement:

* Drupal core - Moderately critical - Cross Site Scripting -
  SA-CORE-2021-003 No other fixes are included.

Versions of Drupal 8 prior to 8.9.x are end-of-life and do not receive
security coverage.


8.9.15 (2021-05-05)

This is a patch (bugfix) release of Drupal 8 and is ready for use on
production sites.  Learn more about Drupal 8.

Drupal 8.9 is the final minor release of the 8.x series.  It is a long-term
support (LTS) version, and will receive security coverage until November
2021.  It provides the same public API as Drupal 9.0 aside from deprecated
code and dependency changes.  (Learn more about Drupal 9.) Note that
features will only be added to Drupal 9 minor releases, so plan to adopt
Drupal 9 as soon as possible so that you can easily update to Drupal 9.2 and
later.

If you are upgrading to this release from 8.8.x, read the Drupal 8.9.0
release notes before you upgrade.

Known issues

Search the issue queue for known issues.

Important changes

The default glossary view did not previously include a filter to exclude
unpublished content.  This view now includes such a filter by default, and
an update function is provided with this release to add a status filter to
the view on existing installations which do not have it.

Dependency updates

The composer/composer development dependency has been updated from 1.10.6 to
1.10.22.

Archive_Tar has been updated to 1.4.13 for security hardening.

Drupal core's development dependency on the Nightwatch npm package has been
increased from 1.2.1 to 1.6.3 and all locked versions of dependencies have
been updated to address security issues in these dependencies.
The minimum version of node.js for 8.9.x development has been increased to
version 10.

Underscore.js has been updated to 1.13.1
2021-06-02 15:46:53 +00:00

84 lines
2.5 KiB
Makefile

# $NetBSD: Makefile,v 1.39 2021/06/02 15:46:53 taca Exp $
DISTNAME= drupal-8.9.16
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://ftp.drupal.org/files/projects/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://drupal.org/
COMMENT= Open source content management system
LICENSE= gnu-gpl-v2
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.4.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.4.0:../../textproc/php-json
PHP_VERSIONS_ACCEPTED= 73 74
NO_BUILD= YES
DRUPAL= share/drupal
PAX_DIRS= includes misc modules profiles scripts themes
PKG_GROUPS_VARS+= WWW_GROUP
PKG_USERS_VARS+= WWW_USER
BUILD_DEFS+= WWW_USER WWW_GROUP
USE_TOOLS+= bash:run pax
OWN_DIRS_PERMS+= ${DRUPAL}/sites/default \
${WWW_USER} ${WWW_GROUP} 0750
CONF_FILES= share/examples/drupal/drupal.conf \
${PKG_SYSCONFDIR}/drupal.conf \
share/examples/drupal/default.settings.php \
${DRUPAL}/sites/default/default.settings.php
CONF_FILES_PERMS+= share/examples/drupal/default.settings.php \
${DRUPAL}/sites/default/settings.php \
${WWW_USER} ${WWW_GROUP} 0640
REPLACE_INTERPRETER+= php
REPLACE.php.old= .*php[^ ]*
REPLACE.php.new= ${PREFIX}/bin/php
REPLACE_FILES.php= core/scripts/drupal.sh core/scripts/password-hash.sh
REPLACE_FILES.php+= core/scripts/update-countries.sh
REPLACE_FILES.php+= core/scripts/rebuild_token_calculator.sh
REPLACE_FILES.php+= vendor/pear/archive_tar/scripts/phptar.in
REPLACE_SH+= core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/scripts/disable-git-bin/git
REPLACE_SH+= vendor/paragonie/random_compat/build-phar.sh
REPLACE_SH+= vendor/twig/twig/drupal_test.sh
REPLACE_BASH+= core/scripts/dev/commit-code-check.sh
SUBST_CLASSES+= conf
SUBST_STAGE.conf= pre-install
SUBST_FILES.conf= drupal.conf
SUBST_VARS.conf= DRUPAL PREFIX
SUBST_MESSAGE.conf= Fixing configuration files.
INSTALLATION_DIRS+= ${DRUPAL}/files ${DRUPAL}/sites \
share/doc/drupal share/examples/drupal
.for i in ${PAX_DIRS}
INSTALLATION_DIRS+= ${DRUPAL}/${i}
.endfor
.include "options.mk"
pre-configure:
${CP} ${FILESDIR}/drupal.conf ${WRKSRC}
${CHMOD} 0644 ${WRKSRC}/core/scripts/run-tests.sh
${FIND} ${WRKSRC} -type f -name '*.orig' -exec ${RM} -f {} \;
do-install:
${INSTALL_DATA} ${WRKSRC}/robots.txt ${DESTDIR}${PREFIX}/${DRUPAL}
${INSTALL_DATA} ${WRKSRC}/drupal.conf \
${DESTDIR}${PREFIX}/share/examples/drupal
${INSTALL_DATA} ${WRKSRC}/sites/default/default.settings.php \
${DESTDIR}${PREFIX}/share/examples/drupal
cd ${WRKSRC} && ${PAX} -rw . ${DESTDIR}${PREFIX}/${DRUPAL}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"