Hi, Ulrich!

On Wed, Aug 16, 2006 at 09:25:26PM +0200, Ulrich Spoerlein wrote:
> 
> The function "checkyesno" cannot handle undefined variables and will
> thus print an error. This will happen ON EVERY machine that samba3 is
> installed, but there is no samba_enable="YES/NO" line in rc.conf.
> 
> The quick fix is to alter the samba script to set a default value (to
> NO), just like almost every other port does, eg., run
> 
> $ egrep '_enable:?-"?NO' /usr/local/etc/rc.d/*
> 
> 010.pgsql.sh:postgresql_enable=${postgresql_enable:-"NO"}
> privoxy:privoxy_enable=${privoxy_enable-"NO"}
> snmpd:snmpd_enable=${snmpd_enable-"NO"}
> symon:symon_enable=${symon_enable:-"NO"}
> 
> I'll CC the maintainer ...

Thanks for pointing me out on this flaw. IIRC, when I first wrote this
script it did work ok. So, seems, something got broken since then.

I'll try to push the changes ASAP, together with some other minor fixes
to the port.

With best regards,
Timur Bakeyev.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to