From e8d4642801ca5304d8255c837be174e4ae14a105f7ada22f630e5469252d96e2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 7 Jan 2025 12:41:16 +0000 Subject: [PATCH] - libisds-build-fix.patch: fix build with gcc14 OBS-URL: https://build.opensuse.org/package/show/network/libisds?expand=0&rev=31 --- .gitattributes | 23 +++++ .gitignore | 1 + libisds-0.11.2.tar.xz | 3 + libisds-0.11.2.tar.xz.asc | 16 +++ libisds-build-fix.patch | 12 +++ libisds.changes | 204 ++++++++++++++++++++++++++++++++++++++ libisds.keyring | 65 ++++++++++++ libisds.spec | 104 +++++++++++++++++++ 8 files changed, 428 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libisds-0.11.2.tar.xz create mode 100644 libisds-0.11.2.tar.xz.asc create mode 100644 libisds-build-fix.patch create mode 100644 libisds.changes create mode 100644 libisds.keyring create mode 100644 libisds.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libisds-0.11.2.tar.xz b/libisds-0.11.2.tar.xz new file mode 100644 index 0000000..eeecdd4 --- /dev/null +++ b/libisds-0.11.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6146f837b27b11a6071e2148f7ae64521b4d8ad45325f998fe7b373137e418fb +size 746388 diff --git a/libisds-0.11.2.tar.xz.asc b/libisds-0.11.2.tar.xz.asc new file mode 100644 index 0000000..c28a8ed --- /dev/null +++ b/libisds-0.11.2.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE4/QvzhVoMKgDWObpT9GuwzZa978FAmJJvkwACgkQT9GuwzZa +97/YWBAAmUIj1hTUSF3zKjpeQlhQjazRR7sUwR5hvoBHbRfUqeUAJZTUkGxIBNNA +/psLJ6tOh137s+wDDuCO8vQx2g8DpGEAHxLN6KYEgzqqLdx98ME4g9hcJPJyPCQa +SaiYy022CpsqPa/TjhzYjktWdPCaw/muKgfpHWQu84OI44Zzq7saGl7EE1YQIF41 +KIfUD/9Ml26gIg/g8VbmIXDuYNiu80XXFUO9q1seGKqB6yFNtGqKQ5ZPCgaeqE3H +ICHx5sE3pzrTQ8Ycuzw3HFF3RxSn76MlDwNeNYOZmOi/YXvKqOcS8ppD/6VCBgwO +FYsqwIXLYf9wkbPDsAim7/lN6hbkrNW7NVDKx+avp1Tn8NMQu1jl0FI5Cl3CZxxV +j8FusSSiy2Yn1RpChUhXqgNvFrM5/aECveRo51a0vgFoCYbdx+n0TlQXF3r4JzGF +u9eElugG4jUlXbj6a+IKszhNpli/K4TmUBWS4XhnnccXJ3oVAK9WSMd3czWW5Nxq +HCkRw3dU/2y4xoNyrxCScJw8tA8H/dIeAb1GdOkb+vhH9AS0+f6+0mNi8XboOB8W +aXBQ/m4bOfdBTaumzXvpAbiUSbqXnX1TpU5Srxc6wfKtA96aH65Iq+IGoUA9yuDM +lgtDtXG225qt6yp4nhTh2Iz2PYcpW+QIgbyUBHByq0qMW/dsXh0= +=5pSD +-----END PGP SIGNATURE----- diff --git a/libisds-build-fix.patch b/libisds-build-fix.patch new file mode 100644 index 0000000..d02475e --- /dev/null +++ b/libisds-build-fix.patch @@ -0,0 +1,12 @@ +Index: libisds-0.11.2/test/simline/service.c +=================================================================== +--- libisds-0.11.2.orig/test/simline/service.c ++++ libisds-0.11.2/test/simline/service.c +@@ -5,6 +5,7 @@ + #include "services.h" + #include "system.h" + #include ++#include + #include /* For intmax_t */ + #include /* For PRIdMAX */ + #include /* for isdigit() */ diff --git a/libisds.changes b/libisds.changes new file mode 100644 index 0000000..302d07e --- /dev/null +++ b/libisds.changes @@ -0,0 +1,204 @@ +------------------------------------------------------------------- +Fri Nov 15 09:01:37 UTC 2024 - Marcus Meissner + +- libisds-build-fix.patch: fix build with gcc14 + +------------------------------------------------------------------- +Sat Dec 3 10:53:54 UTC 2022 - Dirk Müller + +- update to 0.11.2: + * A build failure with Musl C library and new warnings with GCC 12 were fixed. + * Building with GCC 10, which defaults to tentative definitions of global + variables now as with -fno-common option and resulted into + an error about multiple definitions of a variable, was fixed. +- drop tests-Fix-building-with-GCC-10.patch (upstream) + +------------------------------------------------------------------- +Fri Jun 5 05:17:39 UTC 2020 - Jiri Slaby + +- add tests-Fix-building-with-GCC-10.patch + +------------------------------------------------------------------- +Thu Nov 28 12:37:33 UTC 2019 - Jiri Slaby + +- Version bump to 0.11: + * mobile key authentication + * manual pages are generated + * compatibility with OpenSSL 1.1.0 +- drop %check as it does nothing (and breaks build ATM) +- Drop merged patch fix-gnutls-3.6.4.patch + +------------------------------------------------------------------- +Sun Jun 2 19:25:08 UTC 2019 - Jan Engelhardt + +- Adjust SRPM group. + +------------------------------------------------------------------- +Wed May 22 18:48:46 UTC 2019 - Pedro Monreal Gonzalez + +- Use the default GPGme library instead of OpenSSL [bsc#1135761] + +------------------------------------------------------------------- +Tue May 21 07:29:12 UTC 2019 - Jiri Slaby + +- add fix-gnutls-3.6.4.patch (fixes build) + +------------------------------------------------------------------- +Mon Aug 13 07:09:37 UTC 2018 - tchvatal@suse.com + +- Version bump to 0.10.8: + * Various memory leaks fixed + * Recognise EV8 + +------------------------------------------------------------------- +Wed Jul 19 11:45:05 UTC 2017 - jslaby@suse.com + +- Version bump to 0.10.7: + * l10n: Update translation catalogues + * doc: Annotate documentation for new box types + * Added OVM_FO, OVM_PFO and OVM_PO box types. + * Add missing user and sender types to example client... + * Added PFO_AUDITOR box type. + * Added RECEIVER and GUARDIAN user types. + +------------------------------------------------------------------- +Sun Jun 4 06:26:27 UTC 2017 - tchvatal@suse.com + +- Disable werror + +------------------------------------------------------------------- +Thu Oct 20 11:57:02 UTC 2016 - jslaby@suse.com + +- Version bump to 0.10.6: + * l10n: Update translation catalogues + * Adapt to OpenSSL 1.1.0 + +------------------------------------------------------------------- +Mon Oct 10 08:27:44 UTC 2016 - jslaby@suse.com + +- Version bump to 0.10.5: + * l10n: Update translation catalogues + * Added a new value into isds_DbState. + * Fixed a bug. User identification didn't work properly. + +------------------------------------------------------------------- +Mon Apr 11 18:09:19 UTC 2016 - mpluskal@suse.com + +- Add gpg signature +- Small cleanup with spec-cleaner + * use valid rpm category + * use pkgconfig() style dependencies +-Update build dependencies + * add gpgme-devel + +------------------------------------------------------------------- +Mon Apr 11 15:32:40 UTC 2016 - jslaby@suse.com + +- Version bump to 0.10.3: + * l10n: Update translation catalogues + * Correct _isds_build_url_from_context() documentation + * Do not use dolar in formatting strings + * Fixed a potential bug when printing debugging information. + * Fix building without libcurl + +------------------------------------------------------------------- +Mon Sep 7 08:19:41 UTC 2015 - tchvatal@suse.com + +- Version bump to 0.10.1: + * Fix expired certificates so the testsuite pass again + +------------------------------------------------------------------- +Mon Jan 12 08:16:39 UTC 2015 - tchvatal@suse.com + +- Cleanup for openSUSE +- Version bump to 0.10: + * A new ISDSSearch2 service was implemented by an isds_find_box_by_fulltext() + function. + * The OpenSSL library can be used instead of the default GPGme library by + specifying --enable-openssl-backend option to the configure script. + * When parsing ISO 8601 date-time strings from a server response, microsecond + fractions are properly rounded (half up) now. + * An use-after-free bug in parsing SOAP response has been fixed. + * Handling su_seconds_t type used in the timeval structure was corrected to + enable flawless compilation with Mac OS X standard library. + * Various signedness mismataches which could lead to an undefined behaviour + were fixed. + * A work-around for accessing the strdup(3) function in Mac OS X standard + library was applied. + +------------------------------------------------------------------- +Tue Aug 12 00:00:00 UTC 2014 - ppisar@redhat.com + +- 0.9 bump + +------------------------------------------------------------------- +Wed Apr 2 00:00:00 UTC 2014 - ppisar@redhat.com + +- Use _DEFAULT_SOURCE where _BSD_SOURCE macro presents to satisfy glibc-2.19.90 + +------------------------------------------------------------------- +Mon Oct 21 00:00:00 UTC 2013 - ppisar@redhat.com + +- 0.8 bump + +------------------------------------------------------------------- +Wed Mar 27 00:00:00 UTC 2013 - ppisar@redhat.com + +- Update config.sub to support aarch64 (bug #925782) + +------------------------------------------------------------------- +Thu Jan 3 00:00:00 UTC 2013 - ppisar@redhat.com + +- 0.7 bump + +------------------------------------------------------------------- +Wed Oct 31 00:00:00 UTC 2012 - ppisar@redhat.com + +- 0.6.2 bump + +------------------------------------------------------------------- +Tue Oct 30 00:00:00 UTC 2012 - ppisar@redhat.com + +- 0.6.1 bump + +------------------------------------------------------------------- +Thu Mar 3 00:00:00 UTC 2011 - ppisar@redhat.com + +- 0.5 bump (breaks ABI, API preserved) +- Remove aplied patch and GPG hack + +------------------------------------------------------------------- +Fri Feb 11 00:00:00 UTC 2011 - ppisar@redhat.com + +- Rebuild with GCC 4.6 +- Remove BuildRoot stuff +- Make devel subpackage dependencies ISA specific + +------------------------------------------------------------------- +Mon Dec 20 00:00:00 UTC 2010 - ppisar@redhat.com + +- 0.4 bump, it breaks ABI +- Use smaller xz archive instead of bzip2 +- Do tests in parallel + +------------------------------------------------------------------- +Tue Jun 29 00:00:00 UTC 2010 - ppisar@redhat.com + +- 0.3.1 version bump +- Create ~/.gnupg to workaround bug in gnupg2-smime + +------------------------------------------------------------------- +Tue Apr 13 00:00:00 UTC 2010 - ppisar@redhat.com + +- New version 0.2.1 released by upstream + +------------------------------------------------------------------- +Thu Feb 11 00:00:00 UTC 2010 - mcepl@redhat.com + +- Fixing small issue with documentation for package review + +------------------------------------------------------------------- +Tue Feb 9 00:00:00 UTC 2010 - mcepl@redhat.com + +- Initial packaging effort + diff --git a/libisds.keyring b/libisds.keyring new file mode 100644 index 0000000..5de0a66 --- /dev/null +++ b/libisds.keyring @@ -0,0 +1,65 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF84+m4BEADyEpDXlc9T2N/ZX/7TnpRuIAqJ0IAxrvtnASc9h8AuolDPyxPo +GUUhDypucPpwm5T1M6Tz64XyDkXfTA2gGZSjx/s+GI/a5KMJ3jX+woIum1HgNTnd +E0e4BmsMKdQyIX4mD184DT6YxjG3+70z+FzFVDhnIX2f9dhiPUjSUk+wqgTxkyH3 +A9JOrbd8Bk0S4hDqU+5zEpHcdc6Xs/9B2LwCc2D89fMXhd7Eo2/FxXc7Zg6RID9X +wSydVIC0w5lNBHHg6KibX7VHZnC5cncOaoYrx3tFKKah/A1Wj8wleAKqN048P/wx +ENRzzygB7Myf6xdMjFDw+F5dj4MPkz4w+dnxtB56g9pRqhM0Zo+mUl9AvMrq4qXa +sTKPz8LUofQlvpWARS60z/Wm8lSB5mKK+KLRNl+IQE7xvm9jjIsJbt+mep0iTkrh +A4ahU/Bu3O1jZizRMd/d+xu9Gd+g1tb55KkAXdzJiF9TXFSUcQKAy6TbzVVtu09u +t+26GELiB0R3z0UTAA2Z8kL3Lr02ZbCQCn7ZvAe5R+uHh3XYxC8gCZozp9R8xSVu +01Z4s+OwVm7wxTEaR1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ISRcAqI/Q3mADQmIOkkO2yZshd +p/fEesB2N9KYGXDx0AUj7/luUBpsu86Sa01kR67kSZaeXSqV2qbRkP58pDm7uGgM +C7sp5cVBsa9FyuTGCepo +=Wok3 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/libisds.spec b/libisds.spec new file mode 100644 index 0000000..df427f5 --- /dev/null +++ b/libisds.spec @@ -0,0 +1,104 @@ +# +# spec file for package libisds +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define libname %{name}5 +Name: libisds +Version: 0.11.2 +Release: 0 +Summary: Library for accessing the Czech Data Boxes +License: LGPL-3.0-or-later +Group: Development/Libraries/C and C++ +URL: http://xpisar.wz.cz/libisds/ +Source0: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz +Source1: http://xpisar.wz.cz/%{name}/dist/%{name}-%{version}.tar.xz.asc +Source2: %{name}.keyring +Patch0: libisds-build-fix.patch +BuildRequires: docbook-xsl-stylesheets +BuildRequires: gpg2 +BuildRequires: libgcrypt-devel +BuildRequires: libgpgme-devel +BuildRequires: pkgconfig +BuildRequires: xsltproc +BuildRequires: pkgconfig(expat) >= 2.0.0 +BuildRequires: pkgconfig(gnutls) >= 2.12.0 +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libxml-2.0) +Requires: gpg2 + +%description +This is a library for accessing ISDS (Informační systém datových schránek / +Data Box Information System) SOAP services as defined in Czech ISDS Act +(300/2008 Coll.) and implied documents. + +%package -n %{libname} +Summary: Library for accessing the Czech Data Boxes +Group: System/Libraries + +%description -n %{libname} +This is a library for accessing ISDS (Informační systém datových schránek / +Data Box Information System) SOAP services as defined in Czech ISDS Act +(300/2008 Coll.) and implied documents. + +%package devel +Summary: Development files for %{name} +Group: Development/Languages/C and C++ +Requires: %{libname} = %{version} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%prep +%autosetup -p1 + +%build +%configure \ + --disable-fatalwarnings \ + --disable-static \ + --enable-test \ + --with-docbook-xsl-stylesheets=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/ \ + --with-libcurl \ + --disable-openssl-backend +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +%find_lang %{name} +mv doc specification +rm -rf client/.deps +rm -f specification/Makefile* +rm -f specification/*.3 + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} -f %{name}.lang +%license COPYING +%doc README AUTHORS NEWS TODO +%{_libdir}/*.so.* + +%files devel +%{_includedir}/isds.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc +%{_mandir}/man3/*.3%{?ext_man} +%doc client specification + +%changelog