Bug 137924 - www/thttpd does not require a config file, yet it is required in the rc.d script
Summary: www/thttpd does not require a config file, yet it is required in the rc.d script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Philip M. Gollucci
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-18 14:40 UTC by Nick Hibma
Modified: 2010-09-05 22:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Hibma 2009-08-18 14:40:01 UTC
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.

Fix: 

Remove the line

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

from files/thttpd.sh.in .
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-08-18 16:15:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->danfe

Fix synopsis and assign.
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-02 06:25:59 UTC
Responsible Changed
From-To: danfe->pgollucci

maintainer timeout (danfe ; 380 days)
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-05 22:12:22 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-09-05 22:12:32 UTC
pgollucci    2010-09-05 21:12:18 UTC

  FreeBSD ports repository

  Modified files:
    www/thttpd           Makefile 
    www/thttpd/files     thttpd.sh.in 
  Log:
  - thttpd.conf is not a requirement; the CLI will suffice.
  
  PR:             ports/137924
  Submitted by:   Nick Hibma <nick@van-laarhoven.org>
  Approved by:    maintainer timeout (danfe ; 380 days)
  
  Revision  Changes    Path
  1.45      +1 -1      ports/www/thttpd/Makefile
  1.5       +1 -2      ports/www/thttpd/files/thttpd.sh.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"