diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-08-24 22:43:13 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-08-24 22:43:13 -0400 |
commit | 446f749e7f3de61d14f130a7e8238f368d1c19e2 (patch) | |
tree | a78c05f864c336f049678c0e3a65bdd408ead71c /www-apps | |
parent | sys-process/parallel: version bump (diff) | |
download | gentoo-446f749e7f3de61d14f130a7e8238f368d1c19e2.tar.gz gentoo-446f749e7f3de61d14f130a7e8238f368d1c19e2.tar.bz2 gentoo-446f749e7f3de61d14f130a7e8238f368d1c19e2.zip |
www-apps/wordpress: version bump
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-4.3.ebuild | 60 |
2 files changed, 61 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index bff5cf0091d7..d16c4b7bf410 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1,2 @@ DIST wordpress-4.2.4.tar.gz 6313249 SHA256 42ca594afc709cbef8528a6096f5a1efe96dcf3164e7ce321e87d57ae015cc82 SHA512 f0f3030d12ac19b0e2ffc5692e02f3e9137b31a0b47fa64a02265ca535f37a12afe816ed728623cab4537e22f8d5e7637f0cb059d3cf875620abd6e797c154ba WHIRLPOOL 865e22ceb71fa8b63401077f2c13bd0f0a6698a1361781f762659804019afe0bee06ba1edb593d25fcb52849156223eae2c248387db4b73bc07bc8410e52673a +DIST wordpress-4.3.tar.gz 6524201 SHA256 3b0db3abe8504f15a33cf64188a493ec0de01eaa8d20e37c3d6a1d9fa0a40fb4 SHA512 d40723efa4aac41ade734d35f985397679e4e72657724ff47a0783205ca51ce7477973e3a7bc73550a4e3d1b523991d6ece09ff652032b746adb96207de6eca1 WHIRLPOOL 474b03255ae381e6b92ae5bf094596bcd3fcd12e11271bd68d091fcce27b80ab922d3c240f2eaa2509ad603edb34a78639145b3fe6bf19a9d367fa334c4beaea diff --git a/www-apps/wordpress/wordpress-4.3.ebuild b/www-apps/wordpress/wordpress-4.3.ebuild new file mode 100644 index 000000000000..ff967901f237 --- /dev/null +++ b/www-apps/wordpress/wordpress-4.3.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 +} |