DIFF for mta.sh startupscript on freebsd-port 4.52.2

Lars Kristiansen lars+lister.mailscanner at adventuras.no
Mon Apr 17 15:02:41 IST 2006


Lars Kristiansen skrev:
> Thanks to JP for the Freebsd-port.
>
> Have just been using it to upgrade to 4.52.
> But mta.sh would not start.
> Needed to edit line 72 in /usr/local/etc/rc.d/mta.sh
>
> Here is diff:
> @@ -69,7 +69,7 @@
>        \( \( $_mta_osversion -ge 700000 \) -a \
>                \( $_mta_osversion -lt 700007 \) \) ]
> then
> -       $_mta_rc_script="{$_mta_rc_script}.sh"
> +       _mta_rc_script="${_mta_rc_script}.sh"
> fi
>
> load_rc_config $name
>

Also in the same freebsd-port a small change is needed in line 7 in both
  update_virus_scanners.cron and update_phishing_sites.cron.
At least on my machines it should be /etc/rc.subr instead of 
/usr/local/etc/rc.subr

Maybe it would be right to use the %%RC_SUBR%% variable in the ports files?


Should I rather send-pr these things instead of bothering the list?
Again, thanks.
-- 
Regards from Lars



More information about the MailScanner mailing list