diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/wordpress | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/files/postinstall-en.txt | 38 | ||||
-rw-r--r-- | www-apps/wordpress/files/postupgrade-en.txt | 37 | ||||
-rw-r--r-- | www-apps/wordpress/metadata.xml | 9 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-4.2.4.ebuild | 60 |
5 files changed, 145 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest new file mode 100644 index 000000000000..bff5cf0091d7 --- /dev/null +++ b/www-apps/wordpress/Manifest @@ -0,0 +1 @@ +DIST wordpress-4.2.4.tar.gz 6313249 SHA256 42ca594afc709cbef8528a6096f5a1efe96dcf3164e7ce321e87d57ae015cc82 SHA512 f0f3030d12ac19b0e2ffc5692e02f3e9137b31a0b47fa64a02265ca535f37a12afe816ed728623cab4537e22f8d5e7637f0cb059d3cf875620abd6e797c154ba WHIRLPOOL 865e22ceb71fa8b63401077f2c13bd0f0a6698a1361781f762659804019afe0bee06ba1edb593d25fcb52849156223eae2c248387db4b73bc07bc8410e52673a diff --git a/www-apps/wordpress/files/postinstall-en.txt b/www-apps/wordpress/files/postinstall-en.txt new file mode 100644 index 000000000000..54c97717bc37 --- /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 000000000000..5c7b3276db98 --- /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/metadata.xml b/www-apps/wordpress/metadata.xml new file mode 100644 index 000000000000..c9b584fe6f2c --- /dev/null +++ b/www-apps/wordpress/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>web-apps</herd> +<use> +<flag name="akismet">Installs Akismet comment spam plug-in</flag> +<flag name="themes">Installs themes (including default theme)</flag> +</use> +</pkgmetadata> diff --git a/www-apps/wordpress/wordpress-4.2.4.ebuild b/www-apps/wordpress/wordpress-4.2.4.ebuild new file mode 100644 index 000000000000..ff967901f237 --- /dev/null +++ b/www-apps/wordpress/wordpress-4.2.4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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" + +# Override default of SLOT="${PVR}" +WEBAPP_MANUAL_SLOT=yes +SLOT="${PV}" + +src_install() { + webapp_src_preinst + + dohtml 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 +} |