Creative Commons License
Excepto donde se indique otra cosa, todo el contenido de este lugar está bajo una licencia de Creative Commons.
Taquiones > perl > Licencia GPL en módulos Perl

Licencia GPL en módulos Perl

Para cambiar la licencia a un módulo Perl de Artistic a GPL, ó construir uno bajo directamente bajo ésta última, se deben seguir los siguientes pasos:

  • Incluír el siguiente párrafo en la sección LICENCE AND COPYRIGHT de la documentación de cada módulo:

    Copyright (C) <año> <nombre e email del autor>
    
    
    This library 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 2.1 of the License, or (at your option) any later version.
    
    
    This library 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 Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  US
    

    y si es un programa ó no se autoriza su uso en programas propietarios, el texto es el siguiente:

    Copyright (C) <año> <nombre e email del autor>
    
    
    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 2 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, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
    

    Ambos están obtenidos de los documentos originales que en una distribución Debian se encuentran en /usr/share/common-licenses. Tengo dudas, eso sí, sobre si una traducción al español es actualmente válida; lo consultaré y actualizaré en breve en caso afirmativo.

  • Modificar el archivo Build.PL (en caso de utilizar --perlmb--) y cambiar la licencia a la indicada:

    1 
    2 my $builder = Module::Build->new(
    3     module_name         => 'IkiWiki::Plugin::syntax',
    4     license             => 'gpl',
    5     dist_author         => '"Victor Moral" <victor@taquiones.net>',
    6     dist_version_from   => 'lib/IkiWiki/Plugin/syntax.pm',
    7     requires => {
  • Si tenemos una estructura Debian para crear un paquete, modificar el archivo correspondiente (en este caso debian/copyright):

    This is the debian package for the IkiWiki-Plugin-syntax module.
    It was created by Victor Moral <victor@taquiones.net> using dh-make-perl.
    
    
    The upstream author is: "Víctor Moral" <victor@taquiones.net>.
    
    
    License:
    
    
    
    This package 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; version 2 dated June, 1991.
    
    
    This package 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 package; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
    02111-1307, USA.
    
    On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'.
  • Anotar el cambio si es necesario en los registros del paquete/módulo/programa y reconstruir todo ello.