mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/wordpress: bump to 6.8
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST wordpress-6.4.4.tar.gz 24480617 BLAKE2B 60856beddbbb2ba25e56eb9aaa5af0b857b
|
||||
DIST wordpress-6.5.5.tar.gz 24696391 BLAKE2B e3edceb605c22b15de39459ec3e83e416324b8194974a069a026bd18e70eda5072ef47dab2c8a1a8a4e7fd81d783843d55f72f1ac9079aa8088ce72104fc6f8e SHA512 34b401f6abf08d654188906117c54e962e22fb1e8abcfec2a191d761d5719b4cfe7c33d33f6da786b3e6a04e50622429d5d7c9f9b8baec0bd08430b1f4435ff7
|
||||
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.tar.gz 26921903 BLAKE2B 8f575ac2e50cc016ef8bca4a7963385f243502b8d12526d8253ad135b157ee004995624ee513c2c9ca3dddb56da1f5c0e835e383860bd29dbf6187894bf9cf0a SHA512 9698277873810c54003b964a686fc3b88c387495f9b3112a8c27df92d322893fab0695ddc25eb3014a0fa96da805932b4f4a64f1f5ebd25508fa25c61f4d5be3
|
||||
|
||||
58
www-apps/wordpress/wordpress-6.8.ebuild
Normal file
58
www-apps/wordpress/wordpress-6.8.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# 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