diff --git a/src/cryptoki-sys/debian/changelog b/src/cryptoki-sys/debian/changelog new file mode 100644 index 000000000..40f187c39 --- /dev/null +++ b/src/cryptoki-sys/debian/changelog @@ -0,0 +1,5 @@ +rust-cryptoki-sys (0.1.4-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium + + * Package cryptoki-sys 0.1.4 from crates.io using debcargo 2.6.0 + + -- Emanuele Rocca Mon, 30 Jan 2023 11:30:54 +0100 diff --git a/src/cryptoki-sys/debian/copyright b/src/cryptoki-sys/debian/copyright new file mode 100644 index 000000000..5947d02ea --- /dev/null +++ b/src/cryptoki-sys/debian/copyright @@ -0,0 +1,33 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cryptoki-sys +Upstream-Contact: Contributors to the Parsec project +Source: https://github.com/parallaxsecond/rust-cryptoki + +Files: * +Copyright: 2021-2023 Contributors to the Parsec project +License: Apache-2.0 + +Files: pkcs11.h +Copyright: + 2006, 2007 g10 Code GmbH + 2006 Andreas Jellinghaus + 2017 Red Hat, Inc. +License: other + This file is free software; as a special exception the author gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + . + This file is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY, to the extent permitted by law; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. + +Files: debian/* +Copyright: + 2023 Debian Rust Maintainers + 2023 Emanuele Rocca +License: Apache-2.0 + +License: Apache-2.0 + Debian systems provide the Apache 2.0 license in + /usr/share/common-licenses/Apache-2.0 diff --git a/src/cryptoki-sys/debian/copyright.debcargo.hint b/src/cryptoki-sys/debian/copyright.debcargo.hint new file mode 100644 index 000000000..2ca0a3879 --- /dev/null +++ b/src/cryptoki-sys/debian/copyright.debcargo.hint @@ -0,0 +1,61 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: cryptoki-sys +Upstream-Contact: Contributors to the Parsec project +Source: https://github.com/parallaxsecond/rust-cryptoki + +Files: * +Copyright: FIXME (overlay) UNKNOWN-YEARS Contributors to the Parsec project +License: Apache-2.0 +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: 2021 Contributors to the Parsec project.* +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: build.rs +Copyright: 2021 Contributors to the Parsec project. +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: pkcs11.h +Copyright: + 2006, 2007 g10 Code GmbH + 2006 Andreas Jellinghaus + 2017 Red Hat, Inc. +License: UNKNOWN-LICENSE; FIXME (overlay) +Comment: + FIXME (overlay): These notices are extracted from files. Please review them + before uploading to the archive. + +Files: regenerate_bindings.sh +Copyright: 2022 Contributors to the Parsec 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/lib.rs +Copyright: 2021 Contributors to the Parsec project. +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: + 2023 Debian Rust Maintainers + 2023 Emanuele Rocca +License: Apache-2.0 + +License: Apache-2.0 + Debian systems provide the Apache 2.0 license in + /usr/share/common-licenses/Apache-2.0 diff --git a/src/cryptoki-sys/debian/debcargo.toml b/src/cryptoki-sys/debian/debcargo.toml new file mode 100644 index 000000000..3abb07352 --- /dev/null +++ b/src/cryptoki-sys/debian/debcargo.toml @@ -0,0 +1,3 @@ +overlay = "." +uploaders = ["Emanuele Rocca "] +collapse_features = true diff --git a/src/cryptoki-sys/debian/patches/relax-deps.diff b/src/cryptoki-sys/debian/patches/relax-deps.diff new file mode 100644 index 000000000..80599a45b --- /dev/null +++ b/src/cryptoki-sys/debian/patches/relax-deps.diff @@ -0,0 +1,13 @@ +Index: cryptoki-sys/Cargo.toml +=================================================================== +--- cryptoki-sys.orig/Cargo.toml ++++ cryptoki-sys/Cargo.toml +@@ -24,7 +24,7 @@ repository = "https://github.com/paralla + [dependencies.libloading] + version = "0.7.0" + [build-dependencies.bindgen] +-version = "0.59.1" ++version = "0.60.0" + optional = true + + [build-dependencies.target-lexicon] diff --git a/src/cryptoki-sys/debian/patches/series b/src/cryptoki-sys/debian/patches/series new file mode 100644 index 000000000..fa7eaac47 --- /dev/null +++ b/src/cryptoki-sys/debian/patches/series @@ -0,0 +1 @@ +relax-deps.diff