[MTOS-dev] RPMs?

Finn Smith fcsmith at gmail.com
Wed Jan 9 09:33:14 PST 2008


On Jan 9, 2008 11:16 AM, David Jacobs <djacobs at apperceptive.com> wrote:
>
> Finn Smith developed a debian package for us last year that let people
> choose their database at the time of install.

Specifically, I used the dbconfig-common package to accomplish this to
avoid writing a different configuration script for each database that
should be supported. dbconfig-common integrates into the debconf run
when the package is installed/upgraded/etc. to ensure that a database
server exists, and a database/username/password for MT is created.

Here are the package and bug pages for the version in sid:
http://packages.debian.org/unstable/admin/dbconfig-common
http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=dbconfig-common;dist=unstable

The package I made worked on the assumption that there was just one
instance of MT on the server, so on package install the database would
be created, files installed, etc. and the admin would end up with a
working instance of MT. It's not clear to me what the proper
expectation or best course of action for an MT .deb package is for one
vs. many installs on a single box. How and where the files and
databases are installed depends on all of this, obviously.

It may be worth keeping an eye on the webapps-common project/package
which is trying to address some of these issues (from the same person
as dbconfig-common). It's still in the very early stages, so probably
won't be helpful for packaging at the present, but may be in the
future.
http://alioth.debian.org/projects/webapps-common/
http://webapps-common.alioth.debian.org/draft-wac/html/

-F


More information about the MTOS-dev mailing list