Open praiskup opened 6 years ago
The contrib module from zlib named minizip is not maintained nowadays, and both original authors of minizip redirected me to the updated minizip fork
Nevertheless, Debian, Ubuntu and some other Linux distributives use [1][2] original library and provide fixes for it. [1] https://tracker.debian.org/pkg/minizip [2] https://launchpad.net/ubuntu/+source/minizip
More over, I have just remembered, that development of official minizip
library was moved to zlib
project and our embedded copy of this library in Psi is in sync with it.
Personally I do not see any reason for switching to this fork.
@Ri0n What do you think about this?
The old minizip
won't ever be updated, and we'll e.g. drop that from Fedora in near future.
(plus, of course security reasons)
and we'll e.g. drop that from Fedora in near future.
Could you give us a link to related bug report in Fedora BTS?
As far as I see at [1][2] in Fedora 28 maintainers use the same version of minizip
as in Debian, but they use the version from zlib
library. Just compare with zlib
package in Debian [3]...
[1] https://rpmfind.net/linux/rpm2html/search.php?query=minizip
[2] https://pkgs.org/download/minizip
[3] https://tracker.debian.org/pkg/zlib
(plus, of course security reasons)
Which are well handled by Debian Security Team, Ubuntu Security Team, etc..
Could you give us a link to related bug report in Fedora BTS?
After small search in Internet I have not found packages for main GNU/Linux distros with this fork of library at all.
More over the timestamps of git tags in this repo looks very suspicious: https://github.com/nmoinvaz/minizip/releases https://github.com/nmoinvaz/minizip/releases?after=2.3.4 https://github.com/nmoinvaz/minizip/releases?after=2.2.4
After small search in Internet I have not found packages for main GNU/Linux distros with this fork of library at all.
That's the only maintained fork, and there's basically compatibility with the original code (mz_compat.h).
(plus, of course security reasons)
Which are well handled by Debian Security Team, Ubuntu Security Team, etc..
These are only distro-specific efforts; we have Fedora Security Team too, but at some point it is rather better to move on than depend on abandoned software.
Btw., how do we maintain security in the bundled version of minzip in psi?
Thanks.
These are only distro-specific efforts; we have Fedora Security Team too, but at some point it is rather better to move on than depend on abandoned software.
Yes, I understand your arguments. But in any case Psi should be compatible with system versions of libraries in most popular GNU/Linux distributives, so proposed patch should be a bit more complicated.
Of course, sorry ... this was not in any way attempt to propose a patch. It's just to inform you that (a) I did a small research, and that (b) most probably we'll drop the old minizip code from Fedora one day.
Btw., how do we maintain security in the bundled version of minzip in psi?
Irregularly. IIRC last time it was updated by me and I just used sources from Debian package...
Irregularly. IIRC last time it was updated by me and I just used sources from Debian package...
https://github.com/psi-im/libpsi/commit/869ee6d005ae181588d71ac22d9f558868370b6c https://github.com/psi-im/libpsi/commit/369310c44236c63d6b55e4e113c5a3e2ab5956d0
The patch is needed for libpsi, no? There are two packages in Fedora, both psi (psi-im) and psi-plus, it would be nice to have a common dependency to a libpsi (sub-) package.
@rapgro Please use URL of this issue in your bug report in Fedora BTS: https://bugzilla.redhat.com/show_bug.cgi?id=1632194
@tehnick Done, thanks.
The patch is needed for libpsi, no?
Yes, but this is a primary bug tracker for Psi and Psi+ projects.
There are two packages in Fedora, both psi (psi-im) and psi-plus, it would be nice to have a common dependency to a libpsi (sub-) package.
Sorry, but this is not possible. Psi and Psi+ have very different releasing cycles. And libpsi
as internal library may be changed significantly between rare releases of Psi, while master branch of Psi and frequent Psi+ releases are always in sync.
@rapgro
Done, thanks.
I still see Comment 10 as a last comment in that thread. And it points to https://github.com/psi-im/libpsi/issues/13
Does your BTS have timeout before adding of new comments?
Okay. I'd have to accept your development model. Downstream packaging could get done more easily, though.
Raphael Groner 2019-04-13 22:24:34 CEST No longer depends On: 1667638 Raphael Groner 2019-04-13 22:12:50 CEST External Bug ID: Github psi-im/psi/issues/388
There is a change since several years?
Note: The current zlib version is 1.3, time to update the code too?
it's better to try https://bugreports.qt.io/browse/QTBUG-3897
The contrib module from zlib named minizip is not maintained nowadays, and both original authors of minizip redirected me to the updated minizip fork https://github.com/nmoinvaz/minizip , it would be nice to allow compilation against that library.
I tried something similar:
But the build failed with: