diff --git a/debian/cargo-checksum.json b/debian/cargo-checksum.json new file mode 100644 index 0000000..dbbd97b --- /dev/null +++ b/debian/cargo-checksum.json @@ -0,0 +1 @@ +{"package":"d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1","files":{}} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..263ad43 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +rust-http-body (0.4.5-ok1) yangtze; urgency=medium + + * Build for openKylin. + + -- denghao Mon, 10 Apr 2023 14:38:49 +0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..48082f7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +12 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ac85e12 --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: rust-http-body +Section: rust +Priority: optional +Build-Depends: debhelper (>= 12), + dh-cargo (>= 25), + cargo:native , + rustc:native , + libstd-rust-dev , + librust-bytes-1+default-dev , + librust-http-0.2+default-dev , + librust-pin-project-lite-0.2+default-dev +Maintainer: Openkylin Developers +Standards-Version: 4.5.1 +Vcs-Git:https://gitee.com/openkylin/rust-http-body.git +Vcs-Browser:https://gitee.com/openkylin/rust-http-body +Rules-Requires-Root: no + +Package: librust-http-body-dev +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + librust-bytes-1+default-dev, + librust-http-0.2+default-dev, + librust-pin-project-lite-0.2+default-dev +Provides: + librust-http-body+default-dev (= ${binary:Version}), + librust-http-body-0-dev (= ${binary:Version}), + librust-http-body-0+default-dev (= ${binary:Version}), + librust-http-body-0.4-dev (= ${binary:Version}), + librust-http-body-0.4+default-dev (= ${binary:Version}), + librust-http-body-0.4.5-dev (= ${binary:Version}), + librust-http-body-0.4.5+default-dev (= ${binary:Version}) +Description: trait representing asynchronous operations on an HTTP body - Rust source code + This package contains the source for the Rust http-body crate, packaged by + debcargo for use with cargo and dh-cargo. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..5ff25fd --- /dev/null +++ b/debian/copyright @@ -0,0 +1,130 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: rust-http-body +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .cargo_vcs_info.json + .github/workflows/CI.yml + .gitignore + CHANGELOG.md + Cargo.toml + Cargo.toml.orig + README.md + debian-orig/cargo-checksum.json + debian-orig/compat + debian-orig/debcargo.toml + debian-orig/rules + debian-orig/source/format + debian-orig/tests/control + debian-orig/watch + src/combinators/box_body.rs + src/combinators/map_data.rs + src/combinators/map_err.rs + src/combinators/mod.rs + src/empty.rs + src/full.rs + src/lib.rs + src/limited.rs + src/next.rs + src/size_hint.rs + tests/is_end_stream.rs +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: debian-orig/copyright +Copyright: __NO_COPYRIGHT__ in: debian-orig/copyright +License: Expat + 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. + +Files: debian-orig/copyright.debcargo.hint +Copyright: : 2019 Hyper Contributors License: UNKNOWN-LICENSE; FIXME (overlay) Comment: +License: Expat + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + . + Files: debian/* + Copyright: + 2019-2022 Debian Rust Maintainers + 2019-2022 Robin Krahl + License: MIT + . + 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. + +Files: debian-orig/control +Copyright: __NO_COPYRIGHT__ in: debian-orig/control +License: __UNKNOWN__ + Package: librust-http-body-dev + Architecture: any + Multi-Arch: same + Depends: + ${misc:Depends}, + librust-bytes-1+default-dev, + librust-http-0.2+default-dev, + librust-pin-project-lite-0.2+default-dev + Provides: + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. + +#---------------------------------------------------------------------------- +# License file: LICENSE + Copyright (c) 2019 Hyper Contributors + . + 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. diff --git a/debian/copyright.debcargo.hint b/debian/copyright.debcargo.hint new file mode 100644 index 0000000..6538767 --- /dev/null +++ b/debian/copyright.debcargo.hint @@ -0,0 +1,51 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: http-body +Upstream-Contact: + Carl Lerche + Lucio Franco + Sean McArthur +Source: https://github.com/hyperium/http-body + +Files: * +Copyright: + FIXME (overlay) UNKNOWN-YEARS Carl Lerche + FIXME (overlay) UNKNOWN-YEARS Lucio Franco + FIXME (overlay) UNKNOWN-YEARS Sean McArthur +License: MIT +Comment: + FIXME (overlay): Since upstream copyright years are not available in + Cargo.toml, they were extracted from the upstream Git repository. This may not + be correct information so you should review and fix this before uploading to + the archive. + +Files: ./LICENSE +Copyright: 2019 Hyper Contributors +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: debian/* +Copyright: + 2019-2022 Debian Rust Maintainers + 2019-2022 Robin Krahl +License: MIT + +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. diff --git a/debian/debcargo.toml b/debian/debcargo.toml new file mode 100644 index 0000000..8fb7c70 --- /dev/null +++ b/debian/debcargo.toml @@ -0,0 +1,3 @@ +overlay = "." +uploaders = ["Robin Krahl "] +summary = "trait representing asynchronous operations on an HTTP body" diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..044c1c2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ --buildsystem cargo diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..2880642 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,14 @@ +Test-Command: /usr/share/cargo/bin/cargo-auto-test http-body 0.4.5 --all-targets --all-features +Features: test-name=rust-http-body:@ +Depends: dh-cargo (>= 18), librust-tokio-1+default-dev, librust-tokio-1+macros-dev, librust-tokio-1+rt-dev, @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test http-body 0.4.5 --all-targets +Features: test-name=librust-http-body-dev:default +Depends: dh-cargo (>= 18), librust-tokio-1+default-dev, librust-tokio-1+macros-dev, librust-tokio-1+rt-dev, @ +Restrictions: allow-stderr, skip-not-installable + +Test-Command: /usr/share/cargo/bin/cargo-auto-test http-body 0.4.5 --all-targets --no-default-features +Features: test-name=librust-http-body-dev: +Depends: dh-cargo (>= 18), librust-tokio-1+default-dev, librust-tokio-1+macros-dev, librust-tokio-1+rt-dev, @ +Restrictions: allow-stderr, skip-not-installable diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..64703b8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts=filenamemangle=s/.*\/(.*)\/download/http-body-$1\.tar\.gz/g,\ +uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \ +https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/http-body .*/crates/http-body/@ANY_VERSION@/download