ports/137924: thttpd does not require a config file, yet it is required in the rc.d script

Nick Hibma nick at van-laarhoven.org
Tue Aug 18 13:40:03 UTC 2009


>Number:         137924
>Category:       ports
>Synopsis:       thttpd does not require a config file, yet it is required in the rc.d script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 18 13:40:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Nick Hibma
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
AnyWi Technologies
>Environment:
System: FreeBSD hind.van-laarhoven.org 7.2-STABLE FreeBSD 7.2-STABLE #6 r196180:196225M: Mon Aug 17 14:28:06 CEST 2009 root at hind.van-laarhoven.org:/usr/obj/usr/src/sys/HIND i386

>Description:
thttpd is completely configurable through the command line, yet rc.d file for
it requires /usr/local/etc/thttpd.conf to exist. Below it thttpd_flags is correctly only set if the variable is not yet set. So setting 

	thttpd_enable="YES"
	thttpd_flags='-p 80 -h 127.0.0.1'

should be sufficient to configure thttpd, but it isn't.

>How-To-Repeat:
>Fix:

Remove the line

	required_files=%%PREFIX%%/etc/thttpd.conf

from files/thttpd.sh.in .
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list