1 |
commit: 9fa0f74d0eabcfd9b9fa8559d92bd44bca4c44d3 |
2 |
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 05:41:25 2023 +0000 |
4 |
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 05:41:25 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa0f74d |
7 |
|
8 |
www-apps/wordpress: add 6.2_rc2 |
9 |
|
10 |
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> |
11 |
|
12 |
www-apps/wordpress/Manifest | 1 + |
13 |
www-apps/wordpress/wordpress-6.2_rc2.ebuild | 58 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 59 insertions(+) |
15 |
|
16 |
diff --git a/www-apps/wordpress/Manifest b/www-apps/wordpress/Manifest |
17 |
index 6b157027faa2..6fdd270ae721 100644 |
18 |
--- a/www-apps/wordpress/Manifest |
19 |
+++ b/www-apps/wordpress/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST wordpress-6.1.1.tar.gz 22751086 BLAKE2B fbbee51219e4237236c39255deb9e31e566c630cfc66f0c4744fec249ae1d07473a6222b7ec5d84079e616d8d2e790521e57809d357ab56582b4a292dbad82f1 SHA512 b50dd9b5e1628a0285d3f0121d6b4cb3617fb696907ef06c935b40d0a46c9853ce12200e011a58675830602aa6d5b6470a98e8cefeec0f7464145bdc344780bb |
22 |
DIST wordpress-6.2-RC1.tar.gz 23020112 BLAKE2B fc831b535614d1c9c725a40685a16e0acfc2c86938daecae3cace752f51184216415038d5a755686e087abb177f50fca881345ff120ed4113edc41c503e3d0de SHA512 a821fe458f99fc451c7150bc08b5f7800242a43a2757a3f9d7eccaddec3ffd5edfb8772b1dcb3d27e092c682f0d73c2712a1b366997881baae0d5e3d034597c5 |
23 |
+DIST wordpress-6.2-RC2.tar.gz 23020605 BLAKE2B f6390e3d501ed893aedbb2b1515922a59113b5a1878ae8c619e97486306417af694d6d5967e4d3931ea9972017b481e2d3c0a3061f17288824cab038b16b0c2f SHA512 60a0d7debacc95d9535fad5eb1716a320e805d239a7fe797c8ff0a9cc3d687cc5262b066e0d8901099346efccbbe9db40a6a033335b2d908564a4841e437fe6b |
24 |
|
25 |
diff --git a/www-apps/wordpress/wordpress-6.2_rc2.ebuild b/www-apps/wordpress/wordpress-6.2_rc2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b6c209d75a8c |
28 |
--- /dev/null |
29 |
+++ b/www-apps/wordpress/wordpress-6.2_rc2.ebuild |
30 |
@@ -0,0 +1,58 @@ |
31 |
+# Copyright 1999-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit webapp |
37 |
+ |
38 |
+DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)" |
39 |
+HOMEPAGE="https://wordpress.org/" |
40 |
+SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz" |
41 |
+S=${WORKDIR}/${PN} |
42 |
+ |
43 |
+LICENSE="GPL-2+" |
44 |
+if [[ ${PV} != *_rc* ]]; then |
45 |
+ KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" |
46 |
+fi |
47 |
+ |
48 |
+RDEPEND="virtual/httpd-php |
49 |
+ || ( dev-lang/php[mysql] dev-lang/php[mysqli] )" |
50 |
+ |
51 |
+need_httpd_cgi |
52 |
+ |
53 |
+IUSE="+akismet examples +themes vhosts" |
54 |
+ |
55 |
+src_install() { |
56 |
+ webapp_src_preinst |
57 |
+ |
58 |
+ dodoc readme.html |
59 |
+ rm readme.html license.txt || die |
60 |
+ |
61 |
+ if use !akismet ; then |
62 |
+ rm -R wp-content/plugins/akismet/ || die |
63 |
+ fi |
64 |
+ if use !examples ; then |
65 |
+ rm wp-content/plugins/hello.php || die |
66 |
+ fi |
67 |
+ if use !themes ; then |
68 |
+ rm -R wp-content/themes/*/ || die |
69 |
+ fi |
70 |
+ |
71 |
+ [[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php |
72 |
+ |
73 |
+ insinto "${MY_HTDOCSDIR}" |
74 |
+ doins -r . |
75 |
+ |
76 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/index.php |
77 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php |
78 |
+ webapp_serverowned "${MY_HTDOCSDIR}" |
79 |
+ # allows plugins update if allowed within WP |
80 |
+ webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/includes/file.php |
81 |
+ |
82 |
+ webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php |
83 |
+ |
84 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
85 |
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt |
86 |
+ |
87 |
+ webapp_src_install |
88 |
+} |