public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailgraph/
Date: Sun, 19 Apr 2020 14:53:35 +0000 (UTC)	[thread overview]
Message-ID: <1587308007.29341308ed16c5648cbd29179a68dd72e212e5cf.slyfox@gentoo> (raw)

commit:     29341308ed16c5648cbd29179a68dd72e212e5cf
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 19 14:53:09 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 14:53:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29341308

net-mail/mailgraph: drop lexicographical version compare

Drop comparison against long removed version and also drop
unsafe 'chown' calls in pkg_*() phase.

Closes: https://bugs.gentoo.org/705266
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 net-mail/mailgraph/mailgraph-1.14-r2.ebuild | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/net-mail/mailgraph/mailgraph-1.14-r2.ebuild b/net-mail/mailgraph/mailgraph-1.14-r2.ebuild
index 732d4934e48..9d60fa3552b 100644
--- a/net-mail/mailgraph/mailgraph-1.14-r2.ebuild
+++ b/net-mail/mailgraph/mailgraph-1.14-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -75,19 +75,6 @@ src_install() {
 }
 
 pkg_postinst() {
-	# Fix ownerships - previous versions installed these with
-	# root as owner
-	if [[ ${REPLACING_VERSIONS} < 1.13 ]] ; then
-		if [[ -d /var/lib/mailgraph ]] ; then
-			chown mgraph:mgraph /var/lib/mailgraph
-		fi
-		if [[ -d /var/log/mailgraph ]] ; then
-			chown mgraph:adm /var/log/mailgraph
-		fi
-		if [[ -d /var/run/mailgraph ]] ; then
-			chown mgraph:adm /var/run/mailgraph
-		fi
-	fi
 	elog "Mailgraph will run as user mgraph with group adm by default."
 	elog "This can be changed in /etc/conf.d/mailgraph if it doesn't fit."
 	elog "Remember to adjust MG_DAEMON_LOG, MG_DAEMON_PID and MG_DAEMON_RRD"


             reply	other threads:[~2020-04-19 14:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-19 14:53 Sergei Trofimovich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-04  0:47 [gentoo-commits] repo/gentoo:master commit in: net-mail/mailgraph/ Sam James
2024-12-01 11:54 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587308007.29341308ed16c5648cbd29179a68dd72e212e5cf.slyfox@gentoo \
    --to=slyfox@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox