ports/92642: sample nut.sh for ports NUT has misleading variable name

John Vinopal banshee at abattoir.com
Tue Jan 31 21:00:50 UTC 2006


>Number:         92642
>Category:       ports
>Synopsis:       sample nut.sh for ports NUT has misleading variable name
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 31 21:00:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     John Vinopal
>Release:        6.0
>Organization:
>Environment:
FreeBSD gabriella.abattoir.com 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sun Jan 29 12:51:00 PST 2006     root at dummy.abattoir.com:/usr/src/sys/i386/compile/GABFW  i386
           
>Description:
In /usr/ports/sysutil/nut/files there is nut.sh.sample v1.5     

This shows that you might create an rc.conf variable:

nut_upslogmail=${nut_upslogmail-"backups at localhost"}

However this is misleading because this _IS NOT_ an email address.  It is a ups identifier (ie: myups at localhost, massiveapc at someotherhost).  The variable name should probably be changed (nut_upslogups ?) and at the least, "backups at localhost" changed to "myups at localhost" to match the nut examples.
  
>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list