Hello community, here is the log from the commit of package gengetopt for openSUSE:Factory checked in at 2018-11-18 23:22:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gengetopt (Old) and /work/SRC/openSUSE:Factory/.gengetopt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gengetopt" Sun Nov 18 23:22:23 2018 rev:15 rq:648761 version:2.22.6 Changes: -------- --- /work/SRC/openSUSE:Factory/gengetopt/gengetopt.changes 2018-04-16 12:48:39.429836707 +0200 +++ /work/SRC/openSUSE:Factory/.gengetopt.new/gengetopt.changes 2018-11-18 23:22:27.866188802 +0100 @@ -1,0 +2,7 @@ +Mon Nov 12 13:54:22 CET 2018 - [email protected] + +- Fix glibc license (savannah#54996): + * gengetopt-glibc-license.patch +- Add makeinfo to BuildRequires. + +------------------------------------------------------------------- New: ---- gengetopt-glibc-license.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gengetopt.spec ++++++ --- /var/tmp/diff_new_pack.n3hXbf/_old 2018-11-18 23:22:28.454188084 +0100 +++ /var/tmp/diff_new_pack.n3hXbf/_new 2018-11-18 23:22:28.462188074 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -26,10 +26,13 @@ Source0: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz Source1: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.gz.sig Source2: %{name}.keyring +# PATCH-FIX-UPSTREAM [email protected] savannah54996 -- Fix glibc license. https://savannah.gnu.org/bugs/?54996 +Patch1: gengetopt-glibc-license.patch BuildRequires: bison BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: help2man +BuildRequires: makeinfo Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} @@ -42,6 +45,7 @@ %prep %setup -q +%patch1 -p1 %build %configure ++++++ gengetopt-glibc-license.patch ++++++ >From ebe3207f870ca379c32c61edcb75466a86ba6e93 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec <[email protected]> Date: Fri, 9 Nov 2018 19:11:17 +0100 Subject: [PATCH] Fix licensing clash The glibc code is LGPL 2.1 or later. Fix it in the generated files and mention this fact in the documentation. Fixes bug #54996. --- doc/gengetopt.texinfo | 3 +++ src/skels/custom_getopt_gen.cc | 2 +- src/skels/custom_getopt_gen.h_skel | 2 +- tests/test_first_cmdline_cmd.c.test | 2 +- tests/test_second_cmdline_cmd.c.test | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/gengetopt.texinfo b/doc/gengetopt.texinfo index c0d9c39..a5c1d80 100644 --- a/doc/gengetopt.texinfo +++ b/doc/gengetopt.texinfo @@ -168,6 +168,9 @@ licensed with a simple all-permissive license instead of the GPL or LGPL. You are free to do anything you like with the generated code, including incorporating it into or linking it with proprietary software. +If you use @code{--include-getopt}, then Gengetopt adds a getopt code +that is licensed under LGPL 2.1 or later. + Gengetopt was originally written by Roberto Arturo Tena Sanchez. It is currently maintained by Lorenzo Bettini @value{myhomepage}. diff --git a/src/skels/custom_getopt_gen.cc b/src/skels/custom_getopt_gen.cc index abab5f6..40dfa6b 100644 --- a/src/skels/custom_getopt_gen.cc +++ b/src/skels/custom_getopt_gen.cc @@ -21,7 +21,7 @@ custom_getopt_gen_gen_class::generate_custom_getopt_gen(ostream &stream, unsigne stream << " *"; stream << "\n"; stream << indent_str; - stream << " * Licensed under the GPL as per the whole glibc source tree."; + stream << " * Licensed under the LGPL 2.1 or later as per the whole glibc source tree."; stream << "\n"; stream << indent_str; stream << " *"; diff --git a/src/skels/custom_getopt_gen.h_skel b/src/skels/custom_getopt_gen.h_skel index 36a4bf6..9a245ed 100644 --- a/src/skels/custom_getopt_gen.h_skel +++ b/src/skels/custom_getopt_gen.h_skel @@ -1,7 +1,7 @@ /* * Extracted from the glibc source tree, version 2.3.6 * - * Licensed under the GPL as per the whole glibc source tree. + * Licensed under the LGPL 2.1 or later as per the whole glibc source tree. * * This file was modified so that getopt_long can be called * many times without risking previous memory to be spoiled. diff --git a/tests/test_first_cmdline_cmd.c.test b/tests/test_first_cmdline_cmd.c.test index 5dd6224..8e6537f 100644 --- a/tests/test_first_cmdline_cmd.c.test +++ b/tests/test_first_cmdline_cmd.c.test @@ -560,7 +560,7 @@ test_first_cmdline_cmd_parser_required2 (struct test_first_cmdline_cmd_struct *a /* * Extracted from the glibc source tree, version 2.3.6 * - * Licensed under the GPL as per the whole glibc source tree. + * Licensed under the LGPL 2.1 or later as per the whole glibc source tree. * * This file was modified so that getopt_long can be called * many times without risking previous memory to be spoiled. diff --git a/tests/test_second_cmdline_cmd.c.test b/tests/test_second_cmdline_cmd.c.test index f6720d2..3edfd3d 100644 --- a/tests/test_second_cmdline_cmd.c.test +++ b/tests/test_second_cmdline_cmd.c.test @@ -569,7 +569,7 @@ test_second_cmdline_cmd_parser_required2 (struct test_second_cmdline_cmd_struct /* * Extracted from the glibc source tree, version 2.3.6 * - * Licensed under the GPL as per the whole glibc source tree. + * Licensed under the LGPL 2.1 or later as per the whole glibc source tree. * * This file was modified so that getopt_long can be called * many times without risking previous memory to be spoiled. -- 2.19.1
