Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425936 - dev-ruby/rubygems LICENSE variable does not reflect init script
Summary: dev-ruby/rubygems LICENSE variable does not reflect init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal QA (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: init-script-license
  Show dependency tree
 
Reported: 2012-07-11 17:17 UTC by Ian Stakenvicius (RETIRED)
Modified: 2018-07-15 18:22 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 Ian Stakenvicius (RETIRED) gentoo-dev 2012-07-11 17:17:58 UTC
The init script(s) provided in FILESDIR for dev-ruby/rubygems has a license of GPL-2 but GPL-2 isn't within the LICENSE variable of the ebuild(s):

files/init.d-gem_server2 has license line:
# Distributed under the terms of the GNU General Public License v2
... and is used by the following ebuilds:
rubygems-1.8.15.ebuild:LICENSE="|| ( Ruby MIT )"
rubygems-1.8.24.ebuild:LICENSE="|| ( Ruby MIT )"

There are two options here -- either LICENSE in the ebuilds should be appended with GPL-2 to cover the init script, or the init script should be relicensed so that it is covered by current LICENSE (this one is probably the preferred resolution).  See also bug 425702 .
Comment 1 Hans de Graaff gentoo-dev Security 2015-07-05 18:44:45 UTC
I've traced the origin of the script back to bug 186937 where it was contributed by Henning Schild with the GPL-2 headers already there. Henning, could you indicate if you would relicense this script to either the MIT or Ruby license so that we don't need to add another license to the rubygems ebuild?
Comment 2 Henning Schild 2015-07-06 06:26:01 UTC
Please relicense to MIT or Ruby, whichever you think fits best.
Comment 3 Jonas Stein gentoo-dev 2018-07-11 21:44:32 UTC
Is anything else required to close this ticket?
Comment 4 Henning Schild 2018-07-12 15:55:29 UTC
I could add a signed-off somewhere if that helps. But instead of licensing the init script like ruby, i would prefer to licence it like gentoo and add that licence to the ebuild. That must have been my intention when i said GPL v2, but i am not even sure that is the preferred licence for that kind of stuff.
Comment 5 Henning Schild 2018-07-12 16:08:11 UTC
I will send a github PR to fix that.
Comment 6 Henning Schild 2018-07-12 20:27:15 UTC
https://github.com/gentoo/gentoo/pull/9206
Comment 7 Larry the Git Cow gentoo-dev 2018-07-15 18:22:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e40d17ea70fa5344add88d1397ea7ea58c4d9ec8

commit e40d17ea70fa5344add88d1397ea7ea58c4d9ec8
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2018-07-15 16:31:15 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2018-07-15 18:21:54 +0000

    dev-ruby/rubygems: add GPL-2 to the LICENSE to cover init script
    
    Bump versions to -r1 to force remerge.
    
    Closes: https://bugs.gentoo.org/425936
    Signed-off-by: Henning Schild <henning@hennsch.de>

 dev-ruby/rubygems/{rubygems-2.7.6.ebuild => rubygems-2.7.6-r1.ebuild} | 2 +-
 dev-ruby/rubygems/{rubygems-2.7.7.ebuild => rubygems-2.7.7-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)