Initial packaging for libslirp-rs, fails to build properly
Andrej Shadura
3 years ago
0 | rust-libslirp (4.0.0-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium | |
1 | ||
2 | * Package libslirp 4.0.0 from crates.io using debcargo 2.4.2 | |
3 | ||
4 | -- Andrej Shadura <andrewsh@debian.org> Mon, 06 Apr 2020 12:12:30 +0200 |
0 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | |
1 | Upstream-Name: libslirp | |
2 | Upstream-Contact: Marc-André Lureau <marcandre.lureau@redhat.com> | |
3 | Source: https://gitlab.freedesktop.org/slirp/libslirp-rs.git | |
4 | ||
5 | Files: * | |
6 | Copyright: 2019-2020 Red Hat, Inc | |
7 | License: Expat | |
8 | ||
9 | Files: debian/* | |
10 | Copyright: | |
11 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
12 | 2020 Andrej Shadura <andrewsh@debian.org> | |
13 | License: Expat | |
14 | ||
15 | License: Expat | |
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: libslirp | |
2 | Upstream-Contact: Marc-André Lureau <marcandre.lureau@redhat.com> | |
3 | Source: https://gitlab.freedesktop.org/slirp/libslirp-rs.git | |
4 | ||
5 | Files: * | |
6 | Copyright: FIXME (overlay) UNKNOWN-YEARS Marc-André Lureau <marcandre.lureau@redhat.com> | |
7 | License: | |
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: 2019-2020 Red Hat, Inc | |
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 | 2020 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net> | |
24 | 2020 Andrej Shadura <andrewsh@debian.org> | |
25 | License: | |
26 | ||
27 | License: UNKNOWN-LICENSE; FIXME (overlay) | |
28 | MIT License | |
29 | . | |
30 | Copyright (c) 2019-2020 Red Hat, Inc | |
31 | . | |
32 | Permission is hereby granted, free of charge, to any person obtaining a copy | |
33 | of this software and associated documentation files (the "Software"), to deal | |
34 | in the Software without restriction, including without limitation the rights | |
35 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
36 | copies of the Software, and to permit persons to whom the Software is | |
37 | furnished to do so, subject to the following conditions: | |
38 | . | |
39 | The above copyright notice and this permission notice shall be included in all | |
40 | copies or substantial portions of the Software. | |
41 | . | |
42 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
43 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
44 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
45 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
46 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
47 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
48 | SOFTWARE. |
0 | enable all but dbus and systemd by default | |
1 | ||
2 | --- a/Cargo.toml | |
3 | +++ b/Cargo.toml | |
4 | @@ -81,3 +81,4 @@ | |
5 | ||
6 | [features] | |
7 | all = ["mio", "mio-extras", "ipnetwork", "structopt", "slab", "libc", "dbus", "nix", "libsystemd", "url", "lazy_static"] | |
8 | +default = ["mio", "mio-extras", "ipnetwork", "structopt", "slab", "libc", "nix", "url", "lazy_static"] |
0 | --- a/Cargo.toml | |
1 | +++ b/Cargo.toml | |
2 | @@ -35,7 +35,7 @@ | |
3 | optional = true | |
4 | ||
5 | [dependencies.ipnetwork] | |
6 | -version = "0.16" | |
7 | +version = "0.14" | |
8 | optional = true | |
9 | ||
10 | [dependencies.lazy_static] | |
11 | @@ -54,7 +54,7 @@ | |
12 | optional = true | |
13 | ||
14 | [dependencies.mio] | |
15 | -version = "0.6.19" | |
16 | +version = "0.6" | |
17 | optional = true | |
18 | ||
19 | [dependencies.mio-extras] | |
20 | @@ -62,11 +62,11 @@ | |
21 | optional = true | |
22 | ||
23 | [dependencies.nix] | |
24 | -version = "0.17" | |
25 | +version = "0.16" | |
26 | optional = true | |
27 | ||
28 | [dependencies.slab] | |
29 | -version = "0.4.0" | |
30 | +version = "0.4" | |
31 | optional = true | |
32 | ||
33 | [dependencies.structopt] |