Re: Freebsd Port of SA 3.2.1
> (now if we could decide how to fix/check umask.[color=blue]
> No real way of knowing if it's a install/reinstall,
> Only flag is during portupgrade I think.[/color]
I see, I thought the ports Makefile explicitly makes these
directories if missing, but now I see the perl makefile does it:
...
Installing /usr/local/bin/spamd
Installing /usr/local/bin/sa-update
Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Mail/SpamAssassin/.packlist
/usr/local/bin/perl5.8.8 "-MExtUtils::Command"
-e mkpath /usr/local/etc/mail/spamassassin
And the ExtUtils::Command::mkpath (by calling File::Path) just applies
the current umask when creating directories.
There exists a ExtUtils::Command::chmod, although perhaps it would not
be appropriate to use it, in case directories existed from before.
I noticed the ports install _does_ issue a warning:
===> Warning: your umask is "0027".
If this is not desired, set it to an appropriate value
and install this port again by ``make reinstall''.
So perhaps this suffices (for somebody actually reading it :),
especially if my
[url]http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5507[/url]
gets accepted to facilitate port-festum troubleshooting.
Mark