wordpress version bump
This commit is contained in:
5
www-apps/wordpress/Manifest
Normal file
5
www-apps/wordpress/Manifest
Normal file
@@ -0,0 +1,5 @@
|
||||
AUX postinstall-en.txt 1554 SHA256 85ecf09ffd839186f5aeba6847798827191d56c6fb7798783100b9fecdcf64df SHA512 d03a9da686ea1806e0583706af271738fa0b912cf7d718c096e2efbdb03b178e5b4137ec6ba5d91d85ca71f3403ca45e61eb992467cf05846e02dc10f5bbb03c WHIRLPOOL a9e8d9e1da2c05f3a60cb4e62ec012afe6a64ebcab76ed07eb1aed0c38d01c318a9c9535f4bb0af5e8618f301cdbe5b6cc4fb2c92f59a92404e18468b28e022e
|
||||
AUX postupgrade-en.txt 1653 SHA256 e03f88067a62e5d9cb7e418face5f816b65523f873bfaabdca69efa23377e754 SHA512 3fa8b143a4cd8e23798423427ec31174947eeccfdbc5611dca3b32e02484f68602713dd75c3153db344de4151de1924fbaa6807e360fddeda79fa0dc70005913 WHIRLPOOL 980b90fc21b46402c60885e94c4fc6e8d43d8a4d5b2537a47857ed5e4067c689c594814b1b38d44ab950e63d8b3ee456480bc81ff3e21169715becde1e8ac6d1
|
||||
DIST wordpress-4.9.1.tar.gz 9638827 SHA256 a94ae99cda7666bfd482b36f268ad240a3bde2a66724e1312dabf068a9555100 SHA512 1835d8fd0df9931487489d2e67285e7c73ec1783df39621cfbfe52aa8a0b3cba05fd3b842c7fd67ab2b76009f33337dae650f22dd6a3c4aa71eae100541b8a58 WHIRLPOOL 37a019bc52a4c7b892d6b79e09d1b6c5cb8cdc358ca06357ce0b628a5ee0022e25be34abf736cba9e729a621ff31eb8fde3a66a359401e5a171dbfd612c19fb2
|
||||
EBUILD wordpress-4.9.1.ebuild 1263 SHA256 f952bfb347fa1790c0855c75f75049716e0b92c04aa9f7d1048790f0db1f4a00 SHA512 2f4e9d8aa679e09cee89af28ca894df07339663cf0dc47b9ffaac558d95635b52d5c57d08c6eaa49a587f3a323c4de1294cee4dfa62058f2a77ad329039fdc39 WHIRLPOOL a8e8de47035c970d767ac250f214da1e9fe2fcf066c4be39314bbade3f5113a3b7af70d2145d281e8b3bc1406ec6bbfb32a02e0c746782040aa4009b36f0e098
|
||||
MISC metadata.xml 392 SHA256 772ad63a51c82a1157b4f86c1c72a39e85885a2131bebfe3dfaa8bd06026bc71 SHA512 f63f0ac7c836f4f8c21d69b021d6e4d6f4257f80fd1995f180509379c7ab82028a89d1be22a381e36aad34b21d94e29c2471b48d6b31dd1a634150991e7b6c33 WHIRLPOOL c523b7b79c513ade0b032abd76596f41043576696d6ecdd08eba91c0746908f3a7b1b3fe9c71ed6eff6c5a048dc144312801291460ec0cd5f09e5985def74b08
|
||||
38
www-apps/wordpress/files/postinstall-en.txt
Normal file
38
www-apps/wordpress/files/postinstall-en.txt
Normal file
@@ -0,0 +1,38 @@
|
||||
------------------------------------------------------------------------
|
||||
INSTALLATION
|
||||
|
||||
You will need to create a table for your WordPress database. This
|
||||
assumes you have some knowledge of MySQL, and already have it
|
||||
installed and configured. If not, please refer to the Gentoo MySQL
|
||||
guide at the following URL:
|
||||
|
||||
http://www.gentoo.org/doc/en/mysql-howto.xml
|
||||
|
||||
Log in to MySQL, and create a new database as well as a user with full
|
||||
access to this database. After that you will need to provide the details
|
||||
of this database and the associated user within the file
|
||||
|
||||
${MY_INSTALLDIR}/wp-config.php
|
||||
|
||||
Finally you should be able to log in to WordPress at
|
||||
|
||||
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
|
||||
|
||||
------------------------------------------------------------------------
|
||||
!!!!!!!!! SECURITY WARNING !!!!!!!!!!!
|
||||
|
||||
Wordpress has had a history of serious security flaws. Any application
|
||||
with less widespread use but the same amount of security issues would
|
||||
have been removed from the tree.
|
||||
|
||||
After a short period of being in the unstable tree we once again decided
|
||||
that we hard mask the package.
|
||||
|
||||
THIS MEANS THAT THERE IS NO GUARANTEE WHATSOEVER THAT THE PACKAGE WILL
|
||||
GET UPGRADED WITHIN A REASONABLE AMOUNT OF TIME EVEN IN THE CASE OF
|
||||
SEVERE SECURITY ISSUES.
|
||||
|
||||
We consider installing this package a severe risk to your system and
|
||||
you should keep a close eye on the common security trackers so
|
||||
that you are able to fix problems with your installation yourself if
|
||||
required.
|
||||
37
www-apps/wordpress/files/postupgrade-en.txt
Normal file
37
www-apps/wordpress/files/postupgrade-en.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
------------------------------------------------------------------------
|
||||
UPGRADE
|
||||
|
||||
|
||||
If you are upgrading from a previous version BACK UP your database.
|
||||
|
||||
Once you are done with that, browse to
|
||||
|
||||
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/wp-admin/upgrade.php
|
||||
|
||||
and follow the instructions on the screen.
|
||||
|
||||
Note that the default theme has changed between Wordpress 2.x and 3.x,
|
||||
so if you were using the default theme, your site will fail to load after
|
||||
the upgrade. Log in to the admin interface and open the themes section to
|
||||
reset to the new default theme. If you face other troubles after the
|
||||
upgrade, you might want to look for broken plugins or themes.
|
||||
|
||||
------------------------------------------------------------------------
|
||||
!!!!!!!!! SECURITY WARNING !!!!!!!!!!!
|
||||
|
||||
Wordpress has had a history of serious security flaws. Any application
|
||||
with less widespread use but the same amount of security issues would
|
||||
have been removed from the tree.
|
||||
|
||||
After a short period of being in the unstable tree we once again decided
|
||||
that we hard mask the package.
|
||||
|
||||
THIS MEANS THAT THERE IS NO GUARANTEE WHATSOEVER THAT THE PACKAGE WILL
|
||||
GET UPGRADED WITHIN A REASONABLE AMOUNT OF TIME EVEN IN THE CASE OF
|
||||
SEVERE SECURITY ISSUES.
|
||||
|
||||
We consider installing this package a severe risk to your system and
|
||||
you should keep a close eye on the common security trackers so
|
||||
that you are able to fix problems with your installation yourself if
|
||||
required.
|
||||
|
||||
12
www-apps/wordpress/metadata.xml
Normal file
12
www-apps/wordpress/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>web-apps@gentoo.org</email>
|
||||
<name>Gentoo Webapps</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="akismet">Installs Akismet comment spam plug-in</flag>
|
||||
<flag name="themes">Installs themes (including default theme)</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
55
www-apps/wordpress/wordpress-4.9.1.ebuild
Normal file
55
www-apps/wordpress/wordpress-4.9.1.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
|
||||
HOMEPAGE="https://wordpress.org/"
|
||||
SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
IUSE="+akismet examples +themes vhosts"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc readme.html
|
||||
rm readme.html license.txt || die
|
||||
|
||||
if ! use akismet ; then
|
||||
rm -R wp-content/plugins/akismet/ || die
|
||||
fi
|
||||
if ! use examples ; then
|
||||
rm wp-content/plugins/hello.php || die
|
||||
fi
|
||||
if ! use themes ; then
|
||||
rm -R wp-content/themes/*/ || die
|
||||
fi
|
||||
|
||||
[[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/index.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user