Date: Thu, 25 Dec 2003 14:41:09 +0200 (EET) From: Irina Liakh <spell@itl.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/60556: [patch] Default freebsd.submit.mc file should contain OSTYPE(freebsd5) macro Message-ID: <20031225124109.57DE82154D@mermaid.itl.net.ua> Resent-Message-ID: <200312251250.hBPCoIEt005967@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60556 >Category: conf >Synopsis: [patch] Default freebsd.submit.mc file should contain OSTYPE(freebsd5) macro >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Dec 25 04:50:17 PST 2003 >Closed-Date: >Last-Modified: >Originator: Irina Liakh >Release: FreeBSD 5.1-CURRENT >Organization: ITL ISP >Environment: FreeBSD 5.1-CURRENT Oct 25, sendmail 8.12.10, port net/freebsd-uucp-1.07 >Description: In CURRENT, UUCP has moved from base system to ports collection, but submit.cf still expects the uux binary to be in /usr/bin rather than /usr/local/bin. This does not apply to sendmail.cf because of presence "OSTYPE(freebsd5)" macro in it's source file freebsd.mc, that properly initializes UUCP_MAILER_PATH (the path to the uux binary). There is some other tweaking that engaged by this macro, such as adding `S' flag to mailer local, that intended specially for FreeBSD-5 and hereby should be toggled in freebsd.submit.mc. >How-To-Repeat: Seems to be obvious. >Fix: Just remove define(`__OSTYPE__',`') and add OSTYPE(`freebsd5') to file freebsd.submit.mc. This is patch for complete report: --- freebsd.submit.mc.or Thu Dec 25 14:25:39 2003 +++ freebsd.submit.mc Thu Dec 25 14:26:10 2003 @@ -18,7 +18,7 @@ divert(0)dnl VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.submit.mc,v 1.1 2003/10/19 00:03:13 gshapiro Exp $') define(`confCF_VERSION', `Submit')dnl -define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining +OSTYPE(`freebsd5')dnl define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet define(`confTIME_ZONE', `USE_TZ')dnl define(`confDONT_INIT_GROUPS', `True')dnl >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031225124109.57DE82154D>