Remove errno-dragonfly from errno
kpcyrd
5 years ago
32 | 32 | These packages (RFS) are prepared in the master branch and can be uploaded |
33 | 33 | because all required dependencies are available in main:: |
34 | 34 | |
35 | errno-dragonfly (it is really needed?) | |
35 | errno | |
36 | 36 | security-framework-sys |
37 | 37 | diesel_derives |
38 | 38 | kamadak-exif |
0 | --- a/Cargo.toml | |
1 | +++ b/Cargo.toml | |
2 | @@ -19,8 +19,6 @@ | |
3 | categories = ["os"] | |
4 | license = "MIT/Apache-2.0" | |
5 | repository = "https://github.com/lfairy/rust-errno" | |
6 | -[target."cfg(target_os=\"dragonfly\")".dependencies.errno-dragonfly] | |
7 | -version = "0.1.1" | |
8 | [target."cfg(unix)".dependencies.libc] | |
9 | version = "0.2" | |
10 | [target."cfg(windows)".dependencies.winapi] |
0 | no-dragonfly.patch |
0 | rust-errno-dragonfly (0.1.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package errno-dragonfly 0.1.1 from crates.io using debcargo 2.2.10 | |
3 | ||
4 | -- kpcyrd <git@rxv.cc> Wed, 30 Jan 2019 03:06:11 +0100 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: errno-dragonfly | |
2 | Upstream-Contact: Michael Neumann <mneumann@ntecs.de> | |
3 | Source: https://github.com/mneumann/errno-dragonfly-rs | |
4 | ||
5 | Files: * | |
6 | Copyright: 2017 Michael Neumann <mneumann@ntecs.de> | |
7 | License: MIT | |
8 | ||
9 | Files: debian/* | |
10 | Copyright: | |
11 | 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
12 | 2019 kpcyrd <git@rxv.cc> | |
13 | License: MIT | |
14 | ||
15 | License: MIT | |
16 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
17 | of this software and associated documentation files (the "Software"), to deal | |
18 | in the Software without restriction, including without limitation the rights | |
19 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
20 | copies of the Software, and to permit persons to whom the Software is | |
21 | furnished to do so, subject to the following conditions: | |
22 | . | |
23 | The above copyright notice and this permission notice shall be included in all | |
24 | copies or substantial portions of the Software. | |
25 | . | |
26 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
27 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
28 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
29 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
30 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
31 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
32 | SOFTWARE. |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: errno-dragonfly | |
2 | Upstream-Contact: Michael Neumann <mneumann@ntecs.de> | |
3 | Source: https://github.com/mneumann/errno-dragonfly-rs | |
4 | ||
5 | Files: * | |
6 | Copyright: FIXME (overlay) UNKNOWN-YEARS Michael Neumann <mneumann@ntecs.de> | |
7 | License: 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 | |
15 | Copyright: 2017 Michael Neumann | |
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: debian/* | |
22 | Copyright: | |
23 | 2019 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
24 | 2019 kpcyrd <git@rxv.cc> | |
25 | License: MIT | |
26 | ||
27 | License: MIT | |
28 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
29 | of this software and associated documentation files (the "Software"), to deal | |
30 | in the Software without restriction, including without limitation the rights | |
31 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
32 | copies of the Software, and to permit persons to whom the Software is | |
33 | furnished to do so, subject to the following conditions: | |
34 | . | |
35 | The above copyright notice and this permission notice shall be included in all | |
36 | copies or substantial portions of the Software. | |
37 | . | |
38 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
39 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
40 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
41 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
42 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
43 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
44 | SOFTWARE. |
0 | --- a/build.rs | |
1 | +++ b/build.rs | |
2 | @@ -1,7 +1,11 @@ | |
3 | extern crate cc; | |
4 | ||
5 | +use std::env; | |
6 | + | |
7 | fn main() { | |
8 | cc::Build::new() | |
9 | .file("src/errno.c") | |
10 | .compile("liberrno.a"); | |
11 | + | |
12 | + println!("dh-cargo:deb-built-using=errno=0={}", env::var("CARGO_MANIFEST_DIR").unwrap()); | |
13 | } |
0 | --- a/Cargo.toml | |
1 | +++ b/Cargo.toml | |
2 | @@ -21,5 +21,5 @@ | |
3 | repository = "https://github.com/mneumann/errno-dragonfly-rs" | |
4 | [dependencies.libc] | |
5 | version = "0.2" | |
6 | -[build-dependencies.gcc] | |
7 | -version = "0.3" | |
8 | +[build-dependencies.cc] | |
9 | +version = "1.0" | |
10 | --- a/build.rs | |
11 | +++ b/build.rs | |
12 | @@ -1,5 +1,7 @@ | |
13 | -extern crate gcc; | |
14 | +extern crate cc; | |
15 | ||
16 | fn main() { | |
17 | - gcc::compile_library("liberrno.a", &["src/errno.c"]); | |
18 | + cc::Build::new() | |
19 | + .file("src/errno.c") | |
20 | + .compile("liberrno.a"); | |
21 | } |