| Summary: | security/tor: Added auto-creation of db and run, added warning about the tor2web option | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> | ||||||||
| Component: | Individual Port(s) | Assignee: | Dmitry Marakasov <amdmi3> | ||||||||
| Status: | Closed Overcome By Events | ||||||||||
| Severity: | Affects Only Me | ||||||||||
| Priority: | --- | ||||||||||
| Version: | Latest | ||||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
Created attachment 174583 [details]
patch
Passes poudriere on 10.3 amd64.
This update:
1. Adds a warning about the expert option 'tor2web'.
2. Adds auto-creation of db and run directories during the service startup.
Created attachment 174584 [details]
patch
Creating dirs from rc.d script is an antipattern. You can create them from the port and set permissions and owner in pkg-plist. This is already done for /var/run/tor, for instance. Ping Dmitry, You are right, it's better to do this in pkg-list. I integrated these changes into the 0.2.8.8 update: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212952 Please commit it. Thanks! |
Created attachment 174582 [details] patch