diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-16 22:05:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-16 22:05:01 +0100 |
commit | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (patch) | |
tree | 125ee67bb9e0d548771cf7b61d04bb1f0dc57687 /net-mail/mailbase/mailbase-1.7.ebuild | |
parent | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (diff) |
gentoo resync : 16.09.2021
Diffstat (limited to 'net-mail/mailbase/mailbase-1.7.ebuild')
-rw-r--r-- | net-mail/mailbase/mailbase-1.7.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-mail/mailbase/mailbase-1.7.ebuild b/net-mail/mailbase/mailbase-1.7.ebuild new file mode 100644 index 000000000000..3dd86a87fa2f --- /dev/null +++ b/net-mail/mailbase/mailbase-1.7.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit pam + +DESCRIPTION="MTA layout package" +HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="pam" + +RDEPEND=" + acct-group/mail + acct-user/mail + acct-user/postmaster + pam? ( sys-libs/pam ) + !<net-mail/metamail-2.7.53.3-r2" + +S=${WORKDIR} + +src_install() { + dodir /etc/mail + insinto /etc/mail + doins "${FILESDIR}"/aliases + insinto /etc + newins "${FILESDIR}"/mailcap-r2 mailcap + doman "${FILESDIR}"/mailcap.5 + + dosym spool/mail /var/mail + + if use pam ; then + newpamd "${FILESDIR}"/common-pamd-include pop + newpamd "${FILESDIR}"/common-pamd-include imap + 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 +} |