pkgsrc-Bugs archive

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

Re: pkg/40290: multimedia/mediatomb doesn't install example config.xml

On 29 Dec 2008, at 18:49, Jared D. McNeill wrote:
I don't understand; why would it write to that file if it already exists (see above)?

Because it has a web interface that can be used to change the configuration.

>    The rc.d script should also give the option of overriding the
>    username and group passed to the mediatomb binary.

The user and group name can be set at built time.

That's a pretty poor workaround Matthias, you should still be able to override it with mediatomb_flags (which is not possible today unless you edit the rc.d script by hand).

FYI, the Ubuntu package for mediatomb-daemon has the following features:

* Installs a default config file to /etc/mediatomb/config.xml

Which they can only do because they don't allow you to set things
like the installation path or the configuration directory.

* Installs a startup script to /etc/init.d/mediatomb

The "mediatomb" package contains a startup script. If your system
is configured accordingly it will automatically be copied to
"/etc/rc.d" during installation.

        Kind regards

Matthias Scheler                 

Home | Main Index | Thread Index | Old Index