• ANNOUNCE: DJGPP port of Jansson 2.14 uploaded

    From [via djgpp-announce@delorie.com]" <@21:1/5 to All on Mon May 16 20:18:28 2022
    This is a port of Jansson 2.14 to MSDOS/DJGPP.


    Jansson is a C library for encoding, decoding and manipulating JSON
    data. Its main features and design principles are:

    Simple and intuitive API and data model
    Comprehensive documentation
    No dependencies on other libraries
    Full Unicode support (UTF-8)
    Extensive test suite

    Jansson is licensed under the MIT license; see LICENSE in the source distribution for details.



    DJGPP specific changes.
    =======================

    - The library requires an entropy source to seed the hash function.
    This can either be a driver or a random data file. On plain DOS
    one such driver, NOISE.SYS, can be obtained from:
    http://www.rahul.net/dkaufman/index.html
    as:
    http://www.rahul.net/dkaufman/noise063a2.zip
    Please read the instructions carefully. This driver works on DOS
    and may be on some versions of Windows but it does not work for all
    versions of Windows. For XP it does not work and I have found no
    replacement. Alternatively a random data file can be used.
    It will be found by the library at run-time by evaluating the
    RANDFILE environment variable.

    - There are no user visible changes. Only small changes have been
    done to get the library compiled.

    - The port has been configured and compiled on WinXP SP3 and Win98SE.
    There is no guarantee that this may be possible with any other DOS-
    like OS. Due to the use of long file names it will not be possible
    to configure and compile without LFN support. The port has been
    compiled using gcc346 and bnu2351b.

    As usual, all djgpp specific files (diffs, README files, etc.) are
    stored in the "djgpp" directory. The sources have been configured to
    be build in the "0build" directory. If for some reason it does not
    work for you, delete its contents and configure from scratch again.

    Please read the docs to become familiar with this product.


    Here is an extract of the CHANGES file showing the user visible
    changes from the last port (Jansson 2.13.1) to this one:

    -------------------------------------------------------------------------------

    Version 2.14
    ============

    Released 2021-09-09

    * New Features:

    - Add `json_object_getn`, `json_object_setn`, `json_object_deln`, and
    the corresponding `nocheck` functions. (#520, by Maxim Zhukov)

    * Fixes:

    - Handle `sprintf` corner cases (#537, by Tobias Stoeckmann)

    * Build:

    - Symbol versioning for all exported symbols (#540, by Simon McVittie)
    - Fix compiler warnings (#555, by Kelvin Lee)

    * Documentation:

    - Small fixes (#544, #546, by @i-ky)
    - Sphinx 3 compatibility (#543, by Pierce Lopez)


    -------------------------------------------------------------------------------




    The port consists of the usual two packages that have been produced
    using djdev205 (CVS repository code) and can be downloaded from
    ftp.delorie.com and mirrors as (time stamp 2022-05-01):


    Jansson 2.14 headers, library and html format documentation:
    ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn214b.zip

    Jansson 2.14 source:
    ftp://ftp.delorie.com/pub/djgpp/current/v2tk/jsn214s.zip



    Send Jansson specific bug reports to
    <https://groups.google.com/forum/#!forum/jansson-users>.
    Send suggestions and bug reports concerning the DJGPP port
    to comp.os.msdos.djgpp or <djgpp@delorie.com>.


    Enjoy.

    Guerrero, Juan Manuel <juan.guerrero@igd.fhg.de>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to djgpp-announce@delorie.com] on Mon May 16 14:53:43 2022
    On 5/16/2022 2:18 PM, Juan Manuel Guerrero (juan.guerrero@gmx.de) [via djgpp-announce@delorie.com] wrote:
    DJGPP specific changes.
    =======================

    - The library requires an entropy source to seed the hash function.
    This can either be a driver or a random data file. On plain DOS
    one such driver, NOISE.SYS, can be obtained from:
    http://www.rahul.net/dkaufman/index.html
    as:
    http://www.rahul.net/dkaufman/noise063a2.zip
    Please read the instructions carefully. This driver works on DOS
    and may be on some versions of Windows but it does not work for all
    versions of Windows. For XP it does not work and I have found no
    replacement. Alternatively a random data file can be used.
    It will be found by the library at run-time by evaluating the
    RANDFILE environment variable.

    Hi Juan,

    Thanks for the port.  I may have some use for this under DOS. However,
    is the noise driver absolutely required to use this lib? Is there some
    reason it can't just use the regular rand() functions?  The website
    shows "under construction" when the link is followed btw.

    Thanks,
    Frank

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to [via djgpp@delorie.com]" on Mon May 16 22:40:47 2022
    Am Mon, 16 May 2022 14:53:43 -0400
    schrieb "Frank Sapone (emoaddict15@gmail.com) [via djgpp@delorie.com]" <djgpp@delorie.com>:

    On 5/16/2022 2:18 PM, Juan Manuel Guerrero (juan.guerrero@gmx.de)
    [via djgpp-announce@delorie.com] wrote:
    DJGPP specific changes.
    =======================

    - The library requires an entropy source to seed the hash
    function. This can either be a driver or a random data file. On
    plain DOS one such driver, NOISE.SYS, can be obtained from:
    http://www.rahul.net/dkaufman/index.html
    as:
    http://www.rahul.net/dkaufman/noise063a2.zip
    Please read the instructions carefully. This driver works on
    DOS and may be on some versions of Windows but it does not work for
    all versions of Windows. For XP it does not work and I have found
    no replacement. Alternatively a random data file can be used.
    It will be found by the library at run-time by evaluating the
    RANDFILE environment variable.

    Hi Juan,

    Thanks for the port.  I may have some use for this under DOS.
    However, is the noise driver absolutely required to use this lib? Is
    there some reason it can't just use the regular rand() functions?
    The website shows "under construction" when the link is followed btw.

    Thanks,
    Frank



    Hello Frank,

    the only reason why I have done it this way, was because it was the
    easiest way to do it for me. I need the noise source anyway for
    other ports like openSSL and lynx so I have opted to do it here the
    same way. I have no objections in changing this the next time. Of
    course, with the possibility to read "random" data from a file or even
    worse by using rand() it will no longer be really random at all but
    that is ok with me.

    Concerning the noise063a2.zip file, I fear that it has gone for ever.
    At least I have not found it any where. May be some one will find it
    some where. This was my fault, I have forgotten about this because I
    have installed it on my MSDOS box all the time.
    For people still interested in it, they can get it by downloading the
    binary archive of the latetest lynx port:
    ftp://ftp.delorie.com/pub/djgpp/current/v2tk/l290d10b.zip
    In the djgpp directory is a noise063a2 directory containing the original
    zip file as retrived by me from the URL given together with a diffs file
    with small changes I have done to the original sources.

    Regards,
    Juan M. Guerrero

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From [via djgpp@delorie.com]" @21:1/5 to djgpp@delorie.com] on Mon May 16 20:39:22 2022
    On 5/16/2022 4:40 PM, Juan Manuel Guerrero (juan.guerrero@gmx.de) [via djgpp@delorie.com] wrote:
    Am Mon, 16 May 2022 14:53:43 -0400
    schrieb "Frank Sapone (emoaddict15@gmail.com) [via djgpp@delorie.com]" <djgpp@delorie.com>:

    On 5/16/2022 2:18 PM, Juan Manuel Guerrero (juan.guerrero@gmx.de)
    [via djgpp-announce@delorie.com] wrote:
    DJGPP specific changes.
    =======================

    - The library requires an entropy source to seed the hash
    function. This can either be a driver or a random data file. On
    plain DOS one such driver, NOISE.SYS, can be obtained from:
    http://www.rahul.net/dkaufman/index.html
    as:
    http://www.rahul.net/dkaufman/noise063a2.zip
    Please read the instructions carefully. This driver works on
    DOS and may be on some versions of Windows but it does not work for
    all versions of Windows. For XP it does not work and I have found
    no replacement. Alternatively a random data file can be used.
    It will be found by the library at run-time by evaluating the
    RANDFILE environment variable.
    Hi Juan,

    Thanks for the port.  I may have some use for this under DOS.
    However, is the noise driver absolutely required to use this lib? Is
    there some reason it can't just use the regular rand() functions?
    The website shows "under construction" when the link is followed btw.

    Thanks,
    Frank


    Hello Frank,

    the only reason why I have done it this way, was because it was the
    easiest way to do it for me. I need the noise source anyway for
    other ports like openSSL and lynx so I have opted to do it here the
    same way. I have no objections in changing this the next time. Of
    course, with the possibility to read "random" data from a file or even
    worse by using rand() it will no longer be really random at all but
    that is ok with me.

    Concerning the noise063a2.zip file, I fear that it has gone for ever.
    At least I have not found it any where. May be some one will find it
    some where. This was my fault, I have forgotten about this because I
    have installed it on my MSDOS box all the time.
    For people still interested in it, they can get it by downloading the
    binary archive of the latetest lynx port:
    ftp://ftp.delorie.com/pub/djgpp/current/v2tk/l290d10b.zip
    In the djgpp directory is a noise063a2 directory containing the original
    zip file as retrived by me from the URL given together with a diffs file
    with small changes I have done to the original sources.

    Regards,
    Juan M. Guerrero

    Hi Juan,

    I'd be OK with it defaulting to rand() if noise or a file is not found. 
    I think having users rely on either can be a bit cumbersome depending on
    the application.  I don't need true randomness (or much at all, to be
    honest) in my use case.

    Understood on the noise.sys homepage.  If you'd like, I can mirror the
    site and/or files at my location as well.

    Thanks for all your hard work,
    Frank

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jason Hood@21:1/5 to djgpp@delorie.com] on Tue May 17 11:15:52 2022
    On 17/05/2022 6:40, Juan Manuel Guerrero (juan.guerrero@gmx.de) [via djgpp@delorie.com] wrote:
    Concerning the noise063a2.zip file, I fear that it has gone for ever.
    At least I have not found it any where. May be some one will find it
    some where.

    Wayback machine, picking a rather arbitrary date:

    http://web.archive.org/web/20051124224824/http://www.rahul.net/dkaufman/

    A windows driver:

    http://ltr-data.se/opencode.html/#ZeroDrv

    Although the XP (and earlier) version is not very good.

    --
    Jason.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)