From owner-freebsd-bugs Thu Jan 16 9:30:10 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1ED537B401 for ; Thu, 16 Jan 2003 09:30:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C222143F3F for ; Thu, 16 Jan 2003 09:30:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0GHU6NS094161 for ; Thu, 16 Jan 2003 09:30:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0GHU6kS094160; Thu, 16 Jan 2003 09:30:06 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09CEB37B401 for ; Thu, 16 Jan 2003 09:24:53 -0800 (PST) Received: from netadmin2.ic.tsu.ru (netadmin2.ic.tsu.ru [212.192.97.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 083E343F3F for ; Thu, 16 Jan 2003 09:24:50 -0800 (PST) (envelope-from vadim@netadmin2.ic.tsu.ru) Received: from netadmin2.ic.tsu.ru (localhost.ic.tsu.ru [127.0.0.1]) by netadmin2.ic.tsu.ru (8.12.7/8.12.7/vadim) with ESMTP id h0GHOki0042118; Thu, 16 Jan 2003 23:24:47 +0600 (TSK) (envelope-from vadim@netadmin2.ic.tsu.ru) Received: (from vadim@localhost) by netadmin2.ic.tsu.ru (8.12.7/8.12.7/Submit) id h0GHOktE042117; Thu, 16 Jan 2003 23:24:46 +0600 (TSK) (envelope-from vadim) Message-Id: <200301161724.h0GHOktE042117@netadmin2.ic.tsu.ru> Date: Thu, 16 Jan 2003 23:24:46 +0600 (TSK) From: Vadim Ostranitsyn Reply-To: Vadim Ostranitsyn To: FreeBSD-gnats-submit@FreeBSD.org Cc: vadim@alpha.tsu.ru X-Send-Pr-Version: 3.113 Subject: conf/47147: [PATCH] First look at /usr/local/share/sendmail/cf for sendmail.cf generation. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47147 >Category: conf >Synopsis: [PATCH] First look at /usr/local/share/sendmail/cf for sendmail.cf generation. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jan 16 09:30:02 PST 2003 >Closed-Date: >Last-Modified: >Originator: Vadim Ostranitsyn >Release: FreeBSD 4.7-RC i386 >Organization: Tomsk State University >Environment: System: FreeBSD netadmin2.ic.tsu.ru 4.7-RC FreeBSD 4.7-RC #0: Thu Sep 26 17:23:52 TSD 2002 root@netadmin2.ic.tsu.ru:/export/WORLD/obj/.amd_mnt/disk4/private/FreeBSD/stable4/src/sys/NetAdmin2 i386 >Description: When you install sendmail from ports, your config still be generated from config data at /usr/share/sendmail/cf. We need to generate config from data at /usr/local/share/sendmail/cf. >How-To-Repeat: Install sendmail from ports. Then go to /etc/mail directory, change your "hostname".mc and run make. >Fix: Just apply a patch below. --- Makefile.diff begins here --- --- Makefile.orig Thu Sep 26 17:39:38 2002 +++ Makefile Thu Jan 16 22:02:18 2003 @@ -83,7 +83,9 @@ # This is the directory where the sendmail configuration files are # located. # -.if exists(/usr/share/sendmail/cf) +.if exists(/usr/local/share/sendmail/cf) +SENDMAIL_CF_DIR?= /usr/local/share/sendmail/cf +.elif exists(/usr/share/sendmail/cf) SENDMAIL_CF_DIR?= /usr/share/sendmail/cf .elif exists(/usr/src/contrib/sendmail/cf) SENDMAIL_CF_DIR?= /usr/src/contrib/sendmail/cf --- Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message