1
0
Fork 0

Compare commits

...

8 commits

Author SHA1 Message Date
a50716f8bd
Releasing debian version 1.5.0-3.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 09:05:49 +01:00
c5dd4d9c88
Using codenames in changelog.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 07:47:58 +01:00
4baa2565a9
Updating year in debian copyright for 2025.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:55:11 +01:00
ad3accbd5b
Correcting copyright holder for debian packaging.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 06:54:58 +01:00
3cffe48ce0
Adding vcs fields.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:12:43 +01:00
2d04edea12
Releasing debian version 1.5.0-2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:11:06 +01:00
21c29b9a0a
Updating maintainer email address.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:11:03 +01:00
6b49475998
Adding debian version 1.5.0-1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 05:10:51 +01:00
10 changed files with 262 additions and 0 deletions

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

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

20
debian/changelog vendored Normal file
View file

@ -0,0 +1,20 @@
rust-sha256 (1.5.0-3) sid; urgency=medium
* Adding vcs fields.
* Correcting copyright holder for debian packaging.
* Updating year in debian copyright for 2025.
* Using codenames in changelog.
-- Daniel Baumann <daniel@debian.org> Wed, 05 Feb 2025 09:05:45 +0100
rust-sha256 (1.5.0-2) sid; urgency=medium
* Updating maintainer email address.
-- Daniel Baumann <daniel@debian.org> Sun, 15 Dec 2024 20:30:39 +0100
rust-sha256 (1.5.0-1) sid; urgency=low
* Initial upload to sid (build-depends of forgejo-cli).
-- Daniel Baumann <daniel@debian.org> Wed, 20 Nov 2024 08:24:49 +0100

99
debian/control vendored Normal file
View file

@ -0,0 +1,99 @@
Source: rust-sha256
Section: rust
Priority: optional
Maintainer: Daniel Baumann <daniel@debian.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
Vcs-Browser: https://forgejo.debian.net/forgejo/rust-sha256
Vcs-Git: https://forgejo.debian.net/forgejo/rust-sha256
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
View 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-2025 Daniel Baumann <daniel@debian.org>
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.

View file

@ -0,0 +1 @@
librust-sha256+openssl-dev binary: empty-rust-library-declares-provides *

View file

@ -0,0 +1 @@
librust-sha256+tokio-dev binary: empty-rust-library-declares-provides *

12
debian/rules vendored Executable file
View 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
View file

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

76
debian/tests/control vendored Normal file
View 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
View 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