Differences between revisions 5 and 6
Revision 5 as of 2010-04-12 19:53:20
Size: 1448
Editor: ?TomaszMuras
Comment:
Revision 6 as of 2010-04-18 16:49:48
Size: 1752
Editor: ?TomaszMuras
Comment:
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

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