summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando J. Pereda <ferdy@gentoo.org>2005-06-08 20:34:43 +0000
committerFernando J. Pereda <ferdy@gentoo.org>2005-06-08 20:34:43 +0000
commit4dec0a4ffa0221950621f34045830ced9a10c1fb (patch)
treeeafe777320352e783ba8ba26968032fe0856600b /net-mail/mailbase/mailbase-1.ebuild
parentLast rites for mail-filter/amavis (diff)
downloadgentoo-2-4dec0a4ffa0221950621f34045830ced9a10c1fb.tar.gz
gentoo-2-4dec0a4ffa0221950621f34045830ced9a10c1fb.tar.bz2
gentoo-2-4dec0a4ffa0221950621f34045830ced9a10c1fb.zip
remove the pam.d files check
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-mail/mailbase/mailbase-1.ebuild')
-rw-r--r--net-mail/mailbase/mailbase-1.ebuild36
1 files changed, 1 insertions, 35 deletions
diff --git a/net-mail/mailbase/mailbase-1.ebuild b/net-mail/mailbase/mailbase-1.ebuild
index ab6774b3f70e..a42067ab05b4 100644
--- a/net-mail/mailbase/mailbase-1.ebuild
+++ b/net-mail/mailbase/mailbase-1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.ebuild,v 1.3 2005/05/22 19:32:38 ferdy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/mailbase-1.ebuild,v 1.4 2005/06/08 20:34:43 ferdy Exp $
DESCRIPTION="MTA layout package"
SRC_URI=""
@@ -15,40 +15,6 @@ RDEPEND="pam? ( virtual/pam )"
S=${WORKDIR}
-pkg_setup() {
- if use pam ; then
- local filestoremove=0 lineold=""
- local lineorig=$(head -n 1 ${FILESDIR}/common-pamd)
-
- einfo "Checking for possible file collisions..."
-
- for i in pop{,3}{,s} imap{,4}{,s} ; do
- if [[ -e ${ROOT}/etc/pam.d/${i} ]] ; then
- lineold=$(head -n 1 ${ROOT}/etc/pam.d/${i})
-
- if [[ ${lineorig} != ${lineold} ]] ; then
- ewarn "${ROOT}/etc/pam.d/${i} exists and wasn't provided by mailbase"
- (( filestoremove++ ))
- fi
- fi
- done
-
- if [[ filestoremove -gt 0 ]] ; then
- echo
- einfo "Those files listed above have to be removed in order to"
- einfo " install this version of mailbase."
- echo
- ewarn "If you edited them, remember to backup and when restoring make"
- ewarn " sure the first line in each file is:"
- echo
- echo ${lineorig}
- die "Can't be installed, files will collide"
- else
- einfo "... everything looks ok"
- fi
- fi
-}
-
src_install() {
dodir /etc/mail
insinto /etc/mail