summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/moodle/ChangeLog6
-rw-r--r--www-apps/moodle/Manifest36
-rw-r--r--www-apps/moodle/moodle-2.2.9.ebuild128
-rw-r--r--www-apps/moodle/moodle-2.3.6.ebuild128
-rw-r--r--www-apps/moodle/moodle-2.4.3.ebuild128
5 files changed, 20 insertions, 406 deletions
diff --git a/www-apps/moodle/ChangeLog b/www-apps/moodle/ChangeLog
index 27b7a8842afb..ec3853f79bc5 100644
--- a/www-apps/moodle/ChangeLog
+++ b/www-apps/moodle/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/moodle
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/ChangeLog,v 1.42 2013/05/14 19:53:38 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/ChangeLog,v 1.43 2013/07/01 12:15:30 blueness Exp $
+
+ 01 Jul 2013; Anthony G. Basile <blueness@gentoo.org> -moodle-2.2.9.ebuild,
+ -moodle-2.3.6.ebuild, -moodle-2.4.3.ebuild:
+ Remove vulnerable versions, bug #470904
*moodle-2.2.10 (14 May 2013)
*moodle-2.4.4 (14 May 2013)
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
index 33ac05209faf..2954c2bde03b 100644
--- a/www-apps/moodle/Manifest
+++ b/www-apps/moodle/Manifest
@@ -5,35 +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.2.10.tgz 24561123 SHA256 e2d6f6d15eca0285a1e8d30ee52d57227b80cccdff28494b754aa4f3f2bcaa7e SHA512 04b751d68120396dc14d9ad708d1de568503351886052048e195fccdac5d5485b87d587d47a4aa6649c8e0f304621b7f04d141ef0483a93f9d2710a2040c4644 WHIRLPOOL 03e05c0c941e36d8c3ac04f4507d5a079025b72e2a0b0e8fbfdb19fdb4938518ff1c4f597f7a82e58724ea5d8de9bdb4e1f2f063d9bfbe387ed3604cb6c1f98f
-DIST moodle-2.2.9.tgz 24547255 SHA256 162f6ad59498ba95a04fb1e6b308545e4a22e51d54d0e50a0778efa9f81bca8b SHA512 a897dbdc1929dabab97b18e509e0a43e8519a1210a8065cf3d948b3d017654dd7a590104201f5b8a452f11bd44d42521ba19b377b26d3387223e87d5e3c8707d WHIRLPOOL 9a80c061f2ed2ffb41f7f759d596652d79ab2019ae0c04d0c76060e84c751865a9c7cd77fc34fb88b632050866fea01d0f257d0134e72e4cd5070338f2abb143
-DIST moodle-2.3.6.tgz 28153083 SHA256 4f9ca9c5688d39f0a880fed4d290db886be1c3effc226d3e2f616f40ffe8fa26 SHA512 ba7494cac362751111dfab05027f8481196de2a1198e9c6abdd52468dd3519c5eaaad81ad1a943ef62a966a586d81cf197e51c6f71e26c287cecae4ea582e72c WHIRLPOOL 45c70b368036de24e9a431c8582346ed0d44d44fd257fd45a33c2c868ab21aab73db1d73da49395db041f730f4ff23bad7c12583d58100666f3d3f4decfb8dee
DIST moodle-2.3.7.tgz 28185200 SHA256 d849bbdf2e9531cc47837327eb358b3e956c47cf90c6574cd354f3c23056eb3b SHA512 8cef2b57e794ba74859e6b4c14c0eea2846558eeb48133b7c9a0d88a35be752a536b0453282ea5af61e0d48e747024b04394e344b46ae6c8f535d5bb3dc13c79 WHIRLPOOL 0774068fa20906a17be6c88ea98864806407215f0a92172646547dc80d5f1b3c73e7d5ffc75ab26da69b03eaf6b05d976e30c6041ed91c0722106e1888d9781c
-DIST moodle-2.4.3.tgz 30289683 SHA256 67c78c1cbe84d0694b9c18b811eaf43f6ef0e867173f912f03b8d8ada90f5068 SHA512 97a29a6549c73af336eedb1e1bd701f4dc57a0f4712140e484d860411296fb963023d72005e5d790b182f2807d9844e2345f2a29125c24fe75544af389ed1c30 WHIRLPOOL b6c53880a144f07675e660df16a78fd48a0a669c9f75fb30adf336fe2e67b0cbc320d9de6e1e4969de1d31bd189ab2ddcdc925a07bca79af83bd110e813efc57
DIST moodle-2.4.4.tgz 30335453 SHA256 0fb65fc465a8a4c83ad81b2636413204d737ab87edbdf961d5beb7b8b3461977 SHA512 c0e94572348f97da534f511ba2fd005caccbb75139778bacacb94692405a464325fa22a3ea445c17f31d0ed53e5c8418c24e736dee8de8509ff690b2ac7da535 WHIRLPOOL fbd5f5ad5d52098d81199e0f64e4759dc1222705dde9c99291bbc4faae7d14160e5d77ca89848843a5aa1f89ada33fcb98bd403181cf39905b316a1b046b56aa
DIST moodle-2.5.tgz 31758353 SHA256 0feae5c0254effd369b6713b2e5177d1952dd921f298fa00d08cde3672fc53ac SHA512 02a355953f9eb4ca60081326dbd6feda5127cbda6b03418c6d545500ad74c168735b9a0ea9ac16de9bdd2cc9d58c74b8435ce198853700437f96b559c16c123c WHIRLPOOL c677132420c4474b5f5a0d723fe3a4f1e4ac0277c222d4ecbb50e9c2e939c9abf72801105741210faceacec1e82a1f1fa68aa226b9b35dfb90dc4be235586b23
EBUILD moodle-2.2.10.ebuild 3376 SHA256 0cb24837e3038ac474d33938bb7be0d7b5594f51e35625615cc88f5fa7501898 SHA512 fce3d0cfdd3b63b7d8b542848840ed7053a43fd5388b41d2795f5e44d5ab9326830b0cfad66bcca34d567b1338cfc2fb7f4f1cefb59cb6f23dd317b6cab59533 WHIRLPOOL 01c82ef09d8ef952a97f6080a6cdda88e44a3ca9c8432c0aae90ade196ea4beb00d8ce86522e30539f635b6ff1e142544cb76924be923ff2cc9fd11bcfff5739
-EBUILD moodle-2.2.9.ebuild 3375 SHA256 ee661c944203063d2d554fa4cac64c2b4c462e466cd117b15327d7c3bb7fe527 SHA512 0c2bc51b293a944db88cae7db695642ce07f75af96b34ace5f61bbbd86ed69105dde89e1e4461a1193e7839450ccd7ee5df3a41792b7162eb281eea87e4188a6 WHIRLPOOL eeee451a3c980a97a61af0bced9241fa3a38aaac80afa9bba2bdd314a72cd4f6131647903c7ff34771eef2634e5bf609d8248c9a073e0ba2ace2ee0cb9c77a8e
-EBUILD moodle-2.3.6.ebuild 3375 SHA256 6730a0b80cbc82cfebda198719affbfa46528e7b0f9cf6f3f40fa2c3f5270b76 SHA512 0cd8499b22b32eabd0dbd715017c42a69923a08ea8c0bdc6e056e11fdc0b4dca20c7538cad3bad64f32f1bd7442a143bbcffb87d6b05da93a3c03c4125c626cd WHIRLPOOL 69c02eb47becad804c5faf4721521ab35cf33b59006cc1b35a34c32ba65f6fce9d9f4e80132ff4ec9cb9e71a3cc1a90400b143a3a8d684808590ff8c9cfe6876
EBUILD moodle-2.3.7.ebuild 3375 SHA256 d7d78cd4eb5e771ae1f2b6f3dc48223dfa16bc9a9f686160af07826d694270ac SHA512 0c166ade73f33f91da6d0218a9d6e29737bf6cbf3366969ed4d9eb21a839bde2b8339e1cb7e4441fabedbf5fbb6cc3264e3a2e7a54134cc5da412a35599db686 WHIRLPOOL 51880ab7a3d4be7709dafe05d72fadb7b581c139c4b712845e708fbf44e96fe0744158ba2cd1b9d9bce69b6fd04e5f6bfd9239de06ba55c4996fed472b9b7a94
-EBUILD moodle-2.4.3.ebuild 3357 SHA256 a410c23de919b033219be94611776030d14d0ecec56b90cfbb413bd0ba9510c8 SHA512 1eb8255e35dc80a4b5a9cb226eeed5231d8f91671ddcb406bf4aa6055b970a72f863e752f6b24ba4443ad7e72ec474fd563c4e0df2e2db1ec8c108edbeeb2f69 WHIRLPOOL f3b3e38eca1e9f1fd06847770fff11358337f8919a79abd4fbdd9f8d7b1d505a9aefc975c13aef176df989c74c75e0d6d3b2d6cb7b6c05531b69f206d067c00a
EBUILD moodle-2.4.4.ebuild 3357 SHA256 ddacb66d2baaf605708afcb6e54e4608b73b6eb692f1f7f8517d9e0145d4130a SHA512 730b103e0295f430ef425f7edf8e52307d52c1e3027d03a751e36247663e0211d159ccbae9dd3df686ca30fb5f2c5be2da4646428fe7f6226f3aca5998b74534 WHIRLPOOL e40d2c87a3c758485733262dd2509561a4b926e0948244cdb0cdf5a77ebac371b3bb61f3270076d2cbe5ae545776fafb384812858faa3c201aa5e7e002c19ccc
EBUILD moodle-2.5.ebuild 3355 SHA256 c132d9fd3b84a8909f5ba89c351009d5f3aa00b37226a96670fce446e0bfa8f0 SHA512 37a24529b3e03f3bdb5a389a86d0fc7a1a8aec0e19b8ad277af9b6d6f67fd811e9e6ed45871ef225e189aba3c6c53fc8d4d2fbb9b66f684730b8b6d3ad0847f5 WHIRLPOOL abf21a84b2fe5461b989e045380857889ad7d9c95beb501002dee80af89833b3c83ee10e66cfe3de353c32e74fbacfcc1da33de9c275b6ab0974654ef8dd89b9
-MISC ChangeLog 8984 SHA256 0e11c3efa2d21eba19432516f18cd4986fbe15f5434a3c9b063052fd53e49a6c SHA512 509f4e292eaf05c95a3067f21e8b4b613c612bcb7d787c2c9054db3a12525f3ad91a7714ce09cb72d9a6d5bbac49c1fc37435ce88c41902ce3663c6b1cbaebb2 WHIRLPOOL 8577dcb745600ab3764c75f25c0e33c41f915aae7c8dbef4b2090a8fc5b786de3be827dd9ec7bd0331a3f3d5cf8edc10e93e0bac40a8efdf1a6e63f22deb753b
+MISC ChangeLog 9150 SHA256 2f50d8d899cd47d65c2b9369c666b319f6eca7079ff0998d783c437b21ec191f SHA512 b63d8d0754d69186943b09f1f72a13596421301c672ba9cdd93a24dcf361e748d077b0d8fd4609424512153fdeaaccfabbf6ec7d0637c1d0acc0cffd4084257a WHIRLPOOL 5e3f5d3f29d18adc2e98802bd380a8ac65b0c46b46979bdf895cba91b61db4219c7e1896bdef5e7d345e24137a568913961a4898d60d8123609b248ea0e1a096
MISC metadata.xml 256 SHA256 8230894d717ea9f2e42f9c7de54671126820f89bf05ca96ec5f03842b12378e1 SHA512 b94120ce0ef0ab704cecc6b00d1e0460fe60159b4b7d2fedeefbc9e7b0917ead1637ba2cbe598c67cb9b86d7b0874603e555333f4bba1959e228d33a4cd1b2a5 WHIRLPOOL 8269d207868c3ea1efbf1aed77209b809488b66dc46d6304401435747aa527907fd37be2887d09e116409f1dd56f235d3812a6a7898d25701131a8305a6db5c9
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCAAGBQJRkpZFAAoJEJOE+m71LUu6iRIP/i23vr/FJKJPh536jP6O3qi0
-bEzbUAjqTHTVtQh9peuZxq1PD5t3iuZraEMMtDcgJ3R1r+TnPgsJLlsPV511pfpu
-jHjnwV0xk7iWwPJfbIoCj6aDcOFUWFsXHUZVsj0/3BA1iS2R30VWbLcQSwC1hT0U
-mlCENXMsFxmmws3wQddfCPqmjpLAfNjJfdn417NYa8jD5IJY6eGl1dLJxJDHxk8Z
-6stEYCCpnfnZ6j1b44ekm/iOi+SQjZc6Iw/MU2mvMP1C2g62nBwgk8r/WZiheAH8
-sixtNVuT4t4KOsEFxEGyFzvzBc+3/YWND1k/7aQOILr4WaW4mtCS4wyOv26d2cZy
-3jUsGJ14O+kWgMp1OU0ZJxXIRFXau7GMmd1U1TmZ7OCjP2xo/Ar0ZDXWuOwMFDGv
-eYlHvrDwdJ7F0g9ptVmV0uzOshGr7c+YqMfytfoQP6YA5VWwB8tTmyzzljUJoqQ1
-uiHzfjHG9Lr9SRwGR2zjMolM4A5nFwBE4qgvKcvU6Ujvo1SE43bMVMD9upoAqnlj
-HXV6To+5JsnMqkjB2bRoaYDEjh/a3if91I9xnFaQqj7U8v0m/GhQKLJ/IQDdSbWZ
-bOcvBXxPQ7DdnjGPX1A/kMCcwkXGmEv5OkJR7Dzlq6bTAVVtjxMkalBaDjoblbcD
-JFuiqXNZPAiQBfgzTtG4
-=Ho1+
+iQIcBAEBCAAGBQJR0XNJAAoJEJOE+m71LUu6nJ8P+wcdSjBHGuhx62Zmcu7NqTxB
+mBCKrbNMhUh4zJC3bxbC2IVmdIZSh2zTj29kui1mXz9WH8WV9VXyJ3C8eX1ENp8q
+qONYEbii5WK4LahVOVCZXmCCANYmOmtTaCtSQQIhASJl8oq3S3dcdnDDkNOJbohb
+bnMJ4/yDKYLmMnM9tYRQwxS7qw1ZdHyOCqdX7XmQfHpxvNyrJBUNGdh+tzMlTxyR
+m63ooZtiBa8Me9uHflCV6KkaipCCkt405a4E51/lHJRDsK5kwXZhkmlF9ifp7oUG
+GSve/5ZyuO9dQKI2ijgeR6zupXnIxQynXZLd7nlfUAuQoQvCZw2aOmW37n47Vnkk
++5MUZfwXG3+ekzUZciFJwdZ9Do3wnmKhU0+ZKjJIo8+mBmB267otOQmdo1ayTgF2
+G3Hiv6P7tggJ6gRlQnoBH0lFll7WJGGKspe8r153XOn8/1yTOLF5nzEdQhATed6K
+qbuasxkN+XNhgeRKgCW+i/Lc3Og75LEEPpv1NxzDcZN7mZ0Yxitrdq+by1bcie/9
+j7lS4Upm/9IqBaRfxECL6Sd5bEk/wuTflxhNeq5pZMzNqNZbvKQwMrAV5mH9ghMW
+GD0dh2qSxLTAKTfggbUKmuTdh1kCLrzLLbblWUI7hlzhV8NfhVb0UMd8ubYktz1H
+t5eDPR7sb70f4+CXWRgS
+=Z2wU
-----END PGP SIGNATURE-----
diff --git a/www-apps/moodle/moodle-2.2.9.ebuild b/www-apps/moodle/moodle-2.2.9.ebuild
deleted file mode 100644
index 88436f5f90d7..000000000000
--- a/www-apps/moodle/moodle-2.2.9.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.2.9.ebuild,v 1.1 2013/03/18 15:57:53 blueness Exp $
-
-EAPI="4"
-
-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_53="ctype,curl,iconv,json,session,simplexml,xml,zip"
-PHP_OPTIONAL_FLAGS_53="gd,intl,soap,ssl,tokenizer,xmlrpc"
-PHP_FLAGS_53="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53}"
-
-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_53}]
- 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.3.6.ebuild b/www-apps/moodle/moodle-2.3.6.ebuild
deleted file mode 100644
index b327e7a37a26..000000000000
--- a/www-apps/moodle/moodle-2.3.6.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.3.6.ebuild,v 1.1 2013/03/18 15:57:53 blueness Exp $
-
-EAPI="4"
-
-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_53="ctype,curl,iconv,json,session,simplexml,xml,zip"
-PHP_OPTIONAL_FLAGS_53="gd,intl,soap,ssl,tokenizer,xmlrpc"
-PHP_FLAGS_53="${PHP_REQUIRED_FLAGS_53},${PHP_OPTIONAL_FLAGS_53}"
-
-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_53}]
- 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.4.3.ebuild b/www-apps/moodle/moodle-2.4.3.ebuild
deleted file mode 100644
index 64ada80113e6..000000000000
--- a/www-apps/moodle/moodle-2.4.3.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/moodle/moodle-2.4.3.ebuild,v 1.1 2013/03/18 15:57:53 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
-}