Summary: | [www/tt-rss] [PATCH] Changed config.php-dist into config.php.sample | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Yuri Victorovich <yuri> | ||||||||||||
Component: | Individual Port(s) | Assignee: | Thierry Thomas <thierry> | ||||||||||||
Status: | Closed FIXED | ||||||||||||||
Severity: | Affects Only Me | ||||||||||||||
Priority: | --- | ||||||||||||||
Version: | Latest | ||||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
Attachments: |
|
Description
Yuri Victorovich
2015-01-24 07:36:48 UTC
Created attachment 152081 [details]
patch
Over to maintainer. This patch does not apply, and "@mode u=rx" should be kept for update.php. Created attachment 153397 [details]
patch
pkg-plist was updated in the mean time, this is why.
I like this (relatively new) @sample instruction because this removes the need to improvise with the shell code in pkg-plist in such cases.
Created attachment 153398 [details]
patch
(In reply to yuri from comment #5) Unfortunately, this is still not good: the permission get lost. config.php must be readable only by www, because it contains passwords. Created attachment 153535 [details]
patch
fixed!
I'm soory, but using ${CHMOD} in Makefile is deprecated. As reported by `portlint -C': WARN: Makefile: [99]: possible use of "${CHMOD}" found. Use @(owner,group,mode) syntax or @owner/@group operators in pkg-plist instead. Created attachment 153626 [details]
Updated patch
Sorry, my bad.
A commit references this bug: Author: thierry Date: Sun Mar 1 14:50:29 UTC 2015 New revision: 380195 URL: https://svnweb.freebsd.org/changeset/ports/380195 Log: Changed config.php-dist into config.php.sample. PR: ports/197045 Submitted by: yuri (at) rawbw.com Changes: head/www/tt-rss/Makefile head/www/tt-rss/pkg-plist |