• CTAN update: pkgcheck

    From CTAN Announcements@petra@ctan.org to ctan-ann on Wed Oct 7 21:10:43 2026
    From Newsgroup: comp.text.tex

    Manfred Lotz submitted an update to the

    pkgcheck

    package.

    Version: 4.1.1 2026-10-06
    License: apache2 mit

    Summary description: CTAN package checker

    Announcement text: ------------------------------------------------------------------------

    ### Fixed

    - False positive PDF detection for text files containing `%PDF` as a
    substring (e.g. a Windows batch file using `%PDF%` as a variable).
    Caused by `infer` 0.22 scanning the first 1024 bytes for `%PDF`
    rather than checking only the magic offset.

    - Eliminate remaining `panic!` / `.unwrap()` sites in `main.rs`:
    missing home directory, unexpected file type in TDS archive walk,
    hash-file errors in threadpool scopes, symlink canonicalization,
    `meta.modified()`, tempdir path conversion, and several non-UTF-8
    path sites.

    - Remove `'/'` from the filename allowlist in `filename_has_bad_chars`;
    add `depth() > 0` guard so invoking pkgcheck with `-d .` or `-d ./`
    no longer triggers a false E0001.

    - Replace `match dir_entry { Ok/Err }` with a `let`-else guard in the
    `check_package` WalkDir loop.

    ### Changed

    - Rust crate updates

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

    The packagerCOs Catalogue entry can be viewed at
    https://ctan.org/pkg/pkgcheck

    The packagerCOs files themselves can be inspected at
    https://mirrors.ctan.org/support/pkgcheck/

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

    Thanks for the upload.

    For the CTAN Team
    Petra R|+be-Pugliese

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

    CTAN is run entirely by volunteers and supported by TeX user groups.
    Please join a user group or donate to one, see https://ctan.org/lugs
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CTAN Announcements@petra@ctan.org to ctan-ann on Sat Oct 10 08:20:33 2026
    From Newsgroup: comp.text.tex

    Manfred Lotz submitted an update to the

    pkgcheck

    package.

    Version: 4.1.2 2026-10-07
    License: apache2 mit

    Summary description: CTAN package checker

    Announcement text: ------------------------------------------------------------------------

    ### Fixed

    - False negative PDF detection for uncompressed (QDF) PDFs. The previous
    fix for the `%PDF` false positive used `is_text_content()` as the
    discriminator, but uncompressed PDFs are mostly ASCII and passed the
    threshold. Corrected to check whether the file actually starts with
    `%PDF`, which is the true distinction.

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

    The packagerCOs Catalogue entry can be viewed at
    https://ctan.org/pkg/pkgcheck

    The packagerCOs files themselves can be inspected at
    https://mirrors.ctan.org/support/pkgcheck/

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

    Thanks for the upload.

    For the CTAN Team
    Petra R|+be-Pugliese

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

    CTAN is run entirely by volunteers and supported by TeX user groups.
    Please join a user group or donate to one, see https://ctan.org/lugs
    --- Synchronet 3.22a-Linux NewsLink 1.2
  • From CTAN Announcements@petra@ctan.org to ctan-ann on Sat Nov 14 11:45:27 2026
    From Newsgroup: comp.text.tex

    Manfred Lotz submitted an update to the

    pkgcheck

    package.

    Version: 4.1.3 2026-11-13
    License: apache2 mit

    Summary description: CTAN package checker

    Announcement text: ------------------------------------------------------------------------

    ## pkgcheck 2026-11-13 (4.1.3)

    ### Security

    - Upgraded `zip` from 8 to 9 to fix RUSTSEC-2026-0367, -0368, -0369
    and -0429.

    ### Changed

    - Upgraded `lopdf` from 0.44 to 0.46. lopdf now repairs broken
    cross-reference data instead of failing, so a PDF that needed
    repairing is still reported as E0017.
    - lopdf's log output (nameless `Object load error at offset rCa` lines)
    is no longer shown.

    ### Fixed

    - False E0032 (`expected font, got unknown binary`) for WOFF/WOFF2
    fonts with CFF outlines (flavor `OTTO`, e.g. MathJax fonts). `infer`
    only recognises TrueType-flavored WOFF/WOFF2; pkgcheck now checks
    the `wOFF`/`wOF2` magic itself.

    - Documentation: corrected wrong option names (`--correct-le`/`-L` for
    permissions was `--correct-perms`/`-C`; `--correct-crlf` was
    `--correct-le`), fixed typos, fixed wrong `--config` references
    (correct: `--config-file`), fixed E0038 description.

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

    The packagerCOs Catalogue entry can be viewed at
    https://ctan.org/pkg/pkgcheck

    The packagerCOs files themselves can be inspected at
    https://mirrors.ctan.org/support/pkgcheck/

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

    Thanks for the upload.

    For the CTAN Team
    Petra R|+be-Pugliese

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

    CTAN is run entirely by volunteers and supported by TeX user groups.
    Please join a user group or donate to one, see https://ctan.org/lugs
    --- Synchronet 3.22a-Linux NewsLink 1.2