public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/
Date: Sat, 12 Oct 2019 07:06:31 +0000 (UTC)	[thread overview]
Message-ID: <1570863987.e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12.mgorny@gentoo> (raw)

commit:     e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 12 07:04:47 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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
-}


             reply	other threads:[~2019-10-12  7:06 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-12  7:06 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-10 13:23 [gentoo-commits] repo/gentoo:master commit in: net-mail/mailbase/ Eray Aslan
2022-11-09  8:39 Sam James
2022-11-09  7:45 Eray Aslan
2022-05-07 11:14 WANG Xuerui
2022-05-07 11:14 WANG Xuerui
2022-04-16  4:47 Arthur Zamarin
2022-03-26 17:58 Arthur Zamarin
2022-03-23 10:35 Agostino Sarubbo
2022-03-23  9:58 Jakov Smolić
2022-03-22 11:26 Agostino Sarubbo
2022-03-22 11:26 Agostino Sarubbo
2022-03-22 11:25 Agostino Sarubbo
2022-03-22 11:24 Agostino Sarubbo
2022-02-13 21:08 Conrad Kostecki
2021-09-15 15:33 Mike Frysinger
2021-05-25  8:25 Yixun Lan
2021-01-23 14:10 Mikle Kolyada
2021-01-06 15:06 Fabian Groffen
2020-12-30 12:02 Fabian Groffen
2020-06-08  6:30 Robin H. Johnson
2020-02-08 14:18 David Seifert
2019-10-12 20:59 Mikle Kolyada
2019-10-12  4:41 Matt Turner
2019-10-11 22:32 Sergei Trofimovich
2019-10-07 19:12 Sergei Trofimovich
2019-10-07 10:44 Agostino Sarubbo
2019-10-07 10:38 Agostino Sarubbo
2019-10-07  9:47 Agostino Sarubbo
2019-10-07  7:29 Agostino Sarubbo
2019-10-06 21:18 Thomas Deutschmann
2019-08-11 11:20 David Seifert
2019-06-24 10:30 Michał Górny
2019-03-27  5:03 Eray Aslan
2018-09-25  5:29 Eray Aslan
2018-06-03  2:59 Aaron Bauman
2018-04-05 11:07 Eray Aslan
2018-04-04 14:04 Eray Aslan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1570863987.e421cd6ca6cc74dde7d1da4c0ea9e8b235fa8a12.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox