Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
ShadowHawk
Jun 25, 2000

CERTIFIED PRE OWNED TESLA OWNER

Lord Windy posted:

My understanding of GPL is if you use any portion of source covered under a GPL license it means that all corresponding source is now covered under a GPL license. It being a copyleft license and all.
Sorta, sorta not. It depends what you mean by "use".

Stuff like copying source code is clearly use. Stuff like linking to a library and running functions is also use (and why we have the LGPL).

But not all dependency relationships in package systems are that sort of use. A shell script that depends on and makes extensive use of the sed command, for instance, does not become GPL simply because sed is.

Put more simply, it's quite plausible that capistrano is doing nothing wrong by being MIT-licensed even though it depends on sshkit.

Adbot
ADBOT LOVES YOU

Suspicious Dish
Sep 24, 2011

2020 is the year of linux on the desktop, bro
Fun Shoe
Keep in mind that courts and the FSF disagree on what makes one piece of software a derivative from another. The GPL hasn't been that widely tested in the US court.

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

ShadowHawk posted:

Stuff like linking to a library and running functions is also use (and why we have the LGPL).

In the case of dynamic linking, where the GPL library is not distributed as part of the same unit as the dependent program (vs "mere aggregation" as in a Linux distro), the GPL doesn't impose requirements to my knowledge. The covered code is not "conveyed" as described in sections 5 or 6.

Jabor
Jul 16, 2010

#1 Loser at SpaceChem

Subjunctive posted:

In the case of dynamic linking, where the GPL library is not distributed as part of the same unit as the dependent program (vs "mere aggregation" as in a Linux distro), the GPL doesn't impose requirements to my knowledge. The covered code is not "conveyed" as described in sections 5 or 6.

Even if the GPL were to impose such requirements, they'd be entirely unenforceable, since the creator and distributor of the software isn't doing anything with the GPL'd library that would require the copyright holder's authorisation.

The way the GPL (and other copyleft licences) work is by authorising people to make and distribute copies of the work as long as they abide by the licence - if you don't abide by the terms, you don't have the copyright holder's authorisation, and they can sue you if you redistribute the GPL'd library or any derived works. There's no way for such copyleft licences to prevent you from doing things that you're allowed to do anyway under copyright law.

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

Jabor posted:

There's no way for such copyleft licences to prevent you from doing things that you're allowed to do anyway under copyright law.

We're in a magical world in the US now, post-Sega/Oracle/Alice where there is some credence lent to the idea that APIs can have copyright protection, alas. But yes, you're of course right, and that's a stronger reason that the passage I quoted is in error or at least over-broad.

  • Locked thread