Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200319 - app-admin/skey wrong LICENSE?
Summary: app-admin/skey wrong LICENSE?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Lowest trivial (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 172840 (view as bug list)
Depends on:
Blocks: 200001
  Show dependency tree
 
Reported: 2007-11-25 19:46 UTC by Ulrich Müller
Modified: 2008-01-26 15:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2007-11-25 19:46:22 UTC
The ebuilds have LICENSE="BSD X11", but file sha1hl.c is released under a different licence. It contains the following notice:

 * ----------------------------------------------------------------------------
 * "THE BEER-WARE LICENSE" (Revision 42):
 * <phk@login.dkuug.dk> wrote this file.  As long as you retain this notice you
 * can do whatever you want with this stuff. If we meet some day, and you think
 * this stuff is worth it, you can buy me a beer in return.   Poul-Henning Kamp
 * ----------------------------------------------------------------------------
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-11-25 23:22:36 UTC
Best would be to convice the author that we all owe him a virtual beer, but if he would be so nice and relicense (or otherwise reimplement the trivial code). There are so many licenses - and then these "fun" licenses... The idea is fun of course, when you sit there hacking and beer just went empty, but for us as distributors it's a PITA, really. :(

This code actually is a hodgepodge of licenses:

md4c.c is RSA-MD4
md5c.c is RSA-MD5
sha1.c is public domain

other files have copyright notices, but no license information...
Comment 2 Ulrich Müller gentoo-dev 2007-11-25 23:26:43 UTC
Maybe adding "as-is" to LICENSE could be enough here?
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2007-11-26 00:23:55 UTC
(In reply to comment #2)
> Maybe adding "as-is" to LICENSE could be enough here?

Well, I'm no lawyer. To me a different license is a different license even if they only differ slightly in their wording. What we have as as-is file in the license subdirectory is and has to match the license the code is under. Just because you read "as is" in some license dosesn't make it THE as-is license.

Even though it's dead annoying, I'd stick to it word by word, unless a good bunch of lawyers tell me otherwise. :|

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-26 06:33:08 UTC
Uhm? So stick it to $PORTDIR/licenses, we already have WTFPL-2 there after all. What's the 'problem' here?
Comment 5 Ulrich Müller gentoo-dev 2007-11-26 07:42:51 UTC
Seems that Jakub follows all beer-related issues. :p

OK, seriously, the plan is then:
- Change LICENSES to "BSD X11 RSA-MD4 RSA-MD5 BEER-WARE"
- Add the snippet from comment #0 as licenses/BEER-WARE

@taviso: Do you mind if I commit this myself?
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2007-11-26 16:48:04 UTC
(In reply to comment #5)
> OK, seriously, the plan is then:
> - Change LICENSES to "BSD X11 RSA-MD4 RSA-MD5 BEER-WARE"
> - Add the snippet from comment #0 as licenses/BEER-WARE

"public-domain" missing. Also, I didn't check all files for other licenses, but having another look at it, the only file freferencing X11 is install.sh, which basically is the classic "as-is" license, not X11.

And when you think it cannot worse, it does: skey.3 and skeyinfo.c are BSD licensed, but unfortunately 4-clause BSD, that is includung the dead old advertising clause - making it incompatible to the GPL, which may cause even more problems...
Comment 7 Ulrich Müller gentoo-dev 2007-11-26 20:04:21 UTC
(In reply to comment #6)
> "public-domain" missing.

I think an explicit "public-domain" is not needed in addition to more restrictive licences. (Otherwise many more packages would need it since they also contain some public-domain files.)

> [...] the only file referencing X11 is install.sh, which basically is the
> classic "as-is" license, not X11.

install.sh is neither installed nor used during the build process.

But you are right, the newer source files, e.g. errx.c, flock.c, login_cap.c are under a licence that is commonly called X11-like, but that we carry under the name "MIT".

> And when you think it cannot worse, it does: skey.3 and skeyinfo.c are BSD
> licensed, but unfortunately 4-clause BSD, that is includung the dead old
> advertising clause - making it incompatible to the GPL, which may cause even
> more problems...

Again, skey.3 is not installed. And skeyinfo.c was re-licenced for OpenBSD long time ago: <http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/skeyinfo/skeyinfo.c.diff?r1=1.4&r2=1.5>. So we could take their version if absolutely necessary. OTOH, that would be way too much effort for such a trivial program.

So, "BSD MIT RSA-MD4 RSA-MD5 BEER-WARE"?
Comment 8 Carsten Lohrke (RETIRED) gentoo-dev 2007-11-26 23:08:12 UTC
(In reply to comment #7)
<http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/skeyinfo/skeyinfo.c.diff?r1=1.4&r2=1.5>.
> So we could take their version if absolutely necessary. OTOH, that would be way
> too much effort for such a trivial program.

What matters is the distributed code we have, not some other code which has been relicensed later. And if you look at skeyinfo.c from the tarball our ebuild is fetching and the one from the OpenBSD repository, the code is not the same. Ours must be quite old or something, the hompage mentioned in the ebuild is unfortunately not reachable to find out more about it. I don't know, if these codebases are compatible, but taking the code from OpenBSD would be surely a sane solution.
Comment 9 Ulrich Müller gentoo-dev 2007-11-27 07:40:49 UTC
(In reply to comment #8)
> And if you look at skeyinfo.c from the tarball our ebuild is fetching and
> the one from the OpenBSD repository, the code is not the same.

Huh? The code of skeyinfo.c in the tarball (before patching) is _exactly_ the same as revision 1.6 in the OpenBSD repository.
Comment 10 Ulrich Müller gentoo-dev 2007-12-08 17:15:59 UTC
Fixed in CVS.
Comment 11 Ulrich Müller gentoo-dev 2008-01-26 15:19:45 UTC
Reopening for proper resolution.
Comment 12 Ulrich Müller gentoo-dev 2008-01-26 15:20:25 UTC
(In reply to comment #11)
> Reopening for proper resolution.
Sorry, wrong bug.
Comment 13 Ulrich Müller gentoo-dev 2008-01-26 15:21:37 UTC
*** Bug 172840 has been marked as a duplicate of this bug. ***