Bug 72298

Summary: thttpd update (move to rc_subr)
Product: Ports & Packages Reporter: Jeremy Chadwick <freebsd>
Component: Individual Port(s)Assignee: Anders Nordby <anders>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Jeremy Chadwick 2004-10-04 10:20:21 UTC
	A few changes to the thttpd port:

	* Switch to rc_subr/rc.subr
	* Remove USE_REINPLACE -- no longer needed
	* Removal of thttpd_wrapper -- rc.subr takes care of this cleanly, and allow
	  people to use thttpd_flags too
	* Removal of %%PREFIX%%/www/logs -- use /var/log instead.  This is entirely
	  configurable in the thttpd.conf
	* Install bin/syslogtocern via ${INSTALL_SCRIPT} since that's what it is
	* Removal of tons of realtime ${ECHO}s to create conf files and other things
	* Use of the ${WWWOWN} user; no longer runs as nobody
	* Pass pkg-message through ${SED}, so we can use %%PREFIX%% there

	Tested on 5.3-BETA6, but also tested a build (but not install) on 4.10-STABLE.

	Please have the port maintainer review this before committing.  Also,
	committer, please ensure that a $FreeBSD$ CVS tag gets stuck on
	thttpd/files/thttpd.sh !

Fix: Apply below patch:

How-To-Repeat: 	n/a
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-10-05 04:54:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anders

Over to maintainer.
Comment 2 Volker Stolz freebsd_committer freebsd_triage 2005-04-18 14:20:13 UTC
While I'm not going to touch this, add data-point:
Should probably  be rewritten to USE_RC_SUBR=thttpd.sh,  
SUB_FILES+=pkg-message
and friends.

Cheers,
   Volker
Comment 3 Anders Nordby freebsd_committer freebsd_triage 2005-05-30 21:33:01 UTC
State Changed
From-To: open->closed

Committed, thanks!