pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/php-ja-wordpress www/php-ja-wordpress: update to 5...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5a01f4da8c93
branches:  trunk
changeset: 406238:5a01f4da8c93
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Dec 16 16:52:40 2019 +0000

description:
www/php-ja-wordpress: update to 5.3.1

Update php-ja-wordpress from 4.5.3 to 5.3.1.

This release contains these security fixes.

* Props to Daniel Bachhuber for finding an issue where an unprivileged
  user could make a post sticky via the REST API.

* Props to Simon Scannell of RIPS Technologies for finding and
  disclosing an issue where cross-site scripting (XSS) could be stored
  in well-crafted links.

* Props to the WordPress.org Security Team for hardening
  wp_kses_bad_protocol() to ensure that it is aware of the named colon
  attribute.

* Props to Nguyen The Duc for discovering a stored XSS vulnerability
  using block editor content.

For more detail about version 5.3.1, please refer
<https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/>

And changes from 4.5.3 to 5.3.0, please refer HOMEPAGE and
<https://wordpress.org/>.

diffstat:

 www/php-ja-wordpress/Makefile   |   26 +-
 www/php-ja-wordpress/PLIST      |  967 +++++++++++++++++++++++++++++++--------
 www/php-ja-wordpress/distinfo   |   10 +-
 www/php-ja-wordpress/options.mk |    8 +-
 4 files changed, 781 insertions(+), 230 deletions(-)

diffs (truncated from 1512 to 300 lines):

diff -r f1079dbe0398 -r 5a01f4da8c93 www/php-ja-wordpress/Makefile
--- a/www/php-ja-wordpress/Makefile     Mon Dec 16 16:30:13 2019 +0000
+++ b/www/php-ja-wordpress/Makefile     Mon Dec 16 16:52:40 2019 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2017/09/03 08:53:16 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2019/12/16 16:52:40 taca Exp $
 
 DISTNAME=              wordpress-${VERSION}-ja
 PKGNAME=               ${PHP_PKG_PREFIX}-ja-wordpress-${VERSION}
-VERSION=               4.5.3
+VERSION=               5.3.1
 CATEGORIES=            www
 MASTER_SITES=          https://ja.wordpress.org/
 
@@ -13,8 +13,6 @@
 
 USE_TOOLS+=            pax
 
-PHP_VERSIONS_ACCEPTED= 56
-
 .include "../../mk/bsd.prefs.mk"
 .include "../../lang/php/phpversion.mk"
 .include "options.mk"
@@ -42,10 +40,24 @@
 
 INSTALLATION_DIRS+=    ${DOCDIR} ${WPHOME} ${EGDIR}
 
-DEPENDS+=              ${PHP_PKG_PREFIX}-mysql>=4.3.3:../../databases/php-mysql
+DEPENDS+=              ${PHP_PKG_PREFIX}-mysqli>=5.6.20:../../databases/php-mysqli
+DEPENDS+=              ${PHP_PKG_PREFIX}-gd>=5.6.20:../../graphics/php-gd
+DEPENDS+=              ${PHP_PKG_PREFIX}-curl>=5.6.20:../../www/php-curl
+DEPENDS+=              ${PHP_PKG_PREFIX}-zip>=5.6.20:../../archivers/php-zip
+DEPENDS+=              ${PHP_PKG_PREFIX}-zlib>=5.6.20:../../archivers/php-zlib
 
-do-configure:
-       ${SED} -e "s:@WPHOME@:${WPHOME}:g" <${FILESDIR}/wordpress.conf >${WRKDIR}/ja-wordpress.conf
+SUBST_CLASSES+=                conf
+SUBST_MESSAGE.conf=    Fixing pathnames in configuration file.
+SUBST_STAGE.conf=      pre-configure
+SUBST_FILES.conf=      ../ja-wordpress.conf
+SUBST_VARS.conf=       WPHOME
+.if !empty(PKG_OPTIONS:Map-php) && ${PKG_APACHE} == "apache24"
+SUBST_SED.conf+=       -e "/Order allow,deny/d"
+SUBST_SED.conf+=       -e "s,Allow from all,Require all granted,g"
+.endif
+
+post-extract:
+       ${CP} ${FILESDIR}/wordpress.conf ${WRKDIR}/ja-wordpress.conf
 
 do-install:
        ${INSTALL_DATA} ${WRKSRC}/readme.html ${DESTDIR}${DOCDIR}
diff -r f1079dbe0398 -r 5a01f4da8c93 www/php-ja-wordpress/PLIST
--- a/www/php-ja-wordpress/PLIST        Mon Dec 16 16:30:13 2019 +0000
+++ b/www/php-ja-wordpress/PLIST        Mon Dec 16 16:52:40 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2016/04/30 00:16:58 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.11 2019/12/16 16:52:40 taca Exp $
 share/doc/ja-wordpress/license.txt
 share/doc/ja-wordpress/readme.html
 share/examples/ja-wordpress/ja-wordpress.conf
@@ -23,6 +23,10 @@
 share/ja-wordpress/wp-admin/css/admin-menu-rtl.min.css
 share/ja-wordpress/wp-admin/css/admin-menu.css
 share/ja-wordpress/wp-admin/css/admin-menu.min.css
+share/ja-wordpress/wp-admin/css/code-editor-rtl.css
+share/ja-wordpress/wp-admin/css/code-editor-rtl.min.css
+share/ja-wordpress/wp-admin/css/code-editor.css
+share/ja-wordpress/wp-admin/css/code-editor.min.css
 share/ja-wordpress/wp-admin/css/color-picker-rtl.css
 share/ja-wordpress/wp-admin/css/color-picker-rtl.min.css
 share/ja-wordpress/wp-admin/css/color-picker.css
@@ -129,18 +133,14 @@
 share/ja-wordpress/wp-admin/css/nav-menus-rtl.min.css
 share/ja-wordpress/wp-admin/css/nav-menus.css
 share/ja-wordpress/wp-admin/css/nav-menus.min.css
-share/ja-wordpress/wp-admin/css/press-this-editor-rtl.css
-share/ja-wordpress/wp-admin/css/press-this-editor-rtl.min.css
-share/ja-wordpress/wp-admin/css/press-this-editor.css
-share/ja-wordpress/wp-admin/css/press-this-editor.min.css
-share/ja-wordpress/wp-admin/css/press-this-rtl.css
-share/ja-wordpress/wp-admin/css/press-this-rtl.min.css
-share/ja-wordpress/wp-admin/css/press-this.css
-share/ja-wordpress/wp-admin/css/press-this.min.css
 share/ja-wordpress/wp-admin/css/revisions-rtl.css
 share/ja-wordpress/wp-admin/css/revisions-rtl.min.css
 share/ja-wordpress/wp-admin/css/revisions.css
 share/ja-wordpress/wp-admin/css/revisions.min.css
+share/ja-wordpress/wp-admin/css/site-health-rtl.css
+share/ja-wordpress/wp-admin/css/site-health-rtl.min.css
+share/ja-wordpress/wp-admin/css/site-health.css
+share/ja-wordpress/wp-admin/css/site-health.min.css
 share/ja-wordpress/wp-admin/css/site-icon-rtl.css
 share/ja-wordpress/wp-admin/css/site-icon-rtl.min.css
 share/ja-wordpress/wp-admin/css/site-icon.css
@@ -162,11 +162,14 @@
 share/ja-wordpress/wp-admin/customize.php
 share/ja-wordpress/wp-admin/edit-comments.php
 share/ja-wordpress/wp-admin/edit-form-advanced.php
+share/ja-wordpress/wp-admin/edit-form-blocks.php
 share/ja-wordpress/wp-admin/edit-form-comment.php
 share/ja-wordpress/wp-admin/edit-link-form.php
 share/ja-wordpress/wp-admin/edit-tag-form.php
 share/ja-wordpress/wp-admin/edit-tags.php
 share/ja-wordpress/wp-admin/edit.php
+share/ja-wordpress/wp-admin/erase-personal-data.php
+share/ja-wordpress/wp-admin/export-personal-data.php
 share/ja-wordpress/wp-admin/export.php
 share/ja-wordpress/wp-admin/freedoms.php
 share/ja-wordpress/wp-admin/images/align-center-2x.png
@@ -179,6 +182,7 @@
 share/ja-wordpress/wp-admin/images/align-right.png
 share/ja-wordpress/wp-admin/images/arrows-2x.png
 share/ja-wordpress/wp-admin/images/arrows.png
+share/ja-wordpress/wp-admin/images/browser-rtl.png
 share/ja-wordpress/wp-admin/images/browser.png
 share/ja-wordpress/wp-admin/images/bubble_bg-2x.gif
 share/ja-wordpress/wp-admin/images/bubble_bg.gif
@@ -240,14 +244,34 @@
 share/ja-wordpress/wp-admin/includes/admin.php
 share/ja-wordpress/wp-admin/includes/ajax-actions.php
 share/ja-wordpress/wp-admin/includes/bookmark.php
+share/ja-wordpress/wp-admin/includes/class-automatic-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-bulk-plugin-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-bulk-theme-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-bulk-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-core-upgrader.php
+share/ja-wordpress/wp-admin/includes/class-custom-background.php
+share/ja-wordpress/wp-admin/includes/class-custom-image-header.php
+share/ja-wordpress/wp-admin/includes/class-file-upload-upgrader.php
 share/ja-wordpress/wp-admin/includes/class-ftp-pure.php
 share/ja-wordpress/wp-admin/includes/class-ftp-sockets.php
 share/ja-wordpress/wp-admin/includes/class-ftp.php
+share/ja-wordpress/wp-admin/includes/class-language-pack-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-language-pack-upgrader.php
 share/ja-wordpress/wp-admin/includes/class-pclzip.php
+share/ja-wordpress/wp-admin/includes/class-plugin-installer-skin.php
+share/ja-wordpress/wp-admin/includes/class-plugin-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-plugin-upgrader.php
+share/ja-wordpress/wp-admin/includes/class-theme-installer-skin.php
+share/ja-wordpress/wp-admin/includes/class-theme-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-theme-upgrader.php
 share/ja-wordpress/wp-admin/includes/class-walker-category-checklist.php
 share/ja-wordpress/wp-admin/includes/class-walker-nav-menu-checklist.php
 share/ja-wordpress/wp-admin/includes/class-walker-nav-menu-edit.php
+share/ja-wordpress/wp-admin/includes/class-wp-ajax-upgrader-skin.php
+share/ja-wordpress/wp-admin/includes/class-wp-automatic-updater.php
 share/ja-wordpress/wp-admin/includes/class-wp-comments-list-table.php
+share/ja-wordpress/wp-admin/includes/class-wp-community-events.php
+share/ja-wordpress/wp-admin/includes/class-wp-debug-data.php
 share/ja-wordpress/wp-admin/includes/class-wp-filesystem-base.php
 share/ja-wordpress/wp-admin/includes/class-wp-filesystem-direct.php
 share/ja-wordpress/wp-admin/includes/class-wp-filesystem-ftpext.php
@@ -256,6 +280,7 @@
 share/ja-wordpress/wp-admin/includes/class-wp-importer.php
 share/ja-wordpress/wp-admin/includes/class-wp-internal-pointers.php
 share/ja-wordpress/wp-admin/includes/class-wp-links-list-table.php
+share/ja-wordpress/wp-admin/includes/class-wp-list-table-compat.php
 share/ja-wordpress/wp-admin/includes/class-wp-list-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-media-list-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-ms-sites-list-table.php
@@ -265,12 +290,18 @@
 share/ja-wordpress/wp-admin/includes/class-wp-plugins-list-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-post-comments-list-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-posts-list-table.php
-share/ja-wordpress/wp-admin/includes/class-wp-press-this.php
+share/ja-wordpress/wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php
+share/ja-wordpress/wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php
+share/ja-wordpress/wp-admin/includes/class-wp-privacy-policy-content.php
+share/ja-wordpress/wp-admin/includes/class-wp-privacy-requests-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-screen.php
+share/ja-wordpress/wp-admin/includes/class-wp-site-health-auto-updates.php
+share/ja-wordpress/wp-admin/includes/class-wp-site-health.php
 share/ja-wordpress/wp-admin/includes/class-wp-site-icon.php
 share/ja-wordpress/wp-admin/includes/class-wp-terms-list-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-theme-install-list-table.php
 share/ja-wordpress/wp-admin/includes/class-wp-themes-list-table.php
+share/ja-wordpress/wp-admin/includes/class-wp-upgrader-skin.php
 share/ja-wordpress/wp-admin/includes/class-wp-upgrader-skins.php
 share/ja-wordpress/wp-admin/includes/class-wp-upgrader.php
 share/ja-wordpress/wp-admin/includes/class-wp-users-list-table.php
@@ -300,6 +331,7 @@
 share/ja-wordpress/wp-admin/includes/plugin-install.php
 share/ja-wordpress/wp-admin/includes/plugin.php
 share/ja-wordpress/wp-admin/includes/post.php
+share/ja-wordpress/wp-admin/includes/privacy-tools.php
 share/ja-wordpress/wp-admin/includes/revision.php
 share/ja-wordpress/wp-admin/includes/schema.php
 share/ja-wordpress/wp-admin/includes/screen.php
@@ -318,8 +350,8 @@
 share/ja-wordpress/wp-admin/install.php
 share/ja-wordpress/wp-admin/js/accordion.js
 share/ja-wordpress/wp-admin/js/accordion.min.js
-share/ja-wordpress/wp-admin/js/bookmarklet.js
-share/ja-wordpress/wp-admin/js/bookmarklet.min.js
+share/ja-wordpress/wp-admin/js/code-editor.js
+share/ja-wordpress/wp-admin/js/code-editor.min.js
 share/ja-wordpress/wp-admin/js/color-picker.js
 share/ja-wordpress/wp-admin/js/color-picker.min.js
 share/ja-wordpress/wp-admin/js/comment.js
@@ -373,18 +405,24 @@
 share/ja-wordpress/wp-admin/js/post.min.js
 share/ja-wordpress/wp-admin/js/postbox.js
 share/ja-wordpress/wp-admin/js/postbox.min.js
-share/ja-wordpress/wp-admin/js/press-this.js
-share/ja-wordpress/wp-admin/js/press-this.min.js
+share/ja-wordpress/wp-admin/js/privacy-tools.js
+share/ja-wordpress/wp-admin/js/privacy-tools.min.js
 share/ja-wordpress/wp-admin/js/revisions.js
 share/ja-wordpress/wp-admin/js/revisions.min.js
 share/ja-wordpress/wp-admin/js/set-post-thumbnail.js
 share/ja-wordpress/wp-admin/js/set-post-thumbnail.min.js
+share/ja-wordpress/wp-admin/js/site-health.js
+share/ja-wordpress/wp-admin/js/site-health.min.js
 share/ja-wordpress/wp-admin/js/svg-painter.js
 share/ja-wordpress/wp-admin/js/svg-painter.min.js
 share/ja-wordpress/wp-admin/js/tags-box.js
 share/ja-wordpress/wp-admin/js/tags-box.min.js
+share/ja-wordpress/wp-admin/js/tags-suggest.js
+share/ja-wordpress/wp-admin/js/tags-suggest.min.js
 share/ja-wordpress/wp-admin/js/tags.js
 share/ja-wordpress/wp-admin/js/tags.min.js
+share/ja-wordpress/wp-admin/js/theme-plugin-editor.js
+share/ja-wordpress/wp-admin/js/theme-plugin-editor.min.js
 share/ja-wordpress/wp-admin/js/theme.js
 share/ja-wordpress/wp-admin/js/theme.min.js
 share/ja-wordpress/wp-admin/js/updates.js
@@ -395,6 +433,20 @@
 share/ja-wordpress/wp-admin/js/user-suggest.min.js
 share/ja-wordpress/wp-admin/js/widgets.js
 share/ja-wordpress/wp-admin/js/widgets.min.js
+share/ja-wordpress/wp-admin/js/widgets/custom-html-widgets.js
+share/ja-wordpress/wp-admin/js/widgets/custom-html-widgets.min.js
+share/ja-wordpress/wp-admin/js/widgets/media-audio-widget.js
+share/ja-wordpress/wp-admin/js/widgets/media-audio-widget.min.js
+share/ja-wordpress/wp-admin/js/widgets/media-gallery-widget.js
+share/ja-wordpress/wp-admin/js/widgets/media-gallery-widget.min.js
+share/ja-wordpress/wp-admin/js/widgets/media-image-widget.js
+share/ja-wordpress/wp-admin/js/widgets/media-image-widget.min.js
+share/ja-wordpress/wp-admin/js/widgets/media-video-widget.js
+share/ja-wordpress/wp-admin/js/widgets/media-video-widget.min.js
+share/ja-wordpress/wp-admin/js/widgets/media-widgets.js
+share/ja-wordpress/wp-admin/js/widgets/media-widgets.min.js
+share/ja-wordpress/wp-admin/js/widgets/text-widgets.js
+share/ja-wordpress/wp-admin/js/widgets/text-widgets.min.js
 share/ja-wordpress/wp-admin/js/word-count.js
 share/ja-wordpress/wp-admin/js/word-count.min.js
 share/ja-wordpress/wp-admin/js/wp-fullscreen-stub.js
@@ -435,6 +487,7 @@
 share/ja-wordpress/wp-admin/network/plugin-editor.php
 share/ja-wordpress/wp-admin/network/plugin-install.php
 share/ja-wordpress/wp-admin/network/plugins.php
+share/ja-wordpress/wp-admin/network/privacy.php
 share/ja-wordpress/wp-admin/network/profile.php
 share/ja-wordpress/wp-admin/network/settings.php
 share/ja-wordpress/wp-admin/network/setup.php
@@ -458,6 +511,7 @@
 share/ja-wordpress/wp-admin/options-head.php
 share/ja-wordpress/wp-admin/options-media.php
 share/ja-wordpress/wp-admin/options-permalink.php
+share/ja-wordpress/wp-admin/options-privacy.php
 share/ja-wordpress/wp-admin/options-reading.php
 share/ja-wordpress/wp-admin/options-writing.php
 share/ja-wordpress/wp-admin/options.php
@@ -467,9 +521,13 @@
 share/ja-wordpress/wp-admin/post-new.php
 share/ja-wordpress/wp-admin/post.php
 share/ja-wordpress/wp-admin/press-this.php
+share/ja-wordpress/wp-admin/privacy-policy-guide.php
+share/ja-wordpress/wp-admin/privacy.php
 share/ja-wordpress/wp-admin/profile.php
 share/ja-wordpress/wp-admin/revision.php
 share/ja-wordpress/wp-admin/setup-config.php
+share/ja-wordpress/wp-admin/site-health-info.php
+share/ja-wordpress/wp-admin/site-health.php
 share/ja-wordpress/wp-admin/term.php
 share/ja-wordpress/wp-admin/theme-editor.php
 share/ja-wordpress/wp-admin/theme-install.php
@@ -488,6 +546,7 @@
 share/ja-wordpress/wp-admin/user/freedoms.php
 share/ja-wordpress/wp-admin/user/index.php
 share/ja-wordpress/wp-admin/user/menu.php
+share/ja-wordpress/wp-admin/user/privacy.php
 share/ja-wordpress/wp-admin/user/profile.php
 share/ja-wordpress/wp-admin/user/user-edit.php
 share/ja-wordpress/wp-admin/users.php
@@ -501,16 +560,34 @@
 share/ja-wordpress/wp-content/languages/admin-network-ja.po
 share/ja-wordpress/wp-content/languages/continents-cities-ja.mo
 share/ja-wordpress/wp-content/languages/continents-cities-ja.po
+share/ja-wordpress/wp-content/languages/ja-0ce75ad2f775d1cac9696967d484808c.json
+share/ja-wordpress/wp-content/languages/ja-1a0cd6a7128913b15c1a10dd68951869.json
+share/ja-wordpress/wp-content/languages/ja-1bba9045bb07c89671c88a3f328548e8.json
+share/ja-wordpress/wp-content/languages/ja-28b3c3d595952907e08d98287077426c.json
+share/ja-wordpress/wp-content/languages/ja-2c5d274ea625dd91556554ad82901529.json
+share/ja-wordpress/wp-content/languages/ja-4a38fe1c0c45989e44682ba6109d9f46.json
+share/ja-wordpress/wp-content/languages/ja-68f2cec7514bf8563c723a4d675fcfe6.json
+share/ja-wordpress/wp-content/languages/ja-7f13c36c641b114bf18cd0bcc9ecc7e0.json
+share/ja-wordpress/wp-content/languages/ja-803bf1ce2131e13efc590c1bc47851fc.json
+share/ja-wordpress/wp-content/languages/ja-81c889563f09dd13de1701135dc62941.json
+share/ja-wordpress/wp-content/languages/ja-8860e58c20c6a2ab5876a0f07be43bd9.json



Home | Main Index | Thread Index | Old Index