[arch-commits] Commit in wordpress/trunk (3 files)

Alexander Rødseth arodseth at archlinux.org
Sat Dec 8 18:05:31 UTC 2018


    Date: Saturday, December 8, 2018 @ 18:05:30
  Author: arodseth
Revision: 412476

upgpkg: wordpress 5.0-1

Modified:
  wordpress/trunk/PKGBUILD
  wordpress/trunk/password_reset_exploit.patch
  wordpress/trunk/wordpress.install

------------------------------+
 PKGBUILD                     |   12 ++++++------
 password_reset_exploit.patch |    4 ++--
 wordpress.install            |    8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-08 16:43:58 UTC (rev 412475)
+++ PKGBUILD	2018-12-08 18:05:30 UTC (rev 412476)
@@ -1,4 +1,4 @@
-# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 # Contributor: Thomas Dziedzic <gostrc at gmail.com>
 # Contributor: Jose Valecillos <valecillosjg at gmail.com>
 # Contributor: Kaos <gianlucaatlas at gmail.com>
@@ -5,7 +5,7 @@
 # Contributor: Christopher Rogers <slaxemulator at gmail.com>
 
 pkgname=wordpress
-pkgver=4.9.8
+pkgver=5.0
 pkgrel=1
 pkgdesc='Blog tool and publishing platform'
 arch=('any')
@@ -12,15 +12,15 @@
 url='https://wordpress.org/'
 license=('GPL')
 depends=('php')
-optdepends=('nginx: Web server for serving Wordpress'
-            'apache: Web server for serving Wordpress'
+optdepends=('nginx: Web server for serving WordPress'
+            'apache: Web server for serving WordPress'
             'mariadb: Database server')
 options=('emptydirs')
 install="$pkgname.install"
 source=("https://wordpress.org/$pkgname-$pkgver.tar.gz"
         'password_reset_exploit.patch')
-sha256sums=('37acdd94dd45257d3afa055b9c31f62d9daa5c5d0bfc4ee37f4f62c30bf0686b'
-            '68244b5bd534b21c88dc25074bf1fbc7a26d601cee69d78a467b1287f9eb2eed')
+sha256sums=('007e854bd89bced242e04b097c06672de2c719b4386810e297da9dfb2bcda1ef'
+            'e73886f5cd0dd79a1ddc64113b181df0d32cefc975a09796994e885d75361726')
 
 prepare() {
   cd "$pkgname"

Modified: password_reset_exploit.patch
===================================================================
--- password_reset_exploit.patch	2018-12-08 16:43:58 UTC (rev 412475)
+++ password_reset_exploit.patch	2018-12-08 18:05:30 UTC (rev 412476)
@@ -3,7 +3,7 @@
 @@ -321,15 +321,21 @@
  	 * https://core.trac.wordpress.org/ticket/5007.
  	 */
- 
+
 -	if ( !isset( $from_email ) ) {
 -		// Get the site domain and get rid of www.
 -		$sitename = strtolower( $_SERVER['SERVER_NAME'] );
@@ -28,6 +28,6 @@
 +        }
 +        $from_email = 'wordpress@' . $sitename;
 +    }
- 
+
  	/**
  	 * Filters the email address to send from.

Modified: wordpress.install
===================================================================
--- wordpress.install	2018-12-08 16:43:58 UTC (rev 412475)
+++ wordpress.install	2018-12-08 18:05:30 UTC (rev 412476)
@@ -2,12 +2,12 @@
   # Make uploads work
   install -dm775 /usr/share/webapps/wordpress/wp-content/uploads
   chown http:http /usr/share/webapps/wordpress/wp-content/uploads
-  echo 'You can now configure your (PHP compatible) web server to run Wordpress'
+  echo 'You can now configure your (PHP compatible) web server to run WordPress'
 }
 
 pre_remove() {
   cp -r /usr/share/webapps/wordpress /usr/share/webapps/wordpress_backup
-  echo 'Your Wordpress folder were backed up to /usr/share/webapps/wordpress_backup'
+  echo 'Your WordPress folder was backed up to /usr/share/webapps/wordpress_backup'
 }
 
 post_remove() {
@@ -15,7 +15,7 @@
 }
 
 post_upgrade() {
-  echo 'Wordpress is in /usr/share/webapps now'
+  echo 'WordPress has been installed to /usr/share/webapps'
 }
 
-# vim:ts=2 sw=2 et:
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list