[csw-maintainers] SMF support for syslog_ng package

Maciej (Matchek) Blizinski maciej at opencsw.org
Wed May 27 20:13:55 CEST 2009


I'm playing with updating syslog_ng to v2 and getting it to have SMF
support via mGAR.

Makefile: http://dpaste.com/48317/
SMF manifest: http://dpaste.com/48320/

The changes I made can be summarized as:

- added DISTFILES += cswsyslog_ng.xml
- installed cswsyslog_ng as svc-cswsyslog_ng in the manifest directory
($(DESTDIR)$(libdir)/svc/method)
- added INITSMF = /opt/csw/etc/init.d/cswsyslog_ng

The result is that the SMF manifest doesn't get imported:

Installation of <CSWsyslogng> on zone <joy-zone1.dub.corp.google.com>
was successful.
root at joy:/var/tmp# svcs -a | grep syslog
root at joy:/var/tmp#


How does mGAR know which file is the manifest? Just by its name -- cswfoo.xml?

Maciej



More information about the maintainers mailing list