Is there a Gradle License Plugin or What is the best way to handle Licenses of Dependencies? [closed] - licensing

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm about to release a little hobby open source project. Since it bundles a bunch of dependencies I have to take care of the various license requirements. Most of the time this means adding some license file to the distribution (at least that is my understanding, but you never know about lawyers).
Is there a Gradle plugin that takes care of that, at least for the common Open Source Licenses?
If there is no Gradle plugin, is there an accepted approach to handle this, like listing all the jars + the license after the own license, or putting a *.license file next to each *.jar file or something?

There is a Gradle License Plugin on Github (I'm the maintainer). Currently the plugin only adds and removes License headers to your source files. There is no support yet for adding the licenses of jar dependencies to a LICENSE file, but that shouldn't be too hard to add, just haven't had the time yet.

Related

Obfuscating CakePHP code [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
We have a commercial application created on CakePHP. I'm about to install it on a client's server, so we'd like to protect my code from being modyfied and/or copied and reselled, changing trial period terms, etc.
I want to know if obfuscating the Cake PHP code breaks Cake specific libraries, or make the application unusable.
I've been searching on this forum and over internet and found several options for obfuscating PHP code, but none related to CakePHP. (I just asked to some of the commercial tools providers if they support Cake obfuscating but haven't received an answer yet).
Does anybody know if this is possible or if there's a better approach to do that?
I'll try to use one of the trial versions of the commercial tools this weekend, but if someone has an advice about this would be great
My company, Semantic Designs, is one of the commercial vendors.
With a decent obfuscator (ahem :) you shouldn't have any trouble doing this. You need to tell the obfuscator somehow (with ours you just provide a list of symbol names) what identifiers have to be retained as cleartext (e.g., any calls to the CakePHP framework), and any public APIs your software may offer.
I'd recommend, you give it a shot and try it out.
Usually, an obfuscator should obfuscate frameworks, too. It should be independent of what kind of PHP Code you use.
Test it in a test environment. If it's successful, you can enroll it to your production environment.

Dependency between project licence and its dependencies' licenses [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
When I'm defining a license for my open software project, should I consider my project's dependencies and based on them define license for my project?
Can anybody give me an example of license infringement in terms of dependencies licenses and my project license?
When I'm defining a license for my open software project, should I consider my project's dependencies and based on them define license for my project?
Yes, you should learn about which usage terms your dependencies have, so you know what you can do with the code.
If you have multiple dependencies, you need to check whether you can use them alltogether and under which conditions.
This can influence your own licence choice as well, as most software licenses explicitly operate that way.
You could run into problems if, for example, you link against a GPL library but your license is not GPL compatible. Here is the FSF faq entry on the subject.
If a library is released under the GPL (not the LGPL), does that mean that any software which uses it has to be under the GPL or a GPL-compatible license?
Yes, because the software as it is actually run includes the library.
The same situation could arise if you combine any two incompatible licenses, depending on how they interact, but I think that will be the major pain point.

LGPL/public-domain equivalent of Apache log4cxx? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there an equivalent of Apache log4cxx that can be embedded in a distributed proprietary package?
The Apache license allows you to use this package in your product even if it is closed source and commercial. See http://en.wikipedia.org/wiki/Apache_License
Alternatively take a look at log4cpp which is under LGPL.
Log4cplus is a nice alternative.
In its production release 1.0.4 it misses AsyncAppender, but that is present in the coming 1.1 (I don't know when that is released).
We just switched from log4cxx to log4cplus since log4cxx depends on libapr/libaprutil (nice Apache 2 license) which on my Ubuntu 10.04 again depends on libdb4.8.so. The license for libdb4.8 not fit closed source commercial applications without buying a license from Oracle. From /usr/share/doc/libdb4.8/copyright:
... For a license to use the Berkeley DB software under conditions
other than those described here, or to purchase support for this software,
please contact Oracle at berkeleydb-info_us#oracle.com.
...(some more text)
3. Redistributions in any form must be accompanied by information on
how to obtain complete source code for the DB software and any
accompanying software that uses the DB software. ...

I need a licens for an opensource project, that specifies not free for comertial use [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am developing a web based opensource project. I was considering the AGPL v3, but I explicitly want to prevent commercial use. Non-profit orgs are welcome to use it for free.
It seems to be a common thing in the software world, but I am looking for a pre-written license that I could use or adapt.
Any ideas where I can find such a thing? Are there accepted opensource licenses that fit this criteria?
It is not a good idea to use such a license, because it is sometimes very hard to draw the line between commercial and non-commercial, especially juridically.
However, you may check out Creative Commons licenses.
You won't find any open source licenses that prevent commercial use. That's against the spirit of open source and wouldn't fit into the definition of open source.
There cannot possibly be such a license. Forbidding the use of the source code is the exact opposite of open source. Ergo, there cannot ever possible be an open source license which has such a restriction, and a license which has such a restriction cannot ever possibly be an open source license.

Decoding scuba dive computer log files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Does anyone know of any libraries that decode one or more of the multitude of different scuba dive computer log file formats?
DAN DL7
IRIS / DRAK
Suunto
Oceanlog
Citizen
ProDive
NiTek Logic
DCDS
Ideally I'm looking for code that'll run in .NET, but I'm willing to transcode from other languages if that's the only option.
Links to articles describing formats is appreciated as well. Sample log files would be handy.
I'm considering creating an open source project for this if no such library already exists. If you'd like to contribute, please mention so as a comment or in your answer.
I have no experience with this but Google turned up the library libdivecomputer.
It supports a number of devices and platforms, and the library is LGPL licensed. However, not all brands you mention appear to be supported.
You can always try contacting the manufacturers to get the data. You might have better luck contacting the engineers specifically, if you can find them.
I don't know much about the industry, but I would suspect you can make a case for opening up their formats, because they are primarily hardware manufacturers.

Resources