Adding debian version 1.5.0-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
b3531968df
commit
6b49475998
10 changed files with 245 additions and 0 deletions
1
debian/cargo-checksum.json
vendored
Normal file
1
debian/cargo-checksum.json
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{"package":"18278f6a914fa3070aa316493f7d2ddfb9ac86ebc06fa3b83bffda487e9065b0","files":{}}
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
rust-sha256 (1.5.0-1) unstable; urgency=low
|
||||||
|
|
||||||
|
* Initial upload to sid (build-depends of forgejo-cli).
|
||||||
|
|
||||||
|
-- Daniel Baumann <daniel@debian.org> Wed, 20 Nov 2024 08:24:49 +0100
|
97
debian/control
vendored
Normal file
97
debian/control
vendored
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
Source: rust-sha256
|
||||||
|
Section: rust
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
|
||||||
|
Build-Depends:
|
||||||
|
cargo:native <!nocheck>,
|
||||||
|
debhelper-compat (= 13),
|
||||||
|
dh-sequence-cargo,
|
||||||
|
librust-async-trait-0.1+default-dev (>= 0.1.68-~~) <!nocheck>,
|
||||||
|
librust-bytes-1+default-dev (>= 1.4.0-~~) <!nocheck>,
|
||||||
|
librust-hex-0.4+default-dev (>= 0.4.2-~~) <!nocheck>,
|
||||||
|
librust-sha2-0.10-dev (>= 0.10.6-~~) <!nocheck>,
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~) <!nocheck>,
|
||||||
|
librust-tokio-1+fs-dev (>= 1.28.2-~~) <!nocheck>,
|
||||||
|
librust-tokio-1+io-util-dev (>= 1.28.2-~~) <!nocheck>,
|
||||||
|
libstd-rust-dev <!nocheck>,
|
||||||
|
rustc:native <!nocheck>,
|
||||||
|
Rules-Requires-Root: no
|
||||||
|
Standards-Version: 4.7.0
|
||||||
|
Homepage: https://github.com/baoyachi/sha256-rs
|
||||||
|
X-Cargo-Crate: sha256
|
||||||
|
|
||||||
|
Package: librust-sha256+openssl-dev
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
librust-openssl-0.10-dev (>= 0.10.54-~~),
|
||||||
|
librust-sha256-dev (= ${binary:Version}),
|
||||||
|
${misc:Depends},
|
||||||
|
Provides:
|
||||||
|
librust-sha256+native-openssl-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1+native-openssl-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1+openssl-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5+native-openssl-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5+openssl-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5.0+native-openssl-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5.0+openssl-dev (= ${binary:Version}),
|
||||||
|
Description: SHA256 crypto digest - feature "openssl" and 1 more
|
||||||
|
SHA256 crypto digest implementation in Rust.
|
||||||
|
.
|
||||||
|
This metapackage enables feature "openssl" for the Rust sha256 crate, by
|
||||||
|
pulling in any additional dependencies needed by that feature.
|
||||||
|
.
|
||||||
|
Additionally, this package also provides the "native_openssl" feature.
|
||||||
|
|
||||||
|
Package: librust-sha256+tokio-dev
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
librust-sha256-dev (= ${binary:Version}),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+fs-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+io-util-dev (>= 1.28.2-~~),
|
||||||
|
${misc:Depends},
|
||||||
|
Provides:
|
||||||
|
librust-sha256+async-dev (= ${binary:Version}),
|
||||||
|
librust-sha256+default-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1+async-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1+default-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1+tokio-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5+async-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5+default-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5+tokio-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5.0+async-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5.0+default-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5.0+tokio-dev (= ${binary:Version}),
|
||||||
|
Description: SHA256 crypto digest - feature "tokio" and 2 more
|
||||||
|
SHA256 crypto digest implementation in Rust.
|
||||||
|
.
|
||||||
|
This metapackage enables feature "tokio" for the Rust sha256 crate, by pulling
|
||||||
|
in any additional dependencies needed by that feature.
|
||||||
|
.
|
||||||
|
Additionally, this package also provides the "async", and "default" features.
|
||||||
|
|
||||||
|
Package: librust-sha256-dev
|
||||||
|
Section: rust
|
||||||
|
Architecture: any
|
||||||
|
Multi-Arch: same
|
||||||
|
Depends:
|
||||||
|
librust-async-trait-0.1+default-dev (>= 0.1.68-~~),
|
||||||
|
librust-bytes-1+default-dev (>= 1.4.0-~~),
|
||||||
|
librust-hex-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
librust-sha2-0.10-dev (>= 0.10.6-~~),
|
||||||
|
${misc:Depends},
|
||||||
|
Recommends:
|
||||||
|
librust-sha256+tokio-dev (= ${binary:Version}),
|
||||||
|
Suggests:
|
||||||
|
librust-sha256+openssl-dev (= ${binary:Version}),
|
||||||
|
Provides:
|
||||||
|
librust-sha256-1-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5-dev (= ${binary:Version}),
|
||||||
|
librust-sha256-1.5.0-dev (= ${binary:Version}),
|
||||||
|
Description: SHA256 crypto digest - Rust source code
|
||||||
|
SHA256 crypto digest implementation in Rust.
|
||||||
|
.
|
||||||
|
This package contains the source for the Rust sha256 crate
|
||||||
|
for use with cargo and dh-cargo.
|
47
debian/copyright
vendored
Normal file
47
debian/copyright
vendored
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: sha256
|
||||||
|
Upstream-Contact: https://github.com/baoyachi/sha256-rs/issues
|
||||||
|
Source: https://github.com/baoyachi/sha256-rs/tags
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2021-2024 baoyachi <liaoymxsdl@gmail.com>
|
||||||
|
License: Apache-2.0 or MIT
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2024 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
|
||||||
|
License: Apache-2.0 or MIT
|
||||||
|
|
||||||
|
License: Apache-2.0
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
.
|
||||||
|
https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
.
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
|
.
|
||||||
|
The complete text of the Apache-2.0 License
|
||||||
|
can be found in /usr/share/common-licenses/Apache-2.0 file.
|
||||||
|
|
||||||
|
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.
|
1
debian/librust-sha256+openssl-dev.lintian-overrides
vendored
Normal file
1
debian/librust-sha256+openssl-dev.lintian-overrides
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
librust-sha256+openssl-dev binary: empty-rust-library-declares-provides *
|
1
debian/librust-sha256+tokio-dev.lintian-overrides
vendored
Normal file
1
debian/librust-sha256+tokio-dev.lintian-overrides
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
librust-sha256+tokio-dev binary: empty-rust-library-declares-provides *
|
12
debian/rules
vendored
Executable file
12
debian/rules
vendored
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh ${@} --buildsystem cargo
|
||||||
|
|
||||||
|
execute_after_dh_auto_install:
|
||||||
|
# removing unneeded files
|
||||||
|
rm -rf debian/librust-*/usr/share/cargo/registry/*/.git*
|
||||||
|
rm -f debian/librust-*/usr/share/cargo/registry/*/*.orig
|
||||||
|
rm -f debian/librust-*/usr/share/cargo/registry/*/*.md
|
||||||
|
rm -f debian/librust-*/usr/share/cargo/registry/*/LICENSE*
|
||||||
|
rm -f debian/librust-*/usr/share/cargo/registry/*/foo.file
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
3.0 (quilt)
|
76
debian/tests/control
vendored
Normal file
76
debian/tests/control
vendored
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets --all-features
|
||||||
|
Features: test-name=rust-sha256:@
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets --no-default-features
|
||||||
|
Features: test-name=librust-sha256-dev:
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets --no-default-features --features native_openssl
|
||||||
|
Features: test-name=librust-sha256+openssl-dev:native_openssl
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets --no-default-features --features openssl
|
||||||
|
Features: test-name=librust-sha256+openssl-dev:openssl
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets --no-default-features --features async
|
||||||
|
Features: test-name=librust-sha256+tokio-dev:async
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets
|
||||||
|
Features: test-name=librust-sha256+tokio-dev:default
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
||||||
|
|
||||||
|
Test-Command: /usr/share/cargo/bin/cargo-auto-test sha256 1.5.0 --all-targets --no-default-features --features tokio
|
||||||
|
Features: test-name=librust-sha256+tokio-dev:tokio
|
||||||
|
Depends:
|
||||||
|
dh-cargo (>= 31),
|
||||||
|
librust-tokio-1+default-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-1+full-dev (>= 1.28.2-~~),
|
||||||
|
librust-tokio-test-0.4+default-dev (>= 0.4.2-~~),
|
||||||
|
rustc,
|
||||||
|
@,
|
||||||
|
Restrictions: allow-stderr, skip-not-installable
|
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
version=4
|
||||||
|
opts=filenamemangle=s/.*\/(.*)\/download/sha256-$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/sha256 .*/crates/sha256/@ANY_VERSION@/download
|
Loading…
Add table
Reference in a new issue