commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2020-09-12 00:08:53 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.4249 (New) Package is "ulfius" Sat Sep 12 00:08:53 2020 rev:15 rq:833633 version:2.6.9 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2020-07-15 15:06:24.307491083 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.4249/ulfius.changes 2020-09-12 00:09:13.265025164 +0200 @@ -1,0 +2,11 @@ +Wed Sep 2 20:06:45 UTC 2020 - Martin Hauke + +- Update to version 2.6.9 + * Update doc generation + * Add ulfius_websocket_send_json_message + * Update pkg-config Libs with all dependencies + * Add ulfius_global_init and ulfius_global_close + * Rename U_STREAM_SIZE_UNKOWN to U_STREAM_SIZE_UNKNOWN, +keep U_STREAM_SIZE_UNKOWN for backward compatibility + +--- Old: ulfius-2.6.8.tar.gz New: ulfius-2.6.9.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.piipHP/_old 2020-09-12 00:09:14.733026569 +0200 +++ /var/tmp/diff_new_pack.piipHP/_new 2020-09-12 00:09:14.737026572 +0200 @@ -2,7 +2,7 @@ # spec file for package ulfius # # Copyright (c) 2020 SUSE LLC -# Copyright (c) 2018, Martin Hauke +# Copyright (c) 2018-2020, Martin Hauke # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %define _lto_cflags %{nil} %define sover 2_6 Name: ulfius -Version:2.6.8 +Version:2.6.9 Release:0 Summary:Web Framework for REST Applications in C License:MIT @@ -33,9 +33,9 @@ BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(jansson) >= 2.4 BuildRequires: pkgconfig(libcurl) -BuildRequires: pkgconfig(libmicrohttpd) +BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.51 BuildRequires: pkgconfig(liborcania) >= 2.1.0 -BuildRequires: pkgconfig(libyder) >= 1.4.8 +BuildRequires: pkgconfig(libyder) >= 1.4.12 %description The library is based on GNU libmicrohttpd for the backend web server, jansson ++ ulfius-2.6.8.tar.gz -> ulfius-2.6.9.tar.gz ++ 2197 lines of diff (skipped)
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2020-07-15 15:05:37 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.3060 (New) Package is "ulfius" Wed Jul 15 15:05:37 2020 rev:14 rq:820845 version:2.6.8 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2020-06-06 23:40:23.841102828 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.3060/ulfius.changes 2020-07-15 15:06:24.307491083 +0200 @@ -1,0 +2,17 @@ +Fri Jul 10 14:52:55 UTC 2020 - Martin Hauke + +- Redownloaded source tarball + +--- +Tue Jul 7 19:46:09 UTC 2020 - Martin Hauke + +- Update to version 2.6.8 + * Increase `ULFIUS_POSTBUFFERSIZE` to follow MHD documentation + * Adapt code to be compatible with all MHD version + * In case of secure websocket communication, use a combination of +`gnutls_record_check_pending()` and `poll()` to determine if +data is ready. + * Install uwsc manpage + * Fix bug about missing `res` variable assignment. + +--- Old: ulfius-2.6.7.tar.gz New: ulfius-2.6.8.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.hEYKZU/_old 2020-07-15 15:06:25.787492526 +0200 +++ /var/tmp/diff_new_pack.hEYKZU/_new 2020-07-15 15:06:25.791492530 +0200 @@ -20,7 +20,7 @@ %define _lto_cflags %{nil} %define sover 2_6 Name: ulfius -Version:2.6.7 +Version:2.6.8 Release:0 Summary:Web Framework for REST Applications in C License:MIT @@ -81,7 +81,7 @@ %cmake \ -DCMAKE_SHARED_LINKER_FLAGS="" \ -DCMAKE_INSTALL_PREFIX:PATH=/ -make %{?_smp_mflags} +%make_build %install %cmake_install @@ -104,5 +104,6 @@ %files -n uwsc %{_bindir}/uwsc +%{_mandir}/man1/uwsc.1%{?ext_man} %changelog ++ ulfius-2.6.7.tar.gz -> ulfius-2.6.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.6.7/CHANGELOG.md new/ulfius-2.6.8/CHANGELOG.md --- old/ulfius-2.6.7/CHANGELOG.md 2020-06-03 23:58:58.0 +0200 +++ new/ulfius-2.6.8/CHANGELOG.md 2020-07-09 14:03:51.0 +0200 @@ -1,5 +1,13 @@ # Ulfius Changelog +## 2.6.8 + +- Increase `ULFIUS_POSTBUFFERSIZE` to follow MHD documentation +- Adapt code to be compatible with all MHD version +- In case of secure websocket communication, use a combination of `gnutls_record_check_pending()` and `poll()` to determine if data is ready. (Thanks **Wouter van Herpen**!) +- Install uwsc manpage +- Fix bug about missing `res` variable assignment. (Thanks **Gianfranco Costamagna**!) + ## 2.6.7 - Check header property case insensitive in websocket client diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.6.7/CMakeLists.txt new/ulfius-2.6.8/CMakeLists.txt --- old/ulfius-2.6.7/CMakeLists.txt 2020-06-03 23:58:58.0 +0200 +++ new/ulfius-2.6.8/CMakeLists.txt 2020-07-09 14:03:51.0 +0200 @@ -30,7 +30,7 @@ set(PROJECT_BUGREPORT_PATH "https://github.com/babelouest/ulfius/issues;) set(LIBRARY_VERSION_MAJOR "2") set(LIBRARY_VERSION_MINOR "6") -set(LIBRARY_VERSION_PATCH "7") +set(LIBRARY_VERSION_PATCH "8") set(PROJECT_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(PROJECT_VERSION_MAJOR ${LIBRARY_VERSION_MAJOR}) @@ -56,8 +56,8 @@ set(LIBRARY_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(LIBRARY_SOVERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}") -set(ORCANIA_VERSION_REQUIRED "2.1.0") -set(YDER_VERSION_REQUIRED "1.4.10") +set(ORCANIA_VERSION_REQUIRED "2.1.1") +set(YDER_VERSION_REQUIRED "1.4.11") set(JANSSON_VERSION_REQUIRED "2.1") # cmake modules @@ -130,7 +130,7 @@ set(WITH_WEBSOCKET OFF) endif () -if (WITH_WEBSOCKET) +if (WITH_WEBSOCKET AND NOT ${RELEASE_CODENAME} STREQUAL "stretch") set(MHD_MIN_VERSION 0.9.53) else () set(MHD_MIN_VERSION 0.9.51) @@ -320,6 +320,7 @@ add_dependencies(uwsc ulfius) target_link_libraries(uwsc ulfius ${LIBS}) install(TARGETS uwsc RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) +INSTALL(FILES ${UWSC_DIR}/uwsc.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT runtime) endif () set(PKGCONF_REQ "") @@ -410,7 +411,7 @@ endif () if (INSTALL_HEADER) -install(TARGETS ${TARGETS} + install(TARGETS ${TARGETS} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} diff -urN
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2020-06-06 23:40:06 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.3606 (New) Package is "ulfius" Sat Jun 6 23:40:06 2020 rev:13 rq:812024 version:2.6.7 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2020-04-01 19:18:21.783531783 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.3606/ulfius.changes 2020-06-06 23:40:23.841102828 +0200 @@ -1,0 +2,12 @@ +Thu Jun 4 08:37:52 UTC 2020 - Martin Hauke + +- Update to version 2.6.7 + * Check header property case insensitive in websocket client + * Add libcurl option CURLOPT_NOPROGRESS in +ulfius_send_http_streaming_request + * Add ulfius_start_framework_with_mhd_options for expert mode + * Fix websocket bugs + * Add ulfius_set_request_properties and +ulfius_set_response_properties + +--- Old: ulfius-2.6.6.tar.gz New: ulfius-2.6.7.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.iOx47K/_old 2020-06-06 23:40:25.081106719 +0200 +++ /var/tmp/diff_new_pack.iOx47K/_new 2020-06-06 23:40:25.085106732 +0200 @@ -20,7 +20,7 @@ %define _lto_cflags %{nil} %define sover 2_6 Name: ulfius -Version:2.6.6 +Version:2.6.7 Release:0 Summary:Web Framework for REST Applications in C License:MIT ++ ulfius-2.6.6.tar.gz -> ulfius-2.6.7.tar.gz ++ 1993 lines of diff (skipped)
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2020-04-01 19:18:03 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.3248 (New) Package is "ulfius" Wed Apr 1 19:18:03 2020 rev:12 rq:790473 version:2.6.6 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2020-01-19 20:58:28.824083117 +0100 +++ /work/SRC/openSUSE:Factory/.ulfius.new.3248/ulfius.changes 2020-04-01 19:18:21.783531783 +0200 @@ -1,0 +2,7 @@ +Wed Apr 1 05:46:12 UTC 2020 - Martin Hauke + +- Update to version 2.6.6 + * Update doc generation + * Fix jansson memoy management bug + +--- Old: ulfius-2.6.5.tar.gz New: ulfius-2.6.6.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.1ziJ4p/_old 2020-04-01 19:18:22.683532189 +0200 +++ /var/tmp/diff_new_pack.1ziJ4p/_new 2020-04-01 19:18:22.687532190 +0200 @@ -1,7 +1,7 @@ # # spec file for package ulfius # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2018, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _lto_cflags %{nil} %define sover 2_6 Name: ulfius -Version:2.6.5 +Version:2.6.6 Release:0 Summary:Web Framework for REST Applications in C License:MIT ++ ulfius-2.6.5.tar.gz -> ulfius-2.6.6.tar.gz ++ 22217 lines of diff (skipped)
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2020-01-19 20:57:37 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.26092 (New) Package is "ulfius" Sun Jan 19 20:57:37 2020 rev:11 rq:765577 version:2.6.5 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-11-18 20:12:05.301540075 +0100 +++ /work/SRC/openSUSE:Factory/.ulfius.new.26092/ulfius.changes 2020-01-19 20:58:28.824083117 +0100 @@ -1,0 +2,10 @@ +Sat Dec 21 16:04:31 UTC 2019 - Martin Hauke + +- Update to version 2.6.5 + * Allow `NULL` values on `struct _u_map` + * Add function ulfius_send_smtp_rich_email to send e-mails +with a specified content-type + * Add follow_redirect in struct _u_request + * Fix certificate check + +--- Old: ulfius-2.6.4.tar.gz New: ulfius-2.6.5.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.T56wj0/_old 2020-01-19 20:58:29.244083338 +0100 +++ /var/tmp/diff_new_pack.T56wj0/_new 2020-01-19 20:58:29.248083340 +0100 @@ -1,7 +1,7 @@ # # spec file for package ulfius # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -20,7 +20,7 @@ %define _lto_cflags %{nil} %define sover 2_6 Name: ulfius -Version:2.6.4 +Version:2.6.5 Release:0 Summary:Web Framework for REST Applications in C License:MIT @@ -34,7 +34,7 @@ BuildRequires: pkgconfig(jansson) >= 2.4 BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libmicrohttpd) -BuildRequires: pkgconfig(liborcania) +BuildRequires: pkgconfig(liborcania) >= 2.1.0 BuildRequires: pkgconfig(libyder) >= 1.4.8 %description ++ ulfius-2.6.4.tar.gz -> ulfius-2.6.5.tar.gz ++ 28223 lines of diff (skipped)
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-11-18 20:11:48 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.26869 (New) Package is "ulfius" Mon Nov 18 20:11:48 2019 rev:10 rq:749304 version:2.6.4 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-10-08 19:57:33.212265191 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.26869/ulfius.changes 2019-11-18 20:12:05.301540075 +0100 @@ -1,0 +2,12 @@ +Mon Nov 18 10:56:30 UTC 2019 - Martin Hauke + +- Also add "libjansson-devel", "libgnutls-devel" and + "libmicrohttpd-devel" as requirements for ulfius-devel + +--- +Mon Nov 11 19:43:22 UTC 2019 - Martin Hauke + +- Disable LTO for now since it breaks compilation on i586 +- Add "Requires: libcurl-devel" to ulfius-devel + +--- Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.mM2ALb/_old 2019-11-18 20:12:06.345539543 +0100 +++ /var/tmp/diff_new_pack.mM2ALb/_new 2019-11-18 20:12:06.345539543 +0100 @@ -17,6 +17,7 @@ # +%define _lto_cflags %{nil} %define sover 2_6 Name: ulfius Version:2.6.4 @@ -55,6 +56,10 @@ %package devel Summary:Header files for ulfius Group: Development/Libraries/C and C++ +Requires: libcurl-devel +Requires: libgnutls-devel +Requires: libjansson-devel +Requires: libmicrohttpd-devel Requires: libulfius%{sover} = %{version} Requires: orcania-devel Requires: yder-devel
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-10-08 19:57:31 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.2352 (New) Package is "ulfius" Tue Oct 8 19:57:31 2019 rev:9 rq:735822 version:2.6.4 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-08-16 15:51:42.785568799 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.2352/ulfius.changes 2019-10-08 19:57:33.212265191 +0200 @@ -1,0 +2,12 @@ +Sat Oct 5 20:18:07 UTC 2019 - Martin Hauke + +- Update to version 2.6.4 + * Add precision for chunked response, got the inspiration +from #132. + * Update access token for oauth2 bearer validation callback +function, add precision concerning libjwt. + * Update callback_check_glewlwyd_access_token to the up-to-date +version. + * Various small fixes. + +--- Old: ulfius-2.6.3.tar.gz New: ulfius-2.6.4.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.wRgyGH/_old 2019-10-08 19:57:34.560261154 +0200 +++ /var/tmp/diff_new_pack.wRgyGH/_new 2019-10-08 19:57:34.568261130 +0200 @@ -19,7 +19,7 @@ %define sover 2_6 Name: ulfius -Version:2.6.3 +Version:2.6.4 Release:0 Summary:Web Framework for REST Applications in C License:MIT @@ -34,7 +34,7 @@ BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(liborcania) -BuildRequires: pkgconfig(libyder) >= 1.4.6 +BuildRequires: pkgconfig(libyder) >= 1.4.8 %description The library is based on GNU libmicrohttpd for the backend web server, jansson ++ ulfius-2.6.3.tar.gz -> ulfius-2.6.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.6.3/.github/workflows/ccpp.yml new/ulfius-2.6.4/.github/workflows/ccpp.yml --- old/ulfius-2.6.3/.github/workflows/ccpp.yml 1970-01-01 01:00:00.0 +0100 +++ new/ulfius-2.6.4/.github/workflows/ccpp.yml 2019-10-05 19:25:34.0 +0200 @@ -0,0 +1,395 @@ +on: [push, pull_request] + +jobs: + build: + +runs-on: ubuntu-latest + +steps: +- uses: actions/checkout@v1 +- name: install dependencies + run: | +sudo apt-get update +sudo apt-get install -y cmake pkg-config check libsubunit-dev cppcheck libsystemd-dev libmicrohttpd-dev libgnutls28-dev libjansson-dev libcurl4-gnutls-dev +sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0 +sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=0 +- name: cppcheck + run: cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . +- name: build + run: | +# prepare build folders +mkdir build +mkdir example_programs/build + +# build ulfius, run tests, build package +cd build +cmake -DBUILD_ULFIUS_TESTING=on .. +make test || (cat Testing/Temporary/LastTest.log && false) +make package +sudo make install + +# build examples +cd ../example_programs/build +cmake .. +make + +# test build options +cd ../../build +sudo make uninstall && rm -rf * +cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=off -DWITH_CURL=off .. +make package +sudo make install +cd ../example_programs/build +rm -rf * +cmake .. +make + +cd ../../build +sudo make uninstall && rm -rf * +cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=off -DWITH_CURL=on .. +make package +sudo make install +cd ../example_programs/build +rm -rf * +cmake .. +make + +cd ../../build +sudo make uninstall && rm -rf * +cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=on -DWITH_CURL=off .. +make package +sudo make install +cd ../example_programs/build +rm -rf * +cmake .. +make + +cd ../../build +sudo make uninstall && rm -rf * +cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=on -DWITH_CURL=on .. +make package +sudo make install +cd ../example_programs/build +rm -rf * +cmake .. +make + +cd ../../build +sudo make uninstall
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-08-16 15:51:22 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.22127 (New) Package is "ulfius" Fri Aug 16 15:51:22 2019 rev:8 rq:724028 version:2.6.3 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-08-05 10:38:28.127319447 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.22127/ulfius.changes 2019-08-16 15:51:42.785568799 +0200 @@ -1,0 +2,16 @@ +Thu Aug 8 12:06:30 UTC 2019 - Martin Hauke + +- Add "Requires: yder-devel" to ulfius-devel + +--- +Mon Aug 5 06:24:32 UTC 2019 - Martin Hauke + +- Update to version 2.6.3 + * Fix warning appeared with gcc 9.1, fixes #128 + * Make instance->mhd_response_copy_data useless if MHD>=0.9.61 + * Fix MHD_start_daemon flag to reuse MHD_USE_THREAD_PER_CONNECTION +by default +- Remove patch (fixed upstream): + * 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch + +--- Old: 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch ulfius-2.6.2.tar.gz New: ulfius-2.6.3.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.ehtk8c/_old 2019-08-16 15:51:43.257568626 +0200 +++ /var/tmp/diff_new_pack.ehtk8c/_new 2019-08-16 15:51:43.261568624 +0200 @@ -19,14 +19,13 @@ %define sover 2_6 Name: ulfius -Version:2.6.2 +Version:2.6.3 Release:0 Summary:Web Framework for REST Applications in C License:MIT Group: Development/Languages/C and C++ URL:https://github.com/babelouest/ulfius Source: https://github.com/babelouest/ulfius/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -58,6 +57,7 @@ Group: Development/Libraries/C and C++ Requires: libulfius%{sover} = %{version} Requires: orcania-devel +Requires: yder-devel %description devel Development and header files for libulfius. @@ -71,7 +71,6 @@ %prep %setup -q -%patch0 -p1 %build %cmake \ ++ ulfius-2.6.2.tar.gz -> ulfius-2.6.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.6.2/.travis.yml new/ulfius-2.6.3/.travis.yml --- old/ulfius-2.6.2/.travis.yml2019-07-08 13:28:16.0 +0200 +++ new/ulfius-2.6.3/.travis.yml2019-07-31 01:31:43.0 +0200 @@ -404,5 +404,6 @@ - make clean debug GNUTLSFLAG=1 CURLFLAG=1 # run tests with Makefile + - sudo ldconfig - make clean debug check diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.6.2/API.md new/ulfius-2.6.3/API.md --- old/ulfius-2.6.2/API.md 2019-07-08 13:28:16.0 +0200 +++ new/ulfius-2.6.3/API.md 2019-07-31 01:31:43.0 +0200 @@ -82,7 +82,9 @@ void o_get_alloc_funcs(o_malloc_t * malloc_fn, o_realloc_t * realloc_fn, o_free_t * free_fn); ``` -To link your program with Orcania library, add `-lorcania` to your linking command. +Accessing those functions requires you to directly link your application also against the Orcania library. To do so, add `-lorcania` to your linking command. + +If you use a version of `libmicrohttpd` older than `0.9.61`, you need to set the `mhd_response_copy_data = 1` in your `_u_instance` if you use a memory allocator whose allocated return values may not directly be passed to free() or if you want to make sure all free() will always go via your user-provided free callback. Data structures allocated have their specific cleanup functions. To free pointer allocated, you should use the function `u_free` that is intended to use your memory management functions. @@ -157,7 +159,8 @@ * websocket_handler: handler for the websocket structure * file_upload_callback: callback function to manage file upload by blocks * file_upload_cls:any pointer to pass to the file_upload_callback function - * mhd_response_copy_data: to choose between MHD_RESPMEM_MUST_COPY and MHD_RESPMEM_MUST_FREE + * mhd_response_copy_data: to choose between MHD_RESPMEM_MUST_COPY and MHD_RESPMEM_MUST_FREE, only if you use MHD < 0.9.61, + * otherwise this option is skipped because it's useless * check_utf8: check that all parameters values in the request (url, header and post_body) * are valid utf8 strings, if a
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-08-05 10:38:22 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.4126 (New) Package is "ulfius" Mon Aug 5 10:38:22 2019 rev:7 rq:720255 version:2.6.2 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-07-24 20:33:52.562585008 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.4126/ulfius.changes 2019-08-05 10:38:28.127319447 +0200 @@ -1,0 +2,5 @@ +Wed Jul 31 20:02:46 UTC 2019 - Martin Hauke + +- Add "Requires: orcania-devel" to ulfius-devel + +--- Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.jq4v7v/_old 2019-08-05 10:38:28.599319390 +0200 +++ /var/tmp/diff_new_pack.jq4v7v/_new 2019-08-05 10:38:28.603319389 +0200 @@ -57,6 +57,7 @@ Summary:Header files for ulfius Group: Development/Libraries/C and C++ Requires: libulfius%{sover} = %{version} +Requires: orcania-devel %description devel Development and header files for libulfius.
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-07-24 20:33:50 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.4126 (New) Package is "ulfius" Wed Jul 24 20:33:50 2019 rev:6 rq:717781 version:2.6.2 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-07-08 15:11:42.843384755 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.4126/ulfius.changes 2019-07-24 20:33:52.562585008 +0200 @@ -1,0 +2,12 @@ +Fri Jul 19 06:59:59 UTC 2019 - Martin Hauke + +- Update to version 2.6.2 + * Fix memory leak in `ulfius_set_string_body_request` and +`ulfius_set_string_body_response` + * Call callback function websocket_onclose_callback on all times, +even if the websocket hasn't properly worked, so the calling +program can avoid memory leak and broken resources, fix #126 +- Add patch (fixes a compilation error on Tumbleweed): + * 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch + +--- Old: ulfius-2.6.1.tar.gz New: 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch ulfius-2.6.2.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.0KpLTl/_old 2019-07-24 20:33:53.086584950 +0200 +++ /var/tmp/diff_new_pack.0KpLTl/_new 2019-07-24 20:33:53.090584949 +0200 @@ -19,13 +19,14 @@ %define sover 2_6 Name: ulfius -Version:2.6.1 +Version:2.6.2 Release:0 Summary:Web Framework for REST Applications in C License:MIT Group: Development/Languages/C and C++ URL:https://github.com/babelouest/ulfius Source: https://github.com/babelouest/ulfius/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Patch0: 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -69,6 +70,7 @@ %prep %setup -q +%patch0 -p1 %build %cmake \ ++ 0001-Cast-option-value-for-curl_easy_setopt-on-CURLOPT_PO.patch ++ >From c0d9933e28c2dea4b8589739fe6dfe5ecfe59310 Mon Sep 17 00:00:00 2001 From: Nicolas Mora Date: Thu, 18 Jul 2019 19:31:56 -0400 Subject: [PATCH] Cast option value for curl_easy_setopt on CURLOPT_POSTFIELDSIZE and CURLOPT_POSTFIELDSIZE_LARGE options to curl_off_t, to help gcc 9.1 to be less annoyed by incompatible types (but in fact they probably are compatible), closes #128 --- src/u_send_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/u_send_request.c b/src/u_send_request.c index 0a8010d..0370c6f 100644 --- a/src/u_send_request.c +++ b/src/u_send_request.c @@ -370,13 +370,13 @@ int ulfius_send_http_streaming_request(const struct _u_request * request, // Set body content if (copy_request->binary_body_length && copy_request->binary_body != NULL) { if (copy_request->binary_body_length < 2147483648) { -if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE, copy_request->binary_body_length) != CURLE_OK) { +if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE, (curl_off_t)copy_request->binary_body_length) != CURLE_OK) { y_log_message(Y_LOG_LEVEL_ERROR, "Ulfius - Error setting POST fields size"); ret = U_ERROR_LIBCURL; break; } } else { -if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE_LARGE, copy_request->binary_body_length) != CURLE_OK) { +if (curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)copy_request->binary_body_length) != CURLE_OK) { y_log_message(Y_LOG_LEVEL_ERROR, "Ulfius - Error setting POST fields size large"); ret = U_ERROR_LIBCURL; break; -- 2.16.4 ++ ulfius-2.6.1.tar.gz -> ulfius-2.6.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.6.1/API.md new/ulfius-2.6.2/API.md --- old/ulfius-2.6.1/API.md 2019-07-01 16:22:23.0 +0200 +++ new/ulfius-2.6.2/API.md 2019-07-08 13:28:16.0 +0200 @@ -24,7 +24,8 @@ - [Websocket management](#websocket-management) - [Messages manipulation](#messages-manipulation) - [Server-side websocket](#server-side-websocket) - - [Starting a websocket communication](#starting-a-websocket-communication) + - [Open a websocket communication](#open-a-websocket-communication) + - [Close a websocket communication](#close-a-websocket-communication) - [Websocket
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-07-08 15:11:41 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.4615 (New) Package is "ulfius" Mon Jul 8 15:11:41 2019 rev:5 rq:713850 version:2.6.1 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-04-12 09:15:13.557707207 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.4615/ulfius.changes 2019-07-08 15:11:42.843384755 +0200 @@ -1,0 +2,31 @@ +Tue Jul 2 20:52:27 UTC 2019 - Martin Hauke + +- Update to version 2.6.1 + * Fix package dependencies in cmake script + * Fix core test to skip websocket tests if webscket is disabled + * Disable ipv6 capabilities if libmicrohttpd is older than 0.9.52 + * Small bugfixes +- Update to version 2.6.0 + * Add struct _u_request->callback_position to know the position +of the current callback in the callback list + * Use MHD_USE_AUTO instead of MHD_USE_THREAD_PER_CONNECTION if +libmicrohttpd is newer then 0.9.52 + * Add network_type in struct _u_instance and struct _u_request to +specify IPV4, IPV6 or both networks + * Add check_server_certificate_flag, check_proxy_certificate, +check_proxy_certificate_flag and ca_path in struct _u_request to +add more precision and control on SSL verification in u_send_request + * Add functions ulfius_set_string_body_request, +ulfius_set_binary_body_request, ulfius_set_empty_body_request + * Add url_path in struct _u_request to store the url path only, +without query parameters + * Add ulfius_url_decode and ulfius_url_encode + * Clean code, add more tests +errors + * Use gnutls_rnd() instead of rand() +- Update to version 2.5.5 + * Fix #121 where websockets messages of 126 or 127 bytes long made + * Fix sneaky bug where endpoint injection inside a endpoint callback +can lead to wrong callback calls, or even worse, crashes + +--- Old: ulfius-2.5.4.tar.gz New: ulfius-2.6.1.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.DcDu9K/_old 2019-07-08 15:11:43.483385369 +0200 +++ /var/tmp/diff_new_pack.DcDu9K/_new 2019-07-08 15:11:43.483385369 +0200 @@ -17,9 +17,9 @@ # -%define sover 2_5 +%define sover 2_6 Name: ulfius -Version:2.5.4 +Version:2.6.1 Release:0 Summary:Web Framework for REST Applications in C License:MIT @@ -34,7 +34,7 @@ BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(liborcania) -BuildRequires: pkgconfig(libyder) +BuildRequires: pkgconfig(libyder) >= 1.4.6 %description The library is based on GNU libmicrohttpd for the backend web server, jansson ++ ulfius-2.5.4.tar.gz -> ulfius-2.6.1.tar.gz ++ 4195 lines of diff (skipped)
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-04-12 09:15:08 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.27019 (New) Package is "ulfius" Fri Apr 12 09:15:08 2019 rev:4 rq:692246 version:2.5.4 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2019-01-08 12:31:25.248079818 +0100 +++ /work/SRC/openSUSE:Factory/.ulfius.new.27019/ulfius.changes 2019-04-12 09:15:13.557707207 +0200 @@ -1,0 +2,17 @@ +Sun Apr 7 07:37:21 UTC 2019 - Martin Hauke + +- Update to version 2.5.4 + * Align PKGCONF_REQ_PRIVATE required versions + * Backport ulfius_copy_request, ulfius_duplicate_request, +ulfius_copy_response and ulfius_duplicate_response from Ulfius 2.6 + +--- +Sat Jan 12 14:31:56 UTC 2019 - mar...@gmx.de + +- Update to version 2.5.3 + - Add flag to build Ulfius with GnuTLS support but without +Websockets. + - Fix CMake build process that didn't obviously linked Ulfius +with pthreads. + +--- Old: ulfius-2.5.2.tar.gz New: ulfius-2.5.4.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.YQKKkp/_old 2019-04-12 09:15:14.565707847 +0200 +++ /var/tmp/diff_new_pack.YQKKkp/_new 2019-04-12 09:15:14.573707852 +0200 @@ -13,13 +13,13 @@ # 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/ # %define sover 2_5 Name: ulfius -Version:2.5.2 +Version:2.5.4 Release:0 Summary:Web Framework for REST Applications in C License:MIT ++ ulfius-2.5.2.tar.gz -> ulfius-2.5.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.5.2/.travis.yml new/ulfius-2.5.4/.travis.yml --- old/ulfius-2.5.2/.travis.yml2018-12-24 15:43:31.0 +0100 +++ new/ulfius-2.5.4/.travis.yml2019-04-04 02:16:24.0 +0200 @@ -1,13 +1,14 @@ # travis configuration file -# Copyright 2018 Ilya Shipitsin -#Nicolas Mora +# Copyright 2018 Ilya Shipitsin +# 2018-2019 Nicolas Mora sudo: required language: c +dist: xenial addons: apt: -packages: [ libmicrohttpd-dev, libjansson-dev, check, libsubunit-dev, cppcheck ] +packages: [ libgnutls28-dev, libjansson-dev, check, libsubunit-dev, libsystemd-dev, cppcheck ] matrix: include: @@ -20,159 +21,351 @@ script: - cppcheck --force --enable=warning,missingInclude --error-exitcode=1 . >build.log 2>&1 || (cat build.log && exit 1) +install: +- wget https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-latest.tar.gz +- mkdir libmicrohttpd && tar xf libmicrohttpd-latest.tar.gz -C libmicrohttpd --strip-components 1 +- pushd libmicrohttpd && ./configure && make && sudo make install && popd +- rm -rf libmicrohttpd + script: +# prepare build folders - mkdir build - mkdir example_programs/build + +# build ulfius, run tests, build package - cd build - - cmake -DWITH_JOURNALD=off -DBUILD_ULFIUS_TESTING=on .. + - cmake -DBUILD_ULFIUS_TESTING=on .. - make test || (cat Testing/Temporary/LastTest.log && false) - make package - sudo make install + +# build examples + - cd ../example_programs/build + - cmake .. + - make + +# test build options + - cd ../../build + - sudo make uninstall && rm -rf * + - cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=off -DWITH_CURL=off .. + - make package + - sudo make install + - cd ../example_programs/build + - rm -rf * + - cmake .. + - make + + - cd ../../build + - sudo make uninstall && rm -rf * + - cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=off -DWITH_CURL=on .. + - make package + - sudo make install + - cd ../example_programs/build + - rm -rf * + - cmake .. + - make + + - cd ../../build + - sudo make uninstall && rm -rf * + - cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on -DWITH_WEBSOCKET=off -DWITH_JANSSON=on -DWITH_CURL=off .. + - make package + - sudo make install + - cd ../example_programs/build + - rm -rf * + - cmake .. + - make + + - cd ../../build + - sudo make uninstall && rm -rf * + - cmake -DWITH_GNUTLS=off -DWITH_JOURNALD=off -DWITH_YDER=off -DBUILD_ULFIUS_TESTING=on
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2019-01-08 12:29:13 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.28833 (New) Package is "ulfius" Tue Jan 8 12:29:13 2019 rev:3 rq:663315 version:2.5.2 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2018-08-27 12:58:56.552789545 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new.28833/ulfius.changes 2019-01-08 12:31:25.248079818 +0100 @@ -1,0 +2,36 @@ +Fri Dec 28 15:49:07 UTC 2018 - mar...@gmx.de + +- Update to version 2.5.2 + * Fix utf8 check on NULL value +- Update to version 2.5.1 + * Fix uwsc crash on some systems +- Update to version 2.5.0 + * Add struct _u_endpoint.check_utf8 to check all request parameters +and values to be valid utf8 strings. + * Add client certificate authentication for webservice and send +request library. + * Add support for SameSite attribute in response cookies +- Update to version 2.4.4 + * CMake scripts improvements +- Update to version 2.4.3 + * Add config file ulfius-cfg.h dynamically built with the options + * Adapt examples with new ulfius-cfg.h file +- Update to version 2.4.2 + * Fix #79 where yuarel should be hidden from the outside world +- Update to version 2.4.1 + * Fix #78 where gnutls is not required if websocket is disabled +- Update to version 2.4.0 + * Fix Websocket fragmented messages + * Fix CMake script that installed Orcania twice + * Fix cppcheck warnings + * Add timeout for http connections + * Allow to use MHD_RESPMEM_MUST_COPY for different memory manager + * Add websocket client framework + * Add uwsc - Ulfius WebSocket Client +A simple command-line websocket client program +- Remove patches (included/fixed upstream): + * 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch + * ulfius-fix-cmake-path.patch +- Create subpackage "uwsc" for the Ulfius WebSocket Client program + +--- Old: 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch ulfius-2.3.8.tar.gz ulfius-fix-cmake-path.patch New: ulfius-2.5.2.tar.gz Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.o5O1Mj/_old 2019-01-08 12:31:25.832079183 +0100 +++ /var/tmp/diff_new_pack.o5O1Mj/_new 2019-01-08 12:31:25.836079179 +0100 @@ -1,6 +1,7 @@ # # spec file for package ulfius # +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -16,17 +17,15 @@ # -%define sover 2_3 +%define sover 2_5 Name: ulfius -Version:2.3.8 +Version:2.5.2 Release:0 Summary:Web Framework for REST Applications in C License:MIT Group: Development/Languages/C and C++ URL:https://github.com/babelouest/ulfius Source: https://github.com/babelouest/ulfius/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: ulfius-fix-cmake-path.patch -Patch1: 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -61,14 +60,20 @@ %description devel Development and header files for libulfius. +%package -n uwsc +Summary:Ulfius WebSocket Client +Group: Productivity/Networking/Web/Utilities + +%description -n uwsc +A simple command-line websocket client program. + %prep %setup -q -%patch0 -p1 -%patch1 -p1 %build %cmake \ --DCMAKE_SHARED_LINKER_FLAGS="" +-DCMAKE_SHARED_LINKER_FLAGS="" \ +-DCMAKE_INSTALL_PREFIX:PATH=/ make %{?_smp_mflags} %install @@ -86,7 +91,11 @@ %files devel %doc API.md %{_includedir}/ulfius.h +%{_includedir}/ulfius-cfg.h %{_libdir}/libulfius.so %{_libdir}/pkgconfig/libulfius.pc +%files -n uwsc +%{_bindir}/uwsc + %changelog ++ ulfius-2.3.8.tar.gz -> ulfius-2.5.2.tar.gz ++ 11871 lines of diff (skipped)
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2018-08-27 12:58:54 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new (New) Package is "ulfius" Mon Aug 27 12:58:54 2018 rev:2 rq:631408 version:2.3.8 Changes: --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes2018-08-24 17:02:24.005950133 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new/ulfius.changes 2018-08-27 12:58:56.552789545 +0200 @@ -1,0 +2,5 @@ +Sat Aug 11 08:17:09 UTC 2018 - jeng...@inai.de + +- Description update. + +--- Other differences: -- ++ ulfius.spec ++ --- /var/tmp/diff_new_pack.v4CfLV/_old 2018-08-27 12:58:57.248790305 +0200 +++ /var/tmp/diff_new_pack.v4CfLV/_new 2018-08-27 12:58:57.252790309 +0200 @@ -39,21 +39,19 @@ %description The library is based on GNU libmicrohttpd for the backend web server, jansson -for the json manipulation library, and libcurl for the http/smtp client API. +for the json manipulation library, and libcurl for the HTTP/SMTP client API. -It can be used to create web applications in C programs with a small memory -footprint. +It can be used to create web applications in C programs. %package -n libulfius%{sover} -Summary:Shared library for ulfius +Summary:Web Framework for REST Applications in C Group: System/Libraries %description -n libulfius%{sover} The library is based on GNU libmicrohttpd for the backend web server, jansson -for the json manipulation library, and libcurl for the http/smtp client API. +for the json manipulation library, and libcurl for the HTTP/SMTP client API. -It can be used to create web applications in C programs with a small memory -footprint. +It can be used to create web applications in C programs. %package devel Summary:Header files for ulfius
commit ulfius for openSUSE:Factory
Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2018-08-24 17:02:23 Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new (New) Package is "ulfius" Fri Aug 24 17:02:23 2018 rev:1 rq:628428 version:2.3.8 Changes: New Changes file: --- /dev/null 2018-08-15 23:51:58.373630633 +0200 +++ /work/SRC/openSUSE:Factory/.ulfius.new/ulfius.changes 2018-08-24 17:02:24.005950133 +0200 @@ -0,0 +1,4 @@ +--- +Sun Jul 29 19:02:49 UTC 2018 - mar...@gmx.de + +- Initial package, version 2.3.8 New: 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch ulfius-2.3.8.tar.gz ulfius-fix-cmake-path.patch ulfius.changes ulfius.spec Other differences: -- ++ ulfius.spec ++ # # spec file for package ulfius # # Copyright (c) 2018, Martin Hauke # # 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 http://bugs.opensuse.org/ # %define sover 2_3 Name: ulfius Version:2.3.8 Release:0 Summary:Web Framework for REST Applications in C License:MIT Group: Development/Languages/C and C++ URL:https://github.com/babelouest/ulfius Source: https://github.com/babelouest/ulfius/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: ulfius-fix-cmake-path.patch Patch1: 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(jansson) >= 2.4 BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libmicrohttpd) BuildRequires: pkgconfig(liborcania) BuildRequires: pkgconfig(libyder) %description The library is based on GNU libmicrohttpd for the backend web server, jansson for the json manipulation library, and libcurl for the http/smtp client API. It can be used to create web applications in C programs with a small memory footprint. %package -n libulfius%{sover} Summary:Shared library for ulfius Group: System/Libraries %description -n libulfius%{sover} The library is based on GNU libmicrohttpd for the backend web server, jansson for the json manipulation library, and libcurl for the http/smtp client API. It can be used to create web applications in C programs with a small memory footprint. %package devel Summary:Header files for ulfius Group: Development/Libraries/C and C++ Requires: libulfius%{sover} = %{version} %description devel Development and header files for libulfius. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %cmake \ -DCMAKE_SHARED_LINKER_FLAGS="" make %{?_smp_mflags} %install %cmake_install rm -rf %{buildroot}/%{_datadir}/doc/ %post -n libulfius%{sover} -p /sbin/ldconfig %postun -n libulfius%{sover} -p /sbin/ldconfig %files -n libulfius%{sover} %doc CHANGELOG.md README.md %license LICENSE %{_libdir}/libulfius.so.* %files devel %doc API.md %{_includedir}/ulfius.h %{_libdir}/libulfius.so %{_libdir}/pkgconfig/libulfius.pc %changelog ++ 0001-Fix-pkg-config-information-add-requires-fields-as-me.patch ++ >From 68503f9a6bff6837e903e8a6846fe91f923079fd Mon Sep 17 00:00:00 2001 From: Nicolas Mora Date: Thu, 2 Aug 2018 12:53:31 -0400 Subject: [PATCH] Fix pkg-config information, add requires fields as mentionned in babelouest/ulfius#62 --- CMakeLists.txt | 14 ++ libulfius.pc.in | 4 2 files changed, 18 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1ae4766..04c8c35 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -196,6 +196,20 @@ else() endif () target_link_libraries(ulfius ${LIBS} ${YDER_LIBRARIES}) +set(PKGCONF_REQ "") +set(PKGCONF_REQ_PRIVATE "liborcania, libyder") +if (WITH_CURL) + set (PKGCONF_REQ_PRIVATE "${PKGCONF_REQ_PRIVATE}, libcurl") +endif () +if (WITH_JANSSON) + set (PKGCONF_REQ_PRIVATE "${PKGCONF_REQ_PRIVATE}, jansson") +endif () +if (WITH_WEBSOCKET) + set (PKGCONF_REQ_PRIVATE "${PKGCONF_REQ_PRIVATE}, gnutls > 3.5.0, libmicrohttpd > 0.9.53") +else () + set (PKGCONF_REQ_PRIVATE