public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/jmbsvicetto:master commit in: www-apps/drupal/
Date: Sun,  7 Dec 2014 21:06:08 +0000 (UTC)	[thread overview]
Message-ID: <1417986291.88dd4875c1b52624f4cb10852175637a9fb42344.jmbsvicetto@gentoo> (raw)

commit:     88dd4875c1b52624f4cb10852175637a9fb42344
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  7 21:03:55 2014 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sun Dec  7 21:04:51 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=88dd4875

Add initial drupal 8 ebuild. No keywords as this needs testing.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo.org>

---
 www-apps/drupal/Manifest                  |  1 +
 www-apps/drupal/drupal-8.0.0_beta3.ebuild | 87 +++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index 17c5e67..ae8a4a7 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,2 +1,3 @@
 DIST drupal-6.34.tar.gz 1110352 SHA256 fea34acdc9a1fbe086151df086efc26dd2d5168b8a8ca79d50543d5b83729994 SHA512 3cc193df9d808cfab2262b65e2cd147483267fbb5d4af723ed132d15ae070498e928707cbe99c986cf64deb0a8b011da675d1c0bd67008b3b6de7e2e97c0cd4d WHIRLPOOL 8e044b112a7aa4ba6d7d4cc9e0d2ce4fa5bc9e9b699a7bb87a37b632bbc96a51281b267b559cf4001209b660b608277149c89735ba5ffd4232065723be268685
 DIST drupal-7.34.tar.gz 3229858 SHA256 34268d4f2917ad1417725885fe4dad78dd2fecb7b5a27c73627746d2cb1cb3b6 SHA512 32bca5385ebb0485009c237491337691242064e6c754e271c1ba54e527c3c8577e8b161b69a8a6d02d3b1e908a14ac6d77d23623109731ee0dc167bc432d5882 WHIRLPOOL f3437f7993cfdebe1032c3c562cbb8a58e42b782299896f058a8c95cd26251cbe602c28b546b4dca315f4fe7ca9e8c33c6e5cac5c0d20f37610e28e0bf093453
+DIST drupal-8.0.0-beta3.tar.gz 9445245 SHA256 c3352c01e1a9f00515adb5df0d54d17514680244944c71f0bac502ba14f44571 SHA512 0879fdf3ee00dbe637a461c70c30b336b87df6c87e9bc58b15a9c479242758588e8a613d50c4194793dad1b8b6bc733dfebc6328cbd0760cab0f475b27a784fc WHIRLPOOL 5f3b022b31efc7f86d5238b33e1d26fd61dfd537f2554ae4f10f40bc07f561af494838208c109520869cd5f1ba4125f83e6399c499c7522df87f72788afb6405

diff --git a/www-apps/drupal/drupal-8.0.0_beta3.ebuild b/www-apps/drupal/drupal-8.0.0_beta3.ebuild
new file mode 100644
index 0000000..48185e3
--- /dev/null
+++ b/www-apps/drupal/drupal-8.0.0_beta3.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.27.ebuild,v 1.1 2014/04/25 07:55:09 radhermit Exp $
+
+EAPI=5
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+MY_P=${P/_/-}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="http://drupal.org/"
+SRC_URI="http://drupal.org/files/projects/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS=""
+IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
+
+RDEPEND="
+	dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
+	virtual/httpd-php
+	accelerator? ( ||
+		(
+			dev-php/xcache
+			(
+				>=dev-lang/php-5.5[opcache]
+				dev-php/pecl-apcu
+			)
+		)
+	)
+	uploadprogress? ( dev-php/pecl-uploadprogress )
+	mysql? (
+		|| (
+			dev-lang/php[mysql]
+			dev-lang/php[mysqli]
+		)
+	)
+	sqlite? ( dev-lang/php[sqlite] )
+"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+src_install() {
+	webapp_src_preinst
+
+	local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
+		core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPGRADE.txt "
+
+	dodoc ${docs}
+	rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
+
+	cp sites/default/{default.settings.php,settings.php} || die
+	insinto "${MY_HTDOCSDIR}"
+	doins -r .
+
+	dodir "${MY_HTDOCSDIR}"/files
+	webapp_serverowned "${MY_HTDOCSDIR}"/files
+	webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
+	webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
+
+	webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
+	webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+	webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+	webapp_src_install
+}
+
+pkg_postinst() {
+	echo
+	ewarn "SECURITY NOTICE"
+	ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
+	ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
+	echo
+	ewarn "If this is a new install, unless you want anyone with network access to your server to be"
+	ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
+	echo
+	ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
+	ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
+	ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
+	ewarn "reported by the setup."
+	echo
+}


             reply	other threads:[~2014-12-07 21:06 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 21:06 Jorge Manuel B. S. Vicetto [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-09 16:38 [gentoo-commits] dev/jmbsvicetto:master commit in: www-apps/drupal/ Jorge Manuel B. S. Vicetto
2016-09-25  3:29 Jorge Manuel B. S. Vicetto
2016-09-25  3:23 Jorge Manuel B. S. Vicetto
2016-09-25  3:23 Jorge Manuel B. S. Vicetto
2016-07-19 12:18 Jorge Manuel B. S. Vicetto
2016-07-19 11:40 Jorge Manuel B. S. Vicetto
2016-07-08 19:15 Jorge Manuel B. S. Vicetto
2016-06-16  9:45 Jorge Manuel B. S. Vicetto
2016-06-15 22:31 Jorge Manuel B. S. Vicetto
2016-06-05 20:32 Jorge Manuel B. S. Vicetto
2016-05-22 22:30 Jorge Manuel B. S. Vicetto
2016-04-13 18:55 Jorge Manuel B. S. Vicetto
2016-04-13 18:52 Jorge Manuel B. S. Vicetto
2016-03-11  4:48 Jorge Manuel B. S. Vicetto
2016-02-25  3:01 Jorge Manuel B. S. Vicetto
2016-02-08 18:08 Jorge Manuel B. S. Vicetto
2016-01-16 16:29 Jorge Manuel B. S. Vicetto
2015-12-04  1:58 Jorge Manuel B. S. Vicetto
2015-11-21 23:24 Jorge Manuel B. S. Vicetto
2015-11-17  9:58 Jorge Manuel B. S. Vicetto
2015-11-17  9:58 Jorge Manuel B. S. Vicetto
2015-10-22  3:22 Jorge Manuel B. S. Vicetto
2015-10-22  0:21 Jorge Manuel B. S. Vicetto
2015-10-15 11:48 Jorge Manuel B. S. Vicetto
2015-10-09  5:03 Jorge Manuel B. S. Vicetto
2015-09-24 14:41 Jorge Manuel B. S. Vicetto
2015-06-18 13:14 Jorge Manuel B. S. Vicetto
2015-06-02 20:02 Jorge Manuel B. S. Vicetto
2015-05-08 18:41 Jorge Manuel B. S. Vicetto
2015-04-03  2:34 Jorge Manuel B. S. Vicetto
2015-03-21 23:24 Jorge Manuel B. S. Vicetto
2015-03-19 20:50 Jorge Manuel B. S. Vicetto
2015-03-19 20:47 Jorge Manuel B. S. Vicetto
2015-03-01 16:45 Jorge Manuel B. S. Vicetto
2015-01-07 16:17 Jorge Manuel B. S. Vicetto
2015-01-05 18:25 Jorge Manuel B. S. Vicetto
2014-11-20 11:40 Jorge Manuel B. S. Vicetto
2014-11-20 11:00 Jorge Manuel B. S. Vicetto
2014-10-17 12:32 Jorge Manuel B. S. Vicetto
2014-08-21 16:39 Jorge Manuel B. S. Vicetto
2014-08-14 12:52 ` Jorge Manuel B. S. Vicetto
2014-08-14 12:52 Jorge Manuel B. S. Vicetto
2014-08-21 16:39 ` Jorge Manuel B. S. Vicetto
2014-07-21  9:01 Jorge Manuel B. S. Vicetto
2014-07-21  9:01 Jorge Manuel B. S. Vicetto
2013-11-29 18:13 Jorge Manuel B. S. Vicetto
2013-09-13  1:07 Jorge Manuel B. S. Vicetto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1417986291.88dd4875c1b52624f4cb10852175637a9fb42344.jmbsvicetto@gentoo \
    --to=jmbsvicetto@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox