[csw-devel] SF.net SVN: gar:[3698] csw/mgar/pkg/nagios/trunk

Peter Bonivart bonivart at opencsw.org
Tue Mar 10 21:46:10 CET 2009


On Tue, Mar 10, 2009 at 9:08 PM,  <j_arndt at users.sourceforge.net> wrote:
> nagios: fixed dependencies, switched to SMF via cswclassutils

Cool!

> +PROTOTYPE_FILTER  = awk '$$$$3 ~ /\/init.d\/cswnagios$$$$/ { $$$$2 = "cswinitsmf" } { print }'

You shouldn't need the prototype filter when you have a static
prototype, you have already assigned the correct class to cswnagios
below:

> Modified: csw/mgar/pkg/nagios/trunk/files/CSWnagios.prototype
> ===================================================================
> --- csw/mgar/pkg/nagios/trunk/files/CSWnagios.prototype 2009-03-10 17:59:16 UTC (rev 3697)
> +++ csw/mgar/pkg/nagios/trunk/files/CSWnagios.prototype 2009-03-10 20:08:58 UTC (rev 3698)
> @@ -385,9 +385,9 @@
>  f none /opt/csw/share/doc/nagios/README 0644 root bin
>  f none /opt/csw/share/doc/nagios/UPGRADING 0644 root bin
>  f none /opt/csw/share/doc/nagios/LICENSE 0644 root bin
> +f cswinitsmf /etc/opt/csw/init.d/cswnagios 0755 root bin
>  i checkinstall=CSWnagios.checkinstall
>  i preinstall=CSWnagios.preinstall
>  i depend=CSWnagios.depend
>  i pkginfo=CSWnagios.pkginfo
> -i postinstall=CSWnagios.postinstall
>  i preremove=CSWnagios.preremove


-- 
/peter



More information about the devel mailing list