diff --git a/src/serial/debian/changelog b/src/serial/debian/changelog new file mode 100644 index 0000000..f0060e9 --- /dev/null +++ b/src/serial/debian/changelog @@ -0,0 +1,5 @@ +rust-serial (0.4.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package serial 0.4.0 from crates.io using debcargo 2.4.4 + + -- Henry-Nicolas Tourneur Fri, 23 Apr 2021 20:18:14 +0000 diff --git a/src/serial/debian/copyright b/src/serial/debian/copyright new file mode 100644 index 0000000..f1228d9 --- /dev/null +++ b/src/serial/debian/copyright @@ -0,0 +1,33 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: serial +Upstream-Contact: David Cuddeback +Source: https://github.com/dcuddeback/serial-rs + +Files: * +Copyright: 2016-2018 David Cuddeback +License: MIT + +Files: debian/* +Copyright: + 2021 Debian Rust Maintainers + 2021 Henry-Nicolas Tourneur +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/serial/debian/copyright.debcargo.hint b/src/serial/debian/copyright.debcargo.hint new file mode 100644 index 0000000..6505d4d --- /dev/null +++ b/src/serial/debian/copyright.debcargo.hint @@ -0,0 +1,45 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: serial +Upstream-Contact: David Cuddeback +Source: https://github.com/dcuddeback/serial-rs + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS David Cuddeback +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: ./README.md +Copyright: 2015 David Cuddeback +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: + 2021 Debian Rust Maintainers + 2021 Henry-Nicolas Tourneur +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/serial/debian/debcargo.toml b/src/serial/debian/debcargo.toml new file mode 100644 index 0000000..e16e09a --- /dev/null +++ b/src/serial/debian/debcargo.toml @@ -0,0 +1,2 @@ +overlay = "." +uploaders = ["Henry-Nicolas Tourneur "] diff --git a/src/serial/debian/patches/relax-deps.patch b/src/serial/debian/patches/relax-deps.patch new file mode 100644 index 0000000..9150145 --- /dev/null +++ b/src/serial/debian/patches/relax-deps.patch @@ -0,0 +1,8 @@ +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -26,5 +26,3 @@ repository = "https://github.com/dcuddeb + version = "=0.4.0" + [target."cfg(unix)".dependencies.serial-unix] + version = "=0.4.0" +-[target."cfg(windows)".dependencies.serial-windows] +-version = "=0.4.0" diff --git a/src/serial/debian/patches/series b/src/serial/debian/patches/series new file mode 100644 index 0000000..bdddf05 --- /dev/null +++ b/src/serial/debian/patches/series @@ -0,0 +1 @@ +relax-deps.patch