[Pkg-clamav-devel] libclamunrar updated in Salsa
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat Nov 21 19:41:22 GMT 2026
On 2026-10-22 21:32:17 [+0200], Edmund Lodewijks wrote:
> Hi Sebastian,
Hi Edmund,
> I am sorry for sending you all this work. Hope to get it in before the Forky
> freeze, that's all. And, due to personal circumstances in the family, I
> don't always have time in the evenings, so I use it when I have it :)
This sounds like overhere :)
> Before uploading, please have a look at the package name (I mentioned this
> in the MR as well). The libclamunrar package does not have the dsfg thingy
> in the name. I couldn't find that it is compulsory when one uses
> Files-Excluded and repacks the upstream archive, but we do for this package.
> And the clamav package does have the dsfg string. So, perhaps libclamunrar
> should also carry it?
We do +dfsg in `main' where a package violates the DFSG and it needs to
be stripped of it. (A rediculus one is any software having documentation
under the gfdl). If the software is in non-free then it is violatign the
DFSG so marking is no longer needed.
See https://wiki.debian.org/PackagingFAQ#What_does_.2BIBw-dfsg.2BIB0_or_.2BIBw-ds.2BIB0_in_the_version_string_mean.3F
You raised
| Question before upload: Should the version become 1.4.6+dfsg, as clamav
| does? Files-Excluded is in use, so lintian flags
| repackaged-source-not-advertised.
I would either not bother or do add +ds. In the past we just built (and
had) the libunrar folder and a bit of automake. With the change to cmake
this got a bit out of hand and instead removing it all and fixing later
on, I just took it all in.
I *think* having cmake project in libclamunrar would help _if_ we could
strip everything down to just the libclamunrar which would be self
contained.
I had annother approach that was
- Use libunrar-dev
but clamav upstream edits their version of unrar so it less of an
option.
- Use librachive
This library is not exectly CVE free. Also, some of the rar files in
the test were not readable and I think it does not support v3 or some
"other" format of unrar.
Let me merge this…
> Anyway, signing off for tonight.
>
> Kind regards,
>
> Edmund
Sebastian
More information about the Pkg-clamav-devel
mailing list