Bug 207038

Summary: www/tinyproxy: fix paths in /var/{run,log}
Product: Ports & Packages Reporter: Jimmy Olgeni <olgeni>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: olgeni
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (sunpoet)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Path fix none

Description Jimmy Olgeni freebsd_committer freebsd_triage 2016-02-08 23:18:13 UTC
Created attachment 166771 [details]
Path fix

Tinyproxy expects the /var/run/tinyproxy and /var/log/tinyproxy directories to exist, but they don't, and the process will exit when using the default configuration.

Also, the rc script expects to use the non-existing /var/run/tinyproxy.pid.

I made a tiny patch to remove the extra directory from both log and run.

portlint OK; poudriere OK with/without all options.
Comment 1 Jimmy Olgeni freebsd_committer freebsd_triage 2016-03-30 12:44:54 UTC
#204946 looks better to me.