summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-11-29 20:19:29 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-11-29 20:19:29 +0000
commitcfc427bb6ea6031c679f22ceb8bac25970c11812 (patch)
tree5ef1532d325f5420b9bd0f9612248c9b52da6793 /mail-mta/nullmailer/nullmailer-1.00.ebuild
parentMarked ~ppc-macos (diff)
downloadgentoo-2-cfc427bb6ea6031c679f22ceb8bac25970c11812.tar.gz
gentoo-2-cfc427bb6ea6031c679f22ceb8bac25970c11812.tar.bz2
gentoo-2-cfc427bb6ea6031c679f22ceb8bac25970c11812.zip
Fix bug #95292 for mailwrapper sandbox violation.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'mail-mta/nullmailer/nullmailer-1.00.ebuild')
-rw-r--r--mail-mta/nullmailer/nullmailer-1.00.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail-mta/nullmailer/nullmailer-1.00.ebuild b/mail-mta/nullmailer/nullmailer-1.00.ebuild
index 35b15402246e..dbc237a4f1bc 100644
--- a/mail-mta/nullmailer/nullmailer-1.00.ebuild
+++ b/mail-mta/nullmailer/nullmailer-1.00.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/mail-mta/nullmailer/nullmailer-1.00.ebuild,v 1.2 2005/07/09 03:01:55 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/nullmailer/nullmailer-1.00.ebuild,v 1.3 2005/11/29 20:19:29 robbat2 Exp $
inherit eutils flag-o-matic
@@ -65,7 +65,6 @@ src_install () {
if use mailwrapper; then
mv ${D}/usr/sbin/sendmail ${D}/usr/sbin/sendmail.nullmailer
mv ${D}/usr/bin/mailq ${D}/usr/bin/mailq.nullmailer
- dosym /usr/sbin/sendmail /usr/bin/mailq
insinto /etc/mail
doins ${FILESDIR}/mailer.conf
fi
@@ -120,6 +119,8 @@ pkg_postinst() {
chmod 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
chmod 660 /var/nullmailer/trigger
+ use mailwrapper && dosym /usr/sbin/sendmail /usr/bin/mailq
+
einfo "To create an initial setup, please do:"
einfo "ebuild /var/db/pkg/${CATEGORY}/${PF}/${PF}.ebuild config"
msg_svscan