Moodle is a open source course management system, I would like portage to have it Reproducible: Always Steps to Reproduce: 1. 2. 3.
Hmm, "connection refused" for moodle.org, not a good sign.
Created attachment 67493 [details] moodle-1.5.2.ebuild moodle.org works fine for me, try checking your network setup. I've attached an initial ebuild. Unfortunately it takes over 30 mins to emerge because webapp-config is really slow! So it doesn't look practical to have an ebuild for this package at the moment...
@chrb: Hint: Putting chrb@gentoo.org, stuart@gentoo.org, web-apps@gentoo.org to Add CC at the same time generates two bugspams less. ;p
Created attachment 68117 [details] moodle-1.5.2-r1.ebuild -r1 with small improvements
Created attachment 68118 [details] README.gentoo short rtfm message
Created attachment 68122 [details] moodle-1.5.2-r1.ebuild fixed silly mistake
tcsh's time shows that the latest webapp-config improved its speed. with webapp-config-1.50.1, it installs more than 12,000 files # time emerge www-apps/moodle 384.429u 113.666s 10:41.26 77.6% 0+0k 0+0io 526pf+0w in 10 min. the CPU is PIII 800Mhz with 256MB RAM, the HDD is 7200 rpm, 80G, PATA.
moodle is now in our unofficial overlay: http://svn.gnqs.org/projects/gentoo-webapps-overlay/browser Please note that the overlay is unofficial, not a Gentoo project, and not supported. It is intended to provide easier access to new web applications.
I didn't even know there was such a thing. What is the timescale for inclusion into the real portage tree?
The overlay was created last month and has not yet been "officially" announced. The requirements for inclusion of an ebuild into the main portage tree are stated here: http://svn.gnqs.org/projects/gentoo-webapps-overlay/wiki/HowToGetYourEbuildIntoPortage The main blocker is usually "a Gentoo dev willing to maintain the package".
*** Bug 135892 has been marked as a duplicate of this bug. ***
*** Bug 139229 has been marked as a duplicate of this bug. ***
reopening for version bump request
1.6 is in the overlay. At this time, I don't really want to add an svn ebuild.
Created attachment 171950 [details] moodle-1.9.3.ebuild Just renamed the ebuild and changed the download location. Works fine for me
Lets reopen. I think this one should be available in portage.
modified ebuild from Comment #15 works here for moodle-1.9.5+ (weekly cvs build downloaded manually). Would be nice to see it in portage soon.
There has been a vulnerability report for moodle: http://docs.moodle.org/en/Moodle_1.9.8_release_notes * MSA-10-0001 Vulnerability in KSES text cleaning * MSA-10-0002 XSS vulnerabilty in the phpcas module * MSA-10-0003 Disclosure of full user names * MSA-10-0004 Improved access control in course restore * MSA-10-0005 Incorrect validation of forms data * MSA-10-0006 SQL injection in Wiki module * MSA-10-0007 Reflective Cross Site Scripting (XSS) in the Moodle Global Search Engine * MSA-10-0008 Persistent XSS when using Login-as feature * MSA-10-0009 Session fixation prevention now turned on by default Please ensure that these issues are fixed before the package is added to the tree. Thanks
I take this one if no one else wants to maintain it. My institution makes heavy use of moodle. I'm working on an ebuild now and should have it done in a few days. I'll post here for review before putting it on the tree. I want to do a bit more with prep of the db than the previously posted ebuilds.
Okay, I've got an ebuild written and tested. Its on my overlay. For those who don't have access, I'll attach the components here. @web-apps: is it okay if I maintain this one? Unless you guys want otherwise, I'll put it in no-herd and me as the maintainer --- taking full responsibility.
Created attachment 239129 [details] The ebuild
Created attachment 239131 [details] Postinstall instructions if a database was selected
Created attachment 239133 [details] Postinstall instructions if no database (or multiple databases) are selected
Created attachment 239135 [details] Gentoo-ish config.php file
Created attachment 239137 [details] Package metadata Taking full responsibility.
In the tree.
Created attachment 243917 [details] Attempted install of moodle-1.9.9 So I tried to install moodle-1.9.9 and received this as an error message. I have tried to manually install the config.php and played with various configurations of using the config.php from 1.9.3 where I made some progress but eventually after several step of the actual moodle install, at about when it asks for the preferred language and puts together a config.php, I grind to a halt. I'd like this to work, I have had moodle working with previous versions and it seems that it might be an easy fix but I am at a loss. So I have included below the error message from emerge =moodle-1.9.9 and per instructions the output of emerge --info =www-apps/moodle-1.9.9' and emerge -pqv =www-apps/moodle-1.9.9' Any assistance / directions would be appreciated. Jan Vandermeer * ebuild fault: file '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' not found * Please report this as a bug at http://bugs.gentoo.org/ * ERROR: www-apps/moodle-1.9.9 failed: * ebuild fault: file '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' not found * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 3442: Called webapp_configfile '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' * environment, line 4185: Called webapp_checkfileexists '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' '/var/tmp/portage/www-apps/moodle-1.9.9/image/' * environment, line 4176: Called die * The specific snippet of code: * die "$msg"; * * If you need support, post the output of 'emerge --info =www-apps/moodle-1.9.9', * the complete build log and the output of 'emerge -pqv =www-apps/moodle-1.9.9'. * This ebuild is from an overlay: '/usr/local/portage/' * The complete build log is located at '/var/log/emerge-logs/www-apps:moodle-1.9.9:20100821-170825.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/moodle-1.9.9/temp/environment'. * S: '/var/tmp/portage/www-apps/moodle-1.9.9/work/moodle' >>> Failed to emerge www-apps/moodle-1.9.9, Log file: >>> '/var/log/emerge-logs/www-apps:moodle-1.9.9:20100821-170825.log' * Messages for package www-apps/moodle-1.9.9: * (server owned) hostroot/moodle * ebuild fault: file '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' not found * Please report this as a bug at http://bugs.gentoo.org/ * ERROR: www-apps/moodle-1.9.9 failed: * ebuild fault: file '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' not found * * Call stack: * ebuild.sh, line 54: Called src_install * environment, line 3442: Called webapp_configfile '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' * environment, line 4185: Called webapp_checkfileexists '/usr/share/webapps/moodle/1.9.9/htdocs/config.php' '/var/tmp/portage/www-apps/moodle-1.9.9/image/' * environment, line 4176: Called die * The specific snippet of code: * die "$msg"; * * If you need support, post the output of 'emerge --info =www-apps/moodle-1.9.9', * the complete build log and the output of 'emerge -pqv =www-apps/moodle-1.9.9'. * This ebuild is from an overlay: '/usr/local/portage/' * The complete build log is located at '/var/log/emerge-logs/www-apps:moodle-1.9.9:20100821-170825.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apps/moodle-1.9.9/temp/environment'. * S: '/var/tmp/portage/www-apps/moodle-1.9.9/work/moodle' emerge --info =www-apps/moodle-1.9.9 Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32-gentoo-r4 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.32-gentoo-r4-x86_64-AMD_Sempron-tm-_Processor_2800+-with-gentoo-2.0.1 Timestamp of tree: Tue, 17 Aug 2010 21:50:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.4-r13, 2.5.2-r7, 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.5, 1.6.3-r1, 1.7.9-r2, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.1.2, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-9.0.31.0 AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans" GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ http://gentoo.arcticnetwork.ca/ http://gentoo.gossamerhost.com rsync://gentoo.gossamerhost.com/gentoo-distfiles/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" LANG="en_CA.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gnutls gpm gtk hal iconv ipv6 jpeg lcms ldap libnotify mad midi mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp oss pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -pqv =www-apps/moodle-1.9.9 [ebuild NS ] www-apps/moodle-1.9.9 [1.9.3] USE="imap ldap mysql odbc -postgres -radius -vhosts"
(In reply to comment #27) > Created an attachment (id=243917) [details] > Attempted install of moodle-1.9.9 > > So I tried to install moodle-1.9.9 and received this as an error message. I Hi Jan, this bug was for getting the moodle ebuild into the tree and has been closed. We should really open another bug for your problem. Having said that, I'm going to try to reproduce your issue. Can you also try to emerge moodle-1.9.9-r1 recently added to the tree? If you hit the problem again, open up a new bug and assign it to blueness@gentoo.org. Thanks :)