Opened 3 years ago

Closed 3 years ago

#14600 closed enhancement (fixed)

Change p7zip to p7zip-17.03 (new upstream location)

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 10.1
Component: BOOK Version: SVN
Severity: normal Keywords:


As mentioned by Ryan Marsaw on 1/30/2021 on blfs-dev, p7zip has been forked and is now actively maintained. The fixes that we have in the book have been put into this version as well.

Here's a copy of the email:

On 1/30/21 1:44 PM, Ryan Marsaw via blfs-dev wrote:
> Hello all.
> When I noticed that p7zip hadn't had a new release in nearly 5 years I
> checked to see if perhaps this package was picked up by someone else.
> Sure enough, I came across a fork of p7zip here:
> The page has this under the "About" section:
> "A new p7zip fork with additional codecs and
> improvements (forked from"
> The fixes introduced by the BLFS p7zip patch are incorporated in this
> fork, and as far as I can see the build process is exactly same as the
> one for the existing p7zip.
> Cheers,
>   Ryan 

I'd like an opinion or two before I proceed with this though.

Change History (8)

comment:1 by Pierre Labastie, 3 years ago

As far as I can see, debian is still using sourceforge. They have patches (several debian specific) at

Last edited 3 years ago by Pierre Labastie (previous) (diff)

in reply to:  1 comment:2 by ken@…, 3 years ago

Replying to pierre.labastie:

As far as I can see, debian is still using sourceforge. They have patches (several debian specific) at

Debian is always dependant on what individual maintainers choose to do, or not do - I recall that for years they were stuck on an old version of mawk because someone wasn't happy (ISTR that the debian dev didn't trust the upstream dev, and the upstream was the xterm developer, but I may be wrong). Anyway,do they even know there is a fork ?

Other distros with the fork mentioned at appear to be Arch (I guess that might be where Ryan spotted this), KaOS (?), Mageia, Manjaro, Msys2 (not sure I'd count that as a linux distro) and Termux (?). Not sure how "official" the non-Arch usage is, but the fork does seem to be becoming available.

But I don't have any skin in this game, p7zip is not something I use.

comment:3 by Douglas R. Reno, 3 years ago

The last release was in 2016 from SourceForge, and there are 132 tickets open.

I think this Github Issue might give out some more useful information:

comment:4 by Douglas R. Reno, 3 years ago

Owner: changed from blfs-book to Douglas R. Reno
Status: newassigned

I'll get Jasper and Glib in at my next commit.

comment:5 by Douglas R. Reno, 3 years ago

Summary: Consider changing p7zip to p7zip-17.03 (upstream forked)Change p7zip to p7zip-17.03 (new upstream location)

comment:7 by Douglas R. Reno, 3 years ago


    Fix BUG CVE-2018-5996
    Fix BUG CVE-2018-10115
    Fix BUG CVE-2017-17969
    Fix BUG CVE-2016-9296


    p7zip 17.02 is more like 7zip 17.01(only 7za and 7z),The difference from 7zip 17.01
    and older version p7zip is the following description
    Supports Fast lzma2 1.0.1 compression method
    Update Zstd method to 1.4.5
    Add zstd method parameters in 7z format
    ZSTD parameters NEW name:
    strategy -> strat
    fast -> fast
    long -> long
    WindowLog -> wlog
    HashLog -> hlog
    ChainLog -> clog
    SearchLog -> slog
    MinMatch -> slen
    TargetLen -> tlen
    OverlapLog -> ovlog
    LdmHashLog -> ldmhlog
    LdmSearchLength -> ldmslen
    LdmBucketSizeLog -> ldmblog
    LdmHashRateLog -> ldmhevery
    Fix symlink files contained inside tar and squashfs as regular file
    Add lz4 and Zstd decompress method to squashfs


    add zstd to zip
    add hash algorithm
    add Lzfse to dmg
    add lz5 to 7z
    add lizard to 7z
    update lz4 to v1.9.3
    add brotli to 7z
    update cmake build
    fix xz crc64 error
    use system local to select OEM code
    add rpm install
    fix lzma2 and flzma22 call the same algorithm
    add 7zr build
    fix tar format link file compress and decompress

We already have these fixes, so there's no need to move it to High.

comment:8 by Douglas R. Reno, 3 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r24176

Note: See TracTickets for help on using tickets.