From c13e661704b37a9fb20e8b9efeee214b909642e8ab0e7ce7e97d750408fd5e7f Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Mon, 30 Sep 2024 05:30:00 +0000 Subject: [PATCH] up to 0.7.0 OBS-URL: https://build.opensuse.org/package/show/network/libdatovka?expand=0&rev=20 --- .gitattributes | 23 +++++++ .gitignore | 1 + libdatovka-0.6.2.tar.xz | 3 + libdatovka-0.6.2.tar.xz.sha256 | 1 + libdatovka-0.7.0.tar.xz | 3 + libdatovka-0.7.0.tar.xz.sha256 | 1 + libdatovka.changes | 112 +++++++++++++++++++++++++++++++++ libdatovka.spec | 92 +++++++++++++++++++++++++++ 8 files changed, 236 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 libdatovka-0.6.2.tar.xz create mode 100644 libdatovka-0.6.2.tar.xz.sha256 create mode 100644 libdatovka-0.7.0.tar.xz create mode 100644 libdatovka-0.7.0.tar.xz.sha256 create mode 100644 libdatovka.changes create mode 100644 libdatovka.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/libdatovka-0.6.2.tar.xz b/libdatovka-0.6.2.tar.xz new file mode 100644 index 0000000..1e68ae9 --- /dev/null +++ b/libdatovka-0.6.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbf0b0f3b95b8dc7f2fdb99a1f4a1dcf6ea2180e1300449acb67beb9e7700f8c +size 720944 diff --git a/libdatovka-0.6.2.tar.xz.sha256 b/libdatovka-0.6.2.tar.xz.sha256 new file mode 100644 index 0000000..c17a5c6 --- /dev/null +++ b/libdatovka-0.6.2.tar.xz.sha256 @@ -0,0 +1 @@ +bbf0b0f3b95b8dc7f2fdb99a1f4a1dcf6ea2180e1300449acb67beb9e7700f8c diff --git a/libdatovka-0.7.0.tar.xz b/libdatovka-0.7.0.tar.xz new file mode 100644 index 0000000..ea69ab3 --- /dev/null +++ b/libdatovka-0.7.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5286c8787eb5eff270371a37cc6cedbda0b6978931671c2bc28026dde5b6950b +size 722344 diff --git a/libdatovka-0.7.0.tar.xz.sha256 b/libdatovka-0.7.0.tar.xz.sha256 new file mode 100644 index 0000000..9df3e18 --- /dev/null +++ b/libdatovka-0.7.0.tar.xz.sha256 @@ -0,0 +1 @@ +5286c8787eb5eff270371a37cc6cedbda0b6978931671c2bc28026dde5b6950b diff --git a/libdatovka.changes b/libdatovka.changes new file mode 100644 index 0000000..0301def --- /dev/null +++ b/libdatovka.changes @@ -0,0 +1,112 @@ +------------------------------------------------------------------- +Mon Sep 30 05:26:10 UTC 2024 - Jiri Slaby + +- update to 0.7.0 + * Assigned explicit values to enum isds_credit_event_type values. + * Added new value ISDS_CREDIT_DELETED_MESSAGE_RECOVERED and added + struct isds_credit_event_deleted_message_recovered. + * Changed URL to new source code download place. + +------------------------------------------------------------------- +Sun Mar 17 09:20:54 UTC 2024 - Dirk Müller + +- update to 0.6.2: + * Using XML_PARSE_NODICT in xmlReadMemory() because of old + libxml2 versions which may cause segmentation faults. + * Fixed VoDZ service locator assignment for MEP and TOTP (SMS) + authentication methods. + * Fixed parsing of large (mainly VoDZ) ZFO files with recent + libxml2 versions. + * Using xmlReadMemory() with XML_PARSE_HUGE option set. + +------------------------------------------------------------------- +Sat Jan 6 10:38:45 UTC 2024 - Dirk Müller + +- update to 0.6.0: + * Added isds_set_xferinfo_callback() as a replacement for + isds_set_progress_callback(). Marked + isds_set_progress_callback() as deprecated. + +------------------------------------------------------------------- +Mon Dec 4 10:59:57 UTC 2023 - Jiri Slaby + +- update to 0.5.1 + * Added missing test input files into source package. + * Optimisations inside isds_GetMessageAuthor2(), avoided copying of attribute + names. + * Added functions isds_GetListOfErasedMessages_interval(), + isds_GetListOfErasedMessages_month() and isds_GetListOfErasedMessages_year() + which implement the GetListOfErasedMessages ISDS operation. + * Added function isds_PickUpAsyncResponse() which implements the + PickUpAsyncResponse ISDS operation. + * Added function isds_load_erased_messages() which can be used to read data + from a XML-formatted decompressed asynchronous GetListOfErasedMessages + response. Actual decompression of obtained ZIP-compressed data isn't handled + by this library. + * Added support for the new PFO_ARCH, PFO_AIAT and PFO_AZI data-box types + introduced in the version 3.04 of the XSD and WSDL definitions. + * Added new elements dmFileGuid and dmUpFileGuid into struct isds_dmFile and + struct isds_dmExtFile. + +------------------------------------------------------------------- +Wed Sep 20 08:12:08 UTC 2023 - Jiri Slaby + +- update to 0.4.0 + * Added functions for new ISDS services + * Added variants of function for services + * Added new elements dmVODZ and attsNum into struct isds_envelope. + * Added new element ext_files into struct isds_message. + * Fixed compilation of simline/server_cli with musl libc. + * Favouring xmlBufferDetach() over setting XML_BUFFER_ALLOC_IMMUTABLE. + +------------------------------------------------------------------- +Fri Mar 3 06:07:15 UTC 2023 - Jiri Slaby + +- update to 0.3.0 + * Added idLevel member into struct isds_envelope. + * Added function isds_GetMessageAuthor2() which implements the + GetMessageAuthor2 ISDS operation and corresponding data structures. + * Modified the interface of function isds_set_opt() because of an ambiguity or + undefined behaviour in variable argument handling in C. + * Function isds_check_func_timegm() also checks time conversion using + struct tm containing negative hour values. + * Added support for the new PFO_REQ data-box type + introduced in the version 2.36 of the XSD and WSDL definitions. + * Disabled fatal warnings by default. + +------------------------------------------------------------------- +Mon Nov 15 07:56:22 UTC 2021 - Jiri Slaby + +- update to 0.2.1 + * Added function isds_DTInfo() which implements the DTInfo ISDS operation + and corresponding data structures. + +------------------------------------------------------------------- +Mon Aug 30 06:37:40 UTC 2021 - Jiri Slaby + +- update to 0.2.0 + * Added function isds_PDZSendInfo() which supports the PDZSendInfo ISDS + operation. + * Using struct isds_timeval instead of struct timeval in the library interface. + The new structure always uses 64-bit integers for seconds. + * Added functions to provide own time conversion functions for example in + situations in which the target system suffers from the year 2038 problem. + * Fixed memory leak inside isds_get_received_envelope(). + * Fixed memory leaks in code located in client/ and test/offline/ directories. + +------------------------------------------------------------------- +Fri Apr 23 09:17:45 UTC 2021 - Jiri Slaby + +- update to 0.1.2 + * Added support for the new PFO_ZNALEC and PFO_TLUMOCNIK data-box types. + * Fixed found typos in documentation and commentaries in sources. + +------------------------------------------------------------------- +Fri Mar 19 10:29:18 UTC 2021 - Jiri Slaby + +- move .lang to the main rpm (to avoid conflicts of w/ multiple libs) + +------------------------------------------------------------------- +Mon Mar 1 09:43:33 UTC 2021 - Jiri Slaby + +- initial version (0.1.1) diff --git a/libdatovka.spec b/libdatovka.spec new file mode 100644 index 0000000..b469d8a --- /dev/null +++ b/libdatovka.spec @@ -0,0 +1,92 @@ +# +# spec file for package libdatovka +# +# Copyright (c) 2024 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}6 +Name: libdatovka +Version: 0.7.0 +Release: 0 +Summary: Library for accessing the Czech Data Boxes +License: GPL-3.0-or-later +Group: System/Libraries +URL: https://www.datovka.cz/cs/pages/libdatovka.html +Source0: https://datovka.nic.cz/%{name}/%{name}-%{version}.tar.xz +Source1: https://datovka.nic.cz/%{name}/%{name}-%{version}.tar.xz.sha256 +BuildRequires: docbook-xsl-stylesheets +BuildRequires: libcurl-devel +BuildRequires: libexpat-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgpgme-devel +BuildRequires: libxml2-devel +BuildRequires: libxslt-tools + +%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-static \ + --with-docbook-xsl-stylesheets=/usr/share/xml/docbook/stylesheet/nwalsh/current +make %{?_smp_mflags} + +%install +%make_install +%find_lang %{name} +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -f %{name}.lang + +%files -n %{libname} +%license COPYING +%doc AUTHORS +%{_libdir}/*.so.* + +%files devel +%doc client +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/isds.h +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc +%{_mandir}/man3/*.3.gz + +%changelog