How to license code as LGPL

I want to license the code I was working on.

I hope to achieve.

  • The code can be used in other open source projects.
  • The code can be used in open source projects if any changes / imrpovements / additions / or other changes to the code become available to the open source community without causing non-open source code to be available.

I'm leaning towards the LGPL, but I'm curious how to do this.

I looked at http://www.gnu.org/licenses/lgpl.html for information on LGPL and also looked at http://www.gnu.org/licenses/gpl-howto.html .

What I would like to know: - Is LGPL the best license for what I'm trying to achieve? - Is there a place where I can find a specific wording that I need to place in my code in order to license it as LGPL

After reading how to license on the GNU page, I came across this wording.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 

Reading How to use the GNU license documentation, this text confuses me. "All programs, whether released under the GPL or LGPL, should include a text version of the GPL." I am curious if the below is enough LGPL license.

 This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU General Public License and GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. 
+4
source share
1 answer

Do you have a screen saver or something like that? Put a button on it that says β€œLicenses”, and when you click on it, you will see a list of the license code that you used, including your licenses.

It seems too easy, what I do not understand?

0
source

Source: https://habr.com/ru/post/1381750/


All Articles