[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: RFS: personalbackup



Dear mentors,

I am looking for a sponsor for my package "personalbackup".

IANADD, so I can't sponsor. But my comments, anyways:

You should not depend in postgresql, since that is just a transitional
package. Depend on an specific version, or on several.

In a related note, should you depend on postgresql at all? Does the
server *need* to be on the same machine as personalbackup? Maybe you
could just recommend: it or even suggest: it.

You are completely correct, it is better to "recommend" the package. I will change that.

You are programaticaly managing a configuration file in /etc. You
should look into using ucf, that already handles this.

I've had a look at ucf, but I do not think it fits my need (unless I have overlooked something).

I have a template file "/usr/share/doc/personalbackup/personalbackup.apache" and the parameter "webalias"
is being replaced in that template during postinst. Depending on the user's choose for apache/apache2 this file will be placed in '/etc/apache/conf.d/personalbackup' or '/etc/apache2/sites-enabled/personalbackup'

Now to detect that the user did (not) change the conf file, I check the md5sum of the content of the appropriate conf file 'except' for the Alias line.
And as far as I can see this is something ucf cannot handle...or am I wrong here?

Regards,
LinuxTuxie

Others might have more comments.

--
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28



Reply to: