Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2005 18:38:08 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Zahemszky =?iso-8859-1?Q?G=E1bor?= <Gabor@Zahemszky.HU>
Cc:        freebsd-security@freebsd.org
Subject:   Re: bug? in making security/isakmpd
Message-ID:  <20051211173807.GA6202@zaphod.nitro.dk>
In-Reply-To: <439C5E30.9090605@Zahemszky.HU>
References:  <439C5E30.9090605@Zahemszky.HU>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 2005.12.11 18:13:20 +0100, Zahemszky Gábor wrote:

> There is a little problem in the security/isakmpd port. There are some 
> gen*.sh scripts in it, which generate some C header (and src) files. 
> These scripts are using awk, tr, etc - some generic UNIX tools. One of 
> the tools has problems with some localisations, so these scripts 
> generate incorrect C-code. Eg, I have Hungarian localisation set, so I 
> have the following in my environ:
> 
> LANG=hu_HU.ISO8859-2

Yes, this is a known problem with the isakmpd build code which I
unfortunately haven't gotten around to fixing.  AFAIR it also fails
with German locale.  I suspect the simple fix is to set LC_ALL=C in
the build environment for the port.

> I think the real problem is the bug in tr/awk - maybe somebody has to 
> look at it, too.

Without having looked at the details, I think it's more likely that
the isakmpd build scripts misuses tr/awk, e.g. doing something like
'tr [a-z] [A-Z] ' to upper case a string (should be 'tr [:lower:]
[:upper:]').

-- 
Simon L. Nielsen

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDnGP/h9pcDSc1mlERAiTIAKCo/0NRCQQTfNQyXjsjas0QVEAi9wCdHGGq
PWsXE7nRiz/fbS3uihHPVOQ=
=yMzt
-----END PGP SIGNATURE-----

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