diff options
author | Sebastian Pipping <sping@gentoo.org> | 2017-01-11 21:18:00 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2017-01-11 21:18:00 +0100 |
commit | 67671baada119a8d4b6491afd9bfffe8c397f0c2 (patch) | |
tree | 7bdee176b6d8dce0f2c8660253a8754dc6019f5c /www-apps | |
parent | sys-apps/firejail: 0.9.44.4 (bug #604758) (diff) | |
download | gentoo-67671baada119a8d4b6491afd9bfffe8c397f0c2.tar.gz gentoo-67671baada119a8d4b6491afd9bfffe8c397f0c2.tar.bz2 gentoo-67671baada119a8d4b6491afd9bfffe8c397f0c2.zip |
www-apps/wordpress: 4.7.1 (bug #603754)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-4.7.1.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index bd4016dfd7ba..cabd442a151d 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1,4 +1,5 @@ DIST wordpress-4.4.2.tar.gz 7099520 SHA256 c8a74c0f7cfc0d19989d235759e70cebd90f42aa0513bd9bc344230b0f79e08b SHA512 dfced463ece13f266c15e1b45d8e7882e58ce9cd3b7146c81a4671bc51c58998ae318bd6e45b1f7bc657e2d49d7d39f971d814998e074375129c8dff7cfcac63 WHIRLPOOL c74b1b6d303bbdb3c66c432838e12528f06c124475c3258ccbc6472143e4a9cf56bda4293d7556564eb878d0f701f0853f46f3be7a37b9a2eb035bc08815e6d4 DIST wordpress-4.5.3.tar.gz 7773389 SHA256 fd94288cd6fc657b2d8061737fcb121fc6acbe18acfcff80661e49fd2d3ee17c SHA512 e6add76d61cc8f43947c6626d48ff8dcda38738138b576c0b7974c2d01a601fd9a99d6fb7cfc50a0ea50ac3165624fda46656f8bed0fd2540006b9fa069d64ae WHIRLPOOL e00939f2759ee7ce4280b0ca2a205dbc43b71ebf90afd0b047004c47580a497284e3047f53fecb7f20fbcda680b8828f17e119154ba7fe21fe103b45512c1c2a DIST wordpress-4.6.1.tar.gz 7961036 SHA256 873f562cdea14d6305b9ad2f41f18a557d99cd8694b4a0056a33970e127abfee SHA512 303c8fe8ec877baf7380677dc22505062613dfc33c03f8858f7c6b9ce7a5825ba00a13395730fa554da9d2b3ccab8c3441e40fbc29fee45f7da44f46aa400981 WHIRLPOOL 7c00560e064c475bf35aa8bd39c24bca59e11111e83176b2b4780e6c45374c28aca47ee3e5fd70f9bab6d5aac113599eb84bd5d9c180b6adaf6d19c15e2226c0 +DIST wordpress-4.7.1.tar.gz 7998661 SHA256 171252eed21e31becb5d52fa3d3ef7ba2b41f0fedd1a412afc5ad937da5317f6 SHA512 ccb2d36e0192ceeb02e4391a3bd6fb100558c3013c1e10a91465c9b7d83e294a51c35ee60637f01838131e2a3c99266320fe0e90d51979c566a53fffed19dc4c WHIRLPOOL d3ddde15f0a114f7566c345ddab76b8166ea52b3cdafe0815e962e171c801207f549a5e224da08b0077c637a85d841cb4abef386b1c7a2cdf23263a2a91ffb35 DIST wordpress-4.7.tar.gz 7993186 SHA256 7eae27ff70716dae2d2ba58280f2832fd70a208c9cdaf29ab36ac789c14d6977 SHA512 5bbdce5215dc5debc57e00376a94c9035f63d64d20aeb947e973a4dbe1803d262aa85ce27118ddbb3fadaf956ec90974bc76654149102a88c4b1e867740db4ca WHIRLPOOL f536e908e30050fd0ec86ee98c4ba333ea1539de901083e28a36a723c91b64ffcf53d1375d3005bbfc52736668c2bd7178d7a7797760ad4807271564573d9248 diff --git a/www-apps/wordpress/wordpress-4.7.1.ebuild b/www-apps/wordpress/wordpress-4.7.1.ebuild new file mode 100644 index 000000000000..322d9a47208d --- /dev/null +++ b/www-apps/wordpress/wordpress-4.7.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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 + + dodoc 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 +} |