Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Mar 2004 18:26:53 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        lemle.geza@haitec.hu
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: security/isakmpd error
Message-ID:  <xzpwu5zgq76.fsf@dwp.des.no>
In-Reply-To: <OFEFEEA3DE.C363C978-ONC1256E4E.0037E7B4-C1256E4E.00326E7F@haitec.hu> (lemle geza's message of "Fri, 5 Mar 2004 11:18:27 %2B0100")
References:  <OFEFEEA3DE.C363C978-ONC1256E4E.0037E7B4-C1256E4E.00326E7F@haitec.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
lemle.geza@haitec.hu writes:
> I just tried to build again this port on two similar machines, and the
> errors remained the same.
> Unsetting my $LANG variable, the build was successfull.

The genconstants.sh and genfields.sh scripts make incorrect use of
tr(1) - for instance:

locase_function=3D'function locase (str) {
  cmd =3D "echo " str " |tr A-Z a-z"
  cmd | getline retval;
  close (cmd);
  return retval;
}'

It should either export LC_ALL=3DC, use "tr '[:upper:]' '[:lower:]'"
instead of "tr A-Z a-z", or simply use awk's built-in tolower()
function.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpwu5zgq76.fsf>