Date: Tue, 10 Jun 1997 17:19:54 +0200 From: Angelo Turetta <ATuretta@stylo.it> To: "'freebsd-hackers'" <freebsd-hackers@freebsd.org> Subject: Small patch for sendmail config files Message-ID: <31EBCC36B676D01197E400801E032495021F6B@STYLOSERVER>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31EBCC36B676D01197E400801E032495021F6B>