Bug 218028 - www/lighttpd: fix patches for config file and change according to config file
Summary: www/lighttpd: fix patches for config file and change according to config file
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 04:54 UTC by Tatsuki Makino
Modified: 2017-11-21 15:34 UTC (History)
2 users (show)

See Also:
pkubaj: maintainer-feedback+


Attachments
patch for www/lighttpd (8.13 KB, patch)
2017-03-23 04:54 UTC, Tatsuki Makino
no flags Details | Diff
build log (175.13 KB, text/plain)
2017-03-23 04:57 UTC, Tatsuki Makino
no flags Details

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