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
The following reply was made to PR pkg/40290; it has been noted by GNATS.
From: "Jared D. McNeill" <jmcneill%invisible.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: agc%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/40290: multimedia/mediatomb doesn't install example config.xml
Date: Mon, 29 Dec 2008 13:49:06 -0500 (EST)
On Mon, 29 Dec 2008, Matthias Scheler wrote:
> >> Description:
> > The mediatomb package should install an example config.xml to
> > /usr/pkg/share/examples/mediatomb/config.xml and use CONF_FILES
> > to place it in /usr/pkg/etc/mediatomb/.
>
> That's not necessary. The server creates that file if it is started
> the first time.
The default config doesn't work for me, starting and stopping to get a
template is not intuitive.
> >
> > The rc.d script should also be updated to pass
> > -c /usr/pkg/etc/mediatomb/config.xml
> > in mediatomb_flags.
>
> That will *not* work because the server wants to write to that file.
I don't understand; why would it write to that file if it already exists
(see above)?
> > 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
* Installs a startup script to /etc/init.d/mediatomb
* Startup script config in /etc/default/mediatomb, defaults to
mediatomb/mediatomb for the user and group and can be changed.
* Startup script passes -c /etc/mediatomb/config.xml to the mediatomb
binary
Cheers,
Jared
Home |
Main Index |
Thread Index |
Old Index