diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-4.4.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index d516fdd65572..d3688aeb3431 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,4 +1,5 @@ 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 +DIST wordpress-4.4.1.tar.gz 7099537 SHA256 4895ac8c2ee348513ead161103ae2d97d3ef3f684167e5ce602d3998370c05f4 SHA512 cea888a2a1ef81349660c6c9acdf7c6d3b388913a264a0b9cc5b8e3f58f0e02c2b72158f973f09d8d7bb30c32a01c982479bb5829a5e23927ee14ada625579d4 WHIRLPOOL 65a0c7508f2cf23adb08e4814bf0542e24530ac75d29ddea0f81bbb79331f3e13462135198e6e1f9570a84a2c2d9f86b0fd8d35355815eb65a1a1facf1101f5b DIST wordpress-4.4.tar.gz 7079339 SHA256 02047ded951bc9d3e3d7e33dc4add71165edff202bee0c00d536e9640813ce99 SHA512 7963f42a20b0c4fb8bbab4e2ee464ed4d1fc69c194eaefb7c4a0a7a77c4f44e846e8a1322a5fee57788b8af5a5be2a946fb8615e020faa098a985aa48c9da35a WHIRLPOOL 03310277df56856e9a02b5177effc18a8e2067ec91d1e337ddaaca19f11582b04322eabc33e5b6324c21c4314109b493fa7e76b1a7a30e3ae0241eca4284370a diff --git a/www-apps/wordpress/wordpress-4.4.1.ebuild b/www-apps/wordpress/wordpress-4.4.1.ebuild new file mode 100644 index 000000000000..3f425a51116b --- /dev/null +++ b/www-apps/wordpress/wordpress-4.4.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 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" + +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 +} |