- Update to version 2.2.3:

* Gengen and gengetopt are required when building from git. When
    building from tarball, everything works like it did before.
  * Drop IRIX compatibility
  * To mimic behaviour of coreutils, version string is no longer
    part of --help (bug #34400)
  * To mimic behaviour of coreutils, usage is printed before
    purpose in --help bug #34402)
  * Use singular (`[OPTION]...`, `[FILE]...`) instead of plural
    (`[OPTIONS]...`, `[FILES]...`) (bug #34394)
  * Fix spelling of `--unnamed`. `--unamed` still provided for
    backwards compatibility. (bug #34392)
- Drop no longer applying patches:
  * reproducible.patch
  * gengetopt-glibc-license.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools/gengetopt?expand=0&rev=30
This commit is contained in:
Martin Pluskal 2020-02-20 11:09:39 +00:00 committed by Git OBS Bridge
parent 066ece8363
commit 880134eeab
9 changed files with 210 additions and 159 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30b05a88604d71ef2a42a2ef26cd26df242b41f5b011ad03083143a31d9b01f7
size 1056293

Binary file not shown.

BIN
gengetopt-2.23.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gengetopt-2.23.tar.xz.sig Normal file

Binary file not shown.

View File

@ -1,84 +0,0 @@
From ebe3207f870ca379c32c61edcb75466a86ba6e93 Mon Sep 17 00:00:00 2001
From: Stanislav Brabec <sbrabec@suse.com>
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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Feb 20 11:02:48 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Update to version 2.2.3:
* Gengen and gengetopt are required when building from git. When
building from tarball, everything works like it did before.
* Drop IRIX compatibility
* To mimic behaviour of coreutils, version string is no longer
part of --help (bug #34400)
* To mimic behaviour of coreutils, usage is printed before
purpose in --help bug #34402)
* Use singular (`[OPTION]...`, `[FILE]...`) instead of plural
(`[OPTIONS]...`, `[FILES]...`) (bug #34394)
* Fix spelling of `--unnamed`. `--unamed` still provided for
backwards compatibility. (bug #34392)
- Drop no longer applying patches:
* reproducible.patch
* gengetopt-glibc-license.patch
-------------------------------------------------------------------
Fri Dec 28 09:07:29 UTC 2018 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -1,31 +1,180 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
GPG keys of Tim Marston <edam>
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)
mQINBE0p+nABEACrmVwLHoGTGDc5dXx4szsRh/qsWk6uPs1tV5X+FHov7FHCJ+Lt
lJ6G1MRiuKFsRXqUHlVo3rKPyi/qiGSJUi1CRthGBIhVdbq542MPstNFg23CExOd
4DQ2L3KYAeDkrbiqX58AHq8y7O9CxMiH93VTsJBkMdBB+LGynwqtzlcT9ZWBQp+0
GEQc77dH4vLZRhHCSPbfxD9evn3IPC9D0S5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1no
ITsOY+xCZEBpcI5z89tZ+WffuQENBDmGk9EQBADBgMAO7FCfCha3LY78s52WMQfN
IxHTL/otll5dMSBiqBm+USqBcMksW9NNiMPZIpvgisMuYmLWZg59PjD7IE7XIfgR
gUnMe8jzdwu/FZbS0yHbfiOR8wRbifhwfCLrdqQJyOyrPJ31LTNfSMU+YbwOyAWe
9jReabyDieBL/4GJswADBQP/S0PffNfPPf0f3YuHB7/56q7S4/ob0gIvOy/wjG5k
3dESZvrhBqZqCYDsICD1tQPc0DHhVupPdeybMwETihv200pFxB6zU4wg4oNG1YDk
ORJxfZ7/kab/Vo8vS8tb8ajrrTgHsTUnSkAc6zbFLr2bgHMd+qloM7qVYUTAVvuw
iF2ITgQYEQIABgUCOYaT0QASCRC0qoxonmKerAdlR1BHAAEBIBsAoIMPlrDxGVIM
E8k2/RCa2Kc+o+VcAJ9oEItTwi1pysvXpp1DzbhcGqn7Jw==
=7SMz
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
#
# spec file for package gengetopt
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,26 +17,20 @@
Name: gengetopt
Version: 2.22.6
Version: 2.23
Release: 0
Summary: Commandline parser generator
License: GPL-3.0-or-later
Group: Development/Languages/C and C++
URL: https://www.gnu.org/software/gengetopt/
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 sbrabec@suse.cz savannah54996 -- Fix glibc license. https://savannah.gnu.org/bugs/?54996
Patch1: gengetopt-glibc-license.patch
# PATCH-FIX-UPSTREAM bmwiedemann boo#1047218 https://savannah.gnu.org/bugs/index.php?55311
Patch2: reproducible.patch
Source0: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.xz
Source1: https://ftp.gnu.org/gnu/gengetopt/%{name}-%{version}.tar.xz.sig
Source2: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1#/%{name}.keyring
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-c++
BuildRequires: help2man
BuildRequires: makeinfo
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
%description
Gengetopt is a tool to generate C code to parse getopt styled command line
@ -46,13 +40,11 @@ add any run or compile time dependencies to your projects. Moreover
reading/writing the options from/to config files is also supported.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%autosetup
%build
%configure
make --jobs 1
%make_build
%install
%make_install
@ -65,7 +57,7 @@ rm -rf %{buildroot}%{_infodir}/dir
rm -rf %{buildroot}%{_datadir}/doc/%{name}
%check
make check --jobs 1
%make_build check
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
@ -79,6 +71,7 @@ make check --jobs 1
%doc doc/*.h doc/*.c doc/*.ggo doc/README.example
%{_bindir}/%{name}
%{_infodir}/%{name}.info%{?ext_info}
%{_infodir}/index.info%{?ext_info}
%{_mandir}/man1/%{name}.1%{?ext_man}
%changelog

View File

@ -1,26 +0,0 @@
https://savannah.gnu.org/bugs/index.php?55311
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2018-12-28
Use $SOURCE_DATE_EPOCH in mdate-sh
When patches touch input files, output files will contain the build date
making package build unreproducible.
See https://reproducible-builds.org/ for why this matters.
Index: gengetopt-2.22.6/build-aux/mdate-sh
===================================================================
--- gengetopt-2.22.6.orig/build-aux/mdate-sh
+++ gengetopt-2.22.6/build-aux/mdate-sh
@@ -75,6 +75,10 @@ export LC_ALL
LC_TIME=C
export LC_TIME
+if [ -n "$SOURCE_DATE_EPOCH" ] ; then
+ exec date -d "@$SOURCE_DATE_EPOCH" -u "+%d %B %Y"
+fi
+
# GNU ls changes its time format in response to the TIME_STYLE
# variable. Since we cannot assume `unset' works, revert this
# variable to its documented default.