diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-10-12 20:33:59 +0200 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-10-12 20:39:08 +0200 |
commit | bc8427ffe1279b73d2b86427cf2e820ee4cd62dc (patch) | |
tree | 2438941c092438f94c648108e95b2ae84d1e1562 /net-p2p | |
parent | dev-python/diff-cover: correct DISTUTILS_USE_SETUPTOOLS (diff) | |
download | gentoo-bc8427ffe1279b73d2b86427cf2e820ee4cd62dc.tar.gz gentoo-bc8427ffe1279b73d2b86427cf2e820ee4cd62dc.tar.bz2 gentoo-bc8427ffe1279b73d2b86427cf2e820ee4cd62dc.zip |
net-p2p/syncthing: do not use fowners
/var/log/syncthing is used by the OpenRC init script to store stdout and
stderr of the daemon, and the script takes care of adjusting permissions
accordingly.
/var/lib/syncthing on the other hand is now owned by
acct-user/syncthing.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/syncthing/syncthing-1.10.0.ebuild | 3 | ||||
-rw-r--r-- | net-p2p/syncthing/syncthing-1.7.1.ebuild | 3 | ||||
-rw-r--r-- | net-p2p/syncthing/syncthing-1.9.0.ebuild | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/net-p2p/syncthing/syncthing-1.10.0.ebuild b/net-p2p/syncthing/syncthing-1.10.0.ebuild index 4a502ea07543..c7768ce3ea7f 100644 --- a/net-p2p/syncthing/syncthing-1.10.0.ebuild +++ b/net-p2p/syncthing/syncthing-1.10.0.ebuild @@ -602,8 +602,7 @@ src_install() { newconfd "${FILESDIR}/${PN}.confd" ${PN} newinitd "${FILESDIR}/${PN}.initd" ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} + keepdir /var/log/${PN} insinto /etc/logrotate.d newins "${FILESDIR}/${PN}.logrotate" ${PN} diff --git a/net-p2p/syncthing/syncthing-1.7.1.ebuild b/net-p2p/syncthing/syncthing-1.7.1.ebuild index 625e4bd84cfd..9fa34665d9b7 100644 --- a/net-p2p/syncthing/syncthing-1.7.1.ebuild +++ b/net-p2p/syncthing/syncthing-1.7.1.ebuild @@ -554,8 +554,7 @@ src_install() { newconfd "${FILESDIR}/${PN}.confd" ${PN} newinitd "${FILESDIR}/${PN}.initd" ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} + keepdir /var/log/${PN} insinto /etc/logrotate.d newins "${FILESDIR}/${PN}.logrotate" ${PN} diff --git a/net-p2p/syncthing/syncthing-1.9.0.ebuild b/net-p2p/syncthing/syncthing-1.9.0.ebuild index f3010346a5a5..0eccebf086d3 100644 --- a/net-p2p/syncthing/syncthing-1.9.0.ebuild +++ b/net-p2p/syncthing/syncthing-1.9.0.ebuild @@ -595,8 +595,7 @@ src_install() { newconfd "${FILESDIR}/${PN}.confd" ${PN} newinitd "${FILESDIR}/${PN}.initd" ${PN} - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} + keepdir /var/log/${PN} insinto /etc/logrotate.d newins "${FILESDIR}/${PN}.logrotate" ${PN} |