Hello,
Rainer Gerhards wrote:
> One important question is left: how would you suggest to name the
> packages?
> For more than 10 years, the rfc3195 component came under the name of
> "liblogging", so I would assume it's a bad idea to rename this one. Does
> this mean we end up with
>
> * liblogging (rfc3195)
> * liblogging-stdlog
> * liblogging-journalemu
>
> If so, I should probably also change the names used in PKGCONFIG,
> configure
> scripts etc. That probably means I need to do yet another rsyslog 7.4
> release but if it takes that to clean up the mess, it's probably worth it.
>
> Feedback is highly appreciated. This time I want it right ;)
So this looks like "liblogging" is the "base" and "liblogging-stdlog" or
"liblogging-journalemu" is a component/plugin. More plugins or new modules
may come.
But according to your comment, "liblogging" is not the base (=not required
for liblogging-{stdlog,journalemu}).
You also said that the RFC3195 componenet is now obsolete (e.g. shouldn't be
required by most users).
Changing the name of "liblogging" to "liblogging-rfc3195" (which seems to be
the right name from current view) is not an option, because it would break
existing old versions depending on the old name and it should be avoided to
patch old stable software. Right?
>From my understanding, the "plugin/module concept" is new. Wouldn't it be an
option to rename the new, not yet used library version to "liblogging2" so
we can start with the right naming from beginning (without breaking legacy
software)?
So we would end with something like
/usr/
|-- include
| |-- liblogging2
| |-- rfc3195.h
| |-- stdlog.h
| |-- journalemu.h
| |-- settings.h
| |-- srAPI.h
| |-- syslogmessage.h
|-- lib
| |-- liblogging2-rfc3195.so
| |-- liblogging2-stdlog.so
| |-- liblogging2-journalemu.so
| |-- pkgconfig
| |-- liblogging2.pc
and configure scripts would look for
"liblogging2{,-rfc3195,-stdlog,-journalemu}".
-Thomas
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.