public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/jmbsvicetto:master commit in: www-apps/drupal/files/, www-apps/drupal/
@ 2012-12-21 14:43 Jorge Manuel B. S. Vicetto
  0 siblings, 0 replies; 2+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2012-12-21 14:43 UTC (permalink / raw
  To: gentoo-commits

commit:     d56f8573938eb5ebb32354ef101aea49c10cd90b
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 21 14:41:59 2012 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Fri Dec 21 14:41:59 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/jmbsvicetto.git;a=commit;h=d56f8573

[www-apps/drupal] Add to overlay and bump to release 7.18.

Package-Manager: portage-2.2.0_alpha149

---
 www-apps/drupal/Manifest                 |    1 +
 www-apps/drupal/drupal-7.18.ebuild       |   60 ++++++++++++++++++++++++++++++
 www-apps/drupal/files/postinstall-en.txt |   25 ++++++++++++
 www-apps/drupal/metadata.xml             |    9 ++++
 4 files changed, 95 insertions(+), 0 deletions(-)

diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
new file mode 100644
index 0000000..d75e735
--- /dev/null
+++ b/www-apps/drupal/Manifest
@@ -0,0 +1 @@
+DIST drupal-7.18.tar.gz 3162333 SHA256 c0add5d9e9ae9d09f9685b599c10b0bdce2548879cfe618099d01337181dc7a8 SHA512 03b58049151e81f95706114763bc20c6f4e47ec2af25953d1a7f695199e54a538b5d27819dfd844d3b5209eefa9b2aaa4ef4df22892517e5e38fece742775ddd WHIRLPOOL 0a35c708106cac192727eec942d9ab827240106295515a74160efa0ad0604175d4554b952c66b8a007c76fb61a79bc0295d0144560ee1af2a4804c1cf849b4be

diff --git a/www-apps/drupal/drupal-7.18.ebuild b/www-apps/drupal/drupal-7.18.ebuild
new file mode 100644
index 0000000..90ace36
--- /dev/null
+++ b/www-apps/drupal/drupal-7.18.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.17.ebuild,v 1.1 2012/11/09 22:32:44 radhermit Exp $
+
+EAPI=4
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="http://drupal.org/"
+SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="+mysql postgres sqlite"
+
+RDEPEND="virtual/httpd-php
+	dev-lang/php[gd,pdo,postgres?,xml]
+	dev-php/pecl-apc
+	dev-php/pecl-uploadprogress
+	mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
+	sqlite? ( dev-lang/php[sqlite3] )"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+src_install() {
+	webapp_src_preinst
+
+	local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
+	dodoc ${docs}
+	rm -f ${docs} INSTALL COPYRIGHT.txt
+
+	cp sites/default/{default.settings.php,settings.php}
+	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() {
+	ewarn
+	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}"
+	ewarn
+}

diff --git a/www-apps/drupal/files/postinstall-en.txt b/www-apps/drupal/files/postinstall-en.txt
new file mode 100644
index 0000000..aca91ec
--- /dev/null
+++ b/www-apps/drupal/files/postinstall-en.txt
@@ -0,0 +1,25 @@
+You will need to provide a database for your drupal installation.  
+
+This assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml 
+
+Once you have a database ready all you need to do is to go to this 
+location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+
+and provide the credential required for the database access.
+
+SECURITY NOTICE: If you use SSL on your Drupal installation, you
+should enable the PHP configuration option 'session.cookie-secure'
+to make it harder for attackers to sniff session cookies.
+
+References:
+CVE-2008-3661
+http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
+http://drupal.org/node/315703
+
+After that you can start to use drupal.

diff --git a/www-apps/drupal/metadata.xml b/www-apps/drupal/metadata.xml
new file mode 100644
index 0000000..8e9eac6
--- /dev/null
+++ b/www-apps/drupal/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+  <email>jmbsvicetto@gentoo.org</email>
+  <name>Jorge Manuel B. S. Vicetto</name>
+</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/jmbsvicetto:master commit in: www-apps/drupal/files/, www-apps/drupal/
@ 2015-08-22 12:59 Jorge Manuel B. S. Vicetto
  0 siblings, 0 replies; 2+ messages in thread
From: Jorge Manuel B. S. Vicetto @ 2015-08-22 12:59 UTC (permalink / raw
  To: gentoo-commits

commit:     5fe8d4a98e88b54f1363336b1c9bd1e8e0d6970c
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 12:57:51 2015 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 12:57:51 2015 +0000
URL:        https://gitweb.gentoo.org/dev/jmbsvicetto.git/commit/?id=5fe8d4a9

Version bump to 6.37 and 7.39 to address DRUPAL-SA-CORE-2015-003 - fixes bug 558330.
Bump to the latest 8.0.0 beta and update postinstall to point to the Wiki.

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

 www-apps/drupal/Manifest                             |  5 +++--
 .../{drupal-6.36.ebuild => drupal-6.37.ebuild}       |  2 +-
 .../{drupal-7.38.ebuild => drupal-7.39.ebuild}       |  2 +-
 ...drupal-7.38.ebuild => drupal-8.0.0_beta14.ebuild} | 20 ++++++++++++++++----
 www-apps/drupal/files/postinstall-en.txt             |  2 +-
 5 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index add711d..0cc5895 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,4 +1,5 @@
-DIST drupal-6.36.tar.gz 1112226 SHA256 e70fc70c7bb268e262bfa57d265dcc4c88daf17e918619d607aaac7285d22ac4 SHA512 ec2ed0875e53291388567de2cc75f20cda0e1dbb14c2f355832053f94275a161db2a1f4b96536f8c71fa2f8547400c924f62e3c326a93d8f58f7dc6bc7bb39ce WHIRLPOOL 260e44bc69fdb02a1e9fb20760fc77d6bf29320a6ce823b7fd0f970554420ad564765c4f153088363c3846699b4e7deae1f024e300280a53de23a81a69bfbf55
-DIST drupal-7.38.tar.gz 3247864 SHA256 dccf3f12135183e94baaf960ce0993ad99c47afefe830b193cd30a17a317853e SHA512 b36399283aa370dc325e0d2cf3f2ed7615f6996ee43c79e3cba2c8ecc62a01b59211f24b56dda8f420cac2caa1bb9212f65158abc11c27d5c0b0a345f386cbeb WHIRLPOOL f678adfba1e63d35539e76dd24d9e680ae85958126a5694a7402be7fe8081a91990755ea71a35322b4c175493ecd7914071741155f119b29c2296f2821a6dcca
+DIST drupal-6.37.tar.gz 1112775 SHA256 e3db44fdeefa9c4b3edf31816a8cfcaffe300986dbebdc22769ec739d3296d5d SHA512 4895221c7fb2913618490722629888a4862f28633a49ba5363a0393974941c68d07a3e255d6f380d7d97d0aa3251a76c03d5d0f0ab4c968af301a1207d8d35a0 WHIRLPOOL 8d7a0576fba31f2fcf9035755d3ef9a521461d9b3dfab57eb8871fe66038f4056b690a84513bf61a639b4c5f8126fa5180734542b0036f5d089afb0cb2abfecd
+DIST drupal-7.39.tar.gz 3249343 SHA256 afad72be4389e2a2dfc630fc8582277ed185d884101978890139e0d14e4ddbab SHA512 5884ec66eac5340272201d524e7346e9bb92772c5451d9d47571e7ba8aac11d3533dabfdbba32339e7fdc691efa6fd22bbb4137633e337f148a2bd0678d3b65e WHIRLPOOL d2b6fc6e481f8c5966d0ad226fe423851e5c9d91f53283e934903e882485a0a04cbe442aa102424fc8eb9eb9303650aec8db6396b3e8bd7fccd68fb1c2eff25d
 DIST drupal-8.0.0-beta11.tar.gz 10500627 SHA256 0c7a6b84dc6019bc5afcf3066aa9c2a8a5cd4147a03d48314728156cc434bda1 SHA512 bdcac51cb8379711245d7e15a3bc879634c6c88af6799525f7dda3cd5be799193a3e4151d902569f9f008d89f309f7bca2180ebca4cb1f21bce87ac744461748 WHIRLPOOL 44b1a8670c5dfbf9d5208e5c5dc75a3e4c4a674befa1bd64b10409989d72da01e8e0420d9dc1e7d39b633fa49b80166c0e812f2deeb13304f4850fc777e1b36b
+DIST drupal-8.0.0-beta14.tar.gz 10493263 SHA256 0dc8e4c9b3ed2f4f9f50741a6d014278d85d98abea3d71a9936b46c2b8249978 SHA512 09a0c718519518a2536a1b72fbb5c79ee4a63fa453d9669539e87f5c70b9cbb43c42c433174dccd1bcf920a22e7766ca30df88663d6356c709ad958dcd8e968a WHIRLPOOL 62cdae3ed75fd383bca76a9c64a081d0c0a12e7591f2acbd568bf3de00ca7b1e7ffa2fdc126f625dbf07cc88d42f50b9d16b5a6d572b5afe1a8d8616a395b610
 DIST drupal-8.0.0-beta4.tar.gz 9555745 SHA256 e50aecb08f79c1a11f0a9858dc493d7cc3a0b6293ed74155c5d89fd7ad4441ac SHA512 0b021f4be93059e67b29e05ff61f33c9c18b4cb27d9b0bcac7525e5c7f02b3b0f187c08602a1961fdddc9fbea2e83e5be73190e13011bd0048461ba30338a04c WHIRLPOOL 33ceebf2a657c8de398de51f550b9ad3e3739560a86ecb8356e8deeedae80ab95c76770fb11280d4908ef55e6191e9a2bfae44c71ef85ea2423752c8466fa753

diff --git a/www-apps/drupal/drupal-6.36.ebuild b/www-apps/drupal/drupal-6.37.ebuild
similarity index 99%
rename from www-apps/drupal/drupal-6.36.ebuild
rename to www-apps/drupal/drupal-6.37.ebuild
index ed55f2e..35750de 100644
--- a/www-apps/drupal/drupal-6.36.ebuild
+++ b/www-apps/drupal/drupal-6.37.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
 EAPI=5
 

diff --git a/www-apps/drupal/drupal-7.38.ebuild b/www-apps/drupal/drupal-7.39.ebuild
similarity index 99%
copy from www-apps/drupal/drupal-7.38.ebuild
copy to www-apps/drupal/drupal-7.39.ebuild
index 5b9d193..7340b1a 100644
--- a/www-apps/drupal/drupal-7.38.ebuild
+++ b/www-apps/drupal/drupal-7.39.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
 EAPI=5
 

diff --git a/www-apps/drupal/drupal-7.38.ebuild b/www-apps/drupal/drupal-8.0.0_beta14.ebuild
similarity index 62%
rename from www-apps/drupal/drupal-7.38.ebuild
rename to www-apps/drupal/drupal-8.0.0_beta14.ebuild
index 5b9d193..ca6797a 100644
--- a/www-apps/drupal/drupal-7.38.ebuild
+++ b/www-apps/drupal/drupal-8.0.0_beta14.ebuild
@@ -1,16 +1,18 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $Id$
 
 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/${P}.tar.gz"
+SRC_URI="http://drupal.org/files/projects/${MY_P}.tar.gz"
 
 LICENSE="GPL-2"
 KEYWORDS="~alpha ~amd64 ~ppc ~x86"
@@ -45,9 +47,11 @@ REQUIRED_USE="|| ( mysql postgres sqlite )"
 src_install() {
 	webapp_src_preinst
 
-	local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
+	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} INSTALL COPYRIGHT.txt || die
+	rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
 
 	cp sites/default/{default.settings.php,settings.php} || die
 	insinto "${MY_HTDOCSDIR}"
@@ -72,4 +76,12 @@ pkg_postinst() {
 	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
 }

diff --git a/www-apps/drupal/files/postinstall-en.txt b/www-apps/drupal/files/postinstall-en.txt
index aca91ec..a8a59c1 100644
--- a/www-apps/drupal/files/postinstall-en.txt
+++ b/www-apps/drupal/files/postinstall-en.txt
@@ -4,7 +4,7 @@ This assumes you have some knowledge of MySQL, and already have it
 installed and configured. If not, please refer to the Gentoo MySQL
 guide at the following URL:
 
-http://www.gentoo.org/doc/en/mysql-howto.xml 
+https://wiki.gentoo.org/wiki/MySQL/Startup_Guide
 
 Once you have a database ready all you need to do is to go to this 
 location


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-22 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21 14:43 [gentoo-commits] dev/jmbsvicetto:master commit in: www-apps/drupal/files/, www-apps/drupal/ Jorge Manuel B. S. Vicetto
  -- strict thread matches above, loose matches on Subject: below --
2015-08-22 12:59 Jorge Manuel B. S. Vicetto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox