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 335C8138335 for ; Sat, 12 Oct 2019 07:06:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 505E6E078A; Sat, 12 Oct 2019 07:06:34 +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 26BD9E078A for ; Sat, 12 Oct 2019 07:06:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 18A7D34BBF3 for ; Sat, 12 Oct 2019 07:06:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 96E3B840 for ; Sat, 12 Oct 2019 07:06:31 +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: <1570863987.e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12.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.1.ebuild net-mail/mailbase/mailbase-1.3.ebuild net-mail/mailbase/mailbase-1.4.ebuild net-mail/mailbase/mailbase-1.5.ebuild X-VCS-Directories: net-mail/mailbase/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12 X-VCS-Branch: master Date: Sat, 12 Oct 2019 07:06:31 +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: a28a1bff-2333-46ce-a705-a7613c7b70cd X-Archives-Hash: aa40f5aaa6ba41372b7c0040d31bfa04 commit: e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 12 07:04:47 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 12 07:06:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e421cd6c net-mail/mailbase: Drop old (EAPI 0) Signed-off-by: Michał Górny gentoo.org> net-mail/mailbase/mailbase-1.1.ebuild | 71 ----------------------------------- net-mail/mailbase/mailbase-1.3.ebuild | 66 -------------------------------- net-mail/mailbase/mailbase-1.4.ebuild | 67 --------------------------------- net-mail/mailbase/mailbase-1.5.ebuild | 67 --------------------------------- 4 files changed, 271 deletions(-) diff --git a/net-mail/mailbase/mailbase-1.1.ebuild b/net-mail/mailbase/mailbase-1.1.ebuild deleted file mode 100644 index b3d45a25eda..00000000000 --- a/net-mail/mailbase/mailbase-1.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit pam eutils user - -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" -IUSE="pam" - -RDEPEND="pam? ( virtual/pam )" - -S=${WORKDIR} - -pkg_setup() { - enewgroup mail 12 - enewuser mail 8 -1 /var/spool/mail mail - enewuser postmaster 14 -1 /var/spool/mail -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins "${FILESDIR}"/aliases || die - insinto /etc - doins "${FILESDIR}"/mailcap || die - - keepdir /var/spool/mail - fowners root:mail /var/spool/mail - fperms 03775 /var/spool/mail - dosym /var/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} || die - done - for p in imap4 imap4s imaps ; do - dosym imap /etc/pam.d/${p} || die - done - fi -} - -get_permissions_oct() { - if [[ ${USERLAND} = GNU ]] ; then - stat -c%a "${ROOT}$1" - elif [[ ${USERLAND} = BSD ]] ; then - stat -f%p "${ROOT}$1" | cut -c 3- - fi -} - -pkg_postinst() { - if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then - echo - ewarn "Your ${ROOT}var/spool/mail/ directory permissions differ from" - ewarn " those which mailbase wants to set it to (03775)." - ewarn " If you did not change them on purpose, consider running:" - ewarn - ewarn " chown root:mail ${ROOT}var/spool/mail/" - ewarn " chmod 03775 ${ROOT}var/spool/mail/" - echo - fi -} diff --git a/net-mail/mailbase/mailbase-1.3.ebuild b/net-mail/mailbase/mailbase-1.3.ebuild deleted file mode 100644 index 817fdca0ca1..00000000000 --- a/net-mail/mailbase/mailbase-1.3.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit pam eutils user - -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" -IUSE="pam" - -RDEPEND="pam? ( virtual/pam )" - -S=${WORKDIR} - -pkg_setup() { - enewgroup mail 12 - enewuser mail 8 -1 /var/spool/mail mail - enewuser postmaster 14 -1 /var/spool/mail -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins "${FILESDIR}"/aliases - insinto /etc - doins "${FILESDIR}"/mailcap - - keepdir /var/spool/mail - fowners root:mail /var/spool/mail - fperms 03775 /var/spool/mail - 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 -} - -get_permissions_oct() { - if [[ ${USERLAND} = GNU ]] ; then - stat -c%a "${ROOT}$1" - elif [[ ${USERLAND} = BSD ]] ; then - stat -f%p "${ROOT}$1" | cut -c 3- - fi -} - -pkg_postinst() { - # bug 614396 - if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then - einfo "Fixing ${ROOT}var/spool/mail/ permissions" - chown root:mail "${ROOT}var/spool/mail/" - chmod 03775 "${ROOT}var/spool/mail/" - fi -} diff --git a/net-mail/mailbase/mailbase-1.4.ebuild b/net-mail/mailbase/mailbase-1.4.ebuild deleted file mode 100644 index f2b5eb99774..00000000000 --- a/net-mail/mailbase/mailbase-1.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit pam user - -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" -IUSE="pam" - -RDEPEND="pam? ( virtual/pam )" - -S=${WORKDIR} - -pkg_setup() { - enewgroup mail 12 - enewuser mail 8 -1 /var/spool/mail mail - enewuser postmaster 14 -1 /var/spool/mail -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins "${FILESDIR}"/aliases - insinto /etc - doins "${FILESDIR}"/mailcap - doman "${FILESDIR}"/mailcap.5 - - keepdir /var/spool/mail - fowners root:mail /var/spool/mail - fperms 03775 /var/spool/mail - 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 -} - -get_permissions_oct() { - if [[ ${USERLAND} = GNU ]] ; then - stat -c%a "${ROOT}$1" - elif [[ ${USERLAND} = BSD ]] ; then - stat -f%p "${ROOT}$1" | cut -c 3- - fi -} - -pkg_postinst() { - # bug 614396 - if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then - einfo "Fixing ${ROOT}/var/spool/mail/ permissions" - chown root:mail "${ROOT}/var/spool/mail/" - chmod 03775 "${ROOT}/var/spool/mail/" - fi -} diff --git a/net-mail/mailbase/mailbase-1.5.ebuild b/net-mail/mailbase/mailbase-1.5.ebuild deleted file mode 100644 index 4baa77491f6..00000000000 --- a/net-mail/mailbase/mailbase-1.5.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit pam user - -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" -IUSE="pam" - -RDEPEND="pam? ( virtual/pam )" - -S=${WORKDIR} - -pkg_setup() { - enewgroup mail 12 - enewuser mail 8 -1 /var/spool/mail mail - enewuser postmaster 14 -1 /var/spool/mail -} - -src_install() { - dodir /etc/mail - insinto /etc/mail - doins "${FILESDIR}"/aliases - insinto /etc - doins "${FILESDIR}"/mailcap - doman "${FILESDIR}"/mailcap.5 - - keepdir /var/spool/mail - fowners root:mail /var/spool/mail - fperms 03775 /var/spool/mail - 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 -} - -get_permissions_oct() { - if [[ ${USERLAND} = GNU ]] ; then - stat -c%a "${ROOT}$1" - elif [[ ${USERLAND} = BSD ]] ; then - stat -f%p "${ROOT}$1" | cut -c 3- - fi -} - -pkg_postinst() { - # bug 614396 - if [[ "$(get_permissions_oct /var/spool/mail)" != "3775" ]] ; then - einfo "Fixing ${ROOT}/var/spool/mail/ permissions" - chown root:mail "${ROOT}/var/spool/mail/" - chmod 03775 "${ROOT}/var/spool/mail/" - fi -}