Re: Help wanted for packaging postgresql application

2003-05-26 Thread Matt Zimmerman
On Mon, May 26, 2003 at 08:39:01AM +0200, Andreas Tille wrote: > On Sun, 25 May 2003, Matt Zimmerman wrote: > > > For python, you only need to declare Depends: python to ensure that > > python is installed and configured when your postinst runs. > Are you sure that the python interpreter is worki

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Karsten Hilbert
Andreas, > For the next problem I have no real clue for a solution. The > bootstrap method does access the database as the newly created user > this requires a change of the PostgreSQL configuration. To make the > problem clear look at the following shell script: > >#!/bin/sh >TUSER=myt

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Guido Guenther
On Sun, May 25, 2003 at 09:56:04PM +0200, Andreas Tille wrote: > The bootstrap routine creates a postgres user where the user is > asked for a password. I would like to ask via debconf for the > password. Is there any method to access the debconf database with > Python? Currently I have the plan

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Oliver Elphick
On Mon, 2003-05-26 at 08:19, Andreas Tille wrote: > Thus the postgresql server has to allow connections of non system users > from localhost and also from other hosts (GnuMed clients) in the next step > while keeping the possibility to authenticate via ident. In 7.3, you can specify connection/da

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Roland Mas
Andreas Tille (2003-05-25 21:56:04 +0200) : > For the next problem I have no real clue for a solution. The > bootstrap method does access the database as the newly created user > this requires a change of the PostgreSQL configuration. [...] > Now I would llike to know the following two things:

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Andreas Tille
On Mon, 26 May 2003, Matthias Urlichs wrote: > Hi, Andreas Tille wrote: > > > 1. How to change the postgresql configuration in a way which just > > adds minimum off additional rights? > > I'd say "don't". The user should be able to set up a new postgresql user > by themselves, or maybe they

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Matthias Urlichs
Hi, Andreas Tille wrote: > 1. How to change the postgresql configuration in a way which just > adds minimum off additional rights? I'd say "don't". The user should be able to set up a new postgresql user by themselves, or maybe they'd like to reuse an existing account, or maybe they want t

Re: Help wanted for packaging postgresql application

2003-05-26 Thread Andreas Tille
On Sun, 25 May 2003, Matt Zimmerman wrote: > For python, you only need to declare Depends: python to ensure that python > is installed and configured when your postinst runs. Are you sure that the python interpreter is working if python is just installed at the same time (apt-get run) in which Gnu

Re: Help wanted for packaging postgresql application

2003-05-25 Thread Matt Zimmerman
On Sun, May 25, 2003 at 04:30:08PM -0500, Adam Majer wrote: > On Sun, May 25, 2003 at 04:50:03PM -0400, Matt Zimmerman wrote: > > For python, you only need to declare Depends: python to ensure that python > > is installed and configured when your postinst runs. > > Wouldn't you need predepends?

Re: Help wanted for packaging postgresql application

2003-05-25 Thread Adam Majer
On Sun, May 25, 2003 at 04:50:03PM -0400, Matt Zimmerman wrote: > On Sun, May 25, 2003 at 09:56:04PM +0200, Andreas Tille wrote: > > > I want to package GnuMed which is a Python application accessing > > PostgreSQL server. > > > > http://bugs.debian.org/166282 > > > > It comes with a Python

Re: Help wanted for packaging postgresql application

2003-05-25 Thread Matt Zimmerman
On Sun, May 25, 2003 at 09:56:04PM +0200, Andreas Tille wrote: > I want to package GnuMed which is a Python application accessing > PostgreSQL server. > > http://bugs.debian.org/166282 > > It comes with a Python bootstrap routine. That means the postinst script > would need a working Pytho

Help wanted for packaging postgresql application

2003-05-25 Thread Andreas Tille
Hello, I want to package GnuMed which is a Python application accessing PostgreSQL server. http://bugs.debian.org/166282 It comes with a Python bootstrap routine. That means the postinst script would need a working Python and PostgreSQL server installed. I think I would solve this by a si