From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 9 11:50:11 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4A2016A420 for ; Thu, 9 Mar 2006 11:50:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 468C243D49 for ; Thu, 9 Mar 2006 11:50:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k29BoBWp016989 for ; Thu, 9 Mar 2006 11:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k29BoB8g016988; Thu, 9 Mar 2006 11:50:11 GMT (envelope-from gnats) Date: Thu, 9 Mar 2006 11:50:11 GMT Message-Id: <200603091150.k29BoB8g016988@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Koopmann, Jan-Peter" Cc: Subject: Re: ports/94144: [MAINTAINER] mail/MailScanner: update to 4.51.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Koopmann, Jan-Peter" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 11:50:11 -0000 The following reply was made to PR ports/94144; it has been noted by GNATS. From: "Koopmann, Jan-Peter" To: Cc: Subject: Re: ports/94144: [MAINTAINER] mail/MailScanner: update to 4.51.5 Date: Thu, 9 Mar 2006 12:47:23 +0100 This is a multi-part message in MIME format. ------=_NextPart_000_00C5_01C64377.9C55DD80 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Please use this diff for mta.sh.in. Sorry: diff -u -r1.2 mta.sh.in --- files/mta.sh.in 20 Feb 2006 20:47:12 -0000 1.2 +++ files/mta.sh.in 9 Mar 2006 11:44:39 -0000 @@ -22,6 +22,9 @@ # mta_pidfile (str): PID file, defaults depending on $mta_type either # to "/var/run/sendmail.pid" or "/var/run/exim.pid" # +# +# ATTENTION: All of the above entries are necessary in order for mta.sh to work correctly! +# # # Examples: @@ -45,17 +48,30 @@ # mta_profiles="incoming outgoing submitqueue" # mta_incoming_flags="-L sm-mta-in -bd -OPrivacyOptions=noetrn -OQueueDirectory=/var/spool/mqueue.in -ODeliveryMode=queueonly" # mta_incoming_pidfile="/var/run/sendmail_in.pid" +# mta_incoming_configfile="/etc/mail/sendmail.cf" # mta_outgoing_flags="-L sm-mta-out -q15m" # mta_outgoing_pidfile="/var/run/sendmail_out.pid" +# mta_outgoing_configfile="/etc/mail/sendmail.cf" # mta_submitqueue_flags="-L sm-msp-queue -Ac -q15m" # mta_submitqueue_pidfile="/var/spool/clientmqueue/sm-client.pid" -# +# mta_submitqueue_configfile="/etc/mail/submit.cf" + +PATH=$PATH:/sbin:/usr/sbin; export PATH . %%RC_SUBR%% name="mta" rcvar=`set_rcvar` +_mta_rc_script="%%PREFIX%%/etc/rc.d/mta" +_mta_osversion="`sysctl -n kern.osreldate`" +if [ \( "$_mta_osversion" -lt "600101" \) -o \ + \( \( $_mta_osversion -ge 700000 \) -a \ + \( $_mta_osversion -lt 700007 \) \) ] +then + $_mta_rc_script="{$_mta_rc_script}.sh" +fi + load_rc_config $name : ${mta_enable="NO"} @@ -102,13 +118,13 @@ eval mta_pidfile=\${mta_${profile}_pidfile:-${mta_pidfile}} pidfile="${_pidprefix}.${profile}.pid" else - echo "$0: extra argument ignored" + echo "$_mta_rc_script: extra argument ignored" fi else if [ "x${mta_profiles}" != "x" ]; then for profile in ${mta_profiles}; do echo "===> mta profile: ${profile}" - $0 $1 $profile + $_mta_rc_script $1 $profile retcode=$? if [ "$?" -ne 0 ]; then failed="${profile} ({$retcode}) ${failed}" ------=_NextPart_000_00C5_01C64377.9C55DD80 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIII6jCCAnIw ggHboAMCAQICEBM7Dv1pnwMniwfQN8Y+13swDQYJKoZIhvcNAQEEBQAwYjELMAkGA1UEBhMCWkEx JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDIxNDE0MDAxMloXDTA3MDIxNDE0MDAx MlowUDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEtMCsGCSqGSIb3DQEJARYeamFu LXBldGVyLmtvb3BtYW5uQHNlY2VpZG9zLmRlMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDm iE4h5QPJozddGO51fLfqRhuU5g9BfLnQq/Ah5zb+rODxKITSQ3AcS/3eaWRp+eF/aFi6n3BQjvQs 19sN8TbCrCaG2rbkDPs+g/RufXGjXewMaTEYeD63dbILV7nYMiENPbIv+axv1939ki4WnCC67A/L tvRt4xvYz8Ody8cj/QIDAQABozswOTApBgNVHREEIjAggR5qYW4tcGV0ZXIua29vcG1hbm5Ac2Vj ZWlkb3MuZGUwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQByv/vmJ8PPKPD1ACWcHl/H n9oIP2XOKeaXiNeos4L8gkK4SxN5cjqTnu48vkRHQ/ebUS5AqBy++nz9F697P2oRGdYjIS8QMKPT LncckefopMp3F7+35YDnS87VFvUZ19qDf70HoNkyfOon7kCFgDcu7SmZnPe5bnwaZYLInAqfvDCC Ay0wggKWoAMCAQICAQAw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