From afeeb8a207cbc47c43241643eaba60720dfaa3f5 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 12 Mar 2016 06:40:29 -0500 Subject: www-apps/moodle: version bump to 2.8.11, drop older 2.8 Package-Manager: portage-2.2.26 --- www-apps/moodle/Manifest | 2 +- www-apps/moodle/moodle-2.8.10.ebuild | 128 ----------------------------------- www-apps/moodle/moodle-2.8.11.ebuild | 128 +++++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 129 deletions(-) delete mode 100644 www-apps/moodle/moodle-2.8.10.ebuild create mode 100644 www-apps/moodle/moodle-2.8.11.ebuild (limited to 'www-apps/moodle') diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest index c34e2983e153..0e68615f58f5 100644 --- a/www-apps/moodle/Manifest +++ b/www-apps/moodle/Manifest @@ -1,4 +1,4 @@ DIST moodle-2.7.13.tgz 35003234 SHA256 397c04f5365d94490498c71cc7289203050a693b0aeed5bc3db8c45f016faafb SHA512 b9b52d28d9c87aef0d87f2f97b421c68ff8b2b00ce18dccf5eefcda8874eb29e93e6635835bc730d923a56c31bef233043c7588e401c96ad70f40891a41bdb0c WHIRLPOOL c4a937c5ebb04bc23a621bfe584c887980d9630ab51d7caa3315a27a07842d66c3990d78c25d0e88d2bbf5b69e156e2c5a25aaeade5fa9ded5d964f7dcd8f9e6 -DIST moodle-2.8.10.tgz 35989148 SHA256 e213cf8e3290d00470a8e5174b854fa8b4992da553416d74629cdd1810287930 SHA512 8c72a7d31b4fc1cb9e3c9bf8f02e4dc0bf9d51b6ada2021acb98ea3949282d6385fc027f7922b0afb8e006450f39faa80f2b1a3b389cc74780b4045e67c344d1 WHIRLPOOL 1b88727b42f19243a9b5a998a4368d35bc33959c6c447342160c1e772629782e2fc46e59dbec4cdc29eec2f51f777ab81e2b5ba33cabe4a3cab99d412f8b9403 +DIST moodle-2.8.11.tgz 35999389 SHA256 ed9e2b7d16ad3571b796d47cc22024bb794021b3da5d396d1216a217c59225c7 SHA512 f431d30d317807477c1ed7aa3f5b9916b6449634036bd1cc1a55bf391526253f6be04b1b9e8342b5d5acc3a38850ded99873b71eec5474b98a87d70b52533714 WHIRLPOOL 813882ab67ef47b773b94c311134223925dfda284197807c7746abf20adfb099c0a82675294a5ebe47d94cda4a971266ab323685f41ed841769e2ca6ee0d8a08 DIST moodle-2.9.4.tgz 36513561 SHA256 f4e087e34fc34207a74d85758e8d064a667d9b2ae17ee8c055e94e9172ae67f9 SHA512 f63bdc8a9984a53911383a784d6d7b61c94c4686a1db3e62d734245e981ba4d2b52bf44a74893a39dd0bc8708deb2f0f829d9488a8ccd0a89ed75c3c74913611 WHIRLPOOL 3ece0728df140e206ee13137b3befc78467fc9446807b79112fade0129c8d57a4504ec83389074c85ccac7d6d6fa6c87833531157d9c329cc8032400685c4da2 DIST moodle-3.0.2.tgz 38045086 SHA256 6f6eb95f0e354dc519067538ce60c54151b998efed6f981084ec929266d1b149 SHA512 1c37bcb3f7a6b861c85a22c64a09bcbb2d0dddf8e8dabc63c616034bfd98dc4780222c7d31ab65d19a16f8ab471ba9d25d4bce3b3b04875e12fdde8404bc1aee WHIRLPOOL 142cc7404ecaec943f5a5cae0e180d2867bbdf248194bc867ed7398b763f38c9898ec60313573276b5407b3c401a243f97e119ed5d8e65ac60ff7ce3bf8e29a2 diff --git a/www-apps/moodle/moodle-2.8.10.ebuild b/www-apps/moodle/moodle-2.8.10.ebuild deleted file mode 100644 index ccdb5ad52f4e..000000000000 --- a/www-apps/moodle/moodle-2.8.10.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit versionator webapp - -AVC=( $(get_version_components) ) -MY_BRANCH="stable${AVC[0]}${AVC[1]}" - -DESCRIPTION="The Moodle Course Management System" -HOMEPAGE="http://moodle.org" -SRC_URI="http://download.moodle.org/${MY_BRANCH}/${P}.tgz" -S="${WORKDIR}/${PN}" - -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" -#SLOT empty due to webapp - -DB_FLAGS="mysqli?,mssql?,postgres?" -DB_TYPES=${DB_FLAGS//\?/} -DB_TYPES=${DB_TYPES//,/ } - -AUTHENTICATION_FLAGS="imap?,ldap?,odbc?" -AUTHENTICATION_MODES=${AUTHENTICATION_FLAGS//\?/} -AUTHENTICATION_MODES=${AUTHENTICATION_MODES//,/ } - -PHP_REQUIRED_FLAGS="ctype,curl,iconv,json,session,simplexml,xml,zip" -PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc" -PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}" - -IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" -REQUIRED_USE="|| ( ${DB_TYPES} )" - -# No forced dependency on -# mssql? - lives on a windows server -# mysql? ( virtual/mysql ) -# postgres? ( dev-db/postgresql-server-9* ) -# which may live on another server. These USE flags affect the configuration -# file and the dependency on php. However other dbs are possible. See config.php -# and the moodle documentation for other possibilities. -DEPEND="" -RDEPEND=" - >=dev-lang/php-5.4.4[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}] - virtual/httpd-php - virtual/cron" - -pkg_setup() { - webapp_pkg_setup - - # How many dbs were selected? If one and only one, which one is it? - MYDB="" - DB_COUNT=0 - for db in ${DB_TYPES}; do - if use ${db}; then - MYDB=${db} - DB_COUNT=$(($DB_COUNT+1)) - fi - done - - # REQUIRED_USE above guarantees that ${DB_COUNT} cannot be zero - #if [[ ${DB_COUNT} -eq 0 ]]; then - # eerror - # eerror "\033[1;31m**************************************************\033[00m" - # eerror "No database selected in your USE flags," - # eerror "You must select at least one." - # eerror "\033[1;31m**************************************************\033[00m" - # eerror - # die - #fi - - if [[ ${DB_COUNT} -gt 1 ]]; then - MYDB="" - ewarn - ewarn "\033[1;33m**************************************************\033[00m" - ewarn "Multiple databases selected in your USE flags," - ewarn "You will have to choose your database manually." - ewarn "\033[1;33m**************************************************\033[00m" - ewarn - fi -} - -src_prepare() { - rm COPYING.txt - cp "${FILESDIR}"/config-r1.php config.php - - # Moodle expect pgsql, not postgres - MYDB=${MYDB/postgres/pgsql} - - if [[ ${DB_COUNT} -eq 1 ]] ; then - sed -i -e "s|mydb|${MYDB}|" config.php - fi -} - -src_install() { - webapp_src_preinst - - local MOODLEDATA="${MY_HOSTROOTDIR}"/moodle - dodir ${MOODLEDATA} - webapp_serverowned -R "${MOODLEDATA}" - - local MOODLEROOT="${MY_HTDOCSDIR}" - insinto ${MOODLEROOT} - doins -r * - - webapp_configfile "${MOODLEROOT}"/config.php - - if [[ ${DB_COUNT} -eq 1 ]]; then - webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt - else - webapp_postinst_txt en "${FILESDIR}"/postinstall-nodb-en.txt - fi - - webapp_src_install -} - -pkg_postinst() { - einfo - einfo "\033[1;32m**************************************************\033[00m" - einfo - einfo "To see the post install instructions, do" - einfo - einfo " webapp-config --show-postinst ${PN} ${PVR}" - einfo - einfo "\033[1;32m**************************************************\033[00m" - einfo -} diff --git a/www-apps/moodle/moodle-2.8.11.ebuild b/www-apps/moodle/moodle-2.8.11.ebuild new file mode 100644 index 000000000000..ccdb5ad52f4e --- /dev/null +++ b/www-apps/moodle/moodle-2.8.11.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit versionator webapp + +AVC=( $(get_version_components) ) +MY_BRANCH="stable${AVC[0]}${AVC[1]}" + +DESCRIPTION="The Moodle Course Management System" +HOMEPAGE="http://moodle.org" +SRC_URI="http://download.moodle.org/${MY_BRANCH}/${P}.tgz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +#SLOT empty due to webapp + +DB_FLAGS="mysqli?,mssql?,postgres?" +DB_TYPES=${DB_FLAGS//\?/} +DB_TYPES=${DB_TYPES//,/ } + +AUTHENTICATION_FLAGS="imap?,ldap?,odbc?" +AUTHENTICATION_MODES=${AUTHENTICATION_FLAGS//\?/} +AUTHENTICATION_MODES=${AUTHENTICATION_MODES//,/ } + +PHP_REQUIRED_FLAGS="ctype,curl,iconv,json,session,simplexml,xml,zip" +PHP_OPTIONAL_FLAGS="gd,intl,soap,ssl,tokenizer,xmlrpc" +PHP_FLAGS="${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}" + +IUSE="${DB_TYPES} ${AUTHENTICATION_MODES} vhosts" +REQUIRED_USE="|| ( ${DB_TYPES} )" + +# No forced dependency on +# mssql? - lives on a windows server +# mysql? ( virtual/mysql ) +# postgres? ( dev-db/postgresql-server-9* ) +# which may live on another server. These USE flags affect the configuration +# file and the dependency on php. However other dbs are possible. See config.php +# and the moodle documentation for other possibilities. +DEPEND="" +RDEPEND=" + >=dev-lang/php-5.4.4[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}] + virtual/httpd-php + virtual/cron" + +pkg_setup() { + webapp_pkg_setup + + # How many dbs were selected? If one and only one, which one is it? + MYDB="" + DB_COUNT=0 + for db in ${DB_TYPES}; do + if use ${db}; then + MYDB=${db} + DB_COUNT=$(($DB_COUNT+1)) + fi + done + + # REQUIRED_USE above guarantees that ${DB_COUNT} cannot be zero + #if [[ ${DB_COUNT} -eq 0 ]]; then + # eerror + # eerror "\033[1;31m**************************************************\033[00m" + # eerror "No database selected in your USE flags," + # eerror "You must select at least one." + # eerror "\033[1;31m**************************************************\033[00m" + # eerror + # die + #fi + + if [[ ${DB_COUNT} -gt 1 ]]; then + MYDB="" + ewarn + ewarn "\033[1;33m**************************************************\033[00m" + ewarn "Multiple databases selected in your USE flags," + ewarn "You will have to choose your database manually." + ewarn "\033[1;33m**************************************************\033[00m" + ewarn + fi +} + +src_prepare() { + rm COPYING.txt + cp "${FILESDIR}"/config-r1.php config.php + + # Moodle expect pgsql, not postgres + MYDB=${MYDB/postgres/pgsql} + + if [[ ${DB_COUNT} -eq 1 ]] ; then + sed -i -e "s|mydb|${MYDB}|" config.php + fi +} + +src_install() { + webapp_src_preinst + + local MOODLEDATA="${MY_HOSTROOTDIR}"/moodle + dodir ${MOODLEDATA} + webapp_serverowned -R "${MOODLEDATA}" + + local MOODLEROOT="${MY_HTDOCSDIR}" + insinto ${MOODLEROOT} + doins -r * + + webapp_configfile "${MOODLEROOT}"/config.php + + if [[ ${DB_COUNT} -eq 1 ]]; then + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + else + webapp_postinst_txt en "${FILESDIR}"/postinstall-nodb-en.txt + fi + + webapp_src_install +} + +pkg_postinst() { + einfo + einfo "\033[1;32m**************************************************\033[00m" + einfo + einfo "To see the post install instructions, do" + einfo + einfo " webapp-config --show-postinst ${PN} ${PVR}" + einfo + einfo "\033[1;32m**************************************************\033[00m" + einfo +} -- cgit v1.2.3-65-gdbad