Bug 72298 - thttpd update (move to rc_subr)
Summary: thttpd update (move to rc_subr)
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: Anders Nordby
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-04 10:20 UTC by Jeremy Chadwick
Modified: 2005-05-30 21:33 UTC (History)
0 users

See Also:


Attachments
file.diff (7.02 KB, patch)
2004-10-04 10:20 UTC, Jeremy Chadwick
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!