From 97bf7a04247b5e424714f196a12a3cd29d53537c Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Tue, 5 Nov 2019 04:14:16 +0100 Subject: [PATCH] Update getrandom --- src/getrandom/debian/changelog | 6 ++++++ src/getrandom/debian/copyright.debcargo.hint | 17 ++++++++++++----- .../debian/patches/disable-unsupported-os.patch | 14 +++++++------- src/getrandom/debian/patches/relax-deps.patch | 15 +++++++++++++++ src/getrandom/debian/patches/series | 1 + 5 files changed, 41 insertions(+), 12 deletions(-) create mode 100644 src/getrandom/debian/patches/relax-deps.patch diff --git a/src/getrandom/debian/changelog b/src/getrandom/debian/changelog index d9f0c3b93..99bcc74a0 100644 --- a/src/getrandom/debian/changelog +++ b/src/getrandom/debian/changelog @@ -1,3 +1,9 @@ +rust-getrandom (0.1.13-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package getrandom 0.1.13 from crates.io using debcargo 2.4.0 + + -- kpcyrd Tue, 5 Nov 2019 04:14:23 +0100 + rust-getrandom (0.1.12-1) unstable; urgency=medium * Team upload. diff --git a/src/getrandom/debian/copyright.debcargo.hint b/src/getrandom/debian/copyright.debcargo.hint index 440e69423..a7f3a92df 100644 --- a/src/getrandom/debian/copyright.debcargo.hint +++ b/src/getrandom/debian/copyright.debcargo.hint @@ -21,35 +21,35 @@ Comment: FIXME (overlay): These notices are extracted from files. Please review them before uploading to the archive. -Files: ./src/cloudabi.rs +Files: ./src/bsd_arandom.rs Copyright: 2018 Developers of the Rand project. License: UNKNOWN-LICENSE; FIXME (overlay) Comment: FIXME (overlay): These notices are extracted from files. Please review them before uploading to the archive. -Files: ./src/dummy.rs +Files: ./src/cloudabi.rs Copyright: 2018 Developers of the Rand project. License: UNKNOWN-LICENSE; FIXME (overlay) Comment: FIXME (overlay): These notices are extracted from files. Please review them before uploading to the archive. -Files: ./src/error.rs +Files: ./src/dummy.rs Copyright: 2018 Developers of the Rand project. License: UNKNOWN-LICENSE; FIXME (overlay) Comment: FIXME (overlay): These notices are extracted from files. Please review them before uploading to the archive. -Files: ./src/error_impls.rs +Files: ./src/error.rs Copyright: 2018 Developers of the Rand project. License: UNKNOWN-LICENSE; FIXME (overlay) Comment: FIXME (overlay): These notices are extracted from files. Please review them before uploading to the archive. -Files: ./src/freebsd.rs +Files: ./src/error_impls.rs Copyright: 2018 Developers of the Rand project. License: UNKNOWN-LICENSE; FIXME (overlay) Comment: @@ -133,6 +133,13 @@ Comment: FIXME (overlay): These notices are extracted from files. Please review them before uploading to the archive. +Files: ./src/vxworks.rs +Copyright: 2018 Developers of the Rand project. +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + Files: ./src/wasi.rs Copyright: 2018 Developers of the Rand project. License: UNKNOWN-LICENSE; FIXME (overlay) diff --git a/src/getrandom/debian/patches/disable-unsupported-os.patch b/src/getrandom/debian/patches/disable-unsupported-os.patch index b365c047c..c6d420729 100644 --- a/src/getrandom/debian/patches/disable-unsupported-os.patch +++ b/src/getrandom/debian/patches/disable-unsupported-os.patch @@ -1,11 +1,11 @@ --- a/Cargo.toml +++ b/Cargo.toml -@@ -44,8 +44,6 @@ - [target."cfg(any(unix, target_os = \"redox\"))".dependencies.libc] - version = "0.2.62" - default-features = false +@@ -42,8 +42,6 @@ + rustc-dep-of-std = ["compiler_builtins", "core"] + std = [] + test-in-browser = ["wasm-bindgen"] -[target."cfg(target_os = \"wasi\")".dependencies.wasi] -version = "0.7" - [target.wasm32-unknown-unknown.dependencies.stdweb] - version = "0.4.18" - optional = true + [target."cfg(unix)".dependencies.libc] + version = "0.2.64" + default-features = false diff --git a/src/getrandom/debian/patches/relax-deps.patch b/src/getrandom/debian/patches/relax-deps.patch new file mode 100644 index 000000000..7b77e1493 --- /dev/null +++ b/src/getrandom/debian/patches/relax-deps.patch @@ -0,0 +1,15 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -43,10 +43,10 @@ + std = [] + test-in-browser = ["wasm-bindgen"] + [target."cfg(unix)".dependencies.libc] +-version = "0.2.64" ++version = "0.2.62" + default-features = false + [target.wasm32-unknown-unknown.dependencies.stdweb] +-version = "0.4.18" ++version = "0.4" + optional = true + + [target.wasm32-unknown-unknown.dependencies.wasm-bindgen] diff --git a/src/getrandom/debian/patches/series b/src/getrandom/debian/patches/series index 99ede92a0..9fd0cc7dd 100644 --- a/src/getrandom/debian/patches/series +++ b/src/getrandom/debian/patches/series @@ -1 +1,2 @@ disable-unsupported-os.patch +relax-deps.patch -- 2.39.5