Opened 6 months ago

Closed 6 months 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:
Cc:

Description

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:
>
> https://github.com/jinfeihan57/p7zip/
>
> The page has this under the "About" section:
>
> "A new p7zip fork with additional codecs and
> improvements (forked from https://sourceforge.net/projects/p7zip/)."
>
> 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, 6 months ago

As far as I can see, debian is still using sourceforge. They have patches (several debian specific) at https://salsa.debian.org/debian/p7zip/-/tree/master/debian/patches

Last edited 6 months ago by Pierre Labastie (previous) (diff)

in reply to:  1 comment:2 by ken@…, 6 months ago

Replying to pierre.labastie:

As far as I can see, debian is still using sourceforge. They have patches (several debian specific) at https://salsa.debian.org/debian/p7zip/-/tree/master/debian/patches

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 https://repology.org/project/p7zip-jinfeihan57/versions 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, 6 months 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: https://github.com/jinfeihan57/p7zip/issues/114

comment:4 by Douglas R. Reno, 6 months 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, 6 months 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, 6 months ago

p7zip-17.01

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

p7zip-17.02

    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

p7zip-17.03

    add zstd to zip
    add hash algorithm
        XXHASH32
        XXHASH64
        MD2
        MD4
        MD5
        sha384
        sha512
    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, 6 months ago

Resolution: fixed
Status: assignedclosed

Fixed at r24176

Note: See TracTickets for help on using tickets.