diff options
author | Sebastian Pipping <sping@gentoo.org> | 2015-09-16 01:05:11 +0200 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2015-09-16 01:05:15 +0200 |
commit | 5403457389c3f390b28d91689a8c5a6b043b8b22 (patch) | |
tree | 6658ec3e5a17e6a9e61b02866f4e57dfa222519a /www-apps | |
parent | dev-util/android-tools: fix 5.1.1_p13 bash-completion adb file collision (diff) | |
download | gentoo-5403457389c3f390b28d91689a8c5a6b043b8b22.tar.gz gentoo-5403457389c3f390b28d91689a8c5a6b043b8b22.tar.bz2 gentoo-5403457389c3f390b28d91689a8c5a6b043b8b22.zip |
www-apps/wordpress: 4.3.1
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-4.3.1.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index d16c4b7bf410..41298166b61c 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,2 +1,3 @@ DIST wordpress-4.2.4.tar.gz 6313249 SHA256 42ca594afc709cbef8528a6096f5a1efe96dcf3164e7ce321e87d57ae015cc82 SHA512 f0f3030d12ac19b0e2ffc5692e02f3e9137b31a0b47fa64a02265ca535f37a12afe816ed728623cab4537e22f8d5e7637f0cb059d3cf875620abd6e797c154ba WHIRLPOOL 865e22ceb71fa8b63401077f2c13bd0f0a6698a1361781f762659804019afe0bee06ba1edb593d25fcb52849156223eae2c248387db4b73bc07bc8410e52673a +DIST wordpress-4.3.1.tar.gz 6526208 SHA256 df5a5bfa28c916e11e8a636297c8eeb68816fff1d1bc2564c1d73c0063f0027c SHA512 d19b9a76b10d4cc3d7f577b8196b3423e72a1847a1cb9c85fa1506c0a97f3e10f65c5b2453aacd4b963327b3209725f44e30186e69d075c093b15177587a974a WHIRLPOOL 9dbfb60e1e081a4981f54f073fa6075799b051bdd3cd64c7a27ab29fef6484299c5c5e3d06d03bd1b926d82004d0955838e1c0e96607f62d120a5b034acae4dd DIST wordpress-4.3.tar.gz 6524201 SHA256 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4 SHA512 d40723efa4aac41ade734d35f985397679e4e72657724ff47a0783205ca51ce7477973e3a7bc73550a4e3d1b523991d6ece09ff652032b746adb96207de6eca1 WHIRLPOOL 474b03255ae381e6b92ae5bf094596bcd3fcd12e11271bd68d091fcce27b80ab922d3c240f2eaa2509ad603edb34a78639145b3fe6bf19a9d367fa334c4beaea diff --git a/www-apps/wordpress/wordpress-4.3.1.ebuild b/www-apps/wordpress/wordpress-4.3.1.ebuild new file mode 100644 index 000000000000..ff967901f237 --- /dev/null +++ b/www-apps/wordpress/wordpress-4.3.1.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 +} |