summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2007-11-25 13:06:09 +0000
committerJakub Moc <jakub@gentoo.org>2007-11-25 13:06:09 +0000
commitd6361fe4c84de9bde5f8c156045b1de793ad4114 (patch)
tree6b9a8a222703c6b9b5c0b536da696f62bf27e4c6 /www-apps
parentwww-apps/ledgersmb: Version bump (security release), remove old. (diff)
downloadwebapps-experimental-d6361fe4c84de9bde5f8c156045b1de793ad4114.tar.gz
webapps-experimental-d6361fe4c84de9bde5f8c156045b1de793ad4114.tar.bz2
webapps-experimental-d6361fe4c84de9bde5f8c156045b1de793ad4114.zip
www-apps/moodle: Version bump, remove old. Add check for recommended/required PHP features.
svn path=/experimental/; revision=691
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/moodle/ChangeLog4
-rw-r--r--www-apps/moodle/Manifest8
-rw-r--r--www-apps/moodle/files/README.gentoo3
-rw-r--r--www-apps/moodle/moodle-1.8.3.ebuild (renamed from www-apps/moodle/moodle-1.8.2.ebuild)13
4 files changed, 18 insertions, 10 deletions
diff --git a/www-apps/moodle/ChangeLog b/www-apps/moodle/ChangeLog
index 8a18960..b25f4e8 100644
--- a/www-apps/moodle/ChangeLog
+++ b/www-apps/moodle/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 25 Nov 2007; Jakub Moc <jakub@gentoo.org> files/README.gentoo,
+ -moodle-1.8.2.ebuild, +moodle-1.8.3.ebuild:
+ Version bump, remove old. Add check for recommended/required PHP features.
+
13 Sep 2007; Jakub Moc <jakub@gentoo.org> moodle-1.8.2.ebuild:
Use virtual/httpd-cgi for webserver dependency
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
index 948f367..84e45da 100644
--- a/www-apps/moodle/Manifest
+++ b/www-apps/moodle/Manifest
@@ -1,6 +1,6 @@
-AUX README.gentoo 175 RMD160 eec71961d5c8cd99dcb2dc319891f1c156b93240 SHA1 8a8694c721baae5cbfd04f907e161cb18d271497 SHA256 d4eede7e91d95ffef43bf84554a8c8a40e6a46badd222b6d0a6f161fe2b42937
+AUX README.gentoo 213 RMD160 f589d5ffd29bee1170ca3040749cc103f23b7ec7 SHA1 17ec2d0f4c60bca7e08c5dbab025630667c8a4da SHA256 9f5221b6e6c4f1413bfbf684d1b62a5319d9afb1a68901648da7697c0dad20f1
AUX reconfig 352 RMD160 da4bb65ff8d670992559f783ed5524c268e2f5a5 SHA1 ddefb9666514f753d40e90d5c0b03da75dc16d71 SHA256 a0601311a6a4054f6b10b0d7a0a028f919a70f7a608493ad66839dd032b76637
-DIST moodle-1.8.2.tgz 10145301 RMD160 7ea565a896db94131b362e572437bf0e92c79b53 SHA1 092ca5cd637d35e79e7cdf6d08040a11da1bb802 SHA256 ff79000827ae7b83c3fd7cdb45677cd75f734dba8e589c65612c3043417bb2fe
-EBUILD moodle-1.8.2.ebuild 1023 RMD160 2fdb6207cafe0b3c919d0bb7158e0bf19d223483 SHA1 c9222463625cbe5ec4c475c00c32bcf9155f84df SHA256 185d67c4c6de8c529a83e9f6184dc6b0f25e4c2a2c94e9595e2ba4547149a2e4
-MISC ChangeLog 727 RMD160 fc3b5e7d487cef5e34d138e886089181cd8228cd SHA1 ed66919c12eff7f1f3768b01eac059bc7b2ff637 SHA256 7dc614069b9b334de80d6bcc96873f237aa9e4bfe999e40bf69bd342802b3c73
+DIST moodle-1.8.3.tgz 10109152 RMD160 e99d1f28ad40ce6b99155cfab143aa8fb3b5cd1a SHA1 c0b9a5db6d02fa3299c88ae601934b9d5e0ecc30 SHA256 0458457ae6f9cd47cd86ea4a4aab1075ac980fc3c4e81a8e1afb76c28bc6fc31
+EBUILD moodle-1.8.3.ebuild 1261 RMD160 9689f722ed8f4519cff9c241220c0a57eb39f879 SHA1 8b414c9e1fb0c71e6ce611ce112b1441e981fb68 SHA256 2bca6f88c9c01f44833dd7d31bb34fea2603c18c801efb6548b052af306fcf47
+MISC ChangeLog 916 RMD160 bf181bcb8f6da1ada65d7c928519383c8bc0b6be SHA1 780850850333c7e9a822cac31da601490977ded8 SHA256 adfa6a82ddf04b66f0c08a94b31ac7ef6a736e95aaaf165c53dd47ca2cb3f714
MISC metadata.xml 162 RMD160 0b015f5ff17c4d8e7aee826d48b326cc19b1fed4 SHA1 671b30dafbea01228c8bb606af451a0795922840 SHA256 84ff2fc6c9a4af1b9dbe32aa81ab84c2958bc1bd65a9977686df2dcab6e420d0
diff --git a/www-apps/moodle/files/README.gentoo b/www-apps/moodle/files/README.gentoo
index 2e234ac..6a7df54 100644
--- a/www-apps/moodle/files/README.gentoo
+++ b/www-apps/moodle/files/README.gentoo
@@ -3,4 +3,5 @@ You now need to edit ${MY_INSTALLDIR}/config.php
Browse to
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php
-See http://moodle.org/doc/?frame=install.html for more info.
+See http://moodle.org/doc/?frame=install.html for more info
+about required webserver/PHP settings!
diff --git a/www-apps/moodle/moodle-1.8.2.ebuild b/www-apps/moodle/moodle-1.8.3.ebuild
index ef90fc5..a5baba7 100644
--- a/www-apps/moodle/moodle-1.8.2.ebuild
+++ b/www-apps/moodle/moodle-1.8.3.ebuild
@@ -10,7 +10,7 @@ SRC_URI="http://download.moodle.org/stable18/${P}.tgz"
LICENSE="GPL-2"
KEYWORDS="~x86"
-IUSE="mysql postgres"
+IUSE="ldap mysql postgres"
DEPEND=""
RDEPEND="virtual/cron
@@ -21,11 +21,14 @@ need_php_httpd
S="${WORKDIR}/${PN}"
pkg_setup() {
- local flags
- for i in mysql postgres ; do
+ local flags="curl iconv ssl sockets tokenizer unicode zlib"
+ for i in ldap mysql postgres ; do
use ${i} && flags="${flags} ${i}"
done
- require_php_with_use ${flags}
+ if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} || \
+ ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
+ die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external"
+ fi
webapp_pkg_setup
}
@@ -34,7 +37,7 @@ src_install() {
dodoc README.txt
dodir ${MY_HOSTROOTDIR}/${PF}
- cp -R * "${D}"${MY_HTDOCSDIR}
+ cp -R . "${D}"${MY_HTDOCSDIR}
# do webapp_configfile config-dist.php so that users can identify
# changed default values with ease