From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D1C67138332 for ; Sat, 27 Aug 2016 13:28:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D045F21C08A; Sat, 27 Aug 2016 13:28:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31DA121C08A for ; Sat, 27 Aug 2016 13:28:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE423340890 for ; Sat, 27 Aug 2016 13:28:00 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4CE76246D for ; Sat, 27 Aug 2016 13:27:59 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1472303570.b0275c3408ac007193ea244ef1c6e367443ed5ce.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/ejabberd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/ejabberd/ejabberd-16.04-r1.ebuild X-VCS-Directories: net-im/ejabberd/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: b0275c3408ac007193ea244ef1c6e367443ed5ce X-VCS-Branch: master Date: Sat, 27 Aug 2016 13:27:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bd331312-b065-46b9-a09d-0bd8831f5aef X-Archives-Hash: 6333a81968e81d92d9e92ca4899cbb60 commit: b0275c3408ac007193ea244ef1c6e367443ed5ce Author: Amadeusz Żołnowski gentoo org> AuthorDate: Sat Aug 27 12:42:24 2016 +0000 Commit: Amadeusz Piotr Żołnowski gentoo org> CommitDate: Sat Aug 27 13:12:50 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0275c34 net-im/ejabberd: Reapply read bit on epam wrapper sfperms drops read bit from files with suid. Reapply it. Gentoo-Bug: 592218 net-im/ejabberd/ejabberd-16.04-r1.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/net-im/ejabberd/ejabberd-16.04-r1.ebuild b/net-im/ejabberd/ejabberd-16.04-r1.ebuild index 33a6258..ab12391 100644 --- a/net-im/ejabberd/ejabberd-16.04-r1.ebuild +++ b/net-im/ejabberd/ejabberd-16.04-r1.ebuild @@ -288,4 +288,12 @@ pkg_postinst() { if ! ejabberd_cert_exists; then ejabberd_cert_install fi + + if use pam; then + # sfperms drops read bit from files with suid. Reapply it. + # Fix bug #592218. + local epam_path="$(get_ejabberd_path)/priv/bin/epam" + chmod g+r "${EROOT%/}${epam_path}" \ + || die "failed to correct ${epam_path} permissions" + fi }