package pkg-multimedia/crtmpserver looking for mentor(s)

Andriy Beregovenko jet at jet.kiev.ua
Mon Apr 18 16:37:02 UTC 2011


понеділок 18 квітень 2011 17:53:45 Reinhard Tartler ви написали:
> On Mon, Apr 18, 2011 at 15:13:17 (CEST), Andriy Beregovenko wrote:
> > субота 16 квітень 2011 23:13:17 Reinhard Tartler ви написали:
> >> On Fri, Apr 15, 2011 at 21:38:42 (CEST), Reinhard Tartler wrote:
> >> > I had another look at the package. In debian/crtmpserver.install, the
> >> > package installs crtmpserver/crtmpserver.lua ->
> >> > etc/crtmpserver. However, this configuration file seems horribly
> >> > specific to me; i.e., we can safely expect that every user *will*
> >> > definitly want to edit and adjust the contents. This also means that
> >> > dpkg *will* prompt on every package upgrade that changes anything in
> >> > the file.
> >> > 
> >> > Sorry, the more I think about it, I come to the conclusion that
> >> > 
> >> >  a) we should not install the config file to /etc/
> >> >  b) not install the init script
> >> >  c) not create the system user
> >> > 
> >> > This will reduce a lot of complexity in the package, which wouldn't
> >> > help our users much anyway.
> >> 
> >> I have now implemented this change in a way that can be easily
> >> reverted. Please have a look and either revert or OK this change.
> > 
> > I'm novice in debian packing policy, so I prefer to listen to more
> > experienced people. Also, your point of view is not meaningless. That is
> > why I agree with most part of your modifications.
> > But, I'm still not understand why "crtmpserver.lua" is "horribly
> > specific". All other issues follow by this one.
> 
> Well, the file does not seem to be meant used unmodified; au contrary,
> AFAIUI you *must* edit it to specify what content you want to stream. 
Mostly not need. Current configuration file is big cause it there are many 
explanations what we can do. Also it is "generic" :). Yes, we can specify some 
"static" configuration like pulling/pushing streams, static pointing to some 
directory with media files and few other options. But main work of this 
software is dynamic streaming. Someone push stream into it, and another one 
play it :)
Anyway, currently there are plans to move configuration to separated files (in 
conf.d style)

Also you can simply specify your own configuration file via defaults. For novice 
it works by default. Anyway I review configuration file and I will make it less 
specific.

> And these are the modification that will trigger conffile
> changes on every upgrade, which I think we should avoid.
I think about this, but there are many packages which has like situation(squid 
for example).

> I take your mail as OK to the simplification and will upload it tonight
> or tomorrow then.
Yes, I would be very grateful.

> Cheers!



More information about the pkg-multimedia-maintainers mailing list