Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [new] devel/asn1c
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org, job@openbsd.org
Date:
Thu, 16 Oct 2025 10:14:42 +0100

Download raw body.

Thread
  • Theo Buehler:

    [new] devel/asn1c

    • Stuart Henderson:

      [new] devel/asn1c

if you have "autoreconf" then "gnu" isn't needed (though doesn't hurt).

ok


On 2025/10/16 09:59, Theo Buehler wrote:
> This port contains a few useful tools for dealing with the source of
> neverending joy that is ASN.1. While the compiler doesn't seem to
> understand parameterization, it still helps sanity check some handwritten
> ASN.1 modules without resorting to weird websites or pricey proprietary
> tools.
> 
> I'm unsure if I got the magic incantations for the automess right. At
> least it builds and packages... Tests are somewhat broken, however.
> 
> ===
> 
> The ASN.1 to C compiler takes the ASN.1 module files and generates C++
> compatible C source code. That code can be used to serialize the native
> C structures into compact and unambiguous BER/OER/PER/XER-based data
> files, and deserialize the files back.