[Bug 248601] www/tt-rss: missing dependencies, wrong filenames and wrong default permissions
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 11 13:44:41 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248601
Bug ID: 248601
Summary: www/tt-rss: missing dependencies, wrong filenames and
wrong default permissions
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: uqs at FreeBSD.org
CC: dereks at lifeofadishwasher.com
CC: dereks at lifeofadishwasher.com
Flags: maintainer-feedback?(dereks at lifeofadishwasher.com)
I've already sent this to the maintainer per email. A recent setup of tt-rss in
a a fresh jail ran into several problems:
First of all, once installed, it complains that php72-iconv isn't
installed, so I had to add that manually. Seems like the port needs a
patch for that and it has grown a new dependency.
Now, when trying the "install" it errors out, as it want to see a
config.php-dist, but the port Makefile actually renames that. The error
I'm getting is
<br />
<b>Warning</b>: file_get_contents(../config.php-dist): failed to open stream:
No such file or directory in <b>/usr/local/www/tt-rss/install/index.php</b> on
line <b>154</b><br />
Once I moved the file to the old name, I get a permission error in it :)
I've chmod 0600 the resulting config.php, I guess one would have to
check whether the permissions come out right.
After that, it loads and runs into the next problem again:
Image cache is not writable (chmod -R 777 cache/images)
The directory exists, not sure who created it though, it looks a bit out
of place:
root at ttrss:/usr/local/www/tt-rss # ll cache
total 2
drwxr-xr-x 2 www www 3 Jul 1 16:48 export/
drwxr-xr-x 2 www www 3 Jul 1 16:48 feeds/
drwxr-xr-x 2 root wheel 3 Jul 31 13:25 images/
drwxr-xr-x 2 www www 3 Jul 1 16:48 upload/
In fact, there are some files and dirs owned by root. Is this
intentional?
root at ttrss:/usr/local/www/tt-rss # find . -user root|sort
./cache/images
./config.php-dist
./js/form
./lib/flat-ttrss
./lib/flat-ttrss/fonts
./lib/flat-ttrss/images
./lib/iconfont
./locale/eo
./locale/eo/LC_MESSAGES
./locale/id
./locale/id/LC_MESSAGES
./locale/uk_UA
./locale/uk_UA/LC_MESSAGES
./plugins/af_proxy_http
./plugins/af_readability/vendor
./plugins/af_readability/vendor/andreskrey
./plugins/af_readability/vendor/andreskrey/Readability
./plugins/af_readability/vendor/andreskrey/Readability/Nodes
./plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM
./plugins/hotkeys_force_top
./plugins/hotkeys_noscroll
./plugins/hotkeys_swap_jk
./templates.local
./themes/light
./vendor
./vendor/Psr
It looks like a strange mix to me.
Do you want me to commit a patch that
1. add php72-iconv
2. names the file config.php-dist
3. double-checks permissions in the resulting pkg and potentially change
all (?) of them to www:www ?
Cheers
Uli
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list