From: Amin Bandali Date: Sat, 2 Sep 2023 20:49:01 +0000 (+0100) Subject: restinio (0.6.19-1) unstable; urgency=medium X-Git-Tag: archive/raspbian/0.6.19-1+rpi1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=19e70560c19acde7690645b900f5b7a1ef804787;p=restinio.git restinio (0.6.19-1) unstable; urgency=medium * New upstream release - Drop upstreamed patch for fixing FBTFS with GCC 13. * Fix debian/watch file to correctly find upstream releases * Update debian/upstream/metadata * Switch debian/patches/ to {0xxx,1xxx,2xxx} naming convention * Update debian/copyright to address lintian warnings [dgit import unpatched restinio 0.6.19-1] --- 19e70560c19acde7690645b900f5b7a1ef804787 diff --cc debian/changelog index 0000000,0000000..0ed8ffb new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,87 @@@ ++restinio (0.6.19-1) unstable; urgency=medium ++ ++ * New upstream release ++ - Drop upstreamed patch for fixing FBTFS with GCC 13. ++ * Fix debian/watch file to correctly find upstream releases ++ * Update debian/upstream/metadata ++ * Switch debian/patches/ to {0xxx,1xxx,2xxx} naming convention ++ * Update debian/copyright to address lintian warnings ++ ++ -- Amin Bandali Sat, 02 Sep 2023 16:49:01 -0400 ++ ++restinio (0.6.16-1) unstable; urgency=medium ++ ++ * Fix FTBFS with GCC-13 (Closes: #1037841) ++ * debian/control: Taking over the maintenance of the package; many ++ thanks, Felix! ++ * Update standards version to 4.6.2, no changes needed ++ ++ -- Amin Bandali Mon, 14 Aug 2023 20:00:33 -0400 ++ ++restinio (0.6.16-0.2) unstable; urgency=medium ++ ++ * Non-maintainer upload. ++ * Drop Build-Depends: libpcre++-dev. (Closes: #1020932) ++ * Replace default CI config with central one. ++ ++ [ Bo YU ] ++ * Fix FTBFS on riscv64. (Closes: #1019723) ++ ++ [ Debian Janitor ] ++ * Bump debhelper from old 12 to 13. ++ * Set upstream metadata fields: Bug-Database, Bug-Submit. ++ * Update standards version to 4.5.1, no changes needed. ++ ++ -- Bastian Germann Thu, 29 Sep 2022 15:20:35 +0200 ++ ++restinio (0.6.16-0.1) unstable; urgency=low ++ ++ * Non-maintainer upload. ++ * New upstream release. ++ - Fixes FTBFS with fmtlib 9. (Closes: #1014546) ++ - catch2 updated to compile with glibc 2.34. (Closes: #1017149) ++ - Drop 0001-INTERFACE-fmt-fmt.patch applied upstream. ++ ++ -- Adrian Bunk Mon, 29 Aug 2022 01:53:03 +0300 ++ ++restinio (0.6.13-1) unstable; urgency=medium ++ ++ * Team upload. ++ * New upstream version. ++ ++ -- Alexandre Viau Mon, 04 Jan 2021 11:26:26 -0500 ++ ++restinio (0.6.6-3) unstable; urgency=medium ++ ++ * Link atomic on a few architectures (Closes: #960824) ++ Thanks to Adrian Bunk. ++ * Disable tests (avoid internet access). ++ ++ -- Felix Salfelder Mon, 19 Oct 2020 08:51:24 +0100 ++ ++restinio (0.6.6-2) unstable; urgency=medium ++ ++ [ Felix Salfelder ] ++ * add dependencies on http-parser and fmt (Closes: #968454) ++ ++ -- Sebastien Delafond Mon, 31 Aug 2020 09:02:31 +0200 ++ ++restinio (0.6.6-1) unstable; urgency=medium ++ ++ [ Sébastien Delafond ] ++ * Build-depend on cmake ++ * Add debian/watch ++ * Clean up d/rules ++ * Enable tests and samples, with extra build-depends ++ * New upstream version 0.6.6 ++ * Add basic d/salsa-ci.yml ++ ++ -- Sebastien Delafond Thu, 07 May 2020 15:51:22 +0200 ++ ++restinio (0.6.4-1) UNRELEASED; urgency=medium ++ ++ * Initial release (Closes: #946832) ++ * TODO: why does it have build depends, ++ possible cmake ma{gic,dness}? ++ ++ -- Felix Salfelder Sun, 16 Feb 2020 19:07:44 +0000 diff --cc debian/control index 0000000,0000000..c3b9268 new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,32 @@@ ++Source: restinio ++Priority: optional ++Maintainer: Amin Bandali ++Uploaders: Felix Salfelder ++Build-Depends: catch2, ++ cmake, ++ debhelper-compat (= 13), ++ libasio-dev, ++ libboost-dev, ++ libboost-regex-dev, ++ libfmt-dev, ++ libhttp-parser-dev, ++ libpcre2-dev, ++ libssl-dev, ++ zlib1g-dev ++Standards-Version: 4.6.2 ++Section: libs ++Homepage: https://github.com/Stiffstream/restinio ++Vcs-Browser: https://salsa.debian.org/debian/restinio ++Vcs-Git: https://salsa.debian.org/debian/restinio.git ++Rules-Requires-Root: no ++ ++Package: librestinio-dev ++Section: libdevel ++Architecture: any ++Multi-Arch: same ++Depends: libfmt-dev, libhttp-parser-dev, ${misc:Depends} ++Description: restinio implements an embedded HTTP/Websocket server ++ It is based on standalone version of ASIO and targeted primarily for ++ asynchronous processing of HTTP-requests. ++ Since v.0.4.1 Boost::ASIO (1.66 or higher) is also supported ++ This package contains a header-only C++14 library. diff --cc debian/copyright index 0000000,0000000..7639a6f new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,219 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: restinio ++Upstream-Contact: info@stiffstream.com ++Source: https://github.com/Stiffstream/restinio ++ ++Files: * ++Copyright: (c) 2017-2020 Stiffstream . All rights reserved. ++License: BSD-3-Clause ++ ++Files: dev/restinio/third_party/zlib/* ++Copyright: 1995-2017 Jean-loup Gailly and Mark Adler ++License: Zlib ++ ++Files: dev/restinio/third_party/zlib/contrib/masmx64/inffas8664.c ++Copyright: 1995-2003 Mark Adler, 2003 Chris Anderson ++License: Zlib ++ ++Files: dev/restinio/third_party/zlib/contrib/masmx64/gvmat64.asm ++Copyright: 1995-2010 Jean-loup Gailly, Brian Raiter and Gilles Vollant ++License: Zlib ++ ++Files: dev/restinio/third_party/zlib/contrib/asm686/match.S ++Copyright: 998, 2007 Brian Raiter ++License: Zlib ++ ++Files: dev/restinio/third_party/variant-lite/variant.hpp dev/restinio/third_party/optional-lite/optional.hpp dev/so_5/3rd_party/optional-lite/nonstd/optional.hpp dev/restinio/third_party/string-view-lite/string_view.hpp ++Copyright: 2014-2018 Martin Moene ++License: BSL-1.0 ++ ++Files: dev/restinio/third_party/expected-lite/expected.hpp ++Copyright: 2016-2018 Martin Moene ++License: BSL-1.0 ++ ++Files: dev/asio/* ++Copyright: 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) ++License: BSL-1.0 ++ ++Files: dev/asio/include/asio/serial_port_base.hpp dev/asio/include/asio/detail/win_iocp_serial_port_service.hpp dev/asio/include/asio/detail/win_iocp_handle_service.hpp dev/asio/include/asio/detail/win_iocp_handle_read_op.hpp dev/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp dev/asio/include/asio/detail/impl/win_iocp_handle_service.ipp dev/asio/include/asio/detail/win_iocp_handle_write_op.hpp dev/asio/include/asio/serial_port.hpp dev/asio/include/asio/basic_serial_port.hpp dev/asio/include/asio/impl/serial_port_base.hpp dev/asio/include/asio/impl/serial_port_base.ipp ++Copyright: 2008 Rep Invariant Systems, Inc. (info@repinvariant.com) ++License: BSL-1.0 ++ ++Files: dev/asio/include/asio/detail/eventfd_select_interrupter.hpp dev/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp ++Copyright: 2008 Roelof Naude (roelof.naude at gmail dot com) ++License: BSL-1.0 ++ ++Files: dev/asio/include/asio/detail/kqueue_reactor.hpp dev/asio/include/asio/detail/impl/kqueue_reactor.ipp dev/asio/include/asio/detail/impl/kqueue_reactor.hpp ++Copyright: 2005 Stefan Arentz (stefan at soze dot com) ++License: BSL-1.0 ++ ++Files: dev/asio/include/asio/detail/impl/win_object_handle_service.ipp dev/asio/include/asio/detail/win_object_handle_service.hpp dev/asio/include/asio/windows/basic_object_handle.hpp dev/asio/include/asio/windows/object_handle.hpp ++Copyright: 2011 Boris Schaeling (boris@highscore.de) ++License: BSL-1.0 ++ ++Files: dev/asio/include/asio/ssl/detail/impl/openssl_init.ipp dev/asio/include/asio/ssl/impl/context.hpp dev/asio/include/asio/ssl/impl/context.ipp ++Copyright: 2005 Voipster / Indrek dot Juhani at voipster dot com ++License: BSL-1.0 ++ ++Files: dev/asio/include/asio/ip/network_v4.hpp dev/asio/include/asio/ip/impl/network_v4.ipp dev/asio/include/asio/ip/impl/network_v4.hpp dev/asio/include/asio/ip/impl/network_v6.ipp dev/asio/include/asio/ip/network_v6.hpp ++Copyright: 2014 Oliver Kowalke (oliver dot kowalke at gmail dot com) ++License: BSL-1.0 ++ ++Files: dev/fmt/* ++Copyright: 2012 - present, Victor Zverovich and fmt contributors ++License: MIT ++ ++Files: dev/fmt/support/docopt.py ++Copyright: 2013 Vladimir Keleshev, vladimir@keleshev.com ++License: MIT ++ ++Files: dev/fmt/include/fmt/chrono.h ++Copyright: Paul Dreik 2019 ++License: MIT ++ ++Files: dev/fmt/include/fmt/ranges.h ++Copyright: 2018 - present, Remotion (Igor Schulz) ++License: MIT ++ ++Files: dev/cmake/modules/FindPCRE.cmake ++Copyright: 2007-2009 LuaDist ++License: MIT ++ ++Files: dev/nodejs/* ++Copyright: Joyent, Inc. and other Node contributors. All rights reserved. ++License: MIT ++ ++Files: dev/rapidjson/* ++Copyright: 2015 THL A29 Limited, a Tencent company, and Milo Yip ++License: MIT ++ ++Files: dev/rapidjson/include/rapidjson/msinttypes/inttypes.h dev/rapidjson/include/rapidjson/msinttypes/stdint.h ++Copyright: 2006-2013 Alexander Chemeris ++License: BSL-1.0 ++ ++Files: dev/catch2/* dev/clara/clara.hpp dev/catch2/catch.hpp ++Copyright: 2014-2019 Two Blue Cubes Ltd ++License: BSL-1.0 ++ ++Files: dev/catch2/catch_reporter_sonarqube.hpp ++Copyright: Social Point SL ++License: BSL-1.0 ++ ++Files: dev/catch2/catch_reporter_tap.hpp ++Copyright: 2015 Martin Moene ++License: BSL-1.0 ++ ++Files: dev/catch2/catch_reporter_automake.hpp ++Copyright: 2017 Justin R. Wilson ++License: BSL-1.0 ++ ++Files: debian/* ++Copyright: 2020 Felix Salfelder ++ 2020 Sebastien Delafond ++ 2023 Amin Bandali ++License: GPL-3 ++ See `/usr/share/common-licenses/GPL-3' ++ ++License: BSL-1.0 ++ Boost Software License - Version 1.0 - August 17th, 2003 ++ . ++ Permission is hereby granted, free of charge, to any person or ++ organization obtaining a copy of the software and accompanying ++ documentation covered by this license (the "Software") to use, ++ reproduce, display, distribute, execute, and transmit the ++ Software, and to prepare derivative works of the Software, and ++ to permit third-parties to whom the Software is furnished to do ++ so, all subject to the following: ++ . ++ The copyright notices in the Software and this entire statement, ++ including the above license grant, this restriction and the ++ following disclaimer, must be included in all copies of the ++ Software, in whole or in part, and all derivative works of the ++ Software, unless such copies or derivative works are solely in ++ the form of machine-executable object code generated by a source ++ language processor. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES ++ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND ++ NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ++ ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR ++ OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING ++ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR ++ OTHER DEALINGS IN THE SOFTWARE. ++ ++License: MIT ++ Permission is hereby granted, free of charge, to any person obtaining ++ a copy of this software and associated documentation files (the ++ "Software"), to deal in the Software without restriction, including ++ without limitation the rights to use, copy, modify, merge, publish, ++ distribute, sublicense, and/or sell copies of the Software, and to ++ permit persons to whom the Software is furnished to do so, subject to ++ the following conditions: ++ . ++ The above copyright notice and this permission notice shall be ++ included in all copies or substantial portions of the Software. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS ++ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ++ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN ++ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++ SOFTWARE. ++ ++License: BSD-3-Clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions are met: ++ . ++ 1. Redistributions of source code must retain the above copyright notice, this ++ list of conditions and the following disclaimer. ++ . ++ 2. Redistributions in binary form must reproduce the above copyright notice, ++ this list of conditions and the following disclaimer in the documentation ++ and/or other materials provided with the distribution. ++ . ++ 3. Neither the name of the copyright holder nor the names of its contributors ++ may be used to endorse or promote products derived from this software without ++ specific prior written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ++ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE ++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ++ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER ++ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ++ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ++ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++ ++License: Zlib ++ This software is provided 'as-is', without any express or implied ++ warranty. In no event will the authors be held liable for any damages ++ arising from the use of this software. ++ . ++ Permission is granted to anyone to use this software for any purpose, ++ including commercial applications, and to alter it and redistribute it ++ freely, subject to the following restrictions: ++ . ++ 1. The origin of this software must not be misrepresented; you must not ++ claim that you wrote the original software. If you use this software ++ in a product, an acknowledgment in the product documentation would be ++ appreciated but is not required. ++ 2. Altered source versions must be plainly marked as such, and must not be ++ misrepresented as being the original software. ++ 3. This notice may not be removed or altered from any source distribution. ++ . ++ Jean-loup Gailly Mark Adler ++ jloup@gzip.org madler@alumni.caltech.edu ++ . ++ If you use the zlib library in a product, we would appreciate *not* receiving ++ lengthy legal documents to sign. The sources are provided for free but without ++ warranty of any kind. The library has been entirely written by Jean-loup ++ Gailly and Mark Adler; it does not include third-party code. ++ . ++ If you redistribute modified sources, we would appreciate that you include in ++ the file ChangeLog history information documenting your changes. Please read ++ the FAQ for more information on the distribution of modified source versions. diff --cc debian/gbp.conf index 0000000,0000000..a85b76e new file mode 100644 --- /dev/null +++ b/debian/gbp.conf @@@ -1,0 -1,0 +1,15 @@@ ++[DEFAULT] ++pristine-tar = True ++debian-branch = debian/latest ++upstream-branch = upstream/latest ++ ++[buildpackage] ++compression = bz2 ++sign-tags = True ++ ++[dch] ++multimaint-merge = True ++ ++[import-orig] ++postimport = dch -v%(version)s New upstream release; git add debian/changelog; debcommit ++upstream-vcs-tag = v.%(version%~%.)s diff --cc debian/patches/2000-include-clara.patch index 0000000,0000000..a2e71ba new file mode 100644 --- /dev/null +++ b/debian/patches/2000-include-clara.patch @@@ -1,0 -1,0 +1,22 @@@ ++From: =?utf-8?q?S=C3=A9bastien_Delafond?= ++Date: Fri, 24 Apr 2020 14:51:18 +0200 ++Subject: Include clara ++Forwarded: not-needed ++ ++--- ++ dev/CMakeLists.txt | 2 ++ ++ 1 file changed, 2 insertions(+) ++ ++diff --git a/dev/CMakeLists.txt b/dev/CMakeLists.txt ++index 6769bcc..65fce0e 100644 ++--- a/dev/CMakeLists.txt +++++ b/dev/CMakeLists.txt ++@@ -74,6 +74,8 @@ IF (RESTINIO_MASTER_PROJECT) ++ find_package(Catch2 CONFIG REQUIRED) ++ ENDIF () ++ +++ include_directories("${CMAKE_SOURCE_DIR}/clara") +++ ++ # HTTP parser ++ IF (RESTINIO_USE_EXTERNAL_HTTP_PARSER) ++ find_package(http-parser REQUIRED) diff --cc debian/patches/README index 0000000,0000000..80c1584 new file mode 100644 --- /dev/null +++ b/debian/patches/README @@@ -1,0 -1,0 +1,3 @@@ ++0xxx: Grabbed from upstream development. ++1xxx: Possibly relevant for upstream adoption. ++2xxx: Only relevant for official Debian release. diff --cc debian/patches/series index 0000000,0000000..aca1e23 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,1 @@@ ++2000-include-clara.patch diff --cc debian/rules index 0000000,0000000..7607200 new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,41 @@@ ++#!/usr/bin/make -f ++# See debhelper(7) (uncomment to enable) ++# output every command that modifies files on the build system. ++# export DH_VERBOSE = 1 ++ ++ ++export DEB_BUILD_MAINT_OPTIONS = hardening=+all ++ ++# see ENVIRONMENT in dpkg-buildflags(1) ++# package maintainers to append CFLAGS ++#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic ++# package maintainers to append LDFLAGS ++#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed ++ ++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ++ ++ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mipsel powerpc riscv64 sh4)) ++ export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed ++endif ++ ++CMAKE_OPTIONS := -DRESTINIO_FIND_DEPS=1 \ ++ -DRESTINIO_USE_EXTERNAL_HTTP_PARSER=1 \ ++ -DRESTINIO_FMT_HEADER_ONLY=0 \ ++ -DRESTINIO_ALLOW_SOBJECTIZER=1 \ ++ -DRESTINIO_TEST=1 \ ++ -DRESTINIO_SAMPLE=1 \ ++ -DRESTINIO_BENCH=1 \ ++ -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_HOST_MULTIARCH)" ++ ++%: ++ dh $@ --sourcedirectory=dev ++ ++override_dh_auto_configure: ++ dh_auto_configure --sourcedirectory=dev -- $(CMAKE_OPTIONS) ++ ++override_dh_auto_test: ++ : # export DEB_BUILD_OPTIONS="parallel=1" ; dh_auto_test ++ ++override_dh_auto_install: ++ dh_auto_install ++ rm -fr debian/librestinio-dev/usr/bin diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/upstream/metadata index 0000000,0000000..ede0981 new file mode 100644 --- /dev/null +++ b/debian/upstream/metadata @@@ -1,0 -1,0 +1,6 @@@ ++--- ++Name: RESTinio ++Bug-Database: https://github.com/Stiffstream/restinio/issues ++Bug-Submit: https://github.com/Stiffstream/restinio/issues/new ++Repository: https://github.com/Stiffstream/restinio.git ++Repository-Browse: https://github.com/Stiffstream/restinio diff --cc debian/watch index 0000000,0000000..7b49f41 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,5 @@@ ++version=4 ++opts="searchmode=plain,\ ++filenamemangle=s%v?@ANY_VERSION@%@PACKAGE@-$1.tar.xz%" \ ++https://api.github.com/repos/Stiffstream/restinio/releases?per_page=50 \ ++https://github.com/[^/]+/[^/]+/releases/download/[^/]+/restinio-@ANY_VERSION@-full\.tar\.bz2