aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Shelton <stuart@shelton.me>2014-09-23 23:52:56 +0100
committerStuart Shelton <stuart@shelton.me>2014-09-23 23:52:56 +0100
commit5073a2bd7618cfa57e49aee939336c8808dedc2d (patch)
treec95178168c137b8411f0107fa4c242a5bc0c244f /www-apps
parentAdd mail-filter/spamassassin-3.3.2-r5 (diff)
downloadsrcshelton-5073a2bd7618cfa57e49aee939336c8808dedc2d.tar.gz
srcshelton-5073a2bd7618cfa57e49aee939336c8808dedc2d.tar.bz2
srcshelton-5073a2bd7618cfa57e49aee939336c8808dedc2d.zip
Add www-apps/wordpress-4.0.0
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/wordpress/Manifest4
-rw-r--r--www-apps/wordpress/files/postinstall-en.txt38
-rw-r--r--www-apps/wordpress/files/postupgrade-en.txt37
-rw-r--r--www-apps/wordpress/wordpress-4.0.0.ebuild45
4 files changed, 124 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest
new file mode 100644
index 00000000..decbbd79
--- /dev/null
+++ b/www-apps/wordpress/Manifest
@@ -0,0 +1,4 @@
+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.0.tar.gz 6051082 SHA256 03a8437ca9ae14c9a7f6d4062672e9685d45e1aaad6c020af2673cb42a34c0ac SHA512 8e95a4c031d9f11be24ceb6f80efbcc9f09b186fface0198905f69ea61e28bc397af3f6b57c8c1565b26a479fb65e5e0e5d94e6f52a2d97467bc04fea84c64b2 WHIRLPOOL 475c253633ce6d0a4200401f5bee02843c954eb994098e5f0e8906034813720a458de2d41875f72522ca1bbc014d095403e96a64f7ddbf49762564f25aa1f3ba
+EBUILD wordpress-4.0.0.ebuild 1142 SHA256 4130dd5bbd9c8a7ab70ac4ae3b39b803333b2279fa583ed96b6ffd373bad93a7 SHA512 c48218b3a03df5d56965cf06c51fae3f4e6961e5109dc0cd08d994b088d49698823a1944c9967358157fe4596981aa939b7c00c635550664fad208db7aa2589f WHIRLPOOL 81249a3912aef3fc15752a86c1885c9f76f0bc64e14a27f57f513f858d8a89479e8a554518308b45ba1631a5457c1113447617ecbdcf9b88722a83037d4fa6e6
diff --git a/www-apps/wordpress/files/postinstall-en.txt b/www-apps/wordpress/files/postinstall-en.txt
new file mode 100644
index 00000000..54c97717
--- /dev/null
+++ b/www-apps/wordpress/files/postinstall-en.txt
@@ -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.
diff --git a/www-apps/wordpress/files/postupgrade-en.txt b/www-apps/wordpress/files/postupgrade-en.txt
new file mode 100644
index 00000000..5c7b3276
--- /dev/null
+++ b/www-apps/wordpress/files/postupgrade-en.txt
@@ -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.
+
diff --git a/www-apps/wordpress/wordpress-4.0.0.ebuild b/www-apps/wordpress/wordpress-4.0.0.ebuild
new file mode 100644
index 00000000..81662bf2
--- /dev/null
+++ b/www-apps/wordpress/wordpress-4.0.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-3.9.2.ebuild,v 1.1 2014/08/13 04:44:39 radhermit Exp $
+
+EAPI="5"
+
+inherit webapp
+
+DESCRIPTION="Wordpress php and mysql based content management system (CMS)"
+HOMEPAGE="http://wordpress.org/"
+SRC_URI="http://wordpress.org/${P/0.0/0}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="virtual/httpd-php
+ || ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
+
+S=${WORKDIR}/${PN}
+
+need_httpd_cgi
+
+src_install() {
+ webapp_src_preinst
+
+ dohtml readme.html
+ rm readme.html license.txt || die
+
+ [ -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
+}