added ebuild for wordpress 2.6.3

This commit is contained in:
Manuel Friedli 2008-10-26 12:47:38 +00:00
parent 3aae0a2dfc
commit 3dfd062965
4 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,4 @@
AUX postinstall-en.txt 1554 RMD160 0ae328c94560e30f9a8d5c46eb449ed1d2861970 SHA1 45c11b94046bfdff98a60571a36e56680d43a2ab SHA256 85ecf09ffd839186f5aeba6847798827191d56c6fb7798783100b9fecdcf64df
AUX postupgrade-en.txt 1302 RMD160 55353569fb739d38ddaf1f4fb743d5d7bc909323 SHA1 0cd868cc86c1dbef25cf94cd08b5b3e8421545cb SHA256 81ddf9a3970dbaa9f69d514b7eaa5893c8402ca6f973830414e866d5140f3d3e
DIST wordpress-2.6.3.tar.gz 1305503 RMD160 fa452ba84ff7a0b60e36cc1c9feda62d3865c9bf SHA1 294832ccd17a7dee00af8b16deefa94486f60e43 SHA256 cdc1ad99785ae41487c107a5f08701924ae09beda1598a7a14ee1a08bb6801ab
EBUILD wordpress-2.6.3.ebuild 1142 RMD160 02a04b0e1f690cef0cbaecba29675aa5a3d7fd36 SHA1 d1235c55f8a7e9834ef866748849314e41f04e67 SHA256 9b0c8f9fdf103b06bf11aa843942633e8eed7a759e240aa9614ae45b8fea909b

View 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.

View File

@ -0,0 +1,31 @@
------------------------------------------------------------------------
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.
------------------------------------------------------------------------
!!!!!!!!! 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.

View File

@ -0,0 +1,50 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.6.2.ebuild,v 1.1 2008/09/21 13:28:32 wrobel Exp $
inherit webapp depend.php
DESCRIPTION="Wordpress php and mysql based CMS system."
HOMEPAGE="http://wordpress.org/"
SRC_URI="http://www.wordpress.org/${P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S="${WORKDIR}"/${PN}
need_httpd_cgi
need_php_httpd
pkg_setup() {
webapp_pkg_setup
require_php_with_any_use mysql mysqli
require_php_with_use pcre
}
src_install() {
webapp_src_preinst
dohtml readme.html
rm -f readme.html license.txt
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
}