[GFSD] sane-backends contains code under original Artistic License

Project:Trisquel
Version:7.0
Component:License problems
Category:bug report
Priority:critical
Assigned:leny2010
Status:closed
Description

The sane-backends source package contains a file lib/snprintf.c licensed under Artistic License 1.0. The file seems to contain a replacement for snprintf on systems that don't have it. Obviously this file is not needed in Trisquel.

Sat, 12/14/2013 - 08:59
Status:active» needs more info

There isn't a sane-backends package.

Sat, 12/14/2013 - 19:52
Status:needs more info» active

sane-backends is a source package (part of the sane scanner package).

http://packages.trisquel.info/source/toutatis/sane-backends

Sun, 12/15/2013 - 11:47

Oh! Sorry for the bad noise. I thought binary packages would have similarly named source packages 1:1. Thanks for teaching me.

Confirming the reported license problem.

Sun, 12/15/2013 - 21:35

I also found that sane-frontends, sane-backends-extra, and xsane have the same file under version 1.0 of the Artistic License.

Maybe we should do a search for the Artistic License. It seems problematic since Debian considers it free.

Tue, 12/31/2013 - 09:09

I'll go ahead and do just that.

Sat, 04/19/2014 - 19:41

We could use the gpl-licensed version in Gnulib (http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=summary, lib/c-snprintf.c). This is better than just removing it; what if someone tries to compile the version in trisquel for an embedded system without snprintf?

Thu, 05/29/2014 - 07:58
Thu, 05/29/2014 - 16:41

Here are the patches we used to resolve this issue in Fedora (also sent upstream), see: https://alioth.debian.org/tracker/index.php?func=detail&aid=314700

Basically, the lib/snprintf.c code came from an old version of LPRng, so I checked to see if the current LPRng code had it as well, and it had a newer version under a Free license (and a permissive one at that). A few minor edits and we have replacement files for xsane, sane-frontends, and sane-backends.

AttachmentSize
xsane-0.999-update-to-current-lprng-plp_snprintf.patch 47.54 KB
sane-frontends-1.0.14-update-to-current-lprng-plp_snprintf.patch 47.57 KB
sane-backends-1.0.24-update-to-current-lprng-plp_snprintf.patch 47.52 KB
Thu, 05/29/2014 - 21:52

Thanks spotrh for the patches!
I will try to make package helpers for this and submit to trisquel-dev.

Fri, 05/30/2014 - 03:18
Status:active» patch (needs review)
Wed, 12/17/2014 - 00:27
Assigned to:anonymous» leny2010
Status:patch (needs review)» patch (needs work)

Patch plainly declined. I've opened DI https://devel.trisquel.info/leny2010/package-helpers/issues/7 to track my rework.

Tue, 12/23/2014 - 05:38
Version:6.0» 7.0
Status:patch (needs work)» patch (ready)

Still in 7.0

Reworked patch accepted
https://devel.trisquel.info/trisquel/package-helpers/commit/6a723214a5b85ab9c39854b055c0bdbd45fbcfb8
Awaiting build.

Thank you for your continuing contributions all.

Wed, 01/07/2015 - 14:55
Status:patch (ready)» needs more info

Update now in Belenos repos. Please comment is you dissent from Fixed status/

Thu, 01/08/2015 - 03:34
Status:needs more info» fixed

Changes were merged into trisquel and package is now updated

Thu, 01/22/2015 - 03:35
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.