diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2017-06-10 08:41:37 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-06-10 08:41:37 -0400 |
commit | affe072486bba57864cabbbd6d7f3c39950beb1c (patch) | |
tree | 462b4486490ee15ccb628a6e20891b4afbd72849 /www-apps | |
parent | net-vpn/tor: remove older unstable versions (diff) | |
download | gentoo-affe072486bba57864cabbbd6d7f3c39950beb1c.tar.gz gentoo-affe072486bba57864cabbbd6d7f3c39950beb1c.tar.bz2 gentoo-affe072486bba57864cabbbd6d7f3c39950beb1c.zip |
www-apps/wordpress: version bump to 4.8
Package-Manager: Portage-2.3.5, 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.8.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index e095516ec0a4..d0f9939b2c0a 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -1 +1,2 @@ DIST wordpress-4.7.5.tar.gz 8037036 SHA256 95af89101db8efea48711b7cc169c2a7440a2fba17eee1a057f442091cdec01b SHA512 7d6e4feaf95c49ec7e68068687a399145613d90b5867616ac7a324c60f9107f2453c9f745a455b94e84ef12b191cb2ac67e6b4dd3b8f669e344ea63afc6988ca WHIRLPOOL 6d07fc57d2bf89d73d2a4b72c2811c4bba1d30fa9a06f3abc65792e12f42899cca573874942eef7433445ca38614bced1f839fba5e67a312e55d764223347ce2 +DIST wordpress-4.8.tar.gz 8169865 SHA256 39210d593700dc26c58a53b38172be63ea3da67020d80bb2cf34b396b732dd4d SHA512 20249cf13dbcec198df3ec1feb3a7381c194c7c9f832262e40449f90c5e5b5d3f4b63b6021e78c65cc615e059b1b601881d33ce03e1e4618231329b680511467 WHIRLPOOL 3b92caddcdd48213a887f68afd73cd3c1973e9232e30cc8429886809802d5786f12e3732540a06e91358ab97716df2dab735a2341799d6949929cc1843f29ee9 diff --git a/www-apps/wordpress/wordpress-4.8.ebuild b/www-apps/wordpress/wordpress-4.8.ebuild new file mode 100644 index 000000000000..c7283f88735a --- /dev/null +++ b/www-apps/wordpress/wordpress-4.8.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 +} |