From 42d276f26d3ea831d000335fb6f7bbeaba86b71f Mon Sep 17 00:00:00 2001 From: Marcin Deranek Date: Sun, 11 Jun 2017 09:40:43 +0200 Subject: New ebuild --- www-apps/joomla/Manifest | 4 +++ www-apps/joomla/files/postinstall-en.txt | 29 +++++++++++++++++++ www-apps/joomla/files/postinstall-sv.txt | 26 +++++++++++++++++ www-apps/joomla/joomla-3.7.2.ebuild | 49 ++++++++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 www-apps/joomla/Manifest create mode 100644 www-apps/joomla/files/postinstall-en.txt create mode 100644 www-apps/joomla/files/postinstall-sv.txt create mode 100644 www-apps/joomla/joomla-3.7.2.ebuild (limited to 'www-apps') diff --git a/www-apps/joomla/Manifest b/www-apps/joomla/Manifest new file mode 100644 index 0000000..e9005bf --- /dev/null +++ b/www-apps/joomla/Manifest @@ -0,0 +1,4 @@ +AUX postinstall-en.txt 916 SHA256 b8cde9b18beeab31eaf713c3a07bcd6a831bffa233019b1524948aa7773f0c5d SHA512 d53b2d2b2d9cb1cb83bf452f71d7098e5c6a460bdfa914e7d9bf57090544931eeeae249cf0e738a73c351f06854f7e3490e1c5d84271be43e45bec91a32c732a WHIRLPOOL 05c96f5ada3b8a05671f1e8a04af503fe83bedf09fe84374e92d186e30352168ef5e9aac608c73bca92c0b29160fa25bf7453b3482dfc0b022cf9b140e0a6167 +AUX postinstall-sv.txt 764 SHA256 46bf71e91721e3a0d269680c059642dd694a4f8d6184503545d7c4a46f9414e3 SHA512 4a7110fd497d5330fd289743942a9339bd7b7ffa0812578c4552ae539774576ca7ce6df8bc8ed45ca6bb4d61d7183c1094d6a2480988497e131f3687274b3e0b WHIRLPOOL 86a91ca55da9f777ed98a2435a9b1f909b54e258a2a74781466ba0d3e4ffae142af9c3f0746cdde18d5c360252f840529a59dbb71749295130ee63007e45d4e6 +DIST Joomla_3.7.2-Stable-Full_Package.tar.bz2 7434243 SHA256 8a1cb15db53605ac363dd55e660a710df10eeab796b6ff201b8b51efd37b5c1b SHA512 93d1e1b808cb2d76764e300cb08677cb196957bc1af9165a95fd83583d3fa9b20e3286ffa8b797721eac11bb4aa900383e3f4ecb6dba0bba141b66b1962ba93b WHIRLPOOL 8f9068aa1a1a27b5aaabca8068e9f55f61ea21c8baa8b3688ac3305879e209406a2e683f91133e3413c9d179702c5264d4e4db9bbb8005406b124147780d37ee +EBUILD joomla-3.7.2.ebuild 1488 SHA256 b3054730d84a4ad5cdcc7e067eec02bded1d3f3471187d3e37915421626c06ce SHA512 548dbfda9440a2a455c4d987c3a8ebe96564e3eb0cc75bc20983577f2fc0522143918ee1fcc2083e2ee23a368eeec745a6d20ac5ce99f567d86d3e19f4e700b9 WHIRLPOOL 68e6c2f83b996f6f71fc57b7505f60eceb25ea2f1a86e54d4f65c617f9cc699245699e2eedb2a5ff4e9313ca1cef3f7d24f6c2b8aedb6d8d0f8859198b0d7457 diff --git a/www-apps/joomla/files/postinstall-en.txt b/www-apps/joomla/files/postinstall-en.txt new file mode 100644 index 0000000..8f940d6 --- /dev/null +++ b/www-apps/joomla/files/postinstall-en.txt @@ -0,0 +1,29 @@ +You are almost done! + + 0. Make sure your database server is initialized and started, + and that you have the login details of a user who can create a database. + + 1. Login on http://${VHOST_HOSTNAME}/${VHOST_APPDIR} + and finish the installation. + + If the installation hangs, you might want to modify your php.ini: + + max_execution_time = 3000 ; + memory_limit=128M ; + + 2. Move into the directory where you installed Joomla and remove + the "installation" folder: + + # cd ${MY_INSTALLDIR} + # rm -rf installation + + 3. You can now launch your browser and point it to your Joomla site e.g. + + http://${VHOST_HOSTNAME}/${VHOST_APPDIR} -> Main Site + http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/administrator -> Admin + + You can log into the administration view using the username 'admin' + along with the password that was generated or you chose during the + web based installation. + + Enjoy Joomla! diff --git a/www-apps/joomla/files/postinstall-sv.txt b/www-apps/joomla/files/postinstall-sv.txt new file mode 100644 index 0000000..4c1f706 --- /dev/null +++ b/www-apps/joomla/files/postinstall-sv.txt @@ -0,0 +1,26 @@ +Du är nästan klar! + + 0. Se till att du har installerat och startat en databasserver, + och att du har en användare som får skapa databaser. + + 1. Surfa in på http://${VHOST_HOSTNAME}/${VHOST_APPDIR} + för att slutföra installationen. + + Om installationen hänger sig, kan det vara en idé att ändra php.ini så här: + + max_execution_time = 3000 ; + memory_limit=128M ; + + 2. Ta bort installationsmappen: + + # cd ${MY_INSTALLDIR} + # rm -rf installation + + 3. Surfa in på din nya Joomla sida: + + http://${VHOST_HOSTNAME}/${VHOST_APPDIR} -> Main Site + http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/administrator -> Admin + + Logga in till adminvyn med användarnamn 'admin' och det lösenord som du valt under installationsprocessen ovan. + + diff --git a/www-apps/joomla/joomla-3.7.2.ebuild b/www-apps/joomla/joomla-3.7.2.ebuild new file mode 100644 index 0000000..2e312f4 --- /dev/null +++ b/www-apps/joomla/joomla-3.7.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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" +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-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 +} -- cgit v1.2.3