diff --git a/README.fedora.wordpress b/README.fedora.wordpress deleted file mode 100644 index 7fdb05828539fd0d1f35ec6d4128313240460c37..0000000000000000000000000000000000000000 --- a/README.fedora.wordpress +++ /dev/null @@ -1,86 +0,0 @@ -------------------------------------------------------------------------------- - -Wordpress is a database driven blogging program designed to make it exceedingly -easy to publish an online blog, sometimes also called a weblog or journal. - -Once this package is installed, there are a few configuration items which need -to be performed before the blog is usable. First, you need to establish a -username and password to connect to your MySQL database as, and make both -MySQL and Wordpress aware of this. Let's start by creating the database and the -username / password inside MySQL first: - - # mysql - mysql> create database wordpress; - Query OK, 1 row affected (0.00 sec) - - mysql> grant all privileges on wordpress.* to wordpress identified by 'wordpress'; - Query OK, 0 rows affected (0.00 sec) - - mysql> flush privileges; - Query OK, 0 rows affected (0.00 sec) - - mysql> exit - Bye - # - -Under certain curcumstances, you may need to run variations of the "grant" -command: -mysql> grant all privileges on wordpress.* to wordpress@localhost identified by 'wordpress'; - OR -mysql> grant all privileges on wordpress.* to wordpress@'%' identified by 'wordpress'; - -This has created an empty database called 'wordpress', created a user named -'wordpress' with a password of 'wordpress', and given the 'wordpress' user total -permission over the 'wordpress' database. Obviously, you'll want to select a -different password, and you may want to choose different database and user -names depending on your installation. The specific values you choose are -not constrained, they simply need to be consistent between the database and the -config file. - -Next, you need to edit your /etc/wordpress/wp-config.php file to reflect the -values you've chosen. These values will go in the appropriate places at the -beginning of that file. - -Once that's done and the database server and web server have been started, -open a web browser to http://localhost/wordpress/wp-admin/install.php and -follow the instructions given to you on the pages you see to set up the -database tables and begin publishing your blog. - -------------------------------------------------------------------------------- - -Wordpress ships with Flash and Silverlight plugins for the 'plupload' file -uploader and the 'mediaelement' media player embedder. The idea is to try and -be able to provide a multi-file uploader and an embedded video player when -HTML5 is not available (or does not support the video format in question). -These plugins are provided as pre-built binaries and there is no mechanism -for building them from source during Wordpress compilation. As the inclusion -of pre-built binaries is against Fedora policy - see -https://fedoraproject.org/wiki/Packaging:Guidelines#No_inclusion_of_pre-built_binaries_or_libraries - - these plugins have been removed from the Fedora package. As a consequence: - -a) any Wordpress element or plugin that uses the 'plupload' will only present -an HTML5-based multi-file uploader if HTML5 is supported by the user's browser -or an HMTL4-based single-file uploader in HTML5 is not supported. No Flash -or Silverlight-based multi-file uploader will be provided. - -b) If you try to embed media into a Wordpress post using the [video] and -[audio] short tags, the media player will be visible if the reader is using -a browser that has HTML5 support for the media format in question; if not, the -'Download Media' link will be offered. No Flash or Silverlight-based player -element will be included. - -------------------------------------------------------------------------------- - -Optional dependencies: - -You may wish to install the following packages: - - php-pecl-imagick: optimize image transformation - php-pecl-ssh2: for file transfert using ssh - -An opcode cache is also recommended: - php 5.5: php-opcache - php 5.4: php-pecl-zendopcache - php 5.3: php-pecl-apc - -------------------------------------------------------------------------------- diff --git a/README.fedora.wordpress-mu b/README.fedora.wordpress-mu deleted file mode 100644 index af10453f34f0c81684db2a5f7f5f6a7b19de0a6f..0000000000000000000000000000000000000000 --- a/README.fedora.wordpress-mu +++ /dev/null @@ -1,5 +0,0 @@ -As of wordpress 3.0.x, upstream has deprecated wordpress-mu. This -functionality has been included in mainline wordpress. For -information on migrating from wordpress-mu, visit -http://codex.wordpress.org/Migrating_Multiple_Blogs_into_WordPress_3.0_Multisite - diff --git a/wordpress-5.4-no_swfupload.patch b/wordpress-6.4-no_swfupload.patch similarity index 74% rename from wordpress-5.4-no_swfupload.patch rename to wordpress-6.4-no_swfupload.patch index 3683cb73f2a58421722c4305a4d3a730874b0309..2ef7c9e4c231f74d738425b458deb8384175f2b7 100644 --- a/wordpress-5.4-no_swfupload.patch +++ b/wordpress-6.4-no_swfupload.patch @@ -1,7 +1,7 @@ diff -up wordpress/wp-includes/script-loader.php.old wordpress/wp-includes/script-loader.php ---- wordpress/wp-includes/script-loader.php.old 2020-03-25 16:34:50.606199762 +0100 -+++ wordpress/wp-includes/script-loader.php 2020-03-25 16:35:59.409883628 +0100 -@@ -892,12 +892,6 @@ function wp_default_scripts( $scripts ) +--- wordpress/wp-includes/script-loader.php.old 2023-11-08 14:47:40.820208939 +0100 ++++ wordpress/wp-includes/script-loader.php 2023-11-08 14:47:48.593183436 +0100 +@@ -1029,12 +1029,6 @@ function wp_default_scripts( $scripts ) $scripts->add( 'wp-plupload', "/wp-includes/js/plupload/wp-plupload$suffix.js", array( 'plupload', 'jquery', 'json2', 'media-models' ), false, 1 ); did_action( 'init' ) && $scripts->localize( 'wp-plupload', 'pluploadL10n', $uploader_l10n ); @@ -12,5 +12,5 @@ diff -up wordpress/wp-includes/script-loader.php.old wordpress/wp-includes/scrip - did_action( 'init' ) && $scripts->localize( 'swfupload-handlers', 'swfuploadL10n', $uploader_l10n ); - $scripts->add( 'comment-reply', "/wp-includes/js/comment-reply$suffix.js", array(), false, 1 ); + did_action( 'init' ) && $scripts->add_data( 'comment-reply', 'strategy', 'async' ); - $scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", array(), '2015-05-03' ); diff --git a/wordpress-6.2.3.tar.gz b/wordpress-6.4.3.tar.gz similarity index 71% rename from wordpress-6.2.3.tar.gz rename to wordpress-6.4.3.tar.gz index 8bad13efdbd03d717eeefd1b52185301dcd5b5e8..f56adb7dc90474623b9510b9999f40b9724abab5 100644 Binary files a/wordpress-6.2.3.tar.gz and b/wordpress-6.4.3.tar.gz differ diff --git a/wordpress.spec b/wordpress.spec index 2be983857e048043f5134acf6e186479e5799fe6..eb0547caa1064d039a8a61102bbd92c47b7535bf 100644 --- a/wordpress.spec +++ b/wordpress.spec @@ -4,12 +4,12 @@ %global wp_content %{_datadir}/wordpress/wp-content %global with_nginx 1 -%global upstream_version 6.2.3 +%global upstream_version 6.4.3 Summary: Blog tool and publishing platform URL: http://www.wordpress.org Name: wordpress -Version: %{upstream_version} +Version: %{upstream_version}%{?upstream_prever:~%upstream_lower} Release: %{anolis_release}%{?dist} # Wordpress is GPL-2.0-or-later # php-simplepie is BSD-3-Clause @@ -17,7 +17,7 @@ Release: %{anolis_release}%{?dist} # php-mailer is LGPL-2.1-only License: GPL-2.0-or-later AND BSD-3-Clause AND LGPL-3.0-or-later AND LGPL-2.1-only -Source0: https://wordpress.org/%{name}-%{upstream_version}%{?upstream_prever:-%{upstream_prever}}.tar.gz +Source0: https://wordpress.org/%{name}-%{upstream_version}.tar.gz Source1: wordpress-httpd-conf Source4: wordpress-nginx-conf # To minify JS assets @@ -27,7 +27,7 @@ Source5: wordpress-minify.php # (and replace it with Free Software Song) Patch0: wordpress-5.2-hello.patch # Drop swfupload: not built from source, not reasonably possible to do -Patch2: wordpress-5.4-no_swfupload.patch +Patch2: wordpress-6.4-no_swfupload.patch # Adjust tinymce's media plugin not to use its SWF plugin. This changes # 'p.getParam("flash_video_player_url",u.convertUrl(u.url+"/moxieplayer.swf"))' # to 'false' @@ -99,7 +99,7 @@ Provides: bundled(php-simplepie) = 1.5.8 # grep ' VERSION ' wordpress/wp-includes/ID3/getid3.php Provides: bundled(php-getid3) = 1.9.22 # grep ' VERSION ' wordpress/wp-includes/PHPMailer/PHPMailer.php -Provides: bundled(php-phpmailer) = 6.7 +Provides: bundled(php-phpmailer) = 6.8.1 Provides: wordpress-mu = %{version}-%{release} Obsoletes: wordpress-mu < 2.9.3 @@ -254,6 +254,9 @@ end %doc readme.html %changelog +* Thu Feb 01 2024 Funda Wang - 6.4.3-1 +- New version 6.4.3 + * Thu Oct 19 2023 Funda Wang - 6.2.3-1 - New version 6.2.3