Date: Thu, 16 Jan 2003 23:24:46 +0600 (TSK) From: Vadim Ostranitsyn <vadim@alpha.tsu.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: vadim@alpha.tsu.ru Subject: conf/47147: [PATCH] First look at /usr/local/share/sendmail/cf for sendmail.cf generation. Message-ID: <200301161724.h0GHOktE042117@netadmin2.ic.tsu.ru>
next in thread | raw e-mail | index | archive | help
>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 <vadim@alpha.tsu.ru> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301161724.h0GHOktE042117>