Bug 123933 - www/lighttpd rc file does not allow changing of pidfile
Summary: www/lighttpd rc file does not allow changing of pidfile
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: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 16:40 UTC by Marshal Newrock
Modified: 2008-09-07 15:50 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 Marshal Newrock 2008-05-23 16:40:00 UTC
In the lighttpd rc file, pidfile is hardcoded to /var/run/lighttpd.pid.  This is problematic if lighttpd is being run as a non-root user and the pidfile must be put in a location writable by that user.

Fix: 

Replace:
pidfile=/var/run/lighttpd.pid

with:
pidfile=${lighttpd_pidfile:-"/var/run/lighttpd.pid"}

to allow setting lighttpd_pidfile in /etc/rc.conf
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-05-23 16:40:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-09-07 15:49:01 UTC
mnag        2008-09-07 14:48:53 UTC

  FreeBSD ports repository

  Modified files:
    www/lighttpd         Makefile 
    www/lighttpd/files   lighttpd.sh.in 
  Added files:
    www/lighttpd/files   patch-mod_proxy_ipv6_support 
  Log:
  - Allow change location of pidfile in rc script [1]
  - Fix dependency of libmemcache [2]
  - Add IPv6 support to mod_proxy [3]
  
  PR:             123933 [1], 124576 [2], 126527 [3]
  Submitted by:   Marshal Newrock <marshal___freedombi.com> [1],
                  Tilman Linneweh <arved___FreeBSD.org> [3]
  Notified by:    Jean-Dominique Baylac <jdb___venigo.net> [2]
  
  Revision  Changes    Path
  1.62      +2 -1      ports/www/lighttpd/Makefile
  1.5       +5 -2      ports/www/lighttpd/files/lighttpd.sh.in
  1.1       +57 -0     ports/www/lighttpd/files/patch-mod_proxy_ipv6_support (new)
_______________________________________________
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"
Comment 3 Marcus Alves Grando freebsd_committer freebsd_triage 2008-09-07 15:50:13 UTC
State Changed
From-To: open->closed

Fixed. Thanks