[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#771191: lintian: test for inclusion of non-lossy lena/lenna image and flag as potentially non-DFSG




Le 27 nov. 2014 14:00, "Jonas Smedegaard" <dr@jones.dk> a écrit :
>
> Package: lintian
> Version: 2.5.30+deb8u2
> Severity: wishlist
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> A graphics file popular to include e.g. in testsuites is a scanning from
> November 1972 issue of Playboy, which is not DFSG compliant:
> <https://en.wikipedia.org/wiki/File:Lenna.png#Licensing>.

I have opened #760171 also some time agi
> See bug#771126 for a concrete example.  I have tried our codesearch to
> discover more, and have found some but failed to find a reliable search
> pattern using that interface.
>
> It is used for color calibration and therefore needed in non-lossy
> format but can vary in size and serialization, so simple md5 detection
> is inefficient, I suspect.

No md5 do not suffer from false postive so it is an autoreject.

Could you send me a patch against data/cruft/non-distributable-files ?

Less work for ftpmaster particularly whenbautomatocally done is faster package going to main.

> Filename typically includes "lena" or "lenna" in its stem.
>
> A simple check could be scan for /\blenn?a\b/ in filename, and then
> check with "file" if content is a graphics file.

Yes will implement but it will be wild guess no autoreject.

> More reliable check might involve serializing hits of above loose check
> in some deterministic manner, compute md5 from that, and compare against
> a blacklist.

No pull too many deps

Bastien
>
>  - Jonas
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQF8BAEBCgBmBQJUdx/7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
> ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ3NjQ4ODQwMTIyRTJDNTBFQzUxRDQwRTI0
> RUMxQjcyMjM3NEY5QkQ2AAoJEE7BtyI3T5vWJckIALKrSGJjSRbt6VFcWP+hhUfa
> y0Hf3AOgLIeDi9K88FBLnloNzlQIEKA8mqvfyKfnJ9cahEVCbzXqMMtte1mMZiRc
> YZuvj93zeGTJne9BOZi21sIa+oDsz2DVSAhJ/sXTi+6JpmuuR6/eeKM8GuwEBeSZ
> LKQ1SUcTYOMdahejXAtM3/cU0hWed30cZR2oxGpYic/Faxp4irrpm+mFQZXDctgW
> 4Z4nVWLKK5egH23BGeqIBhHQfJ1YKUkLwihSc7vg+y9QyzYT0nxZQsEr1CwgVZcW
> z/2ufvacdBQEBBT9V2XaVxxhy4uchgABnHml48D4+OJkJNMwokMwM3o4T6IKoc0=
> =NOzw
> -----END PGP SIGNATURE-----
>


Reply to: