From owner-freebsd-hackers Tue Jun 10 08:25:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id IAA10644 for hackers-outgoing; Tue, 10 Jun 1997 08:25:25 -0700 (PDT) Received: from unix.stylo.it (unix.stylo.it [193.76.98.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA10639 for ; Tue, 10 Jun 1997 08:25:20 -0700 (PDT) Received: from styloserver.stylo.it (mail.stylo.it [193.76.98.13]) by unix.stylo.it (8.8.5/8.6.9) with ESMTP id RAA00834 for ; Tue, 10 Jun 1997 17:21:00 +0200 (MET DST) Received: by STYLOSERVER with Internet Mail Service (5.0.1457.3) id ; Tue, 10 Jun 1997 17:20:00 +0200 Message-ID: <31EBCC36B676D01197E400801E032495021F6B@STYLOSERVER> From: Angelo Turetta To: "'freebsd-hackers'" Subject: Small patch for sendmail config files Date: Tue, 10 Jun 1997 17:19:54 +0200 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I've had a problem building sendmail on a make world, caused by my hostname containing an m4 reserved word. Tor Egge [Tor.Egge@idi.ntnu.no] suggested the following patch, which quotes the hostname in the generated include file. I think it should be committed to both -current and -stable. Thanks Angelo Turetta Stylo Multimedia - Italy Index: src/usr.sbin/sendmail/cf/sh/makeinfo.sh ========================================================== RCS file: /store/ncvs/src/usr.sbin/sendmail/cf/sh/makeinfo.sh,v retrieving revision 1.1.1.2.2.1 diff -c -r1.1.1.2.2.1 makeinfo.sh *** makeinfo.sh 1996/11/28 22:05:33 1.1.1.2.2.1 --- makeinfo.sh 1997/05/27 17:21:42 *************** *** 76,79 **** echo '#####' built by $user@$host on `LC_TIME=C date` echo '#####' in `pwd` | sed 's/\/tmp_mnt//' echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//' ! echo "define(\`__HOST__', $host)dnl" --- 76,79 ---- echo '#####' built by $user@$host on `LC_TIME=C date` echo '#####' in `pwd` | sed 's/\/tmp_mnt//' echo '#####' using $1 as configuration include directory | sed 's/\/tmp_mnt//' ! echo "define(\`__HOST__', \`\`$host'')dnl"