summaryrefslogtreecommitdiff
path: root/net-mail/mailbase/mailbase-1.4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-02 17:13:10 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-02 17:13:10 +0100
commit0bff53119f08d677db6c1a991bd30741682a8a08 (patch)
tree6ec8d4c38152bb4f2bb4b93277236ebd9fbbd21d /net-mail/mailbase/mailbase-1.4.ebuild
parent6c14fa2586d9e9c4427b5f727dc6c8ab77587cec (diff)
Revert "gentoo resync : 02.06.2018"
This reverts commit 6c14fa2586d9e9c4427b5f727dc6c8ab77587cec.
Diffstat (limited to 'net-mail/mailbase/mailbase-1.4.ebuild')
-rw-r--r--net-mail/mailbase/mailbase-1.4.ebuild67
1 files changed, 0 insertions, 67 deletions
diff --git a/net-mail/mailbase/mailbase-1.4.ebuild b/net-mail/mailbase/mailbase-1.4.ebuild
deleted file mode 100644
index 157b09c61051..000000000000
--- a/net-mail/mailbase/mailbase-1.4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# 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 ~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
- 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
-}