mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/wordpress: drop 6.8
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -3,4 +3,3 @@ DIST wordpress-6.5.5.tar.gz 24696391 BLAKE2B e3edceb605c22b15de39459ec3e83e41632
|
||||
DIST wordpress-6.6.2.tar.gz 24640061 BLAKE2B f10a94b0a731bb4a5b22f0e6e634f061bcd6abbb06badb3232cce56cee13c681fe8c00beab1893928c8d224a8f495ee5f2d5caa6ac90b45af39313580b3c3bca SHA512 652d20f2d66a62d1dfa0c0e6edb7b80e32e9a50a6bdbfb995510091ed1e3cfe6c42db2b13cb78b69ff09c7e85a14b5b8881738477fa0ade8998967179df851e7
|
||||
DIST wordpress-6.7.2.tar.gz 26780969 BLAKE2B 2eaa761b524927f5a10c7d01bf93b505c935faf9c363394d103a1ee94f60e2e517858fb5ebef6f3eeb4d06837a6ac4358881d26dc0e9e4ed085e0dd886453e9c SHA512 a07db3c7e8989dc20496953c68f9772154d5b5bad0cec7c03466bbb6c84eb1f758859e5bbe3e1b27f770d86624006034d75c8c4ee1e1ea622887846bf56da1ca
|
||||
DIST wordpress-6.8.1.tar.gz 26926501 BLAKE2B bfc30e7fe766a2f48b6db74152c1ac59947fa9d489a1ab0573009bc2dd9c16b239ce3b2c1fbecd8364deb59ec006bc7753f01de3e4e853cdbd7668da10168123 SHA512 1ded47540f217e3dc50b176202c09419f4f87d21ab24f8542b1f54b878b225d437e48ed36851d62cec431f661f999fa802e31e1085ad6191cc43d8e727b060ca
|
||||
DIST wordpress-6.8.tar.gz 26921903 BLAKE2B 8f575ac2e50cc016ef8bca4a7963385f243502b8d12526d8253ad135b157ee004995624ee513c2c9ca3dddb56da1f5c0e835e383860bd29dbf6187894bf9cf0a SHA512 9698277873810c54003b964a686fc3b88c387495f9b3112a8c27df92d322893fab0695ddc25eb3014a0fa96da805932b4f4a64f1f5ebd25508fa25c61f4d5be3
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
if [[ ${PV} != *_rc* ]]; then
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
|
||||
|
||||
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}"
|
||||
# allows plugins update if allowed within WP
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/includes/file.php
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user