1448
Comment:
|
1752
|
Deletions are marked like this. | Additions are marked like this. |
Line 22: | Line 22: |
= Config files = == Apache config == I (Tomek) currently don't see a good method of generating apache configuration automatically. Alias directive will not work well with vhosts. Until I find some nicer way, I would like to ship the package that builds sample Apache configs but does not enable them. |
Introduction
This space is about packaging Moodle (www.moodle.org)
Changes applied to upstream code
Bundled libraries
- smarty
- YUI
- magpie
nusoap ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529573 ) - there is no need for this library in PHP5
Patches
- config check patch - I don't see why it's needed
Other
- Chat daemon script is not shipped (rm debian/moodle/usr/share/moodle/mod/chat/chatd.php)
- admin/delete.php used to be removed because of security issue that has since been fixed upstream
- mod/wiki/ewiki/fragments/mkhuge was removed as well, I don't know why
- lib/editor/htmlarea/plugins/SpellChecker was removed - I don't know why
Config files
Apache config
I (Tomek) currently don't see a good method of generating apache configuration automatically. Alias directive will not work well with vhosts. Until I find some nicer way, I would like to ship the package that builds sample Apache configs but does not enable them.
Other
Find all license files:
find . -type f -iregex '.*\(license\|copying\).*'
Find all unnecessary files:
find . -type f -name .cvsignore
Debugging package
Pack files into debian package: pack.sh
tar -zcf control.tar.gz conffiles control md5sums postinst preinst config debian-binary postrm prerm ar r moodle_1.9.8-1_all.deb debian-binary control.tar.gz data.tar.gz ./clean.sh
Unpack: unpack.sh
ar x moodle_1.9.8-1_all.deb tar -zxf control.tar.gz
Clean up: clean.sh
rm data.tar.gz control.tar.gz conffiles control md5sums postinst preinst config debian-binary postrm prerm