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 BFCC2138334 for ; Mon, 24 Jun 2019 10:30:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43F55E089B; Mon, 24 Jun 2019 10:30:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A743E0896 for ; Mon, 24 Jun 2019 10:30:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB1393468D5 for ; Mon, 24 Jun 2019 10:30:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0ED19629 for ; Mon, 24 Jun 2019 10:30:08 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1561372177.a482d6425f824b7871a4a9bfc93e49e1f427c0a9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/mailbase/mailbase-1.5-r1.ebuild X-VCS-Directories: net-mail/mailbase/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a482d6425f824b7871a4a9bfc93e49e1f427c0a9 X-VCS-Branch: master Date: Mon, 24 Jun 2019 10:30:08 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ead2b471-672e-42ec-92ae-f1a0883770d5 X-Archives-Hash: 7efc378e9244db6462b46c9784eb8be8 commit: a482d6425f824b7871a4a9bfc93e49e1f427c0a9 Author: Michał Górny gentoo org> AuthorDate: Thu Jun 20 09:58:53 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jun 24 10:29:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a482d642 net-mail/mailbase: Migrate to use acct-*/{mail,postmaster} Signed-off-by: Michał Górny gentoo.org> net-mail/mailbase/mailbase-1.5-r1.ebuild | 45 ++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/net-mail/mailbase/mailbase-1.5-r1.ebuild b/net-mail/mailbase/mailbase-1.5-r1.ebuild new file mode 100644 index 00000000000..8a212cf0d79 --- /dev/null +++ b/net-mail/mailbase/mailbase-1.5-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit pam + +DESCRIPTION="MTA layout package" +SRC_URI="" +HOMEPAGE="https://www.gentoo.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="pam" + +RDEPEND=" + acct-group/mail + acct-user/mail + acct-user/postmaster + pam? ( virtual/pam )" + +S=${WORKDIR} + +src_install() { + dodir /etc/mail + insinto /etc/mail + doins "${FILESDIR}"/aliases + insinto /etc + doins "${FILESDIR}"/mailcap + doman "${FILESDIR}"/mailcap.5 + + dosym spool/mail /var/mail + + newpamd "${FILESDIR}"/common-pamd-include pop + newpamd "${FILESDIR}"/common-pamd-include imap + if use pam ; then + local p + for p in pop3 pop3s pops ; do + dosym pop /etc/pam.d/${p} + done + for p in imap4 imap4s imaps ; do + dosym imap /etc/pam.d/${p} + done + fi +}