[csw-maintainers] Help needed for cswclassutils integration (PROTOTYPE_FILTER not working)

Sebastian Kayser skayser at opencsw.org
Sun Feb 8 17:57:29 CET 2009


Hi,

could someone please have a look at my current Makefile for dovecot?

  https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/dovecot/trunk/Makefile

I just wanted to add cswclassutils integration and the classes that i
try to insert via the PROTOTYPE_FILTER don't end up in the final pkgmap
file. No cswclassutils actions get triggered on installation either.

PROTOTYPE_FILTER  = awk '\
	$$$$3 ~ /\/init.d\/cswdovecot$$$$/ { $$$$2 = "cswinitsmf" } \
	$$$$3 ~ /dovecot.pem.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \
	$$$$3 ~ /dovecot.conf.CSW$$$$/ { $$$$2 = "cswcpsampleconf" } \
	$$$$3 == "/opt/csw/ssl/certs" { next } \
	$$$$3 == "/opt/csw/ssl/private" { next } \
	 { print }'

The files in question still have the class "none" assigned to them and
the two ssl directories that i would like do drop still go into the
pkgmap file.

# grep cswdovecot /var/sadm/install/contents
/etc/opt/csw/init.d/cswdovecot f none 0755 root bin 1054 14930
1234105190 CSWdovecot

Any clue why this is so? What would be an approach to debug what is
going wrong? The package is in testing in case that helps.

http://mirror.opencsw.org/testing/dovecot-1.1.11,REV=2009.02.08-SunOS5.8-i386-CSW.pkg.gz

Sebastian



More information about the maintainers mailing list