Package list rust-stfu8 / e0ffda9
prepare packaging of rustls-native-certs Jan Niehusmann 6 months ago
9 changed file(s) with 244 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 rust-rustls-native-certs (0.5.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package rustls-native-certs 0.5.0 from crates.io using debcargo 2.4.4
3
4 -- Jan Niehusmann <jan@debian.org> Thu, 13 May 2021 10:50:01 +0200
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: rustls-native-certs
2 Upstream-Contact: Joseph Birr-Pixton <jpixton@gmail.com>
3 Source: https://github.com/ctz/rustls-native-certs
4
5 Files: *
6 Copyright: 2019-2020 Joseph Birr-Pixton <jpixton@gmail.com>
7 License: Apache-2.0 or ISC or MIT
8
9 Files: debian/*
10 Copyright:
11 2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
12 2021 Jan Niehusmann <jan@debian.org>
13 License: Apache-2.0 or ISC or MIT
14
15 License: Apache-2.0
16 Debian systems provide the Apache 2.0 license in
17 /usr/share/common-licenses/Apache-2.0
18
19 License: ISC
20 Permission to use, copy, modify, and/or distribute this software for any
21 purpose with or without fee is hereby granted, provided that the above
22 copyright notice and this permission notice appear in all copies.
23 .
24 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
25 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
26 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
27 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
28 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
29 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
30 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
31
32 License: MIT
33 Permission is hereby granted, free of charge, to any person obtaining a copy
34 of this software and associated documentation files (the "Software"), to deal
35 in the Software without restriction, including without limitation the rights
36 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37 copies of the Software, and to permit persons to whom the Software is
38 furnished to do so, subject to the following conditions:
39 .
40 The above copyright notice and this permission notice shall be included in all
41 copies or substantial portions of the Software.
42 .
43 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49 SOFTWARE.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: rustls-native-certs
2 Upstream-Contact: Joseph Birr-Pixton <jpixton@gmail.com>
3 Source: https://github.com/ctz/rustls-native-certs
4
5 Files: *
6 Copyright: FIXME (overlay) UNKNOWN-YEARS Joseph Birr-Pixton <jpixton@gmail.com>
7 License: Apache-2.0 or ISC or MIT
8 Comment:
9 FIXME (overlay): Since upstream copyright years are not available in
10 Cargo.toml, they were extracted from the upstream Git repository. This may not
11 be correct information so you should review and fix this before uploading to
12 the archive.
13
14 Files: ./LICENSE-ISC
15 Copyright: 2016, Joseph Birr-Pixton <jpixton@gmail.com>
16 License: UNKNOWN-LICENSE; FIXME (overlay)
17 Comment:
18 FIXME (overlay): These notices are extracted from files. Please review them
19 before uploading to the archive.
20
21 Files: ./LICENSE-MIT
22 Copyright: 2016 Joseph Birr-Pixton <jpixton@gmail.com>
23 License: UNKNOWN-LICENSE; FIXME (overlay)
24 Comment:
25 FIXME (overlay): These notices are extracted from files. Please review them
26 before uploading to the archive.
27
28 Files: debian/*
29 Copyright:
30 2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
31 2021 Jan Niehusmann <jan@debian.org>
32 License: Apache-2.0 or ISC or MIT
33
34 License: Apache-2.0
35 Debian systems provide the Apache 2.0 license in
36 /usr/share/common-licenses/Apache-2.0
37
38 License: ISC
39 Permission to use, copy, modify, and/or distribute this software for any
40 purpose with or without fee is hereby granted, provided that the above
41 copyright notice and this permission notice appear in all copies.
42 .
43 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
44 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
45 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
46 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
47 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
48 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
49 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
50
51 License: MIT
52 Permission is hereby granted, free of charge, to any person obtaining a copy
53 of this software and associated documentation files (the "Software"), to deal
54 in the Software without restriction, including without limitation the rights
55 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
56 copies of the Software, and to permit persons to whom the Software is
57 furnished to do so, subject to the following conditions:
58 .
59 The above copyright notice and this permission notice shall be included in all
60 copies or substantial portions of the Software.
61 .
62 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
67 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
68 SOFTWARE.
0 overlay = "."
1 uploaders = ["Jan Niehusmann <jan@debian.org>"]
2
3 [packages.lib]
4 test_depends = ["ca-certificates"]
5 test_is_broken = true
6
7 [packages."lib+rustls"]
8 test_is_broken = false
0 Description: Disable webpki-roots based tests
1 Author: Jan Niehusmann <jan@debian.org>
2
3 ---
4 The information above should follow the Patch Tagging Guidelines, please
5 checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
6 are templates for supplementary fields that you might want to add:
7
8 Last-Update: 2021-05-12
9
10 --- rust-rustls-native-certs-0.5.0.orig/tests/compare_mozilla.rs
11 +++ rust-rustls-native-certs-0.5.0/tests/compare_mozilla.rs
12 @@ -66,6 +66,7 @@ fn to_map<'a>(anchors: &'a [webpki::Trus
13 r
14 }
15
16 +/*
17 #[test]
18 fn test_does_not_have_many_roots_unknown_by_mozilla() {
19 let native = rustls_native_certs::load_native_certs()
20 @@ -95,7 +96,9 @@ fn test_does_not_have_many_roots_unknown
21 println!("{:?} anchors present in native set but not mozilla ({}%)", missing_in_moz_roots, diff * 100.);
22 assert!(diff < threshold, "too many unknown roots");
23 }
24 +*/
25
26 +/*
27 #[test]
28 fn test_contains_most_roots_known_by_mozilla() {
29 let native = rustls_native_certs::load_native_certs()
30 @@ -127,6 +130,7 @@ fn test_contains_most_roots_known_by_moz
31 missing_in_native_roots, diff * 100.);
32 assert!(diff < threshold, "too many missing roots");
33 }
34 +*/
35
36 #[test]
37 fn util_list_certs() {
0 Description: relax rustls dependency
1 As debian only has rustls-0.18 packaged, depend on that version
2 instead of 0.19.0
3 Author: Jan Niehusmann <jan@debian.org>
4
5 ---
6 The information above should follow the Patch Tagging Guidelines, please
7 checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
8 are templates for supplementary fields that you might want to add:
9
10 Last-Update: 2021-05-12
11
12 --- rust-rustls-native-certs-0.5.0.orig/Cargo.toml
13 +++ rust-rustls-native-certs-0.5.0/Cargo.toml
14 @@ -22,7 +22,7 @@ categories = ["network-programming", "cr
15 license = "Apache-2.0/ISC/MIT"
16 repository = "https://github.com/ctz/rustls-native-certs"
17 [dependencies.rustls]
18 -version = "0.19.0"
19 +version = "0.18.0"
20 optional = true
21 [dev-dependencies.ring]
22 version = "0.16.5"
0 Description: remove unnecessary dev dependencies
1 The dependency on webpki-roots is only used to compare system certificates
2 with the ones from webpki-roots, which doesn't make much sense in an
3 automated test during packaging.
4 Author: Jan Niehusmann <jan@debian.org>
5
6 ---
7 The information above should follow the Patch Tagging Guidelines, please
8 checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
9 are templates for supplementary fields that you might want to add:
10
11 Last-Update: 2021-05-12
12
13 --- rust-rustls-native-certs-0.5.0.orig/Cargo.toml
14 +++ rust-rustls-native-certs-0.5.0/Cargo.toml
15 @@ -33,9 +33,6 @@ version = "0.7.0"
16 [dev-dependencies.webpki]
17 version = "0.21"
18
19 -[dev-dependencies.webpki-roots]
20 -version = "0"
21 -
22 [features]
23 default = ["rustls"]
24 [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-probe]
0 Description: remove dependency on security-framework
1 The dependency on security-framework is only necessary for macos.
2 Author: Jan Niehusmann <jan@debian.org>
3
4 ---
5 The information above should follow the Patch Tagging Guidelines, please
6 checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
7 are templates for supplementary fields that you might want to add:
8
9 Last-Update: 2021-05-12
10
11 --- rust-rustls-native-certs-0.5.0.orig/Cargo.toml
12 +++ rust-rustls-native-certs-0.5.0/Cargo.toml
13 @@ -37,7 +37,5 @@ version = "0.21"
14 default = ["rustls"]
15 [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.openssl-probe]
16 version = "0.1.2"
17 -[target."cfg(target_os = \"macos\")".dependencies.security-framework]
18 -version = "2.0.0"
19 [target."cfg(windows)".dependencies.schannel]
20 version = "0.1.15"
0 remove-dev-dependencies
1 relax-rustls-dependency
2 remove-security-framework-dependency
3 disable-webpki-tests