Import restinio_0.6.19+ds-1.debian.tar.xz
authorAmin Bandali <bandali@gnu.org>
Thu, 26 Oct 2023 05:00:31 +0000 (01:00 -0400)
committerAmin Bandali <bandali@gnu.org>
Thu, 26 Oct 2023 05:00:31 +0000 (01:00 -0400)
[dgit import tarball restinio 0.6.19+ds-1 restinio_0.6.19+ds-1.debian.tar.xz]

changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
gbp.conf [new file with mode: 0644]
patches/2000-include-clara.patch [new file with mode: 0644]
patches/README [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..8416fc8
--- /dev/null
+++ b/changelog
@@ -0,0 +1,98 @@
+restinio (0.6.19+ds-1) unstable; urgency=medium
+
+  * Repack to remove several embedded copies, per #1053931.
+  * debian/control: Add rapidjson-dev to Build-Depends.
+  * debian/copyright: Remove entries corresponding to the
+    removed embedded copies.
+  * debian/watch: Add compression=bzip2, dversionmangle=auto,
+    and repacksuffix=+ds.
+
+ -- Amin Bandali <bandali@gnu.org>  Thu, 26 Oct 2023 01:00:31 -0400
+
+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 <bandali@gnu.org>  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 <bandali@gnu.org>  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 <bage@debian.org>  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 <bunk@debian.org>  Mon, 29 Aug 2022 01:53:03 +0300
+
+restinio (0.6.13-1) unstable; urgency=medium
+
+  * Team upload.
+  * New upstream version.
+
+ -- Alexandre Viau <aviau@debian.org>  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 <felix@salfelder.org>  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 <seb@debian.org>  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 <seb@debian.org>  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 <felix@salfelder.org>  Sun, 16 Feb 2020 19:07:44 +0000
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..cbcc149
--- /dev/null
+++ b/control
@@ -0,0 +1,33 @@
+Source: restinio
+Priority: optional
+Maintainer: Amin Bandali <bandali@gnu.org>
+Uploaders: Felix Salfelder <felix@salfelder.org>
+Build-Depends: catch2,
+               cmake,
+               debhelper-compat (= 13),
+               libasio-dev,
+               libboost-dev,
+               libboost-regex-dev,
+               libfmt-dev,
+               libhttp-parser-dev,
+               libpcre2-dev,
+               libssl-dev,
+               rapidjson-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 --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..3ef1872
--- /dev/null
+++ b/copyright
@@ -0,0 +1,128 @@
+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-Excluded: dev/asio/*
+                dev/fmt/*
+                dev/nodejs/http_parser/*
+                dev/rapidjson/*
+                dev/restinio/third_party/zlib/*
+                LICENSE.zlib
+
+Files: *
+Copyright: (c) 2017-2020 Stiffstream <info at stiffstream dot com>. All rights reserved.
+License: BSD-3-Clause
+
+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/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/catch2/* dev/clara/clara.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 <felix@salfelder.org>
+           2020 Sebastien Delafond <seb@debian.org>
+           2023 Amin Bandali <bandali@gnu.org>
+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.
diff --git a/gbp.conf b/gbp.conf
new file mode 100644 (file)
index 0000000..a85b76e
--- /dev/null
+++ b/gbp.conf
@@ -0,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 --git a/patches/2000-include-clara.patch b/patches/2000-include-clara.patch
new file mode 100644 (file)
index 0000000..a2e71ba
--- /dev/null
@@ -0,0 +1,22 @@
+From: =?utf-8?q?S=C3=A9bastien_Delafond?= <sdelafond@gmail.com>
+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 --git a/patches/README b/patches/README
new file mode 100644 (file)
index 0000000..80c1584
--- /dev/null
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..aca1e23
--- /dev/null
@@ -0,0 +1 @@
+2000-include-clara.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..7607200
--- /dev/null
+++ b/rules
@@ -0,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 --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..ede0981
--- /dev/null
@@ -0,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 --git a/watch b/watch
new file mode 100644 (file)
index 0000000..ad84bab
--- /dev/null
+++ b/watch
@@ -0,0 +1,5 @@
+version=4
+opts="searchmode=plain,compression=bzip2,dversionmangle=auto,\
+repacksuffix=+ds,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