mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
www-apps/wordpress: bump to 6.9
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
parent
9470d1e703
commit
df1cf1f092
@ -3,3 +3,4 @@ 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.3.tar.gz 26928488 BLAKE2B 1b4214b27a1c904b0f660041504887b11280f0a9784293cd4c6e242b309a6d1e9c81b1c3d74563299eeba39c846a879eed327b5ff48b2c4b27e307c1959da0e9 SHA512 0e8890d1bc9d6baa344cf5c6c5cb6ec5cdca810311a3508ec4cf9b0d5afe75f949c81a153c27847fa99f6c5d214336281ca9220bb54535996ee2eaa059306864
|
||||
DIST wordpress-6.9.tar.gz 27058021 BLAKE2B 0de234c960b60177f4cbbbe3cb2e833e2a326a489157e6d63a21a89b30bf8dbd0235b709a96d8df42c5e3651edf0badb51462ebc044d735fc10aac0c9b828842 SHA512 486b31bb8e3836f7e4bf1024098976a98bd52a0280bdb1a9a0c1648865a03cd7a1373a8c232bc82e57c3819dcf757bb26ff172f4ec88e681ff260978e197d0fd
|
||||
|
||||
58
www-apps/wordpress/wordpress-6.9.ebuild
Normal file
58
www-apps/wordpress/wordpress-6.9.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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user