From 7fb6c46041b3659fa42a09ea5383275e2110df5c Mon Sep 17 00:00:00 2001 From: "Vance M. Allen" Date: Fri, 5 Apr 2024 11:15:16 -0600 Subject: Add support for Joomla-5.0.3 Signed-off-by: Vance M. Allen --- www-apps/joomla/Manifest | 4 +-- www-apps/joomla/joomla-4.2.9.ebuild | 52 ------------------------------------ www-apps/joomla/joomla-5.0.3.ebuild | 53 +++++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 54 deletions(-) delete mode 100644 www-apps/joomla/joomla-4.2.9.ebuild create mode 100644 www-apps/joomla/joomla-5.0.3.ebuild diff --git a/www-apps/joomla/Manifest b/www-apps/joomla/Manifest index b19d091..bb46394 100644 --- a/www-apps/joomla/Manifest +++ b/www-apps/joomla/Manifest @@ -1,4 +1,4 @@ AUX postinstall-en.txt 916 BLAKE2B 0f89355cd8a1f9507de8a231c519930d25887717ae9519b90f5d77e9f928d8846585236a7c7cf5f48349508e5a811288f5833fd175d10d1c119c6a772c9ef12b SHA512 d53b2d2b2d9cb1cb83bf452f71d7098e5c6a460bdfa914e7d9bf57090544931eeeae249cf0e738a73c351f06854f7e3490e1c5d84271be43e45bec91a32c732a AUX postinstall-sv.txt 764 BLAKE2B 6cf5780b60c39b35845557d4e386ca4e2f2c5ca9e7fa45fd67feedf108d57ac5d1a11b80bb68861a14f30c83f55302f9cc49a4dff25015faec5ebac2a4c1a071 SHA512 4a7110fd497d5330fd289743942a9339bd7b7ffa0812578c4552ae539774576ca7ce6df8bc8ed45ca6bb4d61d7183c1094d6a2480988497e131f3687274b3e0b -DIST Joomla_4.2.9-Stable-Full_Package.tar.bz2 20744033 BLAKE2B f8c7e3bb00301a9a454e3a4a65cbaed0f37cf943adb7fe2623de634e1b64be93138bfa5b18d6920a77cfe3ede5d0bdc09594144229c3190ff7d112391f92d9f8 SHA512 25805241234753c05f562cf3be599c63cfcfb2e7dcf6b5b76b1cb4b6a4d305497c720eaccdc0939e4fceffa83099db9b3c44963fce86bafc3efc2fc34fecaa20 -EBUILD joomla-4.2.9.ebuild 1509 BLAKE2B 9d31eddaefdfc9e35484f4387ed15530281d30229ceb751f7748e909b78565f4d30fa417514f24d8ad85b87e557949162542880561863ba829f74de0cb565c4c SHA512 afdecaec09b45f0b32edab17e87fa489fa3c51f100ead90209fa7fe256aabb1187bffe4e30be0a3137cfe1dcec3455edcb89be3e69d2ec157236a015cc54a3da +DIST Joomla_5.0.3-Stable-Full_Package.tar.gz 22522747 BLAKE2B 19c656d6d6ae02c123119b9146e6191fc041ae97912cdcbe33945a0b9a5c4e7fef6929398af12d68266941c4fd4d761e9529ff1b83b2baf28528adc37edf8d89 SHA512 0bdc521461b32e287bf2f749ecae81dd388d827b937d4f31d6e7168ec853a240244f3e0970eeafe02ff5f4449b8366189a48f6eb6040e370c57d6c81d8acd195 +EBUILD joomla-5.0.3.ebuild 1582 BLAKE2B 283836ab3c2503c0183a947e55086a7d5f20d18d9e23699d9b9b6c7260919b89e2e6bc605d2046c2b14625c24fd035360e9a000a68f56739c92b08cacd71972a SHA512 3e4184a0756f3977355ee7e2c7477273a67fde81e4a05e02ec54b1d49ddb04041aef35184c509fbda448b1efac0a7890a473c7d0e75f3c3344ce3a3708e630bc diff --git a/www-apps/joomla/joomla-4.2.9.ebuild b/www-apps/joomla/joomla-4.2.9.ebuild deleted file mode 100644 index 165502a..0000000 --- a/www-apps/joomla/joomla-4.2.9.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=7 -inherit webapp - -#MY_PV=$(replace_version_separator '_' '-') -MY_PV=${PV//_/-} - -DESCRIPTION="A powerful Open Source Content Management System" -HOMEPAGE="http://www.joomla.org/" -M_PN="Joomla_${MY_PV}-Stable-Full_Package" -RESTRICT="mirror" -SRC_URI="https://github.com/${PN}/${PN}-cms/releases/download/${MY_PV}/${M_PN}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" - -S="${WORKDIR}" -need_httpd_cgi - -RDEPEND=">=dev-lang/php-8[zlib,xml] - virtual/httpd-php - || ( dev-lang/php[mysql] dev-lang/php[postgres] )" - -src_install () { - webapp_src_preinst - - touch configuration.php - insinto "${MY_HTDOCSDIR}" - doins -r . - - local files=" administrator/cache administrator/components - administrator/language administrator/language/en-GB - administrator/manifests/packages - administrator/modules administrator/templates cache components images installation - images/banners language language/en-GB media modules plugins - plugins/authentication plugins/content plugins/editors plugins/editors-xtd - plugins/search plugins/system plugins/user plugins tmp templates" - - for file in ${files}; do - webapp_serverowned -R "${MY_HTDOCSDIR}"/${file} - done - - webapp_configfile "${MY_HTDOCSDIR}"/configuration.php - webapp_serverowned "${MY_HTDOCSDIR}"/configuration.php - - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - webapp_postinst_txt sv "${FILESDIR}"/postinstall-sv.txt - webapp_src_install -} diff --git a/www-apps/joomla/joomla-5.0.3.ebuild b/www-apps/joomla/joomla-5.0.3.ebuild new file mode 100644 index 0000000..66fc814 --- /dev/null +++ b/www-apps/joomla/joomla-5.0.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=7 +inherit webapp + +#MY_PV=$(replace_version_separator '_' '-') +MY_PV=${PV//_/-} + +DESCRIPTION="A powerful Open Source Content Management System" +HOMEPAGE="http://www.joomla.org/" +M_PN="Joomla_${MY_PV}-Stable-Full_Package" +RESTRICT="mirror" +#SRC_URI="https://github.com/${PN}/${PN}-cms/releases/download/${MY_PV}/${M_PN}.tar.bz2" +SRC_URI="https://github.com/${PN}/${PN}-cms/releases/download/${MY_PV}/${M_PN}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +S="${WORKDIR}" +need_httpd_cgi + +RDEPEND=">=dev-lang/php-8[zlib,xml] + virtual/httpd-php + || ( dev-lang/php[mysql] dev-lang/php[postgres] )" + +src_install () { + webapp_src_preinst + + touch configuration.php + insinto "${MY_HTDOCSDIR}" + doins -r . + + local files=" administrator/cache administrator/components + administrator/language administrator/language/en-GB + administrator/manifests/packages + administrator/modules administrator/templates cache components images installation + images/banners language language/en-GB media modules plugins + plugins/authentication plugins/content plugins/editors plugins/editors-xtd + plugins/system plugins/user plugins tmp templates" + + for file in ${files}; do + webapp_serverowned -R "${MY_HTDOCSDIR}"/${file} + done + + webapp_configfile "${MY_HTDOCSDIR}"/configuration.php + webapp_serverowned "${MY_HTDOCSDIR}"/configuration.php + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + webapp_postinst_txt sv "${FILESDIR}"/postinstall-sv.txt + webapp_src_install +} -- cgit v1.2.3-65-gdbad