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 D4E27138239 for ; Sun, 3 Jun 2018 02:59:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B90AAE08C3; Sun, 3 Jun 2018 02:59:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 453F5E08C3 for ; Sun, 3 Jun 2018 02:59:18 +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 04848335C7F for ; Sun, 3 Jun 2018 02:59:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BA2A92CB for ; Sun, 3 Jun 2018 02:59:10 +0000 (UTC) From: "Aaron Bauman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Bauman" Message-ID: <1527994729.8be8348c14b236bec7d6060ec4bf5bb3d1cfb4f1.bman@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.2.ebuild net-mail/mailbase/mailbase-1.ebuild X-VCS-Directories: net-mail/mailbase/ X-VCS-Committer: bman X-VCS-Committer-Name: Aaron Bauman X-VCS-Revision: 8be8348c14b236bec7d6060ec4bf5bb3d1cfb4f1 X-VCS-Branch: master Date: Sun, 3 Jun 2018 02:59:10 +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: 7ee547ae-4df3-41ae-bd9e-a44007b3648e X-Archives-Hash: db8819da977e5917371e1ce1e0724ed5 commit: 8be8348c14b236bec7d6060ec4bf5bb3d1cfb4f1 Author: Aaron Bauman gentoo org> AuthorDate: Sun Jun 3 00:19:46 2018 +0000 Commit: Aaron Bauman gentoo org> CommitDate: Sun Jun 3 02:58:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8be8348c net-mail/mailbase: drop old EAPI Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-mail/mailbase/mailbase-1.2.ebuild | 67 --------------------------------- net-mail/mailbase/mailbase-1.ebuild | 70 ----------------------------------- 2 files changed, 137 deletions(-) diff --git a/net-mail/mailbase/mailbase-1.2.ebuild b/net-mail/mailbase/mailbase-1.2.ebuild deleted file mode 100644 index 45ddce55a0e..00000000000 --- a/net-mail/mailbase/mailbase-1.2.ebuild +++ /dev/null @@ -1,67 +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 ~amd64-fbsd ~x86-fbsd" -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() { - # 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.ebuild b/net-mail/mailbase/mailbase-1.ebuild deleted file mode 100644 index a8ffd2843f2..00000000000 --- a/net-mail/mailbase/mailbase-1.ebuild +++ /dev/null @@ -1,70 +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 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" -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 0775 /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)" != "775" ]] ; then - echo - ewarn "Your ${ROOT}/var/spool/mail/ directory permissions differ from" - ewarn " those which mailbase set when you first installed it (0775)." - ewarn " If you did not change them on purpose, consider running:" - ewarn - ewarn " chmod 0775 ${ROOT}/var/spool/mail/" - echo - fi -}