Compare commits

..

2 Commits

Author SHA1 Message Date
denghao 5426257bf5 changed debian/source/format to native 2023-04-11 17:59:28 +08:00
denghao f483a1ee59 Import Debian changes 0.4.5-ok1
rust-http-body (0.4.5-ok1) yangtze; urgency=medium

  * Build for openKylin.
2023-04-11 17:59:27 +08:00
12 changed files with 250 additions and 0 deletions

1
debian/cargo-checksum.json vendored Normal file
View File

@ -0,0 +1 @@
{"package":"d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1","files":{}}

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
rust-http-body (0.4.5-ok1) yangtze; urgency=medium
* Build for openKylin.
-- denghao <denghao@kylinos.cn> Mon, 10 Apr 2023 14:38:49 +0800

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
12

36
debian/control vendored Normal file
View File

@ -0,0 +1,36 @@
Source: rust-http-body
Section: rust
Priority: optional
Build-Depends: debhelper (>= 12),
dh-cargo (>= 25),
cargo:native <!nocheck>,
rustc:native <!nocheck>,
libstd-rust-dev <!nocheck>,
librust-bytes-1+default-dev <!nocheck>,
librust-http-0.2+default-dev <!nocheck>,
librust-pin-project-lite-0.2+default-dev <!nocheck>
Maintainer: Openkylin Developers <packaging@lists.openkylin.top>
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.

130
debian/copyright vendored Normal file
View File

@ -0,0 +1,130 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: rust-http-body
Source: <url://example.com>
#
# 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 <pkg-rust-maintainers@alioth-lists.debian.net>
2019-2022 Robin Krahl <robin.krahl@ireas.org>
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.

51
debian/copyright.debcargo.hint vendored Normal file
View File

@ -0,0 +1,51 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: http-body
Upstream-Contact:
Carl Lerche <me@carllerche.com>
Lucio Franco <luciofranco14@gmail.com>
Sean McArthur <sean@seanmonstar.com>
Source: https://github.com/hyperium/http-body
Files: *
Copyright:
FIXME (overlay) UNKNOWN-YEARS Carl Lerche <me@carllerche.com>
FIXME (overlay) UNKNOWN-YEARS Lucio Franco <luciofranco14@gmail.com>
FIXME (overlay) UNKNOWN-YEARS Sean McArthur <sean@seanmonstar.com>
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 <pkg-rust-maintainers@alioth-lists.debian.net>
2019-2022 Robin Krahl <robin.krahl@ireas.org>
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.

3
debian/debcargo.toml vendored Normal file
View File

@ -0,0 +1,3 @@
overlay = "."
uploaders = ["Robin Krahl <robin.krahl@ireas.org>"]
summary = "trait representing asynchronous operations on an HTTP body"

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
# You must remove unused comment lines for the released package.

3
debian/rules vendored Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem cargo

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)

14
debian/tests/control vendored Normal file
View File

@ -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

4
debian/watch vendored Normal file
View File

@ -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