[www-apps/drupal] Bump to 8.0.0_rc4 release - fixes bug 565814. Drop old beta / rc versions. Update postinstall instructions.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
This commit is contained in:
Jorge Manuel B. S. Vicetto (jmbsvicetto)
2015-11-17 09:05:12 -01:00
parent 3a9143f505
commit 81a140c48c
5 changed files with 7 additions and 178 deletions

View File

@@ -1,5 +1,3 @@
DIST drupal-6.37.tar.gz 1112775 SHA256 e3db44fdeefa9c4b3edf31816a8cfcaffe300986dbebdc22769ec739d3296d5d SHA512 4895221c7fb2913618490722629888a4862f28633a49ba5363a0393974941c68d07a3e255d6f380d7d97d0aa3251a76c03d5d0f0ab4c968af301a1207d8d35a0 WHIRLPOOL 8d7a0576fba31f2fcf9035755d3ef9a521461d9b3dfab57eb8871fe66038f4056b690a84513bf61a639b4c5f8126fa5180734542b0036f5d089afb0cb2abfecd
DIST drupal-7.41.tar.gz 3257325 SHA256 49ea620d191e81ffce0e7a96b5e7d12da672b3401c7ce1aff93fc941681eb111 SHA512 57ee4fb1044d958a9f5698d2046fcd69427be6da30c57918735ced3fc7dbe1ffc4c69cac8362cd668ef0769d78b20461d78905f7e91212062e56351818dfbaf9 WHIRLPOOL 931f98f5e9de14f2c6ffb1bf75686bfea73d8c73606a3a1ab7b0a64e9cf06b9375900403e877a209be7f57663a8446a24ea317ccf9c771a9f143c675102465b0
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-rc1.tar.gz 11498104 SHA256 0afdf737fd884f32c17ae0fc5174f7989c5909746e6c9a701bd9bcb99a1caa58 SHA512 c33446e24c02f28f66fb4e1b77c8c41eb67b756ee3015d94e6b11571980a95ca774d0d5331201e3a42534c9d11049e6a323b31ea5bef46d74330c6e95ba58580 WHIRLPOOL a74f50268c0da0f61d1d96368a93bb15ebe37a3d03b16c04e86426cf5ce39f555ea7c2527dcc395b811d1365569de84b2f9db317f5a7174684e75b5b0db5488d
DIST drupal-8.0.0-rc4.tar.gz 11687995 SHA256 95689e799082bfedd2a77a202b1c07e9eae0fe6c3f53cd5c423082a4ca4aa0f5 SHA512 d1a2c50e0243fc70aaacfbb3c6e6f1844519ceaca6d88fe90e7fd27b6efff8162417747fe5c8078bd0b3d629e67b908caece24819af3aaa67f1a893ece632115 WHIRLPOOL a319088531e60f00ba9d830e5c52a7f14d729dc0611af0beea9aaef5b6696a8042f3c72ae67115341ba5326b73bb63cca0e5e44e291e18cb41a829e38a0e8baa

View File

@@ -1,87 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
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
}

View File

@@ -1,87 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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/${MY_P}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~ppc ~x86"
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
}

View File

@@ -11,7 +11,12 @@ location
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
and provide the credential required for the database access.
and provide the credentials required for the database access.
If you installed into a vhost, for the above address to be accurate,
you need to pass -h "<host>" and -d "<install dir>" into webapp_config.
The protocol is hardcoded, so you'll have to use https:// if you're
using an SSL / TLS connection.
SECURITY NOTICE: If you use SSL on your Drupal installation, you
should enable the PHP configuration option 'session.cookie-secure'