summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2014-05-12 11:33:12 +0000
committerAnthony G. Basile <blueness@gentoo.org>2014-05-12 11:33:12 +0000
commit00269017dd733c18025dd77b672f018dcc9e9275 (patch)
treefaedbad14af9e8d41d33fa3c0d63046572ae891f /www-apps/moodle
parentAdded release candidate without KEYWORDS (diff)
downloadhistorical-00269017dd733c18025dd77b672f018dcc9e9275.tar.gz
historical-00269017dd733c18025dd77b672f018dcc9e9275.tar.bz2
historical-00269017dd733c18025dd77b672f018dcc9e9275.zip
Add 2.7 branch, remove older
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xF52D4BBA
Diffstat (limited to 'www-apps/moodle')
-rw-r--r--www-apps/moodle/ChangeLog8
-rw-r--r--www-apps/moodle/Manifest36
-rw-r--r--www-apps/moodle/moodle-2.4.9.ebuild128
-rw-r--r--www-apps/moodle/moodle-2.6.2.ebuild128
-rw-r--r--www-apps/moodle/moodle-2.7.ebuild (renamed from www-apps/moodle/moodle-2.5.5.ebuild)4
5 files changed, 25 insertions, 279 deletions
diff --git a/www-apps/moodle/ChangeLog b/www-apps/moodle/ChangeLog
index 12dfb07d8864..66ff4c261b76 100644
--- a/www-apps/moodle/ChangeLog
+++ b/www-apps/moodle/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/moodle
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/ChangeLog,v 1.57 2014/05/11 11:14:11 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/ChangeLog,v 1.58 2014/05/12 11:32:57 blueness Exp $
+
+*moodle-2.7 (12 May 2014)
+
+ 12 May 2014; Anthony G. Basile <blueness@gentoo.org> +moodle-2.7.ebuild,
+ -moodle-2.4.9.ebuild, -moodle-2.5.5.ebuild, -moodle-2.6.2.ebuild:
+ Add 2.7 branch, remove older
*moodle-2.6.3 (11 May 2014)
*moodle-2.5.6 (11 May 2014)
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
index 1bec7ae25747..7cf8c61a5d70 100644
--- a/www-apps/moodle/Manifest
+++ b/www-apps/moodle/Manifest
@@ -5,33 +5,29 @@ AUX config.php 718 SHA256 c62a37c0d81043ee4ca7fc4d7610d19dc2df426d556eb3285d7b1f
AUX postinstall-en.txt 6524 SHA256 dad8831abc23179ebcd2c2431f11d83346c142175c59da47cf5f913c928de667 SHA512 bb3e5187db6be49707801cfde15ebced065f2d4b8c1a04fef2f4ced0a67dab2440b8e79d110685056cad84647f8ebb587c697452df8e2b0eab07b015d01b92cf WHIRLPOOL 6ed4f9db76238db6e0a2afd98b8877a1de4e06311d77a6153bb9d8bbc559fd226190c7bf4a8053e35000fcb24babf154021a42d1b58ba92c3ee86bb5dfae1894
AUX postinstall-nodb-en.txt 171 SHA256 f39ff660a1cafbbd96ce18c46f056450ace04df5ac401eeccaf16441d54f3b6a SHA512 b0cf4787351f904caf06573c5bc50275b6a11361170b4006acc24224f44efde69cfe3a9b6340d6787c5805c605dc89f07072bf992b0ee255c97fba90e5d5617e WHIRLPOOL 3f91b917e8c92866d570c0af2dabbb11eb6bdf7d4cf3e9e8984649b5c147736f267156c490ab51fcd7fda9e7b3ac2ead8259231b20e74e349fb143ed44b08616
DIST moodle-2.4.10.tgz 30645979 SHA256 b258979a8df3de5e5c1f66305ee8fe9114eb9f6a8083bc33ef6944998c9f9273 SHA512 c8367cba3c31d351c91c8c37de1dc032b18350aa01a13c257afe94af8a053d93d6a93d2e1c65cd7742ed575f5e834488db1faa63ef3f05bf8ad5325fc09e3b5a WHIRLPOOL cdf34b43c5a6aea2d0e458176832621b6890036e9dd64cd6d609c7b57738b49151046bc46ac72e9406a6f79daad39abf17a2a9f0ac6150f4f6f21a2263589b95
-DIST moodle-2.4.9.tgz 30694681 SHA256 a7e9f5136f4425b90a56b5f81a1ec8304284605cd6b5f59082ee38826c9299d1 SHA512 88c226bf6bd0c757be438e7a1c2de33efa3a6310d58f6d7e7c05fd69b7d4cdb26ed7988820c3cced9fba0ff4f5a86db6a879772bce72009ad782830134769220 WHIRLPOOL 15b9bffc832d373327b1a7b8fe6c8dbc1cf5095c2dad74e53b9331c7a7a80927058521dda85367952965d6590146aca42f1d1f3586991d82ebb7ea63c9373b2c
-DIST moodle-2.5.5.tgz 32483875 SHA256 e2b6ac73851fabbad7287c37b3f25764d4b49a340b2d9da8a2d634cb65b320e5 SHA512 356a7cad7c6ae04e7c2852506a37f259e7c7eb2394868af77f163101ff77e106e7030083eb0ae49828792b446a3c6847d7bd204e7b0c55b3f5a52a157edd5356 WHIRLPOOL 53c6b37703c948e8d76755823aee3a16dc5d2443af3a12dbaffb21dee85154f6942b0a0ed7d53d6556888e3435653f3ec398e3ca27358f4cc0db3c6c9fa96ae5
DIST moodle-2.5.6.tgz 32493195 SHA256 edde31a80af31d8d282a0f2e18c8e1e4a853e5585d6b9569de2a7f4d2cba7faf SHA512 719ab2a6e6a6510207e4fd0b3704a40c99360d1c683f90a885e97df1e2acfe53c690f174299acecbddddfb11aaecc4d1c5ffac03decb7e6cb98f3295445a4371 WHIRLPOOL 52e59942b53bb6ff91bd5ccf3dfb2dd3c069d1d04d63ceb9e5a5e8b0015dcd80f22c6ae29dd8912c391d885d7c0e94e075d60b7fcc3bab59dd95a550b7801f30
-DIST moodle-2.6.2.tgz 39293613 SHA256 d78e7e6ead9fab12429d95afe44aa03836caeec142ea262c2c1f8b9f906796bc SHA512 932f3bfc1c0504dbcda31adeb466b53af4678bb37c49226a6031496adbcc294ee4683043889c490fcf3b883f1b3d02e0e9dd2a42e1cf23ed622c07de83e4a4eb WHIRLPOOL 011b76d4a17de31f217c6ff20a002bf08d64e01928eca119ea5f21b999af46088a059977d7c4200598e33eb8da7d75e35a377e84c135e1f623e4f38150d0f365
DIST moodle-2.6.3.tgz 39296550 SHA256 64a06e6c8ad8c74feac43755ead56b38c983ac3c55131d7709db693987e50dd4 SHA512 1179b7c7419a6beaafee7888750bc513e366d752d24b838e242c31051e61ef45958904d0005b981d019197e5a3d7278441686dba432293d67b0215e6b893257d WHIRLPOOL 51556ee0adcc2a37ec49fd5532f2eda141c3e712285cb7fa18ef2eb2ccea0a058cdaa11a54924785f012e06ab2127b951a2699fd98b5297560b2b4dbbe25d4ff
+DIST moodle-2.7.tgz 34676653 SHA256 55db4c841c1469577a1b1bdd031455767fe36f39866df51c76dddfc81a7f95b5 SHA512 633c17231c3f2b73ee495174c00232c95c6030cf0ab1c44ae5c3736242585d12b5a27f69b65c8a84d26b200b771c1f98bcac4f317d0d12bfc985d0385e8682ff WHIRLPOOL d50070b7a6cd62ad524fdb2c1da8028af69772e74e2baf86a3d9ac3e881bc65ed8405a4d4a7704678bf91ddaace9a9e622e552959cfddaeed48ff1ade466a592
EBUILD moodle-2.4.10.ebuild 3358 SHA256 786238486aeffb65a33affcdbfca8022b24b58fc95bba4d0a9ade81547985cca SHA512 99dc280f6391778c647999a8b7a1cb66f4fb0839f90005c97f41cfd1245c19997b2fc8184d159e43110a15c4d5fc9dd7e9b65ccaf2543eacd65d532c7b63889f WHIRLPOOL 27acde649321c02c3a648e99bf21aeafaad8e8885c4f952c187fe384e30bd99aa796b5dd9e04960ea92af19e97b3424f97248de87ee60addf9d1c3f5148009ba
-EBUILD moodle-2.4.9.ebuild 3357 SHA256 25583137cc9ec71408f040bf05de2b9782abad649d4a455b03240aafb298ad56 SHA512 c4be723be6b0f284648e29ff03fba572fd0da15d7e610cd7e334b92880115ecd68caf87556f6f069ca3d41215e40687efc9277238b2416f118fdef03d3293768 WHIRLPOOL f3420936af6d55bff704be800edba56730c37feca16f534e60c2a7f7f0acb3e77c8b16a57f5f4f1070e1131f240d90f965ddaa968711ef54c6c80afc7d2d4358
-EBUILD moodle-2.5.5.ebuild 3359 SHA256 ac4b8a6936b49cdb37cb27341cda81f561b06706d51b33cc92b6c7ba3847448c SHA512 d662e38436f8bfe9f5cc77900dd578b84ff81c00bdfcc9f46997faf11dca69b19771bf69bf80eb5493526900f7e889d6783d4566d1b3a8d000fe7d70c6ca9cab WHIRLPOOL 6a39869f0662c48bb2a3b7355dd482be75d5bbbab22abe11737474d8c251f5e2aff7a552ab90fe82609cbfa0d170f19952c2b6921b647e22eb487b92b449ee2f
EBUILD moodle-2.5.6.ebuild 3359 SHA256 b2d4b9261ee0f0b294d97ca7e4998ce7935a456f63503b609d734347f43db094 SHA512 179920dee57381817931ef222e7488fba39d54d85bbfc6b81cb107a65782151168f5626ae50ad63d6ad176b33e4548465444608abc2b854f2f8c93356b44a862 WHIRLPOOL 7ef05530f6046b97924a32deb3ae9a0258846d395dceb74043c3a70585fb2d0b2d1cf6855af4b070fe096c348b8dc835fdf12a8b1ab1561bd2b3ad96c54edd8f
-EBUILD moodle-2.6.2.ebuild 3359 SHA256 41eac0cc0438f87239e43b510991c28e89bf3482948166ba49bf363c7e4b73ef SHA512 c7ec18ceab4093f2d11af2ab79c14b6472715551ddc70f26e0a63bcea534ea35c59df32678e2bf5aa105cb20f6beeb6db7f5f25d1759e7312ebf0daacce336c5 WHIRLPOOL f98419ab099dd0c54cb86577180126845502d36857e20ab87a4739792ecdba47ac7521869c6f6e4cd26a05fce0230cfbae15094c43d003a2691022242f71f10c
EBUILD moodle-2.6.3.ebuild 3359 SHA256 f1c88ded3338b7d60d066c2093f2abc319ed60dc6d675f7616d2705ff3188d99 SHA512 cfd80825d4928a4d83d02b68ff80318942cad522c0b84a8d9d1afdbeb72c83c88c0c2f6735b1a3a99e9c47e16f0a652ef8562a672135a10e509b1da9054c14fe WHIRLPOOL c4127356abb65cdf33ada32b3bab81a7df16dbf3a4392fbac2ff21897fad21c7b1127d891b92fc2df7d1c94c96bbd979b35484df5994622c97e6e8e1e2543606
-MISC ChangeLog 11914 SHA256 9a2577e71577e50774184419db99eeb4a232e8c756af76dae7207bc944eb0f3e SHA512 5de192934969235a6493a7f3a10419fc868525929bcc9ea50475ec66dc653439592f6a485fb669f165b0242cb655bcc12055355036913da067ae1df101afa396 WHIRLPOOL aa932031968e9d9b7e31ea5f8fa0e77181eb927f2b5aad9b30574e28e3ee9e9fbb0ddc08ab4f6e230b704d48e46692679170bd278bd631c916e7d3a540f45cc5
+EBUILD moodle-2.7.ebuild 3357 SHA256 6ed8deee8ecba057d6691ee58d1a9a12728aef8cbbe6869dbf5123454a49f3d3 SHA512 8c6bd1be2e728fd477c1ef41eb8ba43b88f5a37c9c23334236b8e963c888beeec3d1748b22290763db80f9ac9954eeec8475b645899c29ebee41e83154cf8412 WHIRLPOOL ea24b5c5ca29ba1b0f1e6f928b6777af64a26cb9d70aea3acb2738fc9f4dd76103c3c9d5949434b4ebf6db7370491b85837f79f7bc8e11d43493e06bc7db1335
+MISC ChangeLog 12116 SHA256 5382e0fefb02b8fe8b772cb6504a60fb9b0846235557bb5bd4c333345190b970 SHA512 a72f434247cd6c35c139b1404bce224b762a912abaecca0fda1a75d0b60bb7e74dd1184cb57adcabb82b72f021a97390b175d3c7b6096f2c1d42f14f0dd3099b WHIRLPOOL 63905c2bb585777975e8d300d17ac47efd1fbb06d185bad333d08ba089ccd9116d024966665503931d8f2fcd995a056e41167ece2e4e5d3bc2d08d5939817d47
MISC metadata.xml 256 SHA256 8230894d717ea9f2e42f9c7de54671126820f89bf05ca96ec5f03842b12378e1 SHA512 b94120ce0ef0ab704cecc6b00d1e0460fe60159b4b7d2fedeefbc9e7b0917ead1637ba2cbe598c67cb9b86d7b0874603e555333f4bba1959e228d33a4cd1b2a5 WHIRLPOOL 8269d207868c3ea1efbf1aed77209b809488b66dc46d6304401435747aa527907fd37be2887d09e116409f1dd56f235d3812a6a7898d25701131a8305a6db5c9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCAAGBQJTb1v2AAoJEJOE+m71LUu6vy8QAKUd8Z1vhv8T87f8W/Eigkm4
-2qTkkfc3yhxQFze8Cvx6XJzyAQHDP/kkKsPX2MQXWf5U0Itlyk97DLRAMX6IlPVx
-1kcZSVmq8mva5LaOGuHXIM9Ue6oW/vepPPagsljV8EC0PPtDKKq17WHv1K4DRZpY
-5pxLgOSiiRs1P4Dc/wxeSMJvc4WLh+bPQN+noow2Nb009NeR7r3WPAKYxXI5J20c
-gIvtnr8BOhF9h0F4D2DL8Rh9ojIKJlCnp41tRjPPWubj5TdUrnucl95Z7gLZfpR8
-rbqhROfqyJi0G8auiv7m99lHALCu+6TUUfqJ+rq2GQHBac1qXuWujMjY7vwe+STI
-xTfERA3nlKiWsyKj9EoBf59x3+GAU7JEYq0kSjN8yHQU0rBTPIzD3h4nJb3Epj1V
-zFliCKYn6WtRDYNt5Y6mBkj3zfbpcfNd73Ef2uGz9jIaRwatkdtWU+TXEruPSX8B
-51fb1chSO6bCApy/CdCEgKq6rSpt1s5E9PQQ1ZHxuInUbr5jlkPUPc6Og016A+fx
-0mZlBXGavs3D2p3n6KDUBEGOiElOummTedovt4ujcSGYLQ75E2RNqmXgPPAIywmL
-UMlA8yiW0c6h/fSgFO2DKGvAYMMjy+EGORD4dccznvNQxzfYmE7JaweXpRVmOiwS
-hvCgWn6qVFDlFhM+nIPc
-=uLLP
+iQIcBAEBCAAGBQJTcLHcAAoJEJOE+m71LUu6eYUP+wQ2UM5hDnNtXjuDB2jhBwn3
+4vhKHW77ccwylec2UAHatA2d5UNDlXaphBAT69cYUXfQhXETIeDQ3kukCT5kGanN
+MSO66EHStSAwnGjy8fSxkbcTZobRi2AsjbRM6xbhov8GrkTWiHUtdFchCcpNKrPN
+Kh2kStvWXmNoe1OWZCRNHpRd6lQ+5Y4raf4mVII0zQYZtHXpGpnpRAUuhcxlXZqp
+r1bzzINGyQrxpDfHm+y6IbnwYhT3oFS26Ry45quexqSSbDAXe8QEySR2fkom9Gwq
+w0RPq0PLVXjfyDWhz8mzvvctlYGpyw9Q3SHDSk1MpmFmErWrMO7HGMju/baczq9c
+LZXsmo1txlE5F9vxDDbKPHN2XryGQdhyhQIsFhrTgcTTkzdEICjS+pkbRkbq+7Lq
+4RJz9hym3iRQRXvLyWKwUHTAJRyAc84x7YoipMUZtfPsC6XGSFPAqNg8a7IpwHPu
+/HvFK38IxBAPrtu9/4TU0rsETEeQ5iBsUBIa6V3Rt0hLvrLrfoipjWn2U67kiCyg
+dLX0awvox9JolTtQckpEybvHP1rFEqfPLcjwuD6a+dvRS/MNX9SQbOH74AO5rMRd
+8HpKvDMyXck0mXcrR7XbBvZ/CtWIRoUCYjhg35u+FHchir8MGinOHOZu8BanCu6J
+ITn2NbLVp/SIXDSg/l2G
+=NP0l
-----END PGP SIGNATURE-----
diff --git a/www-apps/moodle/moodle-2.4.9.ebuild b/www-apps/moodle/moodle-2.4.9.ebuild
deleted file mode 100644
index e9189adaad86..000000000000
--- a/www-apps/moodle/moodle-2.4.9.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.4.9.ebuild,v 1.1 2014/03/08 20:27:40 blueness Exp $
-
-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?,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
-# mysql? ( virtual/mysql )
-# postgres? ( dev-db/postgresql-server-7* )
-# which may live on another server
-DEPEND=""
-RDEPEND="
- =dev-lang/php-5.3*[${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.php .
-
- # Moodle expect postgres7, not postgres
- MYDB=${MYDB/postgres/postgres7}
-
- # Moodle expects mysql, not mysqli
- MYDB=${MYDB/mysqli/mysql}
-
- 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.6.2.ebuild b/www-apps/moodle/moodle-2.6.2.ebuild
deleted file mode 100644
index ced1e612df4d..000000000000
--- a/www-apps/moodle/moodle-2.6.2.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.6.2.ebuild,v 1.1 2014/03/08 20:27:40 blueness Exp $
-
-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?,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
-# mysql? ( virtual/mysql )
-# postgres? ( dev-db/postgresql-server-7* )
-# which may live on another server
-DEPEND=""
-RDEPEND="
- >=dev-lang/php-5.3.3[${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.php .
-
- # Moodle expect postgres7, not postgres
- MYDB=${MYDB/postgres/postgres7}
-
- # Moodle expects mysql, not mysqli
- MYDB=${MYDB/mysqli/mysql}
-
- 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.5.5.ebuild b/www-apps/moodle/moodle-2.7.ebuild
index 88262e74238b..001055526a3c 100644
--- a/www-apps/moodle/moodle-2.5.5.ebuild
+++ b/www-apps/moodle/moodle-2.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.5.5.ebuild,v 1.1 2014/03/08 20:27:40 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.7.ebuild,v 1.1 2014/05/12 11:32:57 blueness Exp $
EAPI="5"
@@ -39,7 +39,7 @@ REQUIRED_USE="|| ( ${DB_TYPES} )"
# which may live on another server
DEPEND=""
RDEPEND="
- >=dev-lang/php-5.3.3[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
+ >=dev-lang/php-5.4.4[${DB_FLAGS},${AUTHENTICATION_FLAGS},${PHP_FLAGS}]
virtual/httpd-php
virtual/cron"