forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
www-apps/drupal: Bump to releases 7.51 and 8.2.0.
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <[email protected]>
- Loading branch information
1 parent
d273b1d
commit b276a16
Showing
3 changed files
with
164 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
DIST drupal-6.38.tar.gz 1113790 SHA256 46a6d7ec170e74f3c85b11fdf0fae74ce0691d4260b848bf5faff1f0f5f31d4b SHA512 ad8b0e04c15afa6e5b5f7d60478c7ac7f6123cd0735424588a4266a987d13df96d8349a8674bcdbcfc437a63847269477a6c836660b7dd990dbb1b844809ce14 WHIRLPOOL 87df66cb65bd9c97356f54d9ede14a6bec41aed49cdb5ae0f504077ce14f03cecb03ace863492c765c3b3837d8aa84c12bf11ed3ebf874afac1b69c21d31661b | ||
DIST drupal-7.50.tar.gz 3286826 SHA256 82041716e1790269d09ec4a1c4cca8899d0221509471d53ac793a320143e0cf0 SHA512 1d80c1cb46db4a679f4ba61decfd799989c915206325a825e0c2234c33d84dc4a7ee38a76f51e48337e241c22deffc0589d65eb6de4341070e1b4440823e52c3 WHIRLPOOL eaf8a872c505a8be8faba3f8e687360c7f52e09fbf081fbd2141245a13220ac16de67bb4a7c1a283d61c517760df54bb2a268bf67649ea0875be48bd89bb6573 | ||
DIST drupal-7.51.tar.gz 3288987 SHA256 2969e8f7d70f6931842f8a45df1aa7aa7c94a17694f3043dd804878a3ed6d381 SHA512 3e72f2ce8941d9d82358de5376afd6a5a3d2c375fe487a26d0dd5e448a602c4a726877b48a96388180aace1d6f360a6dedf400164d759665657b50102ef9d45c WHIRLPOOL 9fc970f547b3b0ac6c30e4c5ad80fa9794e1638c78a5a8db11c763df6fdbc5dd6ac20e7616c72ec387d866550df32ad2e238873d0375aff541c7503ef2428811 | ||
DIST drupal-8.1.10.tar.gz 12651446 SHA256 6bacd17843a23f5079171023cdef6fc03616cf9682c0af898649232c0a6262cb SHA512 22e27a339b2fff40b99549617480f1ca5525b8103b0ceb85e267b13ac6bd1703c06db63c1bb8bf6a85ba3ad1e178e3bf0fc04bbaf26bb96b1950c6d032181e16 WHIRLPOOL dfaa9900a96e2ec01b5b3d19910d869323a8ff985080686e567dad8c7d3e570e3fecc5c34e2112e9f52f60c73b7139fb99f7bc06f463c89872b1375d3c97390f | ||
DIST drupal-8.2.0-rc1.tar.gz 12854953 SHA256 6d8b7c3f5009fde60beb2dc02cd3c8b9e36413dd95b30a4af7d80a3b7463aa25 SHA512 6f73da6c25eb3c40c9f0df88ab6bf785ee0ef9ba48b51ad246d0cd16019c6d269027fb853f9490741031fecf1a046d16c119fc61cc6568738d3cc639dabb7a0f WHIRLPOOL 291e6bb4bc5d97c691019ef3211b88c0303d60be97e4f4b3b5be1b78186fb8c93cca1bf2b398359ad7df0c640e4bad840185915c7d57874fe44a2d41a9d76dda | ||
DIST drupal-8.2.0.tar.gz 12867786 SHA256 94611a63c8cfef63ce65cae5cda0b39c3c84132f969bfb726f988317c55765fd SHA512 ccbcc458e8357e2ddce57db3485a83aa597f6a5ad96b0e8c5d6ed80bb59f3f218d5a349976c6b20f49f472dff831fb1a51b82c4ead42043cee63155b7e723103 WHIRLPOOL f622f66f932946028c334379f44bb89aeb647358a43569ecdeddb843b6fe568cb041c1da16fadedfdb7f1cafaf97a0b94bacda9d68359c87feed359d6c804fcf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
inherit webapp | ||
|
||
MY_PV=${PV:0:3}.0 | ||
|
||
DESCRIPTION="PHP-based open-source platform and content management system" | ||
HOMEPAGE="https://www.drupal.org/" | ||
SRC_URI="https://ftp.drupal.org/files/projects/${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="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 || 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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
# Copyright 1999-2016 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="https://www.drupal.org/" | ||
SRC_URI="https://ftp.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/UPDATE.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 | ||
} |