diff options
author | James Le Cuirot <chewi@gentoo.org> | 2022-12-17 22:19:08 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2022-12-17 22:19:08 +0000 |
commit | b6a7bc08c2d127e24a679bc7531a6aa604171312 (patch) | |
tree | f637a8a8531f55ec1c37cb0696f45fde060f2432 /www-apps/tt-rss | |
parent | www-client/chromium: beta channel bump to 109.0.5414.46 (diff) | |
download | gentoo-b6a7bc08c2d127e24a679bc7531a6aa604171312.tar.gz gentoo-b6a7bc08c2d127e24a679bc7531a6aa604171312.tar.bz2 gentoo-b6a7bc08c2d127e24a679bc7531a6aa604171312.zip |
www-apps/tt-rss: Drop chmod patch that no longer applies to live version
This no longer seems necessary. I need to retest the permissions around the
latest code, but for now, there's no point keeping a broken patch.
Closes: https://bugs.gentoo.org/886007
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-apps/tt-rss')
-rw-r--r-- | www-apps/tt-rss/files/tt-rss-no-chmod-r2.patch | 26 | ||||
-rw-r--r-- | www-apps/tt-rss/tt-rss-99999999.ebuild | 4 |
2 files changed, 0 insertions, 30 deletions
diff --git a/www-apps/tt-rss/files/tt-rss-no-chmod-r2.patch b/www-apps/tt-rss/files/tt-rss-no-chmod-r2.patch deleted file mode 100644 index 05de80b127c5..000000000000 --- a/www-apps/tt-rss/files/tt-rss-no-chmod-r2.patch +++ /dev/null @@ -1,26 +0,0 @@ -These files may be written and then updated by the web interface user or the -update daemon user, so they need to be group writeable. We enforce this with -ACLs rather than chmod though. - -diff -Naur a/classes/pref/feeds.php b/classes/pref/feeds.php ---- a/classes/pref/feeds.php 2022-02-18 13:44:03.000000000 +0000 -+++ b/classes/pref/feeds.php 2022-02-19 15:37:55.000723992 +0000 -@@ -490,7 +490,6 @@ - - if (file_exists($new_filename)) unlink($new_filename); - if (rename($tmp_file, $new_filename)) { -- chmod($new_filename, 0644); - - $feed->set([ - 'favicon_avg_color' => null, -diff -Naur a/classes/rssutils.php b/classes/rssutils.php ---- a/classes/rssutils.php 2022-06-20 09:37:43.205998915 +0000 -+++ b/classes/rssutils.php 2022-06-20 09:38:01.002279039 +0000 -@@ -1758,7 +1758,6 @@ - - fwrite($fp, $contents); - fclose($fp); -- chmod($icon_file, 0644); - clearstatcache(); - - return $icon_file; diff --git a/www-apps/tt-rss/tt-rss-99999999.ebuild b/www-apps/tt-rss/tt-rss-99999999.ebuild index 28c0a77199a8..a821a1e6edb9 100644 --- a/www-apps/tt-rss/tt-rss-99999999.ebuild +++ b/www-apps/tt-rss/tt-rss-99999999.ebuild @@ -50,10 +50,6 @@ DEPEND=" need_httpd_cgi # From webapp.eclass -PATCHES=( - "${FILESDIR}"/${PN}-no-chmod-r2.patch -) - src_install() { webapp_src_preinst |