Compare commits
221 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4df6896240 | |||
| f99d32fd4b | |||
| 4b7f82d928 | |||
| ea22fc5497 | |||
|
|
8fe54079a5 | ||
| 99dc16bcd3 | |||
| 0899e8b68e | |||
| bfe8ec58b0 | |||
| 52d7e4d70b | |||
| dcce5b90ab | |||
|
|
d651f2f2c0 | ||
| 1526d59f55 | |||
| 1dd8ac8d0c | |||
| 70f3360d59 | |||
|
|
09a3ce2f1e | ||
| 573ec54ff2 | |||
| d84854f5e8 | |||
| 9407053f37 | |||
| 9fb61fd7e7 | |||
|
|
a0c1acf4ab | ||
| a7769fe106 | |||
| 67b93cf539 | |||
| 7eae81c8d2 | |||
| f6d465300d | |||
|
|
1927c92da2 | ||
| 6cb5fa97c9 | |||
| a4d1623c1c | |||
| 7221613009 | |||
| b5c588fb58 | |||
| 520812b8dd | |||
| 2531810fe4 | |||
| b32b47631a | |||
|
|
0d6691cddd | ||
| 19ce14b238 | |||
| 7d5422b77c | |||
| 4cc3f8f944 | |||
| 09fd355364 | |||
| dd57a81f90 | |||
| 5d372d92f9 | |||
|
|
e162697e1b | ||
| 0e30b8645f | |||
| cd7785a711 | |||
| 438c995a4e | |||
| afe38c7fe0 | |||
| aa32e253fd | |||
|
|
04af93e518 | ||
| 55b2537332 | |||
| 672de89e39 | |||
| 567f0a1a87 | |||
| 06b0454149 | |||
|
|
c3181fc64a | ||
| 1189f1a8a1 | |||
| ada80a0aa0 | |||
| 6b9f7178f9 | |||
| 3469ae9ebb | |||
| dcf7d42aae | |||
| 07fe7c3d0e | |||
| 743be8c81c | |||
| fa826e9411 | |||
|
|
f9d508de32 | ||
| 3a13552e9d | |||
| f5806fdace | |||
| a18a4f7675 | |||
| 9ee2734f6b | |||
|
|
d2374cf107 | ||
| 7c95aa6712 | |||
| 4ea211141f | |||
| 16946d865d | |||
| 53dd7b2661 | |||
| 8281850818 | |||
| c7fee329b5 | |||
|
|
360106d2c6 | ||
| 73cf3e6e15 | |||
| 5105b4124c | |||
| fee741ab9f | |||
| e2320b2e46 | |||
| 5cfa351092 | |||
| 8fc4eba2f3 | |||
|
|
ba8432d47c | ||
| b559bfa93b | |||
| f072d1eb17 | |||
| 1210b95c26 | |||
| 53d8d72ceb | |||
| 45b4eb5a10 | |||
|
|
f3f0405406 | ||
| 6937d88230 | |||
| b26e7ca654 | |||
| 21ec765605 | |||
| dce3e0cbdc | |||
| f98a471d2b | |||
|
|
76e3961957 | ||
| 2a36e4d145 | |||
| a0e7b40087 | |||
| 916ff3a68e | |||
| bf063620ff | |||
| 6d87ba89c3 | |||
| 997262dc34 | |||
| 7fdeb1ba1d | |||
| 6005fbcc0c | |||
| b91aee8a75 | |||
| 56508b8b21 | |||
| a036eddc5f | |||
| 6c6cc5b0b5 | |||
| 62699a6086 | |||
| 8fc7e13412 | |||
|
|
8e8c25e2e1 | ||
| 08a88460bb | |||
| fa0b96edeb | |||
| a1497a8ce2 | |||
| 714c519e55 | |||
| eb44a44fec | |||
|
|
f4908bc512 | ||
|
|
ce378a302c | ||
|
|
5db84d7b88 | ||
|
|
330c382d3d | ||
| f7f9218272 | |||
| 74877a4e71 | |||
| c1566a4be4 | |||
| a2888b541e | |||
| 5efb676b1e | |||
|
|
bcd3da5c6d | ||
| 2dc3758a31 | |||
| 719c484c1c | |||
|
|
ad160ccc19 | ||
| 64ad28aeee | |||
| ee90367b3e | |||
| cb4d926f8c | |||
| 3784ddd073 | |||
|
|
22cff6edbb | ||
| 093664f076 | |||
|
|
d5e780c454 | ||
| 8007b8d8ef | |||
| 06ad60dce1 | |||
| 0f6aae9a62 | |||
| b2e1003fec | |||
| a6ed36f3d8 | |||
| c6b51849a1 | |||
| 1566c78f92 | |||
| 7f1973e176 | |||
| 287ce09d3c | |||
| e9da652004 | |||
| 3b6aed19c3 | |||
| 22f8927f3a | |||
| f295541234 | |||
| a8b552e3ef | |||
| 5d1682cb5e | |||
| 7f7bae9ea4 | |||
| ca28ae363f | |||
| aaa9b6d56f | |||
| 5b3b5187e7 | |||
| 2edf6e9b3d | |||
| 0606c08b0b | |||
| baf95ff4bf | |||
| 4938eb1f28 | |||
|
|
732da7a8cd | ||
| c3247e0fb0 | |||
| 88d9bfe6a9 | |||
| c572f2c6f5 | |||
| 146dfc1596 | |||
| 8deee85d43 | |||
| 0bf276fc2d | |||
| cdc67b2be0 | |||
| 42cffd36bf | |||
| a7a4c3a8e5 | |||
| 263a9fff0e | |||
| 00237e3af1 | |||
|
|
ebc8928969 | ||
|
|
783a17e5d1 | ||
|
|
8349bcc8a0 | ||
| 1e632fae73 | |||
| 74719500d2 | |||
| c56b667be2 | |||
| 8bfaea7ed1 | |||
| cd9521671b | |||
| 790e02509f | |||
| b9760ef6c3 | |||
| 814a0b32a5 | |||
|
|
6e160d9f04 | ||
| b99791fd2e | |||
| 64afcf22fe | |||
| 18130dfcb7 | |||
| 41f0678604 | |||
| 0497598d89 | |||
|
|
9225f10391 | ||
|
|
d9051ff465 | ||
|
|
3b20c07489 | ||
|
|
0767a56de5 | ||
|
|
f1fa2335a4 | ||
|
|
4706fe4a06 | ||
|
|
2748ce7ed6 | ||
| c782cc15c3 | |||
| 7e0358bb0a | |||
| 15f1484d5b | |||
| 37b05b5133 | |||
| 1dc3a3ed1f | |||
| bb8f45b979 | |||
| 79c1bf8ea5 | |||
| 54deebc68a | |||
| 0d51a78b0f | |||
| adaf81ee88 | |||
| 8d804758fb | |||
| 240dbed53b | |||
| d3c4c429ab | |||
| db29684207 | |||
|
|
90015cc4e2 | ||
| bb272c60b6 | |||
| 7fa7a022ef | |||
| b25e97572f | |||
|
|
4c00505788 | ||
|
|
b84a591990 | ||
|
|
5faa94e8f3 | ||
|
|
888d77b8a0 | ||
|
|
f364596dc6 | ||
|
|
a3871b6118 | ||
|
|
da57b48518 | ||
|
|
b924a75ade | ||
|
|
b2077dee6c | ||
| 3ee3520d0a | |||
|
|
4562ac5395 | ||
|
|
7b08410286 | ||
|
|
85b4f9f921 |
16 changed files with 731 additions and 422 deletions
38
.gitignore
vendored
38
.gitignore
vendored
|
|
@ -1,38 +1,2 @@
|
||||||
*spec~
|
|
||||||
clog
|
clog
|
||||||
/wordpress-3.7.tar.gz
|
/wordpress-*.tar.gz
|
||||||
/wordpress-3.7.1.tar.gz
|
|
||||||
/wordpress-3.8.tar.gz
|
|
||||||
/wordpress-3.8.1.tar.gz
|
|
||||||
/wordpress-3.8.2.tar.gz
|
|
||||||
/wordpress-3.8.3.tar.gz
|
|
||||||
/wordpress-3.9.tar.gz
|
|
||||||
/wordpress-3.9.1.tar.gz
|
|
||||||
/wordpress-3.9.2.tar.gz
|
|
||||||
/wordpress-4.0.tar.gz
|
|
||||||
/wordpress-4.0.1.tar.gz
|
|
||||||
/wordpress-4.1.tar.gz
|
|
||||||
/wordpress-4.1.1.tar.gz
|
|
||||||
/wordpress-4.1.2.tar.gz
|
|
||||||
/wordpress-4.2.tar.gz
|
|
||||||
/wordpress-4.2.1.tar.gz
|
|
||||||
/wordpress-4.2.2.tar.gz
|
|
||||||
/wordpress-4.2.3.tar.gz
|
|
||||||
/wordpress-4.2.4.tar.gz
|
|
||||||
/wordpress-4.3.tar.gz
|
|
||||||
/wordpress-4.3.1.tar.gz
|
|
||||||
/wordpress-4.4.tar.gz
|
|
||||||
/wordpress-4.4.1.tar.gz
|
|
||||||
/wordpress-4.4.2.tar.gz
|
|
||||||
/wordpress-4.5-RC1.tar.gz
|
|
||||||
/wordpress-4.5.tar.gz
|
|
||||||
/wordpress-4.5.1.tar.gz
|
|
||||||
/wordpress-4.5.2.tar.gz
|
|
||||||
/wordpress-4.5.3.tar.gz
|
|
||||||
/wordpress-debian_patches_hello.patch
|
|
||||||
/wordpress-4.6.tar.gz
|
|
||||||
/wordpress-4.6.1.tar.gz
|
|
||||||
/wordpress-4.7.tar.gz
|
|
||||||
/wordpress-4.7.1.tar.gz
|
|
||||||
/wordpress-4.7.2.tar.gz
|
|
||||||
/wordpress-4.7.3.tar.gz
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (wordpress-4.7.3.tar.gz) = 071df65c3a43557faf351838a661a83e26d8de37c8633dc17a59d773cc91caef640a625b0719606df1fc563fd18af71ba1da22a5b6f345339e73761754484dc5
|
SHA512 (wordpress-7.1.tar.gz) = 4bb95bddeb0d30778b9d744e42f7e21507ed3070fda3e34dd41918073618181e350cf77ea8dfaacc48c59a00f50273b4a1b7a6e4c43d2a81ccfd35f27df342bc
|
||||||
|
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
||||||
diff -up wordpress/wp-includes/js/tinymce/plugins/media/plugin.js.rpm wordpress/wp-includes/js/tinymce/plugins/media/plugin.js
|
|
||||||
--- wordpress/wp-includes/js/tinymce/plugins/media/plugin.js.rpm 2014-08-22 01:53:18.000000000 +0200
|
|
||||||
+++ wordpress/wp-includes/js/tinymce/plugins/media/plugin.js 2014-09-08 13:10:15.717314458 +0200
|
|
||||||
@@ -46,10 +46,6 @@ tinymce.PluginManager.add('media', funct
|
|
||||||
return 'video/ogg';
|
|
||||||
}
|
|
||||||
|
|
||||||
- if (url.indexOf('.swf') != -1) {
|
|
||||||
- return 'application/x-shockwave-flash';
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -247,7 +243,7 @@ tinymce.PluginManager.add('media', funct
|
|
||||||
data.source1mime = guessMime(data.source1);
|
|
||||||
data.source2mime = guessMime(data.source2);
|
|
||||||
data.poster = editor.convertURL(data.poster, "poster");
|
|
||||||
- data.flashPlayerUrl = editor.convertURL(url + '/moxieplayer.swf', "movie");
|
|
||||||
+ data.flashPlayerUrl = false;
|
|
||||||
|
|
||||||
tinymce.each(urlPatterns, function(pattern) {
|
|
||||||
var match, i, url;
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
--- wordpress/wp-includes/script-loader.php.orig 2015-12-09 16:51:44.740328793 +0100
|
|
||||||
+++ wordpress/wp-includes/script-loader.php 2015-12-09 16:53:00.870701835 +0100
|
|
||||||
@@ -300,15 +300,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 );
|
|
||||||
|
|
||||||
- // keep 'swfupload' for back-compat.
|
|
||||||
- $scripts->add( 'swfupload', '/wp-includes/js/swfupload/swfupload.js', array(), '2201-20110113');
|
|
||||||
- $scripts->add( 'swfupload-swfobject', '/wp-includes/js/swfupload/plugins/swfupload.swfobject.js', array('swfupload', 'swfobject'), '2201a');
|
|
||||||
- $scripts->add( 'swfupload-queue', '/wp-includes/js/swfupload/plugins/swfupload.queue.js', array('swfupload'), '2201');
|
|
||||||
- $scripts->add( 'swfupload-speed', '/wp-includes/js/swfupload/plugins/swfupload.speed.js', array('swfupload'), '2201');
|
|
||||||
- $scripts->add( 'swfupload-all', false, array('swfupload', 'swfupload-swfobject', 'swfupload-queue'), '2201');
|
|
||||||
- $scripts->add( 'swfupload-handlers', "/wp-includes/js/swfupload/handlers$suffix.js", array('swfupload-all', 'jquery'), '2201-20110524');
|
|
||||||
- did_action( 'init' ) && $scripts->localize( 'swfupload-handlers', 'swfuploadL10n', $uploader_l10n );
|
|
||||||
-
|
|
||||||
$scripts->add( 'comment-reply', "/wp-includes/js/comment-reply$suffix.js", array(), false, 1 );
|
|
||||||
|
|
||||||
$scripts->add( 'json2', "/wp-includes/js/json2$suffix.js", array(), '2015-05-03' );
|
|
||||||
|
|
@ -1,20 +0,0 @@
|
||||||
--- wordpress/wp-admin/includes/media.php.orig 2015-12-09 17:01:52.453306607 +0100
|
|
||||||
+++ wordpress/wp-admin/includes/media.php 2015-12-09 17:05:31.477379833 +0100
|
|
||||||
@@ -2989,7 +2989,7 @@ function wp_read_video_metadata( $file )
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( ! class_exists( 'getID3', false ) ) {
|
|
||||||
- require( ABSPATH . WPINC . '/ID3/getid3.php' );
|
|
||||||
+ require( '/usr/share/php/getid3/getid3.php' );
|
|
||||||
}
|
|
||||||
$id3 = new getID3();
|
|
||||||
$data = $id3->analyze( $file );
|
|
||||||
@@ -3050,7 +3050,7 @@ function wp_read_audio_metadata( $file )
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( ! class_exists( 'getID3', false ) ) {
|
|
||||||
- require( ABSPATH . WPINC . '/ID3/getid3.php' );
|
|
||||||
+ require( '/usr/share/php/getid3/getid3.php' );
|
|
||||||
}
|
|
||||||
$id3 = new getID3();
|
|
||||||
$data = $id3->analyze( $file );
|
|
||||||
|
|
@ -1,103 +0,0 @@
|
||||||
diff -up wordpress/wp-admin/includes/admin-filters.php.rpm wordpress/wp-admin/includes/admin-filters.php
|
|
||||||
--- wordpress/wp-admin/includes/admin-filters.php.rpm 2016-09-03 07:50:51.812312381 +0200
|
|
||||||
+++ wordpress/wp-admin/includes/admin-filters.php 2016-09-03 07:51:39.070577518 +0200
|
|
||||||
@@ -106,7 +106,6 @@ add_action( 'profile_update', 'default_p
|
|
||||||
add_action( 'load-plugins.php', 'wp_plugin_update_rows', 20 ); // After wp_update_plugins() is called.
|
|
||||||
add_action( 'load-themes.php', 'wp_theme_update_rows', 20 ); // After wp_update_themes() is called.
|
|
||||||
|
|
||||||
-add_action( 'admin_notices', 'update_nag', 3 );
|
|
||||||
add_action( 'admin_notices', 'maintenance_nag', 10 );
|
|
||||||
|
|
||||||
add_filter( 'update_footer', 'core_update_footer' );
|
|
||||||
diff -up wordpress/wp-admin/includes/class-core-upgrader.php.rpm wordpress/wp-admin/includes/class-core-upgrader.php
|
|
||||||
--- wordpress/wp-admin/includes/class-core-upgrader.php.rpm 2016-09-03 07:59:45.832367671 +0200
|
|
||||||
+++ wordpress/wp-admin/includes/class-core-upgrader.php 2016-09-03 07:59:50.160392833 +0200
|
|
||||||
@@ -236,6 +236,9 @@ class Core_Upgrader extends WP_Upgrader
|
|
||||||
* @return bool True if we should update to the offered version, otherwise false.
|
|
||||||
*/
|
|
||||||
public static function should_update_to_version( $offered_ver ) {
|
|
||||||
+ // RPM: nether allow core update
|
|
||||||
+ return false;
|
|
||||||
+
|
|
||||||
include( ABSPATH . WPINC . '/version.php' ); // $wp_version; // x.y.z
|
|
||||||
|
|
||||||
$current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y
|
|
||||||
diff -up wordpress/wp-admin/includes/class-wp-automatic-updater.php.rpm wordpress/wp-admin/includes/class-wp-automatic-updater.php
|
|
||||||
--- wordpress/wp-admin/includes/class-wp-automatic-updater.php.rpm 2016-09-03 08:00:15.810540773 +0200
|
|
||||||
+++ wordpress/wp-admin/includes/class-wp-automatic-updater.php 2016-09-03 08:00:28.915616106 +0200
|
|
||||||
@@ -31,7 +31,7 @@ class WP_Automatic_Updater {
|
|
||||||
*/
|
|
||||||
public function is_disabled() {
|
|
||||||
// Background updates are disabled if you don't want file changes.
|
|
||||||
- if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS )
|
|
||||||
+ if ( !defined( 'DISALLOW_FILE_MODS' ) || DISALLOW_FILE_MODS )
|
|
||||||
return true;
|
|
||||||
|
|
||||||
if ( wp_installing() )
|
|
||||||
diff -up wordpress/wp-admin/includes/translation-install.php.rpm wordpress/wp-admin/includes/translation-install.php
|
|
||||||
--- wordpress/wp-admin/includes/translation-install.php.rpm 2016-05-22 20:01:30.000000000 +0200
|
|
||||||
+++ wordpress/wp-admin/includes/translation-install.php 2016-09-03 07:50:51.813312387 +0200
|
|
||||||
@@ -181,7 +181,7 @@ function wp_download_language_pack( $dow
|
|
||||||
return $download;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) {
|
|
||||||
+ if ( !defined( 'DISALLOW_FILE_MODS' ) || DISALLOW_FILE_MODS ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -224,7 +224,7 @@ function wp_download_language_pack( $dow
|
|
||||||
* @return bool Returns true on success, false on failure.
|
|
||||||
*/
|
|
||||||
function wp_can_install_language_pack() {
|
|
||||||
- if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) {
|
|
||||||
+ if ( !defined( 'DISALLOW_FILE_MODS' ) || DISALLOW_FILE_MODS ) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff -up wordpress/wp-admin/includes/update.php.rpm wordpress/wp-admin/includes/update.php
|
|
||||||
--- wordpress/wp-admin/includes/update.php.rpm 2016-08-10 21:06:31.000000000 +0200
|
|
||||||
+++ wordpress/wp-admin/includes/update.php 2016-09-03 07:50:51.812312381 +0200
|
|
||||||
@@ -271,7 +271,7 @@ function update_right_now_message() {
|
|
||||||
$cur = get_preferred_from_update_core();
|
|
||||||
|
|
||||||
if ( isset( $cur->response ) && $cur->response == 'upgrade' )
|
|
||||||
- $msg .= '<a href="' . network_admin_url( 'update-core.php' ) . '" class="button" aria-describedby="wp-version">' . sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) ) . '</a> ';
|
|
||||||
+ $msg .= '';
|
|
||||||
}
|
|
||||||
|
|
||||||
/* translators: 1: version number, 2: theme name */
|
|
||||||
diff -up wordpress/wp-includes/capabilities.php.rpm wordpress/wp-includes/capabilities.php
|
|
||||||
--- wordpress/wp-includes/capabilities.php.rpm 2016-06-30 03:02:29.000000000 +0200
|
|
||||||
+++ wordpress/wp-includes/capabilities.php 2016-09-03 07:50:51.812312381 +0200
|
|
||||||
@@ -330,7 +330,7 @@ function map_meta_cap( $cap, $user_id )
|
|
||||||
// Disallow the file editors.
|
|
||||||
if ( defined( 'DISALLOW_FILE_EDIT' ) && DISALLOW_FILE_EDIT )
|
|
||||||
$caps[] = 'do_not_allow';
|
|
||||||
- elseif ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS )
|
|
||||||
+ elseif ( !defined( 'DISALLOW_FILE_MODS' ) || DISALLOW_FILE_MODS )
|
|
||||||
$caps[] = 'do_not_allow';
|
|
||||||
elseif ( is_multisite() && ! is_super_admin( $user_id ) )
|
|
||||||
$caps[] = 'do_not_allow';
|
|
||||||
@@ -348,7 +348,7 @@ function map_meta_cap( $cap, $user_id )
|
|
||||||
case 'update_core':
|
|
||||||
// Disallow anything that creates, deletes, or updates core, plugin, or theme files.
|
|
||||||
// Files in uploads are excepted.
|
|
||||||
- if ( defined( 'DISALLOW_FILE_MODS' ) && DISALLOW_FILE_MODS ) {
|
|
||||||
+ if ( !defined( 'DISALLOW_FILE_MODS' ) || DISALLOW_FILE_MODS ) {
|
|
||||||
$caps[] = 'do_not_allow';
|
|
||||||
} elseif ( is_multisite() && ! is_super_admin( $user_id ) ) {
|
|
||||||
$caps[] = 'do_not_allow';
|
|
||||||
diff -up wordpress/wp-includes/update.php.rpm wordpress/wp-includes/update.php
|
|
||||||
--- wordpress/wp-includes/update.php.rpm 2016-05-25 21:36:28.000000000 +0200
|
|
||||||
+++ wordpress/wp-includes/update.php 2016-09-03 07:50:51.813312387 +0200
|
|
||||||
@@ -653,9 +653,6 @@ function _maybe_update_themes() {
|
|
||||||
* @since 3.1.0
|
|
||||||
*/
|
|
||||||
function wp_schedule_update_checks() {
|
|
||||||
- if ( ! wp_next_scheduled( 'wp_version_check' ) && ! wp_installing() )
|
|
||||||
- wp_schedule_event(time(), 'twicedaily', 'wp_version_check');
|
|
||||||
-
|
|
||||||
if ( ! wp_next_scheduled( 'wp_update_plugins' ) && ! wp_installing() )
|
|
||||||
wp_schedule_event(time(), 'twicedaily', 'wp_update_plugins');
|
|
||||||
|
|
||||||
35
wordpress-5.1-tinymce_noflash.patch
Normal file
35
wordpress-5.1-tinymce_noflash.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
diff -up wordpress/wp-includes/js/tinymce/plugins/media/plugin.js.orig wordpress/wp-includes/js/tinymce/plugins/media/plugin.js
|
||||||
|
--- wordpress/wp-includes/js/tinymce/plugins/media/plugin.js.orig 2019-02-21 14:59:28.793415420 +0100
|
||||||
|
+++ wordpress/wp-includes/js/tinymce/plugins/media/plugin.js 2019-02-21 15:00:14.319647286 +0100
|
||||||
|
@@ -166,7 +166,6 @@ var media = (function () {
|
||||||
|
mp4: 'video/mp4',
|
||||||
|
webm: 'video/webm',
|
||||||
|
ogg: 'video/ogg',
|
||||||
|
- swf: 'application/x-shockwave-flash'
|
||||||
|
};
|
||||||
|
var fileEnd = url.toLowerCase().split('.').pop();
|
||||||
|
var mime = mimes[fileEnd];
|
||||||
|
@@ -424,14 +423,6 @@ var media = (function () {
|
||||||
|
var allowFullscreen = data.allowFullscreen ? ' allowFullscreen="1"' : '';
|
||||||
|
return '<iframe src="' + data.source1 + '" width="' + data.width + '" height="' + data.height + '"' + allowFullscreen + '></iframe>';
|
||||||
|
};
|
||||||
|
- var getFlashHtml = function (data) {
|
||||||
|
- var html = '<object data="' + data.source1 + '" width="' + data.width + '" height="' + data.height + '" type="application/x-shockwave-flash">';
|
||||||
|
- if (data.poster) {
|
||||||
|
- html += '<img src="' + data.poster + '" width="' + data.width + '" height="' + data.height + '" />';
|
||||||
|
- }
|
||||||
|
- html += '</object>';
|
||||||
|
- return html;
|
||||||
|
- };
|
||||||
|
var getAudioHtml = function (data, audioTemplateCallback) {
|
||||||
|
if (audioTemplateCallback) {
|
||||||
|
return audioTemplateCallback(data);
|
||||||
|
@@ -494,8 +485,6 @@ var media = (function () {
|
||||||
|
});
|
||||||
|
if (data.type === 'iframe') {
|
||||||
|
return getIframeHtml(data);
|
||||||
|
- } else if (data.source1mime === 'application/x-shockwave-flash') {
|
||||||
|
- return getFlashHtml(data);
|
||||||
|
} else if (data.source1mime.indexOf('audio') !== -1) {
|
||||||
|
return getAudioHtml(data, audioTemplateCallback);
|
||||||
|
} else if (data.type === 'script') {
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
diff -up wordpress/wp-config.php.orig wordpress/wp-config.php
|
diff -up wordpress/wp-config.php.rpm wordpress/wp-config.php
|
||||||
--- wordpress/wp-config.php.orig 2014-09-08 13:12:36.525908423 +0200
|
--- wordpress/wp-config.php.rpm 2020-10-20 15:05:26.351765085 +0200
|
||||||
+++ wordpress/wp-config.php 2014-09-08 13:14:33.583402525 +0200
|
+++ wordpress/wp-config.php 2020-10-20 15:05:48.663684089 +0200
|
||||||
@@ -66,6 +66,19 @@ define('NONCE_SALT', 'put your uni
|
@@ -66,6 +66,22 @@ define( 'NONCE_SALT', 'put your un
|
||||||
$table_prefix = 'wp_';
|
$table_prefix = 'wp_';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
+ * See http://make.wordpress.org/core/2013/10/25/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7
|
+ * See http://make.wordpress.org/core/2013/10/25/the-definitive-guide-to-disabling-auto-updates-in-wordpress-3-7
|
||||||
|
|
@ -11,6 +11,9 @@ diff -up wordpress/wp-config.php.orig wordpress/wp-config.php
|
||||||
+/* Disable all file change, as RPM base installation are read-only */
|
+/* Disable all file change, as RPM base installation are read-only */
|
||||||
+define('DISALLOW_FILE_MODS', true);
|
+define('DISALLOW_FILE_MODS', true);
|
||||||
+
|
+
|
||||||
|
+/* Please ensure that this is either 'direct', 'ssh2', 'ftpext', 'ftpsockets' or false */
|
||||||
|
+define('FS_METHOD', 'direct');
|
||||||
|
+
|
||||||
+/* Disable automatic updater, in case you want to allow
|
+/* Disable automatic updater, in case you want to allow
|
||||||
+ above FILE_MODS for plugins, themes, ... */
|
+ above FILE_MODS for plugins, themes, ... */
|
||||||
+define('AUTOMATIC_UPDATER_DISABLED', true);
|
+define('AUTOMATIC_UPDATER_DISABLED', true);
|
||||||
|
|
@ -21,12 +24,12 @@ diff -up wordpress/wp-config.php.orig wordpress/wp-config.php
|
||||||
* For developers: WordPress debugging mode.
|
* For developers: WordPress debugging mode.
|
||||||
*
|
*
|
||||||
* Change this to true to enable the display of notices during development.
|
* Change this to true to enable the display of notices during development.
|
||||||
@@ -83,7 +96,7 @@ define('WP_DEBUG', false);
|
@@ -83,7 +99,7 @@ define( 'WP_DEBUG', false );
|
||||||
|
|
||||||
/** Absolute path to the WordPress directory. */
|
/** Absolute path to the WordPress directory. */
|
||||||
if ( !defined('ABSPATH') )
|
if ( ! defined( 'ABSPATH' ) ) {
|
||||||
- define('ABSPATH', dirname(__FILE__) . '/');
|
- define( 'ABSPATH', __DIR__ . '/' );
|
||||||
+ define('ABSPATH', '/usr/share/wordpress');
|
+ define('ABSPATH', '/usr/share/wordpress');
|
||||||
|
}
|
||||||
|
|
||||||
/** Sets up WordPress vars and included files. */
|
/** Sets up WordPress vars and included files. */
|
||||||
require_once(ABSPATH . 'wp-settings.php');
|
|
||||||
38
wordpress-5.6-mediaelement_no_swf.patch
Normal file
38
wordpress-5.6-mediaelement_no_swf.patch
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
diff -up wordpress/wp-includes/js/mediaelement/mediaelement-and-player.js.no wordpress/wp-includes/js/mediaelement/mediaelement-and-player.js
|
||||||
|
--- wordpress/wp-includes/js/mediaelement/mediaelement-and-player.js.no 2020-09-29 17:53:06.000000000 +0200
|
||||||
|
+++ wordpress/wp-includes/js/mediaelement/mediaelement-and-player.js 2020-12-09 09:44:27.954254919 +0100
|
||||||
|
@@ -6135,6 +6135,7 @@ if (hasFlash) {
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
+/* swf files removed from RPM
|
||||||
|
var FlashMediaElementVideoRenderer = {
|
||||||
|
name: 'flash_video',
|
||||||
|
options: {
|
||||||
|
@@ -6219,6 +6220,7 @@ if (hasFlash) {
|
||||||
|
create: FlashMediaElementRenderer.create
|
||||||
|
};
|
||||||
|
_renderer.renderer.add(FlashMediaElementAudioOggRenderer);
|
||||||
|
+*/
|
||||||
|
}
|
||||||
|
|
||||||
|
},{"2":2,"25":25,"27":27,"28":28,"3":3,"5":5,"7":7,"8":8}],21:[function(_dereq_,module,exports){
|
||||||
|
diff -up wordpress/wp-includes/js/mediaelement/mediaelement.js.no wordpress/wp-includes/js/mediaelement/mediaelement.js
|
||||||
|
--- wordpress/wp-includes/js/mediaelement/mediaelement.js.no 2020-09-29 17:53:06.000000000 +0200
|
||||||
|
+++ wordpress/wp-includes/js/mediaelement/mediaelement.js 2020-12-09 09:44:38.532227178 +0100
|
||||||
|
@@ -1842,6 +1842,7 @@ if (hasFlash) {
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
+/* swf files removed from RPM
|
||||||
|
var FlashMediaElementVideoRenderer = {
|
||||||
|
name: 'flash_video',
|
||||||
|
options: {
|
||||||
|
@@ -1926,6 +1927,7 @@ if (hasFlash) {
|
||||||
|
create: FlashMediaElementRenderer.create
|
||||||
|
};
|
||||||
|
_renderer.renderer.add(FlashMediaElementAudioOggRenderer);
|
||||||
|
+*/
|
||||||
|
}
|
||||||
|
|
||||||
|
},{"16":16,"18":18,"19":19,"2":2,"3":3,"5":5,"7":7,"8":8}],12:[function(_dereq_,module,exports){
|
||||||
|
|
@ -1,15 +1,17 @@
|
||||||
--- wordpress/wp-content/plugins/hello.php 2013-05-22 14:08:40.000000000 -0700
|
diff -up wordpress/wp-content/plugins/hello.php.dolly wordpress/wp-content/plugins/hello.php
|
||||||
+++ wordpress/wp-content/plugins/hello.php.new 2013-08-22 23:46:04.594788007 -0700
|
--- wordpress/wp-content/plugins/hello.php.dolly 2025-04-16 08:21:31.710644174 +0200
|
||||||
@@ -6,42 +6,26 @@
|
+++ wordpress/wp-content/plugins/hello.php 2025-04-16 08:23:15.011000365 +0200
|
||||||
|
@@ -6,7 +6,7 @@
|
||||||
/*
|
/*
|
||||||
Plugin Name: Hello Dolly
|
Plugin Name: Hello Dolly
|
||||||
Plugin URI: http://wordpress.org/plugins/hello-dolly/
|
Plugin URI: http://wordpress.org/plugins/hello-dolly/
|
||||||
-Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
|
-Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from <cite>Hello, Dolly</cite> in the upper right of your admin screen on every page.
|
||||||
+Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Richard M. Stallman: Free Software. When activated you will randomly see a lyric from the <cite>Free Software Song</cite> in the upper right of your admin screen on every page.
|
+Description: This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Richard M. Stallman: Free Software. When activated you will randomly see a lyric from the <cite>Free Software Song</cite> in the upper right of your admin screen on every page.
|
||||||
Author: Matt Mullenweg
|
Author: Matt Mullenweg
|
||||||
Version: 1.6
|
Version: 1.7.2
|
||||||
Author URI: http://ma.tt/
|
Author URI: http://ma.tt/
|
||||||
*/
|
@@ -18,34 +18,19 @@ if ( ! defined( 'ABSPATH' ) ) {
|
||||||
|
}
|
||||||
|
|
||||||
function hello_dolly_get_lyric() {
|
function hello_dolly_get_lyric() {
|
||||||
- /** These are the lyrics to Hello Dolly */
|
- /** These are the lyrics to Hello Dolly */
|
||||||
|
|
@ -20,12 +22,11 @@
|
||||||
-I can tell, Dolly
|
-I can tell, Dolly
|
||||||
-You're still glowin', you're still crowin'
|
-You're still glowin', you're still crowin'
|
||||||
-You're still goin' strong
|
-You're still goin' strong
|
||||||
-We feel the room swayin'
|
-I feel the room swayin'
|
||||||
-While the band's playin'
|
-While the band's playin'
|
||||||
-One of your old favourite songs from way back when
|
-One of our old favorite songs from way back when
|
||||||
-So, take her wrap, fellas
|
-So, take her wrap, fellas
|
||||||
-Find her an empty lap, fellas
|
-Dolly, never go away again
|
||||||
-Dolly'll never go away again
|
|
||||||
-Hello, Dolly
|
-Hello, Dolly
|
||||||
-Well, hello, Dolly
|
-Well, hello, Dolly
|
||||||
-It's so nice to have you back where you belong
|
-It's so nice to have you back where you belong
|
||||||
|
|
@ -33,16 +34,16 @@
|
||||||
-I can tell, Dolly
|
-I can tell, Dolly
|
||||||
-You're still glowin', you're still crowin'
|
-You're still glowin', you're still crowin'
|
||||||
-You're still goin' strong
|
-You're still goin' strong
|
||||||
-We feel the room swayin'
|
-I feel the room swayin'
|
||||||
-While the band's playin'
|
-While the band's playin'
|
||||||
-One of your old favourite songs from way back when
|
-One of our old favorite songs from way back when
|
||||||
-Golly, gee, fellas
|
-So, golly, gee, fellas
|
||||||
-Find her a vacant knee, fellas
|
-Have a little faith in me, fellas
|
||||||
-Dolly'll never go away
|
-Dolly, never go away
|
||||||
-Dolly'll never go away
|
-Promise, you'll never go away
|
||||||
-Dolly'll never go away again";
|
-Dolly'll never go away again";
|
||||||
+ // These are the lyrics to the Free Software Song
|
+ // These are the lyrics to the Free Software Song
|
||||||
+$lyrics = "Join us now and share the software;
|
+ $lyrics = "Join us now and share the software;
|
||||||
+You'll be free, hackers, you'll be free.
|
+You'll be free, hackers, you'll be free.
|
||||||
+Hoarders may get piles of money,
|
+Hoarders may get piles of money,
|
||||||
+That is true, hackers, that is true.
|
+That is true, hackers, that is true.
|
||||||
|
|
@ -55,5 +56,5 @@
|
||||||
+Join us now and share the software;
|
+Join us now and share the software;
|
||||||
+You'll be free, hackers, you'll be free.";
|
+You'll be free, hackers, you'll be free.";
|
||||||
|
|
||||||
// Here we split it into lines
|
// Here we split it into lines.
|
||||||
$lyrics = explode( "\n", $lyrics );
|
$lyrics = explode( "\n", $lyrics );
|
||||||
91
wordpress-7.1-noupdate.patch
Normal file
91
wordpress-7.1-noupdate.patch
Normal file
|
|
@ -0,0 +1,91 @@
|
||||||
|
diff -up wordpress/wp-admin/includes/admin-filters.php.orig wordpress/wp-admin/includes/admin-filters.php
|
||||||
|
--- wordpress/wp-admin/includes/admin-filters.php.orig 2026-03-09 00:49:37.395081000 +0100
|
||||||
|
+++ wordpress/wp-admin/includes/admin-filters.php 2026-08-25 07:30:05.010828032 +0200
|
||||||
|
@@ -130,7 +130,6 @@ add_action( 'personal_options_update', '
|
||||||
|
add_action( 'load-plugins.php', 'wp_plugin_update_rows', 20 ); // After wp_update_plugins() is called.
|
||||||
|
add_action( 'load-themes.php', 'wp_theme_update_rows', 20 ); // After wp_update_themes() is called.
|
||||||
|
|
||||||
|
-add_action( 'admin_notices', 'update_nag', 3 );
|
||||||
|
add_action( 'admin_notices', 'deactivated_plugins_notice', 5 );
|
||||||
|
add_action( 'admin_notices', 'paused_plugins_notice', 5 );
|
||||||
|
add_action( 'admin_notices', 'paused_themes_notice', 5 );
|
||||||
|
diff -up wordpress/wp-admin/includes/class-core-upgrader.php.orig wordpress/wp-admin/includes/class-core-upgrader.php
|
||||||
|
--- wordpress/wp-admin/includes/class-core-upgrader.php.orig 2026-02-13 19:34:41.944764000 +0100
|
||||||
|
+++ wordpress/wp-admin/includes/class-core-upgrader.php 2026-08-25 07:30:05.010951923 +0200
|
||||||
|
@@ -277,6 +277,9 @@ class Core_Upgrader extends WP_Upgrader
|
||||||
|
* @return bool True if we should update to the offered version, otherwise false.
|
||||||
|
*/
|
||||||
|
public static function should_update_to_version( $offered_ver ) {
|
||||||
|
+ // RPM: nether allow core update
|
||||||
|
+ return false;
|
||||||
|
+
|
||||||
|
require ABSPATH . WPINC . '/version.php'; // $wp_version; // x.y.z
|
||||||
|
|
||||||
|
$current_branch = implode( '.', array_slice( preg_split( '/[.-]/', $wp_version ), 0, 2 ) ); // x.y
|
||||||
|
diff -up wordpress/wp-admin/includes/class-wp-automatic-updater.php.orig wordpress/wp-admin/includes/class-wp-automatic-updater.php
|
||||||
|
--- wordpress/wp-admin/includes/class-wp-automatic-updater.php.orig 2026-07-29 10:01:50.858475000 +0200
|
||||||
|
+++ wordpress/wp-admin/includes/class-wp-automatic-updater.php 2026-08-25 07:30:05.011078018 +0200
|
||||||
|
@@ -41,7 +41,7 @@ class WP_Automatic_Updater {
|
||||||
|
}
|
||||||
|
|
||||||
|
// More fine grained control can be done through the WP_AUTO_UPDATE_CORE constant and filters.
|
||||||
|
- $disabled = defined( 'AUTOMATIC_UPDATER_DISABLED' ) && AUTOMATIC_UPDATER_DISABLED;
|
||||||
|
+ $disabled = !defined( 'AUTOMATIC_UPDATER_DISABLED' ) || AUTOMATIC_UPDATER_DISABLED;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Filters whether to entirely disable background updates.
|
||||||
|
diff -up wordpress/wp-admin/includes/file.php.orig wordpress/wp-admin/includes/file.php
|
||||||
|
--- wordpress/wp-admin/includes/file.php.orig 2026-07-29 10:01:50.858475000 +0200
|
||||||
|
+++ wordpress/wp-admin/includes/file.php 2026-08-25 07:30:05.011274367 +0200
|
||||||
|
@@ -2270,7 +2270,7 @@ function WP_Filesystem( $args = false, $
|
||||||
|
*/
|
||||||
|
function get_filesystem_method( $args = array(), $context = '', $allow_relaxed_file_ownership = false ) {
|
||||||
|
// Please ensure that this is either 'direct', 'ssh2', 'ftpext', or 'ftpsockets'.
|
||||||
|
- $method = defined( 'FS_METHOD' ) ? FS_METHOD : false;
|
||||||
|
+ $method = defined( 'FS_METHOD' ) ? FS_METHOD : 'direct';
|
||||||
|
|
||||||
|
if ( ! $context ) {
|
||||||
|
$context = WP_CONTENT_DIR;
|
||||||
|
diff -up wordpress/wp-admin/includes/update.php.orig wordpress/wp-admin/includes/update.php
|
||||||
|
--- wordpress/wp-admin/includes/update.php.orig 2026-07-30 16:55:49.613388000 +0200
|
||||||
|
+++ wordpress/wp-admin/includes/update.php 2026-08-25 07:31:37.114050011 +0200
|
||||||
|
@@ -382,12 +382,7 @@ function update_right_now_message() {
|
||||||
|
$cur = get_preferred_from_update_core();
|
||||||
|
|
||||||
|
if ( isset( $cur->response ) && 'upgrade' === $cur->response ) {
|
||||||
|
- $msg .= sprintf(
|
||||||
|
- '<a href="%s" class="button" aria-describedby="wp-version">%s</a>',
|
||||||
|
- network_admin_url( 'update-core.php' ),
|
||||||
|
- /* translators: %s: WordPress version number, or 'Latest' string. */
|
||||||
|
- sprintf( __( 'Update to %s' ), $cur->current ? $cur->current : __( 'Latest' ) )
|
||||||
|
- );
|
||||||
|
+ $msg .= '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
diff -up wordpress/wp-includes/load.php.orig wordpress/wp-includes/load.php
|
||||||
|
--- wordpress/wp-includes/load.php.orig 2026-08-07 21:13:51.810460000 +0200
|
||||||
|
+++ wordpress/wp-includes/load.php 2026-08-25 07:30:05.011640399 +0200
|
||||||
|
@@ -1835,7 +1835,7 @@ function wp_is_file_mod_allowed( $contex
|
||||||
|
* @param bool $file_mod_allowed Whether file modifications are allowed.
|
||||||
|
* @param string $context The usage context.
|
||||||
|
*/
|
||||||
|
- return apply_filters( 'file_mod_allowed', ! defined( 'DISALLOW_FILE_MODS' ) || ! DISALLOW_FILE_MODS, $context );
|
||||||
|
+ return apply_filters( 'file_mod_allowed', defined( 'DISALLOW_FILE_MODS' ) && ! DISALLOW_FILE_MODS, $context );
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
diff -up wordpress/wp-includes/update.php.orig wordpress/wp-includes/update.php
|
||||||
|
--- wordpress/wp-includes/update.php.orig 2026-07-06 23:09:52.376708000 +0200
|
||||||
|
+++ wordpress/wp-includes/update.php 2026-08-25 07:30:05.011769619 +0200
|
||||||
|
@@ -1087,10 +1087,6 @@ function _maybe_update_themes() {
|
||||||
|
* @since 3.1.0
|
||||||
|
*/
|
||||||
|
function wp_schedule_update_checks() {
|
||||||
|
- if ( ! wp_next_scheduled( 'wp_version_check' ) && ! wp_installing() ) {
|
||||||
|
- wp_schedule_event( time(), 'twicedaily', 'wp_version_check' );
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
if ( ! wp_next_scheduled( 'wp_update_plugins' ) && ! wp_installing() ) {
|
||||||
|
wp_schedule_event( time(), 'twicedaily', 'wp_update_plugins' );
|
||||||
|
}
|
||||||
11
wordpress-7.1-remove-jshint-refs.patch
Normal file
11
wordpress-7.1-remove-jshint-refs.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
diff -up wordpress/wp-includes/script-loader.php.orig wordpress/wp-includes/script-loader.php
|
||||||
|
--- wordpress/wp-includes/script-loader.php.orig 2026-08-25 07:26:03.212320361 +0200
|
||||||
|
+++ wordpress/wp-includes/script-loader.php 2026-08-25 07:26:08.488274508 +0200
|
||||||
|
@@ -1205,7 +1205,6 @@ function wp_default_scripts( $scripts )
|
||||||
|
$scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.65.20' );
|
||||||
|
$scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' );
|
||||||
|
$scripts->add( 'esprima', '/wp-includes/js/codemirror/esprima.js', array(), '4.0.1' ); // Deprecated.
|
||||||
|
- $scripts->add( 'jshint', '/wp-includes/js/codemirror/fakejshint.js', array( 'esprima' ), '2.9.5' ); // Deprecated.
|
||||||
|
$scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.3' );
|
||||||
|
$scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '1.9.2' );
|
||||||
|
$scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) );
|
||||||
|
|
@ -5,31 +5,19 @@ Alias /wordpress /usr/share/wordpress
|
||||||
|
|
||||||
<Directory /usr/share/wordpress>
|
<Directory /usr/share/wordpress>
|
||||||
AllowOverride Options
|
AllowOverride Options
|
||||||
<IfModule mod_authz_core.c>
|
|
||||||
# Apache 2.4
|
|
||||||
Require local
|
Require local
|
||||||
</IfModule>
|
|
||||||
<IfModule !mod_authz_core.c>
|
|
||||||
# Apache 2.2
|
|
||||||
Order Deny,Allow
|
|
||||||
Deny from All
|
|
||||||
Allow from 127.0.0.1
|
|
||||||
Allow from ::1
|
|
||||||
</IfModule>
|
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /usr/share/wordpress/wp-content/uploads>
|
<Directory /usr/share/wordpress/wp-content/uploads>
|
||||||
# Deny access to any php file in the uploads directory
|
# Deny access to any php file in the uploads directory
|
||||||
<FilesMatch "\.(php)$">
|
<FilesMatch "\.(php|phar)$">
|
||||||
Order Deny,Allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory /usr/share/wordpress/wp-content/plugins/akismet>
|
<Directory /usr/share/wordpress/wp-content/plugins/akismet>
|
||||||
# Deny access to any php file in the akismet directory
|
# Deny access to any php file in the akismet directory
|
||||||
<FilesMatch "\.(php|txt)$">
|
<FilesMatch "\.(php|txt)$">
|
||||||
Order Deny,Allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
</FilesMatch>
|
</FilesMatch>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
|
||||||
16
wordpress-minify.php
Normal file
16
wordpress-minify.php
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<?php
|
||||||
|
require '/usr/share/php/Patchwork/autoload-jsqueeze.php';
|
||||||
|
|
||||||
|
$in = file_get_contents($_SERVER['argv'][1]);
|
||||||
|
if (!$in) exit(1);
|
||||||
|
$jsqueeze = new \Patchwork\JSqueeze();
|
||||||
|
$out = $jsqueeze->squeeze($in);
|
||||||
|
if ($out) {
|
||||||
|
printf("+ minify from %s to %s: %2d%% of %6d\n",
|
||||||
|
basename($_SERVER['argv'][1]), basename($_SERVER['argv'][2]),
|
||||||
|
round(strlen($out)*100/strlen($in)), strlen($in));
|
||||||
|
file_put_contents($_SERVER['argv'][2], $out);
|
||||||
|
} else {
|
||||||
|
exit(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
||||||
diff -up wordpress/wp-includes/default-constants.php.rhbz522897 wordpress/wp-includes/default-constants.php
|
|
||||||
--- wordpress/wp-includes/default-constants.php.rhbz522897 2010-05-26 04:42:15.000000000 +0200
|
|
||||||
+++ wordpress/wp-includes/default-constants.php 2011-06-02 12:29:57.919714584 +0200
|
|
||||||
@@ -39,7 +39,7 @@ function wp_initial_constants( ) {
|
|
||||||
@ini_set('memory_limit', WP_MEMORY_LIMIT);
|
|
||||||
|
|
||||||
if ( !defined('WP_CONTENT_DIR') )
|
|
||||||
- define( 'WP_CONTENT_DIR', ABSPATH . 'wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
|
|
||||||
+ define( 'WP_CONTENT_DIR', '/var/www/wordpress/wp-content' ); // no trailing slash, full paths only - WP_CONTENT_URL is defined further down
|
|
||||||
|
|
||||||
// Add define('WP_DEBUG', true); to wp-config.php to enable display of notices during development.
|
|
||||||
if ( !defined('WP_DEBUG') )
|
|
||||||
@@ -75,7 +75,7 @@ function wp_initial_constants( ) {
|
|
||||||
*/
|
|
||||||
function wp_plugin_directory_constants( ) {
|
|
||||||
if ( !defined('WP_CONTENT_URL') )
|
|
||||||
- define( 'WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); // full url - WP_CONTENT_DIR is defined further up
|
|
||||||
+ define( 'WP_CONTENT_URL', get_option('siteurl')); // full url - WP_CONTENT_DIR is defined further up
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allows for the plugins directory to be moved from the default location.
|
|
||||||
@@ -100,7 +100,7 @@ function wp_plugin_directory_constants(
|
|
||||||
* @deprecated
|
|
||||||
*/
|
|
||||||
if ( !defined('PLUGINDIR') )
|
|
||||||
- define( 'PLUGINDIR', 'wp-content/plugins' ); // Relative to ABSPATH. For back compat.
|
|
||||||
+ define( 'PLUGINDIR', WP_CONTENT_DIR . 'plugins' ); // Relative to ABSPATH. For back compat.
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Allows for the mu-plugins directory to be moved from the default location.
|
|
||||||
652
wordpress.spec
652
wordpress.spec
|
|
@ -5,125 +5,102 @@
|
||||||
#
|
#
|
||||||
# Please preserve changelog entries
|
# Please preserve changelog entries
|
||||||
#
|
#
|
||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
|
||||||
%global wp_content %{_datadir}/wordpress/wp-content
|
%global wp_content %{_datadir}/wordpress/wp-content
|
||||||
|
|
||||||
%if 0%{?fedora} >= 21
|
%global upstream_version 7.1
|
||||||
%global with_nginx 1
|
#global upstream_prever RC5
|
||||||
%else
|
#global upstream_lower rc5
|
||||||
%global with_nginx 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/1147817 php53-getid3 review
|
|
||||||
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
|
|
||||||
%global with_getid3 1
|
|
||||||
%else
|
|
||||||
%global with_getid3 0
|
|
||||||
%endif
|
|
||||||
#global prever RC1
|
|
||||||
|
|
||||||
Summary: Blog tool and publishing platform
|
Summary: Blog tool and publishing platform
|
||||||
URL: http://www.wordpress.org
|
URL: https://wordpress.org/
|
||||||
Name: wordpress
|
Name: wordpress
|
||||||
Version: 4.7.3
|
Version: %{upstream_version}%{?upstream_prever:~%upstream_lower}
|
||||||
Group: Applications/Publishing
|
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
# Wordpress is GPL-2.0-or-later
|
||||||
|
# php-simplepie is BSD-3-Clause
|
||||||
|
# php-getid3 is LGPL-3.0-or-later (or some others)
|
||||||
|
# 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: http://wordpress.org/%{name}-%{version}%{?prever:-%{prever}}.tar.gz
|
Source0: https://wordpress.org/%{name}-%{upstream_version}%{?upstream_prever:-%{upstream_prever}}.tar.gz
|
||||||
Source1: wordpress-httpd-conf
|
Source1: wordpress-httpd-conf
|
||||||
Source2: README.fedora.wordpress
|
Source2: README.fedora.wordpress
|
||||||
Source3: README.fedora.wordpress-mu
|
Source3: README.fedora.wordpress-mu
|
||||||
Source4: wordpress-nginx-conf
|
Source4: wordpress-nginx-conf
|
||||||
|
# To minify JS assets
|
||||||
|
Source5: wordpress-minify.php
|
||||||
|
|
||||||
# Patch out copyrighted text of Hello, Dolly
|
# Patch out copyrighted text of Hello, Dolly
|
||||||
# (and replace it with Free Software Song)
|
# (and replace it with Free Software Song)
|
||||||
Patch0: wordpress-debian_patches_hello.patch
|
Patch0: wordpress-6.8-hello.patch
|
||||||
# Move wp-content to /var/www/wordpress/
|
|
||||||
# This patch doesn’t work well, see bugzilla.redhat.com/522897
|
|
||||||
Patch1: wordpress-move-wp-content.patch
|
|
||||||
# Drop swfupload: not built from source, not reasonably possible to do
|
|
||||||
Patch2: wordpress-4.4-no_swfupload.patch
|
|
||||||
# Adjust tinymce's media plugin not to use its SWF plugin. This changes
|
# 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"))'
|
# 'p.getParam("flash_video_player_url",u.convertUrl(u.url+"/moxieplayer.swf"))'
|
||||||
# to 'false'
|
# to 'false'
|
||||||
Patch3: wordpress-4.0-tinymce_noflash.patch
|
Patch3: wordpress-5.1-tinymce_noflash.patch
|
||||||
|
# We drop the SWF files from mediaelement
|
||||||
|
Patch4: wordpress-5.6-mediaelement_no_swf.patch
|
||||||
# RPM configuration:
|
# RPM configuration:
|
||||||
# Path to installation
|
# Path to installation
|
||||||
# Disable auto-updater
|
# Disable auto-updater
|
||||||
Patch5: wordpress-4.0-config.patch
|
Patch5: wordpress-5.4-config.patch
|
||||||
# RPM are readonly
|
# RPM are readonly
|
||||||
# disable version check and updated
|
# disable version check and updated
|
||||||
# change DISALLOW_FILE_MODS default value to true
|
# change DISALLOW_FILE_MODS default value to true
|
||||||
# ignore WP_AUTO_UPDATE_CORE (always false)
|
# ignore WP_AUTO_UPDATE_CORE (always false)
|
||||||
Patch6: wordpress-4.6-noupdate.patch
|
Patch6: wordpress-7.1-noupdate.patch
|
||||||
# Use system libraries
|
# Debian patch for jshint
|
||||||
Patch7: wordpress-4.4-systemlibs.patch
|
Patch8: wordpress-7.1-remove-jshint-refs.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: php-cli
|
||||||
|
BuildRequires: php-patchwork-jsqueeze
|
||||||
|
BuildRequires: php(language) >= 7.2
|
||||||
|
|
||||||
%if 0%{?rhel} == 5
|
|
||||||
Requires: php53 >= 5.2.4
|
|
||||||
Requires: php53-simplepie >= 1.3.1
|
|
||||||
%if %{with_getid3}
|
|
||||||
Requires: php53-getid3
|
|
||||||
%endif
|
|
||||||
Requires: php53-mysql
|
|
||||||
|
|
||||||
%else
|
|
||||||
%if %{with_nginx}
|
|
||||||
Requires: webserver
|
Requires: webserver
|
||||||
Requires: php(httpd)
|
Requires: php(httpd)
|
||||||
Suggests: httpd
|
Suggests: httpd
|
||||||
# For directory ownership
|
# For directory ownership
|
||||||
Requires: httpd-filesystem
|
Requires: httpd-filesystem
|
||||||
Requires: nginx-filesystem
|
Requires: nginx-filesystem
|
||||||
|
Requires: php(language) >= 7.2
|
||||||
%else
|
Requires: php-sodium
|
||||||
Requires: php >= 5.2.4
|
|
||||||
%endif
|
|
||||||
Requires: php-simplepie >= 1.3.1
|
|
||||||
%if %{with_getid3}
|
|
||||||
Requires: php-getid3
|
|
||||||
%endif
|
|
||||||
Requires: php-ctype
|
Requires: php-ctype
|
||||||
Requires: php-filter
|
Requires: php-filter
|
||||||
Requires: php-mysqli
|
Requires: php-mysqli
|
||||||
%endif
|
|
||||||
|
|
||||||
# From phpcompatinfo report for version 4.5.3
|
# From phpcompatinfo report for version 4.5.3
|
||||||
Requires: php-curl
|
Requires: php-curl
|
||||||
Requires: php-date
|
|
||||||
Requires: php-dom
|
Requires: php-dom
|
||||||
Requires: php-exif
|
Requires: php-exif
|
||||||
Requires: php-fileinfo
|
Requires: php-fileinfo
|
||||||
Requires: php-ftp
|
|
||||||
Requires: php-gd
|
Requires: php-gd
|
||||||
Requires: php-gettext
|
Requires: php-gettext
|
||||||
Requires: php-hash
|
|
||||||
Requires: php-iconv
|
Requires: php-iconv
|
||||||
|
Requires: php-intl
|
||||||
Requires: php-json
|
Requires: php-json
|
||||||
Requires: php-libxml
|
Requires: php-libxml
|
||||||
Requires: php-mbstring
|
Requires: php-mbstring
|
||||||
Requires: php-openssl
|
Requires: php-openssl
|
||||||
Requires: php-pcre
|
|
||||||
Requires: php-posix
|
|
||||||
Requires: php-simplexml
|
Requires: php-simplexml
|
||||||
Requires: php-sockets
|
|
||||||
Requires: php-spl
|
|
||||||
Requires: php-tokenizer
|
|
||||||
Requires: php-xml
|
Requires: php-xml
|
||||||
|
Requires: php-xmlreader
|
||||||
Requires: php-zip
|
Requires: php-zip
|
||||||
Requires: php-zlib
|
Requires: php-zlib
|
||||||
# Unbundled libraries
|
|
||||||
Requires: php-PHPMailer
|
|
||||||
Requires: httpd
|
Requires: httpd
|
||||||
# ca-certificates (excepted on EL-5)
|
# Unbundled
|
||||||
Requires: %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
|
Requires: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
||||||
|
# Bundled
|
||||||
|
# grep "SIMPLEPIE_VERSION'" wordpress/wp-includes/class-simplepie.php
|
||||||
|
Provides: bundled(php-simplepie) = 1.9.0
|
||||||
|
# grep ' VERSION ' wordpress/wp-includes/ID3/getid3.php
|
||||||
|
Provides: bundled(php-getid3) = 1.9.25
|
||||||
|
# grep ' VERSION ' wordpress/wp-includes/PHPMailer/PHPMailer.php
|
||||||
|
Provides: bundled(php-phpmailer) = 7.1.1
|
||||||
Provides: wordpress-mu = %{version}-%{release}
|
Provides: wordpress-mu = %{version}-%{release}
|
||||||
Obsoletes: wordpress-mu < 2.9.3
|
Obsoletes: wordpress-mu < 2.9.3
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Wordpress is an online publishing / weblog package that makes it very easy,
|
Wordpress is an online publishing / weblog package that makes it very easy,
|
||||||
almost trivial, to get information out to people on the web.
|
almost trivial, to get information out to people on the web.
|
||||||
|
|
@ -134,51 +111,37 @@ Important information in %{_pkgdocdir}/README.fedora
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n wordpress
|
%setup -q -n wordpress
|
||||||
|
|
||||||
# Drop pre-compiled binary lumps: Flash and Silverlight
|
|
||||||
# This means that Flash video fallbacks in Wordpress' media support
|
|
||||||
# and the tinymce plugin, the plupload Flash and Silverlight
|
|
||||||
# uploaders, and swfupload are not available.
|
|
||||||
# To re-introduce these they would have to be built from the
|
|
||||||
# ActionScript source as part of this package build, they cannot be
|
|
||||||
# shipped pre-compiled. Removing plupload.flash.js and
|
|
||||||
# plupload.silverlight.js causes plupload only to try and use the html4
|
|
||||||
# or html5 uploaders; if you just wipe the binaries but leave the
|
|
||||||
# .js files, it will try and use the Flash or Silverlight uploaders
|
|
||||||
# and draw a non-functional button. - AdamW, 2013/08
|
|
||||||
# https://fedoraproject.org/wiki/Packaging:Guidelines#No_inclusion_of_pre-built_binaries_or_libraries
|
|
||||||
|
|
||||||
rm wp-includes/js/mediaelement/silverlightmediaelement.xap
|
|
||||||
rm wp-includes/js/mediaelement/flashmediaelement.swf
|
|
||||||
rm wp-includes/js/tinymce/plugins/media/moxieplayer.swf
|
|
||||||
rm wp-includes/js/plupload/plupload.silverlight.xap
|
|
||||||
rm wp-includes/js/plupload/plupload.flash.swf
|
|
||||||
|
|
||||||
# swfupload can just die in its entirety
|
# swfupload can just die in its entirety
|
||||||
rm -rf wp-includes/js/swfupload
|
rm -rf wp-includes/js/swfupload
|
||||||
|
|
||||||
# remove .htaccess, protected by httpd config file
|
# remove .htaccess, protected by httpd config file
|
||||||
rm wp-content/plugins/akismet/.htaccess
|
rm wp-content/plugins/akismet/.htaccess
|
||||||
|
|
||||||
%patch0 -p1 -b .dolly
|
# only for PHP < 7.0 without random_int
|
||||||
#patch1 -p1 -b .rhbz522897
|
rm -rf wp-includes/random_compat
|
||||||
%patch2 -p1
|
# only for PHP < 7.2 without sodium_crypto_box
|
||||||
%patch3 -p1
|
rm -rf wp-includes/sodium_compat
|
||||||
# Adjust mediaelement not to use its SWF and Silverlight plugins. This
|
|
||||||
# changes 'plugins:["flash,"silverlight","youtube","vimeo"]' to
|
|
||||||
# 'plugins:["youtube","vimeo"]'
|
|
||||||
sed -s 's/"flash","silverlight",//' -i wp-includes/js/mediaelement/mediaelement-and-player.min.js
|
|
||||||
%if %{with_getid3}
|
|
||||||
%patch7 -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# We patch a .js file, used patched file instead of unpatch minified one
|
%patch -P0 -p1 -b .dolly
|
||||||
ln -sf plugin.js wp-includes/js/tinymce/plugins/media/plugin.min.js
|
%patch -P3 -p1
|
||||||
|
# Adjust mediaelement not to use its SWF
|
||||||
|
%patch -P4 -p1
|
||||||
|
%patch -P8 -p1
|
||||||
|
|
||||||
|
# We patch .js files, so minify them
|
||||||
|
php %{SOURCE5} \
|
||||||
|
wp-includes/js/tinymce/plugins/media/plugin.js \
|
||||||
|
wp-includes/js/tinymce/plugins/media/plugin.min.js
|
||||||
|
php %{SOURCE5} \
|
||||||
|
wp-includes/js/mediaelement/mediaelement-and-player.js \
|
||||||
|
wp-includes/js/mediaelement/mediaelement-and-player.min.js
|
||||||
|
php %{SOURCE5} \
|
||||||
|
wp-includes/js/mediaelement/mediaelement.js \
|
||||||
|
wp-includes/js/mediaelement/mediaelement.min.js
|
||||||
|
|
||||||
# Re-Generated the archive
|
# Re-Generated the archive
|
||||||
arc=wp-includes/js/tinymce/wp-tinymce.js
|
arc=wp-includes/js/tinymce/wp-tinymce.js
|
||||||
gunzip -dc $arc.gz | \
|
grep "^// Source" $arc | while read a b c
|
||||||
grep "^// Source" | \
|
|
||||||
while read a b c
|
|
||||||
do
|
do
|
||||||
if [ -f $c ]; then
|
if [ -f $c ]; then
|
||||||
echo -e "\n$a $b $c"
|
echo -e "\n$a $b $c"
|
||||||
|
|
@ -186,18 +149,28 @@ do
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
done >$arc
|
done >$arc.tmp
|
||||||
gzip --force $arc
|
if [ -s $arc.tmp ]; then
|
||||||
ls -l $arc.gz
|
gzip -c $arc > $arc.gz
|
||||||
|
ls -l $arc*
|
||||||
|
mv $arc.tmp $arc
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
# Create RPM configuration
|
# Create RPM configuration
|
||||||
sed -e 's/\r//' wp-config-sample.php >wp-config.php
|
sed -e 's/\r//' wp-config-sample.php >wp-config.php
|
||||||
%patch5 -p1
|
%patch -P5 -p1
|
||||||
%patch6 -p1
|
%patch -P6 -p1
|
||||||
|
|
||||||
# fix file encoding
|
# fix file encoding
|
||||||
sed -i -e 's/\r//' license.txt
|
sed -i -e 's/\r//' license.txt
|
||||||
|
|
||||||
|
: Bundled library versions
|
||||||
|
grep ' VERSION ' wp-includes/SimplePie/src/SimplePie.php
|
||||||
|
grep ' VERSION ' wp-includes/ID3/getid3.php
|
||||||
|
grep ' VERSION ' wp-includes/PHPMailer/PHPMailer.php
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
|
@ -205,9 +178,7 @@ sed -i -e 's/\r//' license.txt
|
||||||
# Apache configuration
|
# Apache configuration
|
||||||
install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/wordpress.conf
|
install -m 0644 -D -p %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/httpd/conf.d/wordpress.conf
|
||||||
|
|
||||||
%if %{with_nginx}
|
|
||||||
install -m 0644 -D -p %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/nginx/default.d/wordpress.conf
|
install -m 0644 -D -p %{SOURCE4} ${RPM_BUILD_ROOT}%{_sysconfdir}/nginx/default.d/wordpress.conf
|
||||||
%endif
|
|
||||||
|
|
||||||
# Application
|
# Application
|
||||||
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress
|
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/wordpress
|
||||||
|
|
@ -228,61 +199,28 @@ find ${RPM_BUILD_ROOT} -type f -empty -exec rm -vf {} \;
|
||||||
# These are docs, remove them from here, docify them later
|
# These are docs, remove them from here, docify them later
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/{license.txt,readme.html}
|
rm -f ${RPM_BUILD_ROOT}%{_datadir}/wordpress/{license.txt,readme.html}
|
||||||
|
|
||||||
# Remove bundled php-simplepie and link to system copy
|
|
||||||
rm ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-simplepie.php
|
|
||||||
rm -r ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/SimplePie
|
|
||||||
%if 0%{?rhel} == 5
|
|
||||||
ln -s /usr/share/php/php53-simplepie/autoloader.php \
|
|
||||||
%else
|
|
||||||
ln -s /usr/share/php/php-simplepie/autoloader.php \
|
|
||||||
%endif
|
|
||||||
${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-simplepie.php
|
|
||||||
|
|
||||||
# Remove bundled PHPMailer and link to system one
|
|
||||||
# Note POP3 is not from PHPMailer but from SquirrelMail
|
|
||||||
for fic in phpmailer smtp; do
|
|
||||||
rm ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-$fic.php
|
|
||||||
ln -sf /usr/share/php/PHPMailer/class.$fic.php \
|
|
||||||
${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/class-$fic.php
|
|
||||||
done
|
|
||||||
|
|
||||||
%if %{with_getid3}
|
|
||||||
# Remove bundled php-getid3
|
|
||||||
rm -r ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/ID3
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Remove bundled ca-bundle.crt
|
# Remove bundled ca-bundle.crt
|
||||||
rm ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/certificates/ca-bundle.crt
|
rm ${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/certificates/ca-bundle.crt
|
||||||
ln -s %{_sysconfdir}/pki/tls/certs/ca-bundle.crt \
|
ln -s %{_sysconfdir}/pki/ca-trust/extracted/pem/tls-ca-bundle.pem \
|
||||||
${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/certificates/ca-bundle.crt
|
${RPM_BUILD_ROOT}%{_datadir}/wordpress/wp-includes/certificates/ca-bundle.crt
|
||||||
|
|
||||||
# Remove backup copies of patches
|
# Remove backup copies of patches
|
||||||
find ${RPM_BUILD_ROOT} \( -name \*.dolly -o -name \*.rhbz522897 -o -name \*.orig \) \
|
find ${RPM_BUILD_ROOT} \( -name \*.dolly -o -name \*.rhbz522897 -o -name \*.orig \) \
|
||||||
-print -delete
|
-print -delete
|
||||||
|
|
||||||
## Move wp-content directory to /var/www location
|
|
||||||
#mkdir -p ${RPM_BUILD_ROOT}%{_localstatedir}/www/wordpress
|
|
||||||
#mv -v ${RPM_BUILD_ROOT}%{wp_content}/ \
|
|
||||||
# ${RPM_BUILD_ROOT}%{_localstatedir}/www/wordpress
|
|
||||||
|
|
||||||
#%post
|
%pretrans -p <lua>
|
||||||
#if [ $1 -eq 2 ] ; then
|
-- Remove link to system library
|
||||||
## In case user has old wp-content from previous version, move it to
|
path = "%{_datadir}/wordpress/wp-includes/PHPMailer"
|
||||||
## the new location.
|
st = posix.stat(path)
|
||||||
#mv -uf %{wp_content}/* %{_localstatedir}/www/wordpress/
|
if st and st.type == "link" then
|
||||||
#/sbin/restorecon -R %{_localstatedir}/www/wordpress/
|
os.remove(path)
|
||||||
#fi
|
end
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/wordpress.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/wordpress.conf
|
||||||
%if %{with_nginx}
|
|
||||||
%config(noreplace) %{_sysconfdir}/nginx/default.d/wordpress.conf
|
%config(noreplace) %{_sysconfdir}/nginx/default.d/wordpress.conf
|
||||||
%endif
|
|
||||||
%dir %{_datadir}/wordpress
|
%dir %{_datadir}/wordpress
|
||||||
%{_datadir}/wordpress/wp-admin
|
%{_datadir}/wordpress/wp-admin
|
||||||
%{_datadir}/wordpress/wp-includes
|
%{_datadir}/wordpress/wp-includes
|
||||||
|
|
@ -307,9 +245,378 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 25 2026 Remi Collet <remi@remirepo.net> -7.1-1
|
||||||
|
- WordPress 7.1 “Mary Lou”
|
||||||
|
|
||||||
|
* Thu Aug 13 2026 Remi Collet <remi@remirepo.net> -7.0.4-1
|
||||||
|
- WordPress 7.0.4 Release
|
||||||
|
|
||||||
|
* Fri Aug 7 2026 Remi Collet <remi@remirepo.net> -7.0.3-1
|
||||||
|
- WordPress 7.0.3 Release
|
||||||
|
|
||||||
|
* Tue Jul 21 2026 Remi Collet <remi@remirepo.net> -7.0.2-1
|
||||||
|
- WordPress 7.0.2 Release
|
||||||
|
|
||||||
|
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 10 2026 Remi Collet <remi@remirepo.net> -7.0.1-1
|
||||||
|
- WordPress 7.0.1 Maintenance Release
|
||||||
|
|
||||||
|
* Tue May 26 2026 Remi Collet <remi@remirepo.net> -7.0-1
|
||||||
|
- WordPress 7.0 “Armstrong”
|
||||||
|
|
||||||
|
* Thu Mar 12 2026 Remi Collet <remi@remirepo.net> - 6.9.4-1
|
||||||
|
- WordPress 6.9.4 Release
|
||||||
|
|
||||||
|
* Wed Mar 11 2026 Remi Collet <remi@remirepo.net> - 6.9.3-1
|
||||||
|
- WordPress 6.9.3 Release
|
||||||
|
|
||||||
|
* Wed Feb 4 2026 Remi Collet <remi@remirepo.net> - 6.9.1-1
|
||||||
|
- WordPress 6.9.1 Maintenance Release
|
||||||
|
|
||||||
|
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 6.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Dec 3 2025 Remi Collet <remi@remirepo.net> - 6.9-1
|
||||||
|
- WordPress 6.9 “Gene”
|
||||||
|
|
||||||
|
* Wed Oct 1 2025 Remi Collet <remi@remirepo.net> - 6.8.3-1
|
||||||
|
- WordPress 6.8.3 Security Release
|
||||||
|
|
||||||
|
* Mon Jul 28 2025 Remi Collet <remi@remirepo.net> - 6.8.2-3
|
||||||
|
- fix system certificates path
|
||||||
|
|
||||||
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.8.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 22 2025 Remi Collet <remi@remirepo.net> - 6.8.2-1
|
||||||
|
- WordPress 6.8.2 Maintenance Release
|
||||||
|
|
||||||
|
* Mon May 5 2025 Remi Collet <remi@remirepo.net> - 6.8.1-1
|
||||||
|
- WordPress 6.8.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Apr 16 2025 Remi Collet <remi@remirepo.net> - 6.8-1
|
||||||
|
- WordPress 6.8 “Cecil”
|
||||||
|
|
||||||
|
* Wed Feb 12 2025 Remi Collet <remi@remirepo.net> - 6.7.2-1
|
||||||
|
- WordPress 6.7.2 Maintenance Release
|
||||||
|
|
||||||
|
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 6.7.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 22 2024 Remi Collet <remi@remirepo.net> - 6.7.1-1
|
||||||
|
- WordPress 6.7.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Nov 13 2024 Remi Collet <remi@remirepo.net> - 6.7-1
|
||||||
|
- WordPress 6.7 “Rollins”
|
||||||
|
|
||||||
|
* Wed Sep 11 2024 Remi Collet <remi@remirepo.net> - 6.6.2-1
|
||||||
|
- WordPress 6.6.2 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Jul 24 2024 Remi Collet <remi@remirepo.net> - 6.6.1-1
|
||||||
|
- WordPress 6.6.1 Maintenance Release
|
||||||
|
|
||||||
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 17 2024 Remi Collet <remi@remirepo.net> - 6.6-1
|
||||||
|
- WordPress 6.6 “Dorsey”
|
||||||
|
|
||||||
|
* Tue Jul 2 2024 Remi Collet <remi@remirepo.net> - 6.5.5-1
|
||||||
|
- WordPress 6.4.2 Maintenance & Security Release
|
||||||
|
|
||||||
|
* Thu Jun 6 2024 Remi Collet <remi@remirepo.net> - 6.5.4-1
|
||||||
|
- WordPress 6.5.4 Maintenance Release
|
||||||
|
|
||||||
|
* Mon May 13 2024 Remi Collet <remi@remirepo.net> - 6.5.3-1
|
||||||
|
- WordPress 6.5.3 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Apr 10 2024 Remi Collet <remi@remirepo.net> - 6.5.2-1
|
||||||
|
- WordPress 6.5.2 Maintenance and Security Release
|
||||||
|
|
||||||
|
* Wed Apr 3 2024 Remi Collet <remi@remirepo.net> - 6.5-1
|
||||||
|
- WordPress 6.5 “Regina”
|
||||||
|
|
||||||
|
* Thu Feb 1 2024 Remi Collet <remi@remirepo.net> - 6.4.3-1
|
||||||
|
- WordPress 6.4.3 Maintenance & Security Release
|
||||||
|
|
||||||
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Dec 7 2023 Remi Collet <remi@remirepo.net> - 6.4.2-1
|
||||||
|
- WordPress 6.4.2 Maintenance & Security Release
|
||||||
|
|
||||||
|
* Thu Nov 9 2023 Remi Collet <remi@remirepo.net> - 6.4.1-1
|
||||||
|
- WordPress 6.4.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Nov 8 2023 Remi Collet <remi@remirepo.net> - 6.4-1
|
||||||
|
- WordPress 6.4 “Shirley”
|
||||||
|
|
||||||
|
* Mon Oct 16 2023 Remi Collet <remi@remirepo.net> - 6.3.2-1
|
||||||
|
- WordPress 6.3.2 – Maintenance and Security release
|
||||||
|
|
||||||
|
* Thu Aug 31 2023 Remi Collet <remi@remirepo.net> - 6.3.1-1
|
||||||
|
* WordPress 6.3.1 Maintenance Release
|
||||||
|
|
||||||
|
* Sun Aug 20 2023 Remi Collet <remi@remirepo.net> - 6.3-1
|
||||||
|
- WordPress 6.3 “Lionel”
|
||||||
|
|
||||||
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun May 21 2023 Remi Collet <remi@remirepo.net> - 6.2.2-1
|
||||||
|
- WordPress 6.2.2 Security Release
|
||||||
|
|
||||||
|
* Wed May 17 2023 Remi Collet <remi@remirepo.net> - 6.2.1-1
|
||||||
|
- WordPress 6.2.1 Maintenance & Security Release
|
||||||
|
|
||||||
|
* Thu Mar 30 2023 Remi Collet <remi@remirepo.net> - 6.2-1
|
||||||
|
- WordPress 6.2 “Dolphy”
|
||||||
|
- use SPDX license IDs
|
||||||
|
|
||||||
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Nov 16 2022 Remi Collet <remi@remirepo.net> - 6.1.1-1
|
||||||
|
- WordPress 6.1.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Nov 2 2022 Remi Collet <remi@remirepo.net> - 6.1-1
|
||||||
|
- WordPress 6.1 “Misha”
|
||||||
|
|
||||||
|
* Tue Oct 18 2022 Remi Collet <remi@remirepo.net> - 6.0.3-1
|
||||||
|
- WordPress 6.0.3 Security Release
|
||||||
|
|
||||||
|
* Thu Sep 8 2022 Remi Collet <remi@remirepo.net> - 6.0.2-1
|
||||||
|
- WordPress 6.0.2 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 13 2022 Remi Collet <remi@remirepo.net> - 6.0.1-1
|
||||||
|
- WordPress 6.0.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed May 25 2022 Remi Collet <remi@remirepo.net> - 6.0-1
|
||||||
|
- WordPress 6.0 “Arturo”
|
||||||
|
|
||||||
|
* Wed Apr 6 2022 Remi Collet <remi@remirepo.net> - 5.9.3-1
|
||||||
|
- WordPress 5.9.3 Maintenance Release
|
||||||
|
|
||||||
|
* Fri Mar 11 2022 Remi Collet <remi@remirepo.net> - 5.9.2-1
|
||||||
|
- WordPress 5.9.2 Security & Maintenance Release
|
||||||
|
|
||||||
|
* Wed Feb 23 2022 Remi Collet <remi@remirepo.net> - 5.9.1-1
|
||||||
|
- WordPress 5.9.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Jan 26 2022 Remi Collet <remi@remirepo.net> - 5.9-1
|
||||||
|
- WordPress 5.9 Josephine
|
||||||
|
|
||||||
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.8.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 7 2022 Remi Collet <remi@remirepo.net> - 5.8.3-1
|
||||||
|
- WordPress 5.8.3 Security Release
|
||||||
|
|
||||||
|
* Tue Dec 7 2021 Remi Collet <remi@remirepo.net> - 5.8.2-2
|
||||||
|
- use bundled libraries
|
||||||
|
|
||||||
|
* Thu Nov 11 2021 Remi Collet <remi@remirepo.net> - 5.8.2-1
|
||||||
|
- WordPress 5.8.2 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Thu Sep 9 2021 Remi Collet <remi@remirepo.net> - 5.8.1-1
|
||||||
|
- WordPress 5.8.1 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Remi Collet <remi@remirepo.net> - 5.8-1
|
||||||
|
- WordPress 5.8 Tatum
|
||||||
|
|
||||||
|
* Thu May 13 2021 Remi Collet <remi@remirepo.net> - 5.7.2-1
|
||||||
|
- WordPress 5.7.2 Security Release
|
||||||
|
|
||||||
|
* Thu Apr 15 2021 Remi Collet <remi@remirepo.net> - 5.7.1-1
|
||||||
|
- WordPress 5.7.1 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Wed Mar 10 2021 Remi Collet <remi@remirepo.net> - 5.7-1
|
||||||
|
- WordPress 5.7 “Esperanza”
|
||||||
|
|
||||||
|
* Tue Feb 23 2021 Remi Collet <remi@remirepo.net> - 5.6.2-1
|
||||||
|
- WordPress 5.6.2 Maintenance Release
|
||||||
|
|
||||||
|
* Fri Feb 5 2021 Remi Collet <remi@remirepo.net> - 5.6.1-1
|
||||||
|
- WordPress 5.6.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Dec 9 2020 Remi Collet <remi@remirepo.net> - 5.6-1
|
||||||
|
- WordPress 5.6 “Simone”
|
||||||
|
|
||||||
|
* Sat Oct 31 2020 Remi Collet <remi@remirepo.net> - 5.5.3-1
|
||||||
|
- WordPress 5.5.3 Maintenance Release
|
||||||
|
|
||||||
|
* Fri Oct 30 2020 Remi Collet <remi@remirepo.net> - 5.5.2-1
|
||||||
|
- WordPress 5.5.2 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Tue Oct 20 2020 Remi Collet <remi@remirepo.net> - 5.5.1-2
|
||||||
|
- Change FS_METHOD default to 'direct' to allow enabling FILE_MODS #1889644
|
||||||
|
|
||||||
|
* Wed Sep 2 2020 Remi Collet <remi@remirepo.net> - 5.5.1-1
|
||||||
|
- WordPress 5.5.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Aug 12 2020 Remi Collet <remi@remirepo.net> - 5.5-1
|
||||||
|
- WordPress 5.5 “Eckstine”
|
||||||
|
- requires php-phpmailer6 instead of old php-PHPMailer
|
||||||
|
|
||||||
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.4.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 11 2020 Remi Collet <remi@remirepo.net> - 5.4.2-1
|
||||||
|
- WordPress 5.4.2 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Thu Apr 30 2020 Remi Collet <remi@remirepo.net> - 5.4.1-1
|
||||||
|
- WordPress 5.4.1 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Wed Apr 1 2020 Remi Collet <remi@remirepo.net> - 5.4-1
|
||||||
|
- WordPress 5.4 “Adderley”
|
||||||
|
|
||||||
|
* Mon Mar 30 2020 Remi Collet <remi@remirepo.net> - 5.4~rc5-1
|
||||||
|
- WordPress 5.4 RC 5
|
||||||
|
|
||||||
|
* Wed Mar 25 2020 Remi Collet <remi@remirepo.net> - 5.4~rc4-1
|
||||||
|
- WordPress 5.4 RC 4
|
||||||
|
|
||||||
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.3.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Dec 19 2019 Remi Collet <remi@remirepo.net> - 5.3.2-1
|
||||||
|
- WordPress 5.3.2 Maintenance Release
|
||||||
|
|
||||||
|
* Fri Dec 13 2019 Remi Collet <remi@remirepo.net> - 5.3.1-1
|
||||||
|
- WordPress 5.3.1 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Wed Nov 13 2019 Remi Collet <remi@remirepo.net> - 5.3-1
|
||||||
|
- WordPress 5.3 “Kirk”
|
||||||
|
|
||||||
|
* Tue Oct 15 2019 Remi Collet <remi@remirepo.net> - 5.2.4-1
|
||||||
|
- WordPress 5.2.4 Security Release
|
||||||
|
|
||||||
|
* Thu Sep 5 2019 Remi Collet <remi@remirepo.net> - 5.2.3-1
|
||||||
|
- WordPress 5.2.3 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 19 2019 Remi Collet <remi@remirepo.net> - 5.2.2-1
|
||||||
|
- WordPress 5.2.2 Maintenance Release
|
||||||
|
|
||||||
|
* Wed May 22 2019 Remi Collet <remi@remirepo.net> - 5.2.1-1
|
||||||
|
- WordPress 5.2.1 Maintenance Release
|
||||||
|
|
||||||
|
* Wed May 8 2019 Remi Collet <remi@remirepo.net> - 5.2.0-1
|
||||||
|
- WordPress 5.2 “Jaco”
|
||||||
|
|
||||||
|
* Fri Apr 26 2019 Remi Collet <remi@remirepo.net> - 5.2.0~rc1-1
|
||||||
|
- WordPress 5.2 RC 1
|
||||||
|
|
||||||
|
* Wed Apr 17 2019 Remi Collet <remi@remirepo.net> - 5.2.0~beta3-1
|
||||||
|
- WordPress 5.2 Beta 3
|
||||||
|
|
||||||
|
* Tue Apr 9 2019 Remi Collet <remi@remirepo.net> - 5.2.0~beta2-1
|
||||||
|
- WordPress 5.2 Beta 2
|
||||||
|
|
||||||
|
* Thu Mar 28 2019 Remi Collet <remi@remirepo.net> - 5.2.0~beta1-1
|
||||||
|
- WordPress 5.2 Beta 1
|
||||||
|
- raise dependency on PHP 7.2
|
||||||
|
|
||||||
|
* Fri Mar 22 2019 Remi Collet <remi@remirepo.net> - 5.1.1-4
|
||||||
|
- fix wp-tinymce.js is missing, wp-tinymce.js.gz is empty #1691524
|
||||||
|
|
||||||
|
* Wed Mar 13 2019 Remi Collet <remi@remirepo.net> - 5.1.1-1
|
||||||
|
- WordPress 5.1.1 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Fri Feb 22 2019 Remi Collet <remi@remirepo.net> - 5.1-1
|
||||||
|
- WordPress 5.1 “Betty”
|
||||||
|
|
||||||
|
* Thu Feb 21 2019 Remi Collet <remi@remirepo.net> - 5.1~RC2-1
|
||||||
|
- WordPress 5.1-RC2
|
||||||
|
|
||||||
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 11 2019 Remi Collet <remi@remirepo.net> - 5.0.3-1
|
||||||
|
- WordPress 5.0.3 Maintenance Release
|
||||||
|
|
||||||
|
* Thu Dec 20 2018 Remi Collet <remi@remirepo.net> - 5.0.2-1
|
||||||
|
- WordPress 5.0.2 Maintenance Release
|
||||||
|
|
||||||
|
* Thu Dec 13 2018 Remi Collet <remi@remirepo.net> - 5.0.1-1
|
||||||
|
- WordPress 5.0.1 Security Release
|
||||||
|
|
||||||
|
* Wed Dec 12 2018 Remi Collet <remi@remirepo.net> - 5.0-1
|
||||||
|
- WordPress 5.0 “Bebo”
|
||||||
|
|
||||||
|
* Fri Aug 03 2018 Kevin Fenzi <kevin@scrye.com> - 4.9.8-1
|
||||||
|
- Update to 4.9.8. Fixes bug #1611877
|
||||||
|
|
||||||
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.9.7-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 05 2018 Kevin Fenzi <kevin@scrye.com> - 4.9.7-1
|
||||||
|
- Update to 4.9.7 security update. Fixes bug #1598612
|
||||||
|
- Fixes CVE-2018-12895 bugs #1595584 and #1595585
|
||||||
|
|
||||||
|
* Fri May 18 2018 Kevin Fenzi <kevin@scrye.com> - 4.9.6-1
|
||||||
|
- Update to 4.9.6. Fixes bug #1579584
|
||||||
|
|
||||||
|
* Wed Apr 4 2018 Remi Collet <remi@remirepo.net> - 4.9.5-1
|
||||||
|
- WordPress 4.9.5 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Wed Feb 7 2018 Remi Collet <remi@remirepo.net> - 4.9.4-1
|
||||||
|
- WordPress 4.9.4 Maintenance Release
|
||||||
|
|
||||||
|
* Wed Jan 17 2018 Remi Collet <remi@remirepo.net> - 4.9.2-1
|
||||||
|
- WordPress 4.9.2 Security and Maintenance Release
|
||||||
|
- drop non-free jshint.js file #1528765
|
||||||
|
|
||||||
|
* Thu Nov 30 2017 Remi Collet <remi@remirepo.net> - 4.9.1-1
|
||||||
|
- WordPress 4.9.1 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Thu Nov 16 2017 Remi Collet <remi@remirepo.net> - 4.9-1
|
||||||
|
- WordPress 4.9 “Tipton”
|
||||||
|
- minify patched JS files
|
||||||
|
|
||||||
|
* Tue Oct 31 2017 Kevin Fenzi <kevin@scrye.com> - 4.8.3-1
|
||||||
|
- Update to 4.8.3. Security release. Fixes bug #1508255
|
||||||
|
|
||||||
|
* Wed Sep 20 2017 Remi Collet <remi@remirepo.net> - 4.8.2-1
|
||||||
|
- Update to 4.8.2 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Thu Aug 3 2017 Remi Collet <remi@remirepo.net> - 4.8.1-1
|
||||||
|
- Update to 4.8.1 Maintenance Release.
|
||||||
|
|
||||||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 9 2017 Remi Collet <remi@remirepo.net> - 4.8-1
|
||||||
|
- WordPress 4.8 “Evans”
|
||||||
|
|
||||||
|
* Wed May 17 2017 Remi Collet <remi@remirepo.net> - 4.7.5-1
|
||||||
|
- WordPress 4.7.5 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Wed May 10 2017 Remi Collet <remi@remirepo.net> - 4.7.4-2
|
||||||
|
- protect .phar from being executed from uploads directory
|
||||||
|
|
||||||
|
* Sat Apr 22 2017 Kevin Fenzi <kevin@scrye.com> - 4.7.4-1
|
||||||
|
- Update to 4.7.4. Maintenance Release.
|
||||||
|
|
||||||
* Tue Mar 7 2017 Remi Collet <remi@fedoraproject.org> - 4.7.3-1
|
* Tue Mar 7 2017 Remi Collet <remi@fedoraproject.org> - 4.7.3-1
|
||||||
- WordPress 4.7.3 Security and Maintenance Release
|
- WordPress 4.7.3 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Jan 27 2017 Remi Collet <remi@fedoraproject.org> - 4.7.2-1
|
* Fri Jan 27 2017 Remi Collet <remi@fedoraproject.org> - 4.7.2-1
|
||||||
- WordPress 4.7.2 Security Release
|
- WordPress 4.7.2 Security Release
|
||||||
|
|
||||||
|
|
@ -326,8 +633,14 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
- WordPress 4.6 “Pepper”
|
- WordPress 4.6 “Pepper”
|
||||||
- fix directory permissions #1305687
|
- fix directory permissions #1305687
|
||||||
|
|
||||||
|
* Mon Jun 27 2016 Remi Collet <remi@fedoraproject.org> - 4.5.3-2
|
||||||
|
- add patch to drop ereg dependency, see
|
||||||
|
https://core.trac.wordpress.org/ticket/37194
|
||||||
|
|
||||||
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> - 4.5.3-1
|
* Wed Jun 22 2016 Remi Collet <remi@fedoraproject.org> - 4.5.3-1
|
||||||
- WordPress 4.5.3 Maintenance and Security Release
|
- WordPress 4.5.3 Maintenance and Security Release
|
||||||
|
|
||||||
|
* Sat May 14 2016 Remi Collet <remi@fedoraproject.org> - 4.5.2-2
|
||||||
- never bundle ca-bundle.crt (EL-5)
|
- never bundle ca-bundle.crt (EL-5)
|
||||||
- provide nginx configuration (fedora)
|
- provide nginx configuration (fedora)
|
||||||
- drop mandatory dependency on httpd (suggested) #1336091
|
- drop mandatory dependency on httpd (suggested) #1336091
|
||||||
|
|
@ -342,6 +655,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
* Wed Apr 13 2016 Remi Collet <remi@fedoraproject.org> - 4.5-1
|
* Wed Apr 13 2016 Remi Collet <remi@fedoraproject.org> - 4.5-1
|
||||||
- WordPress 4.5 “Coleman”
|
- WordPress 4.5 “Coleman”
|
||||||
|
|
||||||
|
* Fri Mar 25 2016 Remi Collet <remi@fedoraproject.org> - 4.5-0.1.RC1
|
||||||
|
- WordPress 4.5 Release Candidate
|
||||||
|
|
||||||
* Wed Feb 3 2016 Remi Collet <remi@fedoraproject.org> - 4.4.2-1
|
* Wed Feb 3 2016 Remi Collet <remi@fedoraproject.org> - 4.4.2-1
|
||||||
- WordPress 4.4.2 Security and Maintenance Release
|
- WordPress 4.4.2 Security and Maintenance Release
|
||||||
|
|
||||||
|
|
@ -363,15 +679,17 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
* Fri Jul 24 2015 Remi Collet <remi@fedoraproject.org> - 4.2.3-1
|
* Fri Jul 24 2015 Remi Collet <remi@fedoraproject.org> - 4.2.3-1
|
||||||
- WordPress 4.2.3 Security and Maintenance Release
|
- WordPress 4.2.3 Security and Maintenance Release
|
||||||
|
|
||||||
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
* Thu May 7 2015 Remi Collet <remi@fedoraproject.org> - 4.2.2-1
|
* Thu May 7 2015 Remi Collet <remi@fedoraproject.org> - 4.2.2-1
|
||||||
- WordPress 4.2.2 Security and Maintenance Release
|
- WordPress 4.2.2 Security and Maintenance Release
|
||||||
|
|
||||||
* Tue Apr 28 2015 Remi Collet <remi@fedoraproject.org> - 4.2.1-1
|
* Tue Apr 28 2015 Remi Collet <remi@fedoraproject.org> - 4.2.1-1
|
||||||
- WordPress 4.2.1 Security Release
|
- WordPress 4.2.1 Security Release
|
||||||
- WordPress 4.2 “Powell”
|
|
||||||
|
|
||||||
* Fri Apr 24 2015 Remi Collet <remi@fedoraproject.org> - 4.1.3-1
|
* Fri Apr 24 2015 Remi Collet <remi@fedoraproject.org> - 4.2-1
|
||||||
- WordPress 4.1.3 Maintenance Release
|
- WordPress 4.2 “Powell”
|
||||||
|
|
||||||
* Thu Apr 23 2015 Remi Collet <remi@fedoraproject.org> - 4.1.2-1
|
* Thu Apr 23 2015 Remi Collet <remi@fedoraproject.org> - 4.1.2-1
|
||||||
- WordPress 4.1.2 Security Release
|
- WordPress 4.1.2 Security Release
|
||||||
|
|
@ -384,6 +702,8 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
* Fri Nov 21 2014 Remi Collet <remi@fedoraproject.org> - 4.0.1-1
|
* Fri Nov 21 2014 Remi Collet <remi@fedoraproject.org> - 4.0.1-1
|
||||||
- WordPress 4.0.1 Security Release
|
- WordPress 4.0.1 Security Release
|
||||||
|
|
||||||
|
* Tue Sep 30 2014 Remi Collet <remi@fedoraproject.org> - 4.0-3
|
||||||
- use system php-getid3 when available #1145574
|
- use system php-getid3 when available #1145574
|
||||||
|
|
||||||
* Mon Sep 8 2014 Remi Collet <remi@fedoraproject.org> - 4.0-1
|
* Mon Sep 8 2014 Remi Collet <remi@fedoraproject.org> - 4.0-1
|
||||||
|
|
@ -397,6 +717,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
- update to 3.9.2 Security Release #1127547
|
- update to 3.9.2 Security Release #1127547
|
||||||
- config file only readable by apache user (httpd or php-fpm) #1124582
|
- config file only readable by apache user (httpd or php-fpm) #1124582
|
||||||
|
|
||||||
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
* Fri May 9 2014 Remi Collet <remi@fedoraproject.org> - 3.9.1-1
|
* Fri May 9 2014 Remi Collet <remi@fedoraproject.org> - 3.9.1-1
|
||||||
- update to 3.9.1 Maintenance Release
|
- update to 3.9.1 Maintenance Release
|
||||||
|
|
||||||
|
|
@ -436,8 +759,18 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
* Fri Oct 25 2013 Remi Collet <rcollet@redhat.com> - 3.7-1
|
* Fri Oct 25 2013 Remi Collet <rcollet@redhat.com> - 3.7-1
|
||||||
- update to 3.7
|
- update to 3.7
|
||||||
- requires ca-certificates for ca-bundle.crt
|
- requires ca-certificates for ca-bundle.crt
|
||||||
|
|
||||||
|
* Thu Sep 12 2013 Paul Wouters <pwouters@redhat.com> - 3.6.1-1
|
||||||
|
- update to 3.6.1, various bugs and security fixes:
|
||||||
|
CVE-2013-4338 CVE-2013-4339 CVE-2013-4340
|
||||||
|
|
||||||
|
* Thu Aug 22 2013 Adam Williamson <awilliam@redhat.com> - 3.6.0-1
|
||||||
|
- update to 3.6.0
|
||||||
- drop pre-compiled Flash and Silverlight binaries - #1000267
|
- drop pre-compiled Flash and Silverlight binaries - #1000267
|
||||||
|
|
||||||
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jun 24 2013 Remi Collet <rcollet@redhat.com> - 3.5.2-1
|
* Mon Jun 24 2013 Remi Collet <rcollet@redhat.com> - 3.5.2-1
|
||||||
- version 3.5.2, various bug and security fixes:
|
- version 3.5.2, various bug and security fixes:
|
||||||
CVE-2013-2173 CVE-2013-2199 CVE-2013-2200 CVE-2013-2201
|
CVE-2013-2173 CVE-2013-2199 CVE-2013-2200 CVE-2013-2201
|
||||||
|
|
@ -460,13 +793,36 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||||
* Wed Jan 2 2013 Remi Collet <rcollet@redhat.com> - 3.5-3
|
* Wed Jan 2 2013 Remi Collet <rcollet@redhat.com> - 3.5-3
|
||||||
- fix links to system PHPMailer library
|
- fix links to system PHPMailer library
|
||||||
|
|
||||||
|
* Sun Dec 16 2012 Remi Collet <rcollet@redhat.com> - 3.5-2
|
||||||
|
- fix use of system Simplepie
|
||||||
|
- give access from local (httpd 2.4)
|
||||||
|
|
||||||
* Wed Dec 12 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-1
|
* Wed Dec 12 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-1
|
||||||
- New upstream release.
|
- New upstream release.
|
||||||
|
|
||||||
|
* Tue Dec 04 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-0.5.RC3
|
||||||
|
- New upstream release candidate.
|
||||||
|
|
||||||
|
* Fri Nov 30 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-0.5.RC2
|
||||||
|
- New upstream release candidate.
|
||||||
|
|
||||||
|
* Sat Nov 24 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-0.5.RC1
|
||||||
|
- New upstream release candidate.
|
||||||
|
|
||||||
|
* Tue Nov 13 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-0.4.beta3
|
||||||
|
- New upstream beta3 version
|
||||||
|
|
||||||
* Mon Oct 29 2012 Remi Collet <rcollet@redhat.com> - 3.5-0.3.beta2
|
* Mon Oct 29 2012 Remi Collet <rcollet@redhat.com> - 3.5-0.3.beta2
|
||||||
- use system PHPMailer
|
- use system PHPMailer
|
||||||
- requires needed php extensions
|
- requires needed php extensions
|
||||||
|
|
||||||
|
* Sat Oct 13 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-0.2.beta2
|
||||||
|
- New upstream beta2 version
|
||||||
|
|
||||||
|
* Thu Oct 04 2012 Matěj Cepl <mcepl@redhat.com> - 3.5-0.2.beta1
|
||||||
|
- New upstream beta1 version
|
||||||
|
- Don’t even bother with removing gettext.php ... it is not used anymore
|
||||||
|
|
||||||
* Thu Sep 06 2012 Matej Cepl <mcepl@redhat.com> - 3.4.2-2
|
* Thu Sep 06 2012 Matej Cepl <mcepl@redhat.com> - 3.4.2-2
|
||||||
- Upstream security update.
|
- Upstream security update.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue