mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/joomla: clean vulnerable version wrt #560240
Package-Manager: portage-2.2.26
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST Joomla_3.4.3-Stable-Full_Package.tar.bz2 6334337 SHA256 a7aecfba6d9f753ca5307361fae478fb2736d84f4085e33d9dc6b64c1ff613b7 SHA512 6fdb9d773c5958347fb7e2e596d4dada1e762ecbd9ba05a8a6a0c1d7411f07d22b70529a44232f662b5765e1ded4d5e85e40da31badf55bb197bf8480febb1db WHIRLPOOL 713aa991219c37b4ef89a912b6a4794dcdae03161a2f2b929a0a1c7b69e5f2612186b2e599928d885b1cae887b2dacca4bf3e2ebc68d56a7be1b3e4c0f114a12
|
||||
DIST Joomla_3.4.8-Stable-Full_Package.tar.bz2 6387109 SHA256 b1ef1117c40ebc98ffe1274f337da4abdeaf7f44269acd0631156347925ee323 SHA512 e20b896c0e50178155c5055a52ccac0328d0fc113fbc67ac202f31f0cb8f2209693638e7307f7473bbb87bad3c4f93a43c0f2e984c64dbaf635a2b0840a2976a WHIRLPOOL f40460e56f030d9a188f4a21e8e4545fc8b699ee377505bdebe03f374991095ba613d4e4ba22438996e0d1c638d63edbbe6b0d3b63988551eb9c49cb5394c96c
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2015 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="Joomla is a powerful Open Source Content Management System"
|
||||
HOMEPAGE="http://www.joomla.org/"
|
||||
SRC_URI="https://github.com/joomla/joomla-cms/releases/download/${MY_PV}/Joomla_${MY_PV}-Stable-Full_Package.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
S="${WORKDIR}"
|
||||
need_httpd_cgi
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
app-arch/unzip"
|
||||
RDEPEND=">=dev-lang/php-5.3.10[json,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
|
||||
}
|
||||
Reference in New Issue
Block a user