diff options
author | Sebastian Pipping <sping@gentoo.org> | 2017-03-06 22:22:23 +0100 |
---|---|---|
committer | Sebastian Pipping <sping@gentoo.org> | 2017-03-06 22:22:23 +0100 |
commit | 56e77a421b0794392839a87934f6cfa8de9edc37 (patch) | |
tree | 108a59eede903692d7db4c7b1a830d2af7d95af8 /www-apps | |
parent | media-libs/mesa: Require virtual/libelf for r600+llvm. (diff) | |
download | gentoo-56e77a421b0794392839a87934f6cfa8de9edc37.tar.gz gentoo-56e77a421b0794392839a87934f6cfa8de9edc37.tar.bz2 gentoo-56e77a421b0794392839a87934f6cfa8de9edc37.zip |
www-apps/wordpress: 4.7.3
Package-Manager: Portage-2.3.4, Repoman-2.3.2
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/wordpress/Manifest | 1 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-4.7.3.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 0efe0534a26e..3a519f3e4fe9 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1,2 @@ DIST wordpress-4.7.2.tar.gz 7997959 SHA256 6c376183f5d7ffad024712cb140fa3d1b621a97e3961e3206a8cff40b7e9ed44 SHA512 610a820cf2eea39a60100515f68e95a7194a4e20df9c8158111b1978d5bc7c606dd2b7adf2f4019e9108a136e12eb2db7ae5ed75681cec23ffb901f8cc7fb83a WHIRLPOOL 237824a99058243e11b097829475d573a0d1c1218bbb497a984495a3503d57a5dd75acb03cf7d966ef74e404c1c3e3d3ca7f68ce8b69e3365714ad81d7caff8c +DIST wordpress-4.7.3.tar.gz 8008833 SHA256 e715069fdab049ec668cd74e57cabcb23583dc4a84c5e330c430cbe8998f6d89 SHA512 071df65c3a43557faf351838a661a83e26d8de37c8633dc17a59d773cc91caef640a625b0719606df1fc563fd18af71ba1da22a5b6f345339e73761754484dc5 WHIRLPOOL c44593fe9d88c8f188d69cc0a3a7c0350045891d37e8fd7a33d27751980541f951d85fb154f894a52886574bc4967febbf03e825b5b1c38d1ece7f7bf849b35f diff --git a/www-apps/wordpress/wordpress-4.7.3.ebuild b/www-apps/wordpress/wordpress-4.7.3.ebuild new file mode 100644 index 000000000000..c7283f88735a --- /dev/null +++ b/www-apps/wordpress/wordpress-4.7.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |