|
From: | Florian Hubold |
Subject: | Re: [Gnumed-devel] GNUmed packaging help needed |
Date: | Sun, 08 Mar 2009 22:38:35 +0100 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090114) |
Karsten Hilbert schrieb:
As far as i have understood this, the act of bootstrapping gnumed-server (and PostgreSQL) should be done manually by an admin and should not be automated. There could possibly be an official gnumed-server package which contains the bootstrapping bundles, but one has to setup the database and the bootstrapping manually. But such a "placeholder"- you should never requires a database server, as it might be a remote one, and especially not on a client packageAh, OK, it makes sense to not make a gnumed-client depend on a gnumed-server package, but it must surely be somehow possible to have a gnumed-server package as such ?
package is of no practical use as far as i can tell for myself. But as this bugs me i'll bring this to speech at the mandriva mailing list.
This is exactly what's done in the other rpm packages (mandriva, opensuse, pclos), also the bootstrapping is done in %post, since some time also fully automated and passwordless for the initial bootstrapping to ease deployment and help spread gnumed easier. The only thing that has to be done manually currently is upgrading an existing database. This will be the next thing that i want to realize in my packages and see if that works reliably,After searching a bit on the mandriva wiki, i didn't find a policy that explicitly forbids the installation of server packages, but if he says so than maybe you'll have bad cards. How is this handled for Debian?Very simple: gnumed-server depends on postgresql whereby PostgreSQL gets installed. The bootstrap files are installed onto the system. Then the user needs to run the bootstrapper manually after installation. This last step could be invoked from a postinst script, too. Karsten
but that is not that easy as i don't use gnumed.
[Prev in Thread] | Current Thread | [Next in Thread] |