domingo, 25 de noviembre de 2012

Licencias para tu código de software libre

Cualquier desarrollador se ha planteado alguna vez que licencia libre utilizar para liberar su código como software libre. A continuación se proporciona una lista  (ni completa  ni exhaustiva) que puede ayudar en un primer momento.

La licencia se suele poner en la cabeza de todos los ficheros si es pequeña, de lo contrario se puede poner un resumen y hacer referencia a otro fichero que contenga completamente la licencia. Se podría hacer referencia a una URL, pero se recomienda que esté incluida en los ficheros por la posibilidad de que ese enlace desaparezca en un futuro.

Comencemos con la lista.

0.1.- Academic/permissive - The ISC License - the shortest license
 
Copyright (c) Year(s), Company or Person’s Name <E-mail address>. All rights reserved.
 

  • Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

0.2.- Academic/permissive - The Simplified (“2-clause”) BSD License

Copyright (c) <year>, <copyright holder>. All rights reserved.


Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



 0.3.- Academic/permissive - The Apache License 2.0
/* Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


0.3.- Academic/permissive - The MIT License (MIT)
Copyright (c) <year>, <copyright holder>

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
 

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.



1.1.- Weak copyleft - The Mozilla Public License (MPL)


/*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is AUTHOR, released
* DATE
*
* The Initial Developer of the Original Code is
* AUTHOR
* Portions created by the Initial Developer are Copyright (C) YYYY
* the Initial Developer. All Rights Reserved.
*/


http://www.mozilla.org/MPL/


 
1.2.- Weak copyleft - The Lesser GPL (LGPL), version 3

Copyright (c) <year>, <copyright holder>

This program is free software: you can redistribute it and/or modify
it under the terms of the Lesser 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 Lesser GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

2.1.- Strong copyleft - The GNU GPL, version  3

Copyright (c) <year>, <copyright holder>

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/>.

2.2.- Strong copyleft - The Affero GPL, version 3

Copyright (c) <year>, <copyright holder>

This program is free software: you can redistribute it and/or modify
it under the terms of the Affero 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 Affero GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

3.0.- Varias licencias (MPL, GPL, LGPL)
        # Copyright (c) <year>, <copyright holder>
     2 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
     3 #
     4 # The contents of this file are subject to the Mozilla Public License Version
     5 # 1.1 (the "License"); you may not use this file except in compliance with
     6 # the License. You may obtain a copy of the License at
     7 # http://www.mozilla.org/MPL/
     8 #
     9 # Software distributed under the License is distributed on an "AS IS" basis,
    10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
    11 # for the specific language governing rights and limitations under the
    12 # License.
    13 #
    14 # The Original Code is Mozilla.
    15 #
    16 # The Initial Developer of the Original Code is
    17 # the Mozilla Foundation <http://www.mozilla.org/>.
    18 # Portions created by the Initial Developer are Copyright (C) 2007
    19 # the Initial Developer. All Rights Reserved.
    20 #
    21 # Contributor(s):
    22 #  name <mail>
    23 #
    24 # Alternatively, the contents of this file may be used under the terms of
    25 # either the GNU General Public License Version 2 or later (the "GPL"), or
    26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
    27 # in which case the provisions of the GPL or the LGPL are applicable instead
    28 # of those above. If you wish to allow use of your version of this file only
    29 # under the terms of either the GPL or the LGPL, and not to allow others to
    30 # use your version of this file under the terms of the MPL, indicate your
    31 # decision by deleting the provisions above and replace them with the notice
    32 # and other provisions required by the GPL or the LGPL. If you do not delete
    33 # the provisions above, a recipient may use your version of this file under
    34 # the terms of any one of the MPL, the GPL or the LGPL.



Referencias:
[1] Free Software licenses Legal Aspects – Master on Free Software 2012-13

No hay comentarios:

Publicar un comentario