Bug 218028

Summary: www/lighttpd: fix patches for config file and change according to config file
Product: Ports & Packages Reporter: Tatsuki Makino <tatsuki_makino>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: arved, pkubaj
Priority: --- Flags: pkubaj: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch for www/lighttpd
none
build log none

Description Tatsuki Makino 2017-03-23 04:54:29 UTC
Created attachment 181081 [details]
patch for www/lighttpd

description of the patch.
Fix post-patch target not working.
Use ${ETCDIR} instead of ${PREFIX}/etc/lighttpd.
Several changes to start service more quickly...
Add user ${WWWOWN} and group ${WWWGRP} for environment that they are removed.
Make directory ${WWWDIR} for server_root.
Make directories /var/log/${PORTNAME}, /var/run/${PORTNAME}, /var/run/${PORTNAME}/sockets and /var/cache/${PORTNAME}. Those directories are used ${WWWOWN}'s process.
server.document-root is not changed from ${PREFIX}/www/data. " + " is respect original config file.
Use -tt instead of -t for configtest.
Comment 1 Tatsuki Makino 2017-03-23 04:57:58 UTC
Created attachment 181082 [details]
build log
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2017-03-23 16:52:05 UTC
Looks fine.
Comment 3 Tilman Keskinoz freebsd_committer freebsd_triage 2017-11-21 15:33:47 UTC
committed, thanks
Comment 4 commit-hook freebsd_committer freebsd_triage 2017-11-21 15:34:09 UTC
A commit references this bug:

Author: arved
Date: Tue Nov 21 15:33:36 UTC 2017
New revision: 454615
URL: https://svnweb.freebsd.org/changeset/ports/454615

Log:
  Fix post-patch target
  Use ${ETCDIR} instead of ${PREFIX}/etc/lighttpd.

  PR:		218028
  Submitted by:	Tatsuki Makino
  Approved by:	maintainer

Changes:
  head/www/lighttpd/Makefile
  head/www/lighttpd/files/lighttpd.in
  head/www/lighttpd/pkg-plist