|
Writing a new superservice involves several things:
Making new directories in CVS:
Adding several files:
/service/<superservice>/Makefile.am
/service/<superservice>/reports/Makefile.am
/service/<superservice>/script/Makefile.am
/service/<superservice>/<superservice>.cfg
This file specifies the DLF format of the superservice. Ideally, it should
offer a place for each and every snippet of information which will ever be
found in a logfile from a program which offers functionality defined by the
superservice. This file should have documentation embedded; this will show up
in this manual.
Writing service plugins (2dlf scripts):
Adapting several files:
/service/configure.in
(add the Makefiles and 2dlf script to AC_OUTPUT, to get them
converted from
<service>2dlf.in to <service>2dlf.)
/service/Makefile.am
(add the superservice directory to SUBDIRS, so that make gets
run there too, when called from the root source directory.)
/service/all/etc/address.cf
(to make the new service known as a member of a superservice.)
Update Documentation:
User Manual: Chapter "Supported Applications".
Add manpages for scripts
This document: add a referal to the superservice-schemas.dbx
The User Manual: add referals to
superservice-reports-infos.dbx and
superservice-filters-infos.dbx.
Update lr_config
|