From e51e47d989339093731533b4b7cfabb6f0482e91 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Sun, 21 May 2023 12:27:02 +0200 Subject: [PATCH] =?UTF-8?q?www-apps/tt-rss:=20chmod=20patch=20isn=E2=80=99?= =?UTF-8?q?t=20needed=20anymore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www-apps/tt-rss/files/tt-rss-no-chmod.patch | 26 --------------------- www-apps/tt-rss/tt-rss-20230505.ebuild | 4 ---- 2 files changed, 30 deletions(-) delete mode 100644 www-apps/tt-rss/files/tt-rss-no-chmod.patch diff --git a/www-apps/tt-rss/files/tt-rss-no-chmod.patch b/www-apps/tt-rss/files/tt-rss-no-chmod.patch deleted file mode 100644 index e51e66e..0000000 --- a/www-apps/tt-rss/files/tt-rss-no-chmod.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 --color -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 --color -Naur a/classes/rssutils.php b/classes/rssutils.php ---- a/classes/rssutils.php 2022-02-18 13:44:03.000000000 +0000 -+++ b/classes/rssutils.php 2022-02-19 15:37:40.393312123 +0000 -@@ -1728,7 +1728,6 @@ - - fwrite($fp, $contents); - fclose($fp); -- chmod($icon_file, 0644); - clearstatcache(); - - return $icon_file; diff --git a/www-apps/tt-rss/tt-rss-20230505.ebuild b/www-apps/tt-rss/tt-rss-20230505.ebuild index a491b4d..5f88160 100644 --- a/www-apps/tt-rss/tt-rss-20230505.ebuild +++ b/www-apps/tt-rss/tt-rss-20230505.ebuild @@ -52,10 +52,6 @@ need_httpd_cgi # From webapp.eclass S="${WORKDIR}/${PN}" -PATCHES=( - "${FILESDIR}"/${PN}-no-chmod.patch -) - src_install() { webapp_src_preinst