summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/joomla/Manifest4
-rw-r--r--www-apps/joomla/joomla-4.2.6.ebuild51
2 files changed, 53 insertions, 2 deletions
diff --git a/www-apps/joomla/Manifest b/www-apps/joomla/Manifest
index 21d7c24..8f7e17b 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.1.5-Stable-Full_Package.tar.bz2 18956684 BLAKE2B 6741c57bd57b02b8a4d955067af64c78627cb2df42ba8bb62a2a3e96f8ec792be2181bbcabfc1c7c6ccdab40512bf4a11d863801342a632d7037b169380e95f2 SHA512 81edf13386640f358aec8d4facc4bda53bca401632d796a0b2137e5cdcb6635dc91d6abeb10e06545881a7a011dbe55ab8e07d670044cf563927467149f2cd2e
-EBUILD joomla-4.1.5.ebuild 1513 BLAKE2B e89eb20cab53c83dc7203898d961078352713fbfc0e9db2087b4748f69a30048a8b5f3647f06a9ee307e7df3528d9d153d1b18106d930f38a2a877c9b65df1e9 SHA512 f15373d42fc470f9bd5e2215bf4be944f0b9f2a72c7d545fa3c581c791616edc4b141ebb7d6ab8f4c296ff66ba9ccb42283287450a81fbebe2a9a634d94cae62
+DIST Joomla_4.2.6-Stable-Full_Package.tar.bz2 20351717 BLAKE2B 801c90cdc9e034d04c69c6b07292ea25c6f87ccc2d11212564a1729cd4b67462bb794e8aa61479871ca962b2e3f660eba8bb55f1b35a41bce4cb0a2d573f1ffc SHA512 1e17002219287c60aa1091897506494ad3accdc860f713bbb575573679e7f2954b1034307f82ea49a41565e6ce7c91a29e87de7fc25f56cfb939dff55eacd5f8
+EBUILD joomla-4.2.6.ebuild 1503 BLAKE2B a2282617c5b6486b60c049dd8baafce30a5b27fa840afcf937430a1edccb716ff5f0603aa77389b9922c57ae03e0d1f05b5813e07b0cac7df65cee7d56b4ce47 SHA512 98da4f6586d4c3baa07f3d353f7fa6f581f0c2a929b06da75441ee34987133fc39a6ee7681ac418e35a65347b978e7fb7512c0fbeff636e87b629baa9c99794a
diff --git a/www-apps/joomla/joomla-4.2.6.ebuild b/www-apps/joomla/joomla-4.2.6.ebuild
new file mode 100644
index 0000000..2a2fb95
--- /dev/null
+++ b/www-apps/joomla/joomla-4.2.6.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_PV=$(replace_version_separator '_' '-')
+
+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
+}