diff --git a/TODO.rst b/TODO.rst index d6dd1ca..ac044e6 100644 --- a/TODO.rst +++ b/TODO.rst @@ -50,6 +50,7 @@ gtk (update, introduces new feature) bumpalo getrandom + md5-asm Delayed/problematic:: diff --git a/src/md5-asm/debian/changelog b/src/md5-asm/debian/changelog new file mode 100644 index 0000000..4a68ebb --- /dev/null +++ b/src/md5-asm/debian/changelog @@ -0,0 +1,5 @@ +rust-md5-asm (0.4.3-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package md5-asm 0.4.3 from crates.io using debcargo 2.2.10 + + -- kpcyrd Wed, 10 Jul 2019 03:18:17 +0000 diff --git a/src/md5-asm/debian/copyright b/src/md5-asm/debian/copyright new file mode 100644 index 0000000..e367b4f --- /dev/null +++ b/src/md5-asm/debian/copyright @@ -0,0 +1,36 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: md5-asm +Upstream-Contact: RustCrypto Developers +Source: https://github.com/RustCrypto/asm-hashes + +Files: * +Copyright: + 2017-2019 RustCrypto Developers + 2016 Project Nayuki + 2017-2019 Artyom Pavlov +License: MIT + +Files: debian/* +Copyright: + 2019 Debian Rust Maintainers + 2019 kpcyrd +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. diff --git a/src/md5-asm/debian/copyright.debcargo.hint b/src/md5-asm/debian/copyright.debcargo.hint new file mode 100644 index 0000000..25ce3d2 --- /dev/null +++ b/src/md5-asm/debian/copyright.debcargo.hint @@ -0,0 +1,61 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: md5-asm +Upstream-Contact: RustCrypto Developers +Source: https://github.com/RustCrypto/asm-hashes + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS RustCrypto Developers +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: + 2016 Project Nayuki + 2017 Artyom Pavlov +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: ./src/x64.S +Copyright: 2016 Project Nayuki. (MIT License) +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: ./src/x86.S +Copyright: 2016 Project Nayuki. (MIT License) +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 Debian Rust Maintainers + 2019 kpcyrd +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. diff --git a/src/md5-asm/debian/debcargo.toml b/src/md5-asm/debian/debcargo.toml new file mode 100644 index 0000000..8f1f3c1 --- /dev/null +++ b/src/md5-asm/debian/debcargo.toml @@ -0,0 +1,2 @@ +overlay = "." +uploaders = ["kpcyrd "] diff --git a/src/md5-asm/debian/patches/built-using.patch b/src/md5-asm/debian/patches/built-using.patch new file mode 100644 index 0000000..bbbc539 --- /dev/null +++ b/src/md5-asm/debian/patches/built-using.patch @@ -0,0 +1,12 @@ +--- a/build.rs ++++ b/build.rs +@@ -1,6 +1,9 @@ + extern crate cc; + ++use std::env; ++ + fn main() { ++ println!("dh-cargo:deb-built-using=md5=0={}", env::var("CARGO_MANIFEST_DIR").unwrap()); + let asm_path = if cfg!(target_arch = "x86") { + "src/x86.S" + } else if cfg!(target_arch = "x86_64") { diff --git a/src/md5-asm/debian/patches/series b/src/md5-asm/debian/patches/series new file mode 100644 index 0000000..04fac40 --- /dev/null +++ b/src/md5-asm/debian/patches/series @@ -0,0 +1 @@ +built-using.patch