[dev] Debian packages for a few modules
Alex de Landgraaf
alextreme@xs4all.nl
Tue, 13 Aug 2002 22:00:17 +0200
Hey everyone,
Currently i am working on packaging a few horde modules for debian, the current
versions are on http://am.xs4all.nl/horde for review.
Currently i have packages for chora, mnemo, nag and snok all working
'reasonably' well, but there are a few differences between the way horde2 is
packaged in debian currently (not by me btw) and the normal horde2 installation
that i would like to have resolved (and maybe get debian/ in the CVS, what would
simplify packaging the latest-and-greatest versions!)
The largest difference is in the way horde handles the installation of new
modules in /etc/horde2/registery.php. Adding to and changing this file leads to
quite some difficulties in automatic handling of modules, this hack by
Rennebarth (nils@debian.org) solves the problem nicely:
--- registery.php
if ($d = @opendir('/etc/horde2/registry.d')) {
while ($f = readdir($d)) {
if (ereg(".php$", $f)) {
include_once '/etc/horde2/registry.d/' . $f;
}
}
closedir($d);
}
---
As you can see, this includes all .php files in the registery.d directory,
making our lives a lot easier =)
Now about the packages i'm working on (only trying the ones with tarballs for
now, sorry =):
horde2-chora is nearly ready, only has a nasty bug not letting a signed-in user
view the CVS (guestmode does work). Gives registery-errors, still trying to work
this one out, anyone got a clue about this?
horde2-mnemo and horde2-nag work afaik with mysql, but only after editing
conf.php, just like kronolith and turba now in sid. Working on a secure way to
fix this.
snok works, but is now seperated (different deb's for passwd, account, forwards
and vacation), going to put them all in one horde2-snok package.
Why am i bothering you all with this? because i hope we can get a few nice
packages in sid for the masses, but first i need to iron out a few
inconsistancies between us =)
Keep up the good work!
Alex de Landgraaf
--
GPG: 1024B/94C5FD4B Wouter Alexander de Landgraaf
(Alextreme :: am.xs4all.nl) <alextreme@xs4all.nl>
ICQ: 31162909
IRC: #debian/OPN, irc.xchat.org