summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mailbase')
-rw-r--r--net-mail/mailbase/ChangeLog9
-rw-r--r--net-mail/mailbase/Manifest11
-rw-r--r--net-mail/mailbase/files/common-pamd8
-rw-r--r--net-mail/mailbase/files/digest-mailbase-0.00-r70
-rw-r--r--net-mail/mailbase/mailbase-0.00-r7.ebuild82
5 files changed, 105 insertions, 5 deletions
diff --git a/net-mail/mailbase/ChangeLog b/net-mail/mailbase/ChangeLog
index 93edc1a1d730..41495ccb7de0 100644
--- a/net-mail/mailbase/ChangeLog
+++ b/net-mail/mailbase/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-mail/mailbase
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/ChangeLog,v 1.31 2005/01/18 13:26:24 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/ChangeLog,v 1.32 2005/02/10 21:44:24 ferdy Exp $
+
+*mailbase-0.00-r7 (10 Feb 2005)
+
+ 10 Feb 2005; Fernando J. Pereda <ferdy@gentoo.org> +files/common-pamd,
+ +mailbase-0.00-r7.ebuild:
+ Version bump. Related to #79240. Reported by Wolfram Schlich
+ <wschlich@gentoo.org>
18 Jan 2005; Joshua Kinard <kumba@gentoo.org> mailbase-0.00-r6.ebuild:
Marked stable on mips.
diff --git a/net-mail/mailbase/Manifest b/net-mail/mailbase/Manifest
index a2393fca6949..d2fc800c266a 100644
--- a/net-mail/mailbase/Manifest
+++ b/net-mail/mailbase/Manifest
@@ -1,10 +1,13 @@
-MD5 6eabf759cf987140a716109f2a9b0981 ChangeLog 3925
MD5 78fc96c16b9dc1d4902c62927e664ce9 mailbase-0.00-r4.ebuild 773
-MD5 f224d58950c57b4f07888966ad00cd9a mailbase-0.00-r5.ebuild 877
MD5 d70889cf9ee474b30325789a31c253a9 mailbase-0.00-r6.ebuild 902
+MD5 f224d58950c57b4f07888966ad00cd9a mailbase-0.00-r5.ebuild 877
+MD5 8b7f5ef2eeeed2932662d3a02633d797 mailbase-0.00-r7.ebuild 1902
+MD5 c0cd2ad38687a1726e6713f6ad3b18bc ChangeLog 4147
MD5 5721b86fd871bdfab77231abc6e02f68 metadata.xml 161
-MD5 a5623a262865054bd43c914e740a2e52 files/aliases 809
-MD5 df65e6e407e866c7e6721e79f731ae6a files/mailcap 2235
+MD5 6ea8c087d1f4e8d55459cf024ff696d9 files/common-pamd 319
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mailbase-0.00-r4 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mailbase-0.00-r5 0
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mailbase-0.00-r6 0
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mailbase-0.00-r7 0
+MD5 df65e6e407e866c7e6721e79f731ae6a files/mailcap 2235
+MD5 a5623a262865054bd43c914e740a2e52 files/aliases 809
diff --git a/net-mail/mailbase/files/common-pamd b/net-mail/mailbase/files/common-pamd
new file mode 100644
index 000000000000..3e8be2a27bc2
--- /dev/null
+++ b/net-mail/mailbase/files/common-pamd
@@ -0,0 +1,8 @@
+# Provided by mailbase (dont remove this line!)
+# Standard pam.d file for mail service packages.
+# $Header: /var/cvsroot/gentoo-x86/net-mail/mailbase/files/common-pamd,v 1.1 2005/02/10 21:44:24 ferdy Exp $
+
+auth required pam_nologin.so
+auth required pam_stack.so service=system-auth
+account required pam_stack.so service=system-auth
+session required pam_stack.so service=system-auth
diff --git a/net-mail/mailbase/files/digest-mailbase-0.00-r7 b/net-mail/mailbase/files/digest-mailbase-0.00-r7
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/net-mail/mailbase/files/digest-mailbase-0.00-r7
diff --git a/net-mail/mailbase/mailbase-0.00-r7.ebuild b/net-mail/mailbase/mailbase-0.00-r7.ebuild
new file mode 100644
index 000000000000..9dc3983cedf5
--- /dev/null
+++ b/net-mail/mailbase/mailbase-0.00-r7.ebuild
@@ -0,0 +1,82 @@
+# 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-0.00-r7.ebuild,v 1.1 2005/02/10 21:44:24 ferdy Exp $
+
+DESCRIPTION="MTA layout package"
+SRC_URI=""
+HOMEPAGE="http://www.gentoo.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390 ~ppc-macos"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}
+
+pkg_setup() {
+ local filestoremove=0;
+ local lineorig=`head -n 1 ${FILESDIR}/common-pamd`
+ local lineold=""
+
+ einfo "Checking for possible file collisions..."
+
+ for i in pop pop3 pop3s pops imap imap4 imap4s imaps;
+ do
+ if [[ -e /etc/pam.d/${i} ]]
+ then
+ lineold="`head -n 1 /etc/pam.d/${i}`"
+
+ if [[ "${lineorig}" != "${lineold}" ]]
+ then
+ ewarn "/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:"
+ einfo ${lineorig}
+ die "Can't be installed, files will collide"
+ else
+ einfo "... everything looks ok"
+ fi
+}
+
+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 0775 /var/spool/mail
+ dosym /var/spool/mail /var/mail
+
+ dodir /etc/pam.d/
+ for i in pop pop3 pop3d pops imap imap4 imap4s imaps;
+ do
+ cp ${FILESDIR}/common-pamd ${D}/etc/pam.d/${i}
+ done
+}
+
+pkg_postinst() {
+ if [ ! -d ${ROOT}/var/spool/mail ]
+ then
+ mkdir -p ${ROOT}/var/spool/mail
+ fi
+
+ # Always set these to close bug #8029.
+ chown root:mail ${ROOT}/var/spool/mail
+ chmod 0775 ${ROOT}/var/spool/mail
+}