summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /www-apps/joomla
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'www-apps/joomla')
-rw-r--r--www-apps/joomla/Manifest1
-rw-r--r--www-apps/joomla/files/postinstall-en.txt29
-rw-r--r--www-apps/joomla/files/postinstall-sv.txt26
-rw-r--r--www-apps/joomla/joomla-3.4.1.ebuild51
-rw-r--r--www-apps/joomla/metadata.xml27
5 files changed, 134 insertions, 0 deletions
diff --git a/www-apps/joomla/Manifest b/www-apps/joomla/Manifest
new file mode 100644
index 000000000000..ee43319b268e
--- /dev/null
+++ b/www-apps/joomla/Manifest
@@ -0,0 +1 @@
+DIST Joomla_3.4.1-Stable-Full_Package.tar.bz2 6452772 SHA256 fc31a37e0b27072b410940657b5e06f0d7f75cd4ee1c3f4ae940623fec823842 SHA512 0b785fcb9f06cc294685e732cf18aeb6b2a7210b500586452650220b83f6bd68ec1c3d3c667b4ffbe95720d1454b21fdf4a3396ad0ab39b8c73c03b09af80a5d WHIRLPOOL 868a412bf2e7a6157fc9b2dfaecb7e3e9c2e2594658b844caa3675c4eaf4595da597b099d09252867527cc2d01b617ef7d80ae0ec2527ce6744a156eb89516cc
diff --git a/www-apps/joomla/files/postinstall-en.txt b/www-apps/joomla/files/postinstall-en.txt
new file mode 100644
index 000000000000..8f940d6dc2c0
--- /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 000000000000..4c1f7060bc69
--- /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.4.1.ebuild b/www-apps/joomla/joomla-3.4.1.ebuild
new file mode 100644
index 000000000000..3e341293ad71
--- /dev/null
+++ b/www-apps/joomla/joomla-3.4.1.ebuild
@@ -0,0 +1,51 @@
+# 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
+}
diff --git a/www-apps/joomla/metadata.xml b/www-apps/joomla/metadata.xml
new file mode 100644
index 000000000000..d0b641761e7e
--- /dev/null
+++ b/www-apps/joomla/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>harold@alum.mit.edu</email>
+ <name>Harold Naparst</name>
+ <description>Primary Maintainer, Assign bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>oli.huber@gmail.com</email>
+ <name>Olivier Huber</name>
+ <description>Co Maintainer, CC bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>fauli@gentoo.org</email>
+ <name>Christian Faulhammer</name>
+ </maintainer>
+ <longdescription lang="en">
+ Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications.
+ </longdescription>
+ <upstream>
+ <doc lang="en">http://docs.joomla.org</doc>
+ <remote-id type="github">joomla/joomla-cms</remote-id>
+ </upstream>
+</pkgmetadata>