From cfc427bb6ea6031c679f22ceb8bac25970c11812 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 29 Nov 2005 20:19:29 +0000 Subject: Fix bug #95292 for mailwrapper sandbox violation. (Portage version: 2.0.53_rc7) --- mail-mta/nullmailer/nullmailer-1.00.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail-mta/nullmailer/nullmailer-1.00.ebuild') 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 -- cgit v1.2.3-65-gdbad