diff options
Diffstat (limited to 'www-apps/wordpress')
-rw-r--r-- | www-apps/wordpress/Manifest | 2 | ||||
-rw-r--r-- | www-apps/wordpress/wordpress-5.2.1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest index 19a4ecd0d4dd..e21518333698 100644 --- a/www-apps/wordpress/Manifest +++ b/www-apps/wordpress/Manifest @@ -2,8 +2,10 @@ AUX postinstall-en.txt 1554 BLAKE2B 0a6e291b6d590e03fe4702a9e01f88a59fc4d820f95b AUX postupgrade-en.txt 1653 BLAKE2B cf2e403046ff8646b7dfffaec7c267633fa735f1be7448f76c9bfeefb2372c169453123db169d70bf871dc4c1ee1a239aeb17a25a1de582b23b38a7d589fd1c2 SHA512 3fa8b143a4cd8e23798423427ec31174947eeccfdbc5611dca3b32e02484f68602713dd75c3153db344de4151de1924fbaa6807e360fddeda79fa0dc70005913 DIST wordpress-5.1.1.tar.gz 10654780 BLAKE2B c5105315ed07941811016244737d2a697864521a4cf0fedc9ba260629cedbe77cef642f71ea485813eb89cbef1a1bb60fdca3229611f7d2de435f0c28462a3f1 SHA512 0b06630c894c535b24787cda0ee9c8bc8eab54fe6f6523fd78da55cb00ea9b9404454d51a3b9b77c72fb5ebc94d36719be50785fd82ff3311ca1df9b8fd980c9 DIST wordpress-5.1.tar.gz 10653910 BLAKE2B 26a4f42dd88d4c2616fb240b8b9a1f64a5380496600e3d132dbc162505907cda49e11b9f132d0f436e9426e77d42d6d78ed6b1e16f04d857429515d192761113 SHA512 e8504be918add0533a99f62e967e2c86afce0c28ae474cace5e4c44f66e8a71394eed7bc6f1e3108734e4410849b28d1da6c545c05a24025067a1321a8fa9a99 +DIST wordpress-5.2.1.tar.gz 11199196 BLAKE2B 284358e40e380f5467f92ced37cee57dd1c6b9400a80f01a5a7a5ae973f9c5af88345ebf46505ae392512a88d0c64dfd4f321edd825fd2d38e1160c3ca352d21 SHA512 b49368ba7a3f0cf101b2ad2c78d609050f371a4c7f6dca7d5966cc167ae20ca78df9a3144e1b91c4044d0a9a12163911d66c8faedc9c4a1e2978d2b54ef54855 DIST wordpress-5.2.tar.gz 11195223 BLAKE2B 35bc5190751749f12d88a13314f021a9cefb6dd78aee9ec32e439031cd19af0929c1a84741b7965cc30638fc3f568289e75e25e9b63a1696e4c427ef29aa1f85 SHA512 741699a26b956b9d80505954f38e95b9f6328f892efb957d584ba6b669ae28d9a9e63249b72cc7a677cb4ae1008e0545f846492636e7e10442593be2054be824 EBUILD wordpress-5.1.1.ebuild 1260 BLAKE2B 497617a28239b9636b455fd458e811ae00428a4938891e30d2cdc0144143f29c8bd9988b6dc695ce89b96b044e7cf3ccc14148b7aa13e653c67141625e987d28 SHA512 f6114430beffa148d151909fe1d01ab892b23a25ac83c9e2136ba3c49446164fb4a80407866db25d70e9acf9e0e4b01afbce35735a885d29d002a14332326b9c EBUILD wordpress-5.1.ebuild 1260 BLAKE2B 497617a28239b9636b455fd458e811ae00428a4938891e30d2cdc0144143f29c8bd9988b6dc695ce89b96b044e7cf3ccc14148b7aa13e653c67141625e987d28 SHA512 f6114430beffa148d151909fe1d01ab892b23a25ac83c9e2136ba3c49446164fb4a80407866db25d70e9acf9e0e4b01afbce35735a885d29d002a14332326b9c +EBUILD wordpress-5.2.1.ebuild 1260 BLAKE2B b3478b9f1821baaee2517a15ee9ea6e67e2bc2dfa760e2a7b87bcd3933a2db89903e3d92f85b52db6afaa3906649dc7372cb80cfd6c3c962c87d215dbf6497f9 SHA512 077876f0d5c75686f33cfe5b6422a0bb8eefb56519f8b4cc098dde7c39dc09a38f4a43db4b8412890666e8adcab1f4f39f5601a34c7647b9c428987168dd8209 EBUILD wordpress-5.2.ebuild 1260 BLAKE2B b3478b9f1821baaee2517a15ee9ea6e67e2bc2dfa760e2a7b87bcd3933a2db89903e3d92f85b52db6afaa3906649dc7372cb80cfd6c3c962c87d215dbf6497f9 SHA512 077876f0d5c75686f33cfe5b6422a0bb8eefb56519f8b4cc098dde7c39dc09a38f4a43db4b8412890666e8adcab1f4f39f5601a34c7647b9c428987168dd8209 MISC metadata.xml 392 BLAKE2B 736fb06bba21342a9cdd29ce815b1325098bc11798675534a4d299bcbaeb29f46d1eab8bebd90e2539187e82294510d06827ac068611797ad441e7c024bee6b8 SHA512 f63f0ac7c836f4f8c21d69b021d6e4d6f4257f80fd1995f180509379c7ab82028a89d1be22a381e36aad34b21d94e29c2471b48d6b31dd1a634150991e7b6c33 diff --git a/www-apps/wordpress/wordpress-5.2.1.ebuild b/www-apps/wordpress/wordpress-5.2.1.ebuild new file mode 100644 index 000000000000..9d6f0eaa173c --- /dev/null +++ b/www-apps/wordpress/wordpress-5.2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |