Codebase list rust-stfu8 / a0beec9
Drop version numbers from crate packages that are up-to-date Ximin Luo 5 years ago
48 changed file(s) with 394 addition(s) and 394 deletion(s). Raw diff Collapse all Expand all
0 [packages."librust-cmake-0.1-dev"]
1 depends = ["cmake"]
+0
-2
src/cmake-0.1/debian/debcargo.toml less more
0 [packages."librust-cmake-0.1-dev"]
1 depends = ["cmake"]
0 excludes = ["curl/**"]
1
2 [source]
3 build_depends = ["libcurl4-gnutls-dev <!nocheck>"]
4
5 [packages."librust-curl-sys-0.4-dev"]
6 depends = ["libcurl4-gnutls-dev"]
+0
-7
src/curl-sys-0.4/debian/debcargo.toml less more
0 excludes = ["curl/**"]
1
2 [source]
3 build_depends = ["libcurl4-gnutls-dev <!nocheck>"]
4
5 [packages."librust-curl-sys-0.4-dev"]
6 depends = ["libcurl4-gnutls-dev"]
0 overlay = "."
1
2 [source]
3 build_depends = ["libssl-dev", "libcurl4-gnutls-dev"]
+0
-4
src/debcargo-2/debian/debcargo.toml less more
0 overlay = "."
1
2 [source]
3 build_depends = ["libssl-dev", "libcurl4-gnutls-dev"]
0 rust-getopts-0.2 (0.2.17-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package getopts 0.2.17 from crates.io using debcargo 2.0.0
3 (Closes: #895355)
4
5 -- Wolfgang Silbermayr <wolfgang@silbermayr.at> Sat, 9 Jun 2018 09:41:22 +0200
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: getopts
2 Upstream-Contact: The Rust Project Developers
3 Source: https://github.com/rust-lang/getopts
4
5 Files: *
6 Copyright: 2012-2018 The Rust Project Developers
7 License: MIT or Apache-2.0
8
9 Files: debian/*
10 Copyright: 2018 Wolfgang Silbermayr <wolfgang@silbermayr.at>
11 License: MIT or Apache-2.0
12
13 License: Apache-2.0
14 Debian systems provide the Apache 2.0 license in
15 /usr/share/common-licenses/Apache-2.0
16
17 License: MIT
18 Permission is hereby granted, free of charge, to any person obtaining a copy
19 of this software and associated documentation files (the "Software"), to deal
20 in the Software without restriction, including without limitation the rights
21 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22 copies of the Software, and to permit persons to whom the Software is
23 furnished to do so, subject to the following conditions:
24 .
25 The above copyright notice and this permission notice shall be included in all
26 copies or substantial portions of the Software.
27 .
28 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34 SOFTWARE.
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: getopts
2 Upstream-Contact: The Rust Project Developers
3 Source: https://github.com/rust-lang/getopts
4
5 Files: *
6 Copyright: FIXME (overlay) UNKNOWN The Rust Project Developers
7 License: MIT or Apache-2.0
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-MIT
15 Copyright: 2014 The Rust Project Developers
16 License: UNKNOWN; 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: ./src/lib.rs
22 Copyright: 2012-2014 The Rust Project Developers
23 License: UNKNOWN; FIXME (overlay)
24 Comment:
25 FIXME (overlay): These notices are extracted from files. Please review them
26 before uploading to the archive.
27
28 Files: debian/*
29 Copyright: 2018 Wolfgang Silbermayr <wolfgang@silbermayr.at>
30 License: MIT or Apache-2.0
31
32 License: Apache-2.0
33 Debian systems provide the Apache 2.0 license in
34 /usr/share/common-licenses/Apache-2.0
35
36 License: MIT
37 Permission is hereby granted, free of charge, to any person obtaining a copy
38 of this software and associated documentation files (the "Software"), to deal
39 in the Software without restriction, including without limitation the rights
40 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41 copies of the Software, and to permit persons to whom the Software is
42 furnished to do so, subject to the following conditions:
43 .
44 The above copyright notice and this permission notice shall be included in all
45 copies or substantial portions of the Software.
46 .
47 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53 SOFTWARE.
54
55
56
+0
-6
src/getopts-0.2/debian/changelog less more
0 rust-getopts-0.2 (0.2.17-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package getopts 0.2.17 from crates.io using debcargo 2.0.0
3 (Closes: #895355)
4
5 -- Wolfgang Silbermayr <wolfgang@silbermayr.at> Sat, 9 Jun 2018 09:41:22 +0200
+0
-35
src/getopts-0.2/debian/copyright less more
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: getopts
2 Upstream-Contact: The Rust Project Developers
3 Source: https://github.com/rust-lang/getopts
4
5 Files: *
6 Copyright: 2012-2018 The Rust Project Developers
7 License: MIT or Apache-2.0
8
9 Files: debian/*
10 Copyright: 2018 Wolfgang Silbermayr <wolfgang@silbermayr.at>
11 License: MIT or Apache-2.0
12
13 License: Apache-2.0
14 Debian systems provide the Apache 2.0 license in
15 /usr/share/common-licenses/Apache-2.0
16
17 License: MIT
18 Permission is hereby granted, free of charge, to any person obtaining a copy
19 of this software and associated documentation files (the "Software"), to deal
20 in the Software without restriction, including without limitation the rights
21 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
22 copies of the Software, and to permit persons to whom the Software is
23 furnished to do so, subject to the following conditions:
24 .
25 The above copyright notice and this permission notice shall be included in all
26 copies or substantial portions of the Software.
27 .
28 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
29 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
30 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
31 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
32 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
33 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34 SOFTWARE.
+0
-57
src/getopts-0.2/debian/copyright.debcargo.hint less more
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: getopts
2 Upstream-Contact: The Rust Project Developers
3 Source: https://github.com/rust-lang/getopts
4
5 Files: *
6 Copyright: FIXME (overlay) UNKNOWN The Rust Project Developers
7 License: MIT or Apache-2.0
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-MIT
15 Copyright: 2014 The Rust Project Developers
16 License: UNKNOWN; 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: ./src/lib.rs
22 Copyright: 2012-2014 The Rust Project Developers
23 License: UNKNOWN; FIXME (overlay)
24 Comment:
25 FIXME (overlay): These notices are extracted from files. Please review them
26 before uploading to the archive.
27
28 Files: debian/*
29 Copyright: 2018 Wolfgang Silbermayr <wolfgang@silbermayr.at>
30 License: MIT or Apache-2.0
31
32 License: Apache-2.0
33 Debian systems provide the Apache 2.0 license in
34 /usr/share/common-licenses/Apache-2.0
35
36 License: MIT
37 Permission is hereby granted, free of charge, to any person obtaining a copy
38 of this software and associated documentation files (the "Software"), to deal
39 in the Software without restriction, including without limitation the rights
40 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41 copies of the Software, and to permit persons to whom the Software is
42 furnished to do so, subject to the following conditions:
43 .
44 The above copyright notice and this permission notice shall be included in all
45 copies or substantial portions of the Software.
46 .
47 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53 SOFTWARE.
54
55
56
+0
-1
src/getopts-0.2/debian/debcargo.toml less more
0 overlay = "."
0 rust-lazy-static-1 (1.0.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package lazy_static 1.0.1 from crates.io using debcargo 2.0.0
3
4 -- Ximin Luo <infinity0@debian.org> Fri, 08 Jun 2018 21:21:41 -0700
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: lazy_static
2 Upstream-Contact: Marvin Löbel <loebel.marvin@gmail.com>
3 Source: https://github.com/rust-lang-nursery/lazy-static.rs
4
5 Files: *
6 Copyright: 2016 Marvin Löbel <loebel.marvin@gmail.com>
7 2016 lazy-static.rs Developers
8 License: MIT or Apache-2.0
9
10 Files: debian/*
11 Copyright: 2018 Ximin Luo <infinity0@debian.org>
12 License: MIT or Apache-2.0
13
14 License: MIT
15 Permission is hereby granted, free of charge, to any person obtaining a copy
16 of this software and associated documentation files (the "Software"), to deal
17 in the Software without restriction, including without limitation the rights
18 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19 copies of the Software, and to permit persons to whom the Software is
20 furnished to do so, subject to the following conditions:
21 .
22 The above copyright notice and this permission notice shall be included in all
23 copies or substantial portions of the Software.
24 .
25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31 SOFTWARE.
32
33 License: Apache-2.0
34 Debian systems provide the Apache 2.0 license in
35 /usr/share/common-licenses/Apache-2.0
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: lazy_static
2 Upstream-Contact: Marvin Löbel <loebel.marvin@gmail.com>
3 Source: https://github.com/rust-lang-nursery/lazy-static.rs
4
5 Files: *
6 Copyright: FIXME (overlay) UNKNOWN Marvin Löbel <loebel.marvin@gmail.com>
7 License: MIT or Apache-2.0
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-MIT
15 Copyright: 2010 The Rust Project Developers
16 License: UNKNOWN; 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: ./src/core_lazy.rs
22 Copyright: 2016 lazy-static.rs Developers
23 License: UNKNOWN; FIXME (overlay)
24 Comment:
25 FIXME (overlay): These notices are extracted from files. Please review them
26 before uploading to the archive.
27
28 Files: ./src/lazy.rs
29 Copyright: 2016 lazy-static.rs Developers
30 License: UNKNOWN; FIXME (overlay)
31 Comment:
32 FIXME (overlay): These notices are extracted from files. Please review them
33 before uploading to the archive.
34
35 Files: ./src/lib.rs
36 Copyright: 2016 lazy-static.rs Developers
37 License: UNKNOWN; FIXME (overlay)
38 Comment:
39 FIXME (overlay): These notices are extracted from files. Please review them
40 before uploading to the archive.
41
42 Files: ./src/nightly_lazy.rs
43 Copyright: 2016 lazy-static.rs Developers
44 License: UNKNOWN; FIXME (overlay)
45 Comment:
46 FIXME (overlay): These notices are extracted from files. Please review them
47 before uploading to the archive.
48
49 Files: debian/*
50 Copyright: 2018 Ximin Luo <infinity0@debian.org>
51 License: MIT or Apache-2.0
52
53 License: Apache-2.0
54 Debian systems provide the Apache 2.0 license in
55 /usr/share/common-licenses/Apache-2.0
56
57 License: MIT
58 Permission is hereby granted, free of charge, to any person obtaining a copy
59 of this software and associated documentation files (the "Software"), to deal
60 in the Software without restriction, including without limitation the rights
61 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 copies of the Software, and to permit persons to whom the Software is
63 furnished to do so, subject to the following conditions:
64 .
65 The above copyright notice and this permission notice shall be included in all
66 copies or substantial portions of the Software.
67 .
68 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
69 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
70 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
71 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
72 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
73 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
74 SOFTWARE.
75
76
77
+0
-5
src/lazy-static-1/debian/changelog less more
0 rust-lazy-static-1 (1.0.1-1) UNRELEASED-FIXME-AUTOGENERATED-DEBCARGO; urgency=medium
1
2 * Package lazy_static 1.0.1 from crates.io using debcargo 2.0.0
3
4 -- Ximin Luo <infinity0@debian.org> Fri, 08 Jun 2018 21:21:41 -0700
+0
-36
src/lazy-static-1/debian/copyright less more
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: lazy_static
2 Upstream-Contact: Marvin Löbel <loebel.marvin@gmail.com>
3 Source: https://github.com/rust-lang-nursery/lazy-static.rs
4
5 Files: *
6 Copyright: 2016 Marvin Löbel <loebel.marvin@gmail.com>
7 2016 lazy-static.rs Developers
8 License: MIT or Apache-2.0
9
10 Files: debian/*
11 Copyright: 2018 Ximin Luo <infinity0@debian.org>
12 License: MIT or Apache-2.0
13
14 License: MIT
15 Permission is hereby granted, free of charge, to any person obtaining a copy
16 of this software and associated documentation files (the "Software"), to deal
17 in the Software without restriction, including without limitation the rights
18 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
19 copies of the Software, and to permit persons to whom the Software is
20 furnished to do so, subject to the following conditions:
21 .
22 The above copyright notice and this permission notice shall be included in all
23 copies or substantial portions of the Software.
24 .
25 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31 SOFTWARE.
32
33 License: Apache-2.0
34 Debian systems provide the Apache 2.0 license in
35 /usr/share/common-licenses/Apache-2.0
+0
-78
src/lazy-static-1/debian/copyright.debcargo.hint less more
0 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1 Upstream-Name: lazy_static
2 Upstream-Contact: Marvin Löbel <loebel.marvin@gmail.com>
3 Source: https://github.com/rust-lang-nursery/lazy-static.rs
4
5 Files: *
6 Copyright: FIXME (overlay) UNKNOWN Marvin Löbel <loebel.marvin@gmail.com>
7 License: MIT or Apache-2.0
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-MIT
15 Copyright: 2010 The Rust Project Developers
16 License: UNKNOWN; 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: ./src/core_lazy.rs
22 Copyright: 2016 lazy-static.rs Developers
23 License: UNKNOWN; FIXME (overlay)
24 Comment:
25 FIXME (overlay): These notices are extracted from files. Please review them
26 before uploading to the archive.
27
28 Files: ./src/lazy.rs
29 Copyright: 2016 lazy-static.rs Developers
30 License: UNKNOWN; FIXME (overlay)
31 Comment:
32 FIXME (overlay): These notices are extracted from files. Please review them
33 before uploading to the archive.
34
35 Files: ./src/lib.rs
36 Copyright: 2016 lazy-static.rs Developers
37 License: UNKNOWN; FIXME (overlay)
38 Comment:
39 FIXME (overlay): These notices are extracted from files. Please review them
40 before uploading to the archive.
41
42 Files: ./src/nightly_lazy.rs
43 Copyright: 2016 lazy-static.rs Developers
44 License: UNKNOWN; FIXME (overlay)
45 Comment:
46 FIXME (overlay): These notices are extracted from files. Please review them
47 before uploading to the archive.
48
49 Files: debian/*
50 Copyright: 2018 Ximin Luo <infinity0@debian.org>
51 License: MIT or Apache-2.0
52
53 License: Apache-2.0
54 Debian systems provide the Apache 2.0 license in
55 /usr/share/common-licenses/Apache-2.0
56
57 License: MIT
58 Permission is hereby granted, free of charge, to any person obtaining a copy
59 of this software and associated documentation files (the "Software"), to deal
60 in the Software without restriction, including without limitation the rights
61 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
62 copies of the Software, and to permit persons to whom the Software is
63 furnished to do so, subject to the following conditions:
64 .
65 The above copyright notice and this permission notice shall be included in all
66 copies or substantial portions of the Software.
67 .
68 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
69 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
70 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
71 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
72 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
73 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
74 SOFTWARE.
75
76
77
+0
-1
src/lazy-static-1/debian/debcargo.toml less more
0 overlay = "."
0 overlay = "."
1 excludes = ["libgit2/**"]
2
3 [source]
4 build_depends = ["libgit2-dev <!nocheck>"]
5
6 [packages."librust-libgit2-sys-0.7-dev"]
7 depends = ["libgit2-dev"]
0 --- libgit2-sys-0.6.19/build.rs.orig 2018-02-06 14:11:05.758487595 +0100
1 +++ libgit2-sys-0.6.19/build.rs 2018-02-06 14:11:09.514541164 +0100
2 @@ -31,10 +31,8 @@
3 }
4 let has_pkgconfig = Command::new("pkg-config").output().is_ok();
5
6 - if env::var("LIBGIT2_SYS_USE_PKG_CONFIG").is_ok() {
7 - if pkg_config::find_library("libgit2").is_ok() {
8 - return
9 - }
10 + if pkg_config::find_library("libgit2").is_ok() {
11 + return
12 }
13
14 if !Path::new("libgit2/.git").exists() {
0 no-special-snowflake-env.patch
+0
-8
src/libgit2-sys-0.7/debian/debcargo.toml less more
0 overlay = "."
1 excludes = ["libgit2/**"]
2
3 [source]
4 build_depends = ["libgit2-dev <!nocheck>"]
5
6 [packages."librust-libgit2-sys-0.7-dev"]
7 depends = ["libgit2-dev"]
+0
-15
src/libgit2-sys-0.7/debian/patches/no-special-snowflake-env.patch less more
0 --- libgit2-sys-0.6.19/build.rs.orig 2018-02-06 14:11:05.758487595 +0100
1 +++ libgit2-sys-0.6.19/build.rs 2018-02-06 14:11:09.514541164 +0100
2 @@ -31,10 +31,8 @@
3 }
4 let has_pkgconfig = Command::new("pkg-config").output().is_ok();
5
6 - if env::var("LIBGIT2_SYS_USE_PKG_CONFIG").is_ok() {
7 - if pkg_config::find_library("libgit2").is_ok() {
8 - return
9 - }
10 + if pkg_config::find_library("libgit2").is_ok() {
11 + return
12 }
13
14 if !Path::new("libgit2/.git").exists() {
+0
-1
src/libgit2-sys-0.7/debian/patches/series less more
0 no-special-snowflake-env.patch
0 excludes = ["libssh2/**"]
1
2 # zlib1g-dev is only needed because libssh2-1-dev incorrectly omits it, TB fixed
3 # see the relevant Debian bug report at https://bugs.debian.org/libssh2-1-dev
4
5 [source]
6 build_depends = ["libssh2-1-dev <!nocheck>", "zlib1g-dev <!nocheck>"]
7
8 [packages."librust-libssh2-sys-0.2-dev"]
9 depends = ["libssh2-1-dev", "zlib1g-dev"]
+0
-10
src/libssh2-sys-0.2/debian/debcargo.toml less more
0 excludes = ["libssh2/**"]
1
2 # zlib1g-dev is only needed because libssh2-1-dev incorrectly omits it, TB fixed
3 # see the relevant Debian bug report at https://bugs.debian.org/libssh2-1-dev
4
5 [source]
6 build_depends = ["libssh2-1-dev <!nocheck>", "zlib1g-dev <!nocheck>"]
7
8 [packages."librust-libssh2-sys-0.2-dev"]
9 depends = ["libssh2-1-dev", "zlib1g-dev"]
0 excludes = ["src/zlib-*/**"]
1
2 [source]
3 build_depends = ["zlib1g-dev <!nocheck>"]
4
5 [packages."librust-libz-sys-1-dev"]
6 depends = ["zlib1g-dev"]
+0
-7
src/libz-sys-1/debian/debcargo.toml less more
0 excludes = ["src/zlib-*/**"]
1
2 [source]
3 build_depends = ["zlib1g-dev <!nocheck>"]
4
5 [packages."librust-libz-sys-1-dev"]
6 depends = ["zlib1g-dev"]
0 [source]
1 build_depends = ["libssl-dev <!nocheck>"]
2
3 [packages."librust-openssl-sys-0.9-dev"]
4 depends = ["libssl-dev"]
+0
-5
src/openssl-sys-0.9/debian/debcargo.toml less more
0 [source]
1 build_depends = ["libssl-dev <!nocheck>"]
2
3 [packages."librust-openssl-sys-0.9-dev"]
4 depends = ["libssl-dev"]
0 overlay = "."
1
2 [packages."librust-pkg-config-0.3-dev"]
3 depends = ["pkg-config"]
0 --- a/src/lib.rs
1 +++ b/src/lib.rs
2 @@ -9,8 +9,6 @@
3 //! A number of environment variables are available to globally configure how
4 //! this crate will invoke `pkg-config`:
5 //!
6 -//! * `PKG_CONFIG_ALLOW_CROSS` - if this variable is not set, then `pkg-config`
7 -//! will automatically be disabled for all cross compiles.
8 //! * `FOO_NO_PKG_CONFIG` - if set, this will disable running `pkg-config` when
9 //! probing for the library named `foo`.
10 //!
11 @@ -76,15 +74,7 @@
12 use std::str;
13
14 pub fn target_supported() -> bool {
15 - let target = env::var("TARGET").unwrap_or_else(|_| String::new());
16 - let host = env::var("HOST").unwrap_or_else(|_| String::new());
17 -
18 - // Only use pkg-config in host == target situations by default (allowing an
19 - // override) and then also don't use pkg-config on MSVC as it's really not
20 - // meant to work there but when building MSVC code in a MSYS shell we may be
21 - // able to run pkg-config anyway.
22 - (host == target || env::var_os("PKG_CONFIG_ALLOW_CROSS").is_some()) &&
23 - !target.contains("msvc")
24 + true
25 }
26
27 #[derive(Clone, Default)]
28 @@ -116,9 +106,8 @@
29 /// Contains the name of the responsible environment variable.
30 EnvNoPkgConfig(String),
31
32 - /// Cross compilation detected.
33 - ///
34 - /// Override with `PKG_CONFIG_ALLOW_CROSS=1`.
35 + /// Cross compilation detected. Kept for compatibility;
36 + /// the Debian package never emits this.
37 CrossCompilation,
38
39 /// Attempted to compile using the MSVC ABI build
40 @@ -143,10 +132,7 @@
41 fn description(&self) -> &str {
42 match *self {
43 Error::EnvNoPkgConfig(_) => "pkg-config requested to be aborted",
44 - Error::CrossCompilation => {
45 - "pkg-config doesn't handle cross compilation. \
46 - Use PKG_CONFIG_ALLOW_CROSS=1 to override"
47 - }
48 + Error::CrossCompilation => panic!(),
49 Error::MSVC => "pkg-config is incompatible with the MSVC ABI build.",
50 Error::Command { .. } => "failed to run pkg-config",
51 Error::Failure { .. } => "pkg-config did not exit sucessfully",
52 @@ -222,10 +208,7 @@
53 Error::EnvNoPkgConfig(ref name) => {
54 write!(f, "Aborted because {} is set", name)
55 }
56 - Error::CrossCompilation => {
57 - write!(f, "Cross compilation detected. \
58 - Use PKG_CONFIG_ALLOW_CROSS=1 to override")
59 - }
60 + Error::CrossCompilation => panic!(),
61 Error::MSVC => {
62 write!(f, "MSVC target detected. If you are using the MSVC ABI \
63 rust build, please use the GNU ABI build instead.")
64 @@ -405,7 +388,11 @@
65 }
66
67 fn command(&self, name: &str, args: &[&str]) -> Command {
68 - let exe = self.env_var("PKG_CONFIG").unwrap_or_else(|_| String::from("pkg-config"));
69 + let exe = self.env_var("PKG_CONFIG").unwrap_or_else(|_| {
70 + self.env_var("DEB_HOST_GNU_TYPE")
71 + .map(|t| t.to_string() + "-pkg-config")
72 + .unwrap_or_else(|_| String::from("pkg-config"))
73 + });
74 let mut cmd = Command::new(exe);
75 if self.is_static(name) {
76 cmd.arg("--static");
77 --- a/tests/test.rs
78 +++ b/tests/test.rs
79 @@ -29,7 +29,6 @@
80 pkg_config::probe_library(name)
81 }
82
83 -#[test]
84 fn cross_disabled() {
85 let _g = LOCK.lock();
86 reset();
87 @@ -41,7 +40,6 @@
88 }
89 }
90
91 -#[test]
92 fn cross_enabled() {
93 let _g = LOCK.lock();
94 reset();
0 no-special-snowflake-env.patch
+0
-4
src/pkg-config-0.3/debian/debcargo.toml less more
0 overlay = "."
1
2 [packages."librust-pkg-config-0.3-dev"]
3 depends = ["pkg-config"]
+0
-95
src/pkg-config-0.3/debian/patches/no-special-snowflake-env.patch less more
0 --- a/src/lib.rs
1 +++ b/src/lib.rs
2 @@ -9,8 +9,6 @@
3 //! A number of environment variables are available to globally configure how
4 //! this crate will invoke `pkg-config`:
5 //!
6 -//! * `PKG_CONFIG_ALLOW_CROSS` - if this variable is not set, then `pkg-config`
7 -//! will automatically be disabled for all cross compiles.
8 //! * `FOO_NO_PKG_CONFIG` - if set, this will disable running `pkg-config` when
9 //! probing for the library named `foo`.
10 //!
11 @@ -76,15 +74,7 @@
12 use std::str;
13
14 pub fn target_supported() -> bool {
15 - let target = env::var("TARGET").unwrap_or_else(|_| String::new());
16 - let host = env::var("HOST").unwrap_or_else(|_| String::new());
17 -
18 - // Only use pkg-config in host == target situations by default (allowing an
19 - // override) and then also don't use pkg-config on MSVC as it's really not
20 - // meant to work there but when building MSVC code in a MSYS shell we may be
21 - // able to run pkg-config anyway.
22 - (host == target || env::var_os("PKG_CONFIG_ALLOW_CROSS").is_some()) &&
23 - !target.contains("msvc")
24 + true
25 }
26
27 #[derive(Clone, Default)]
28 @@ -116,9 +106,8 @@
29 /// Contains the name of the responsible environment variable.
30 EnvNoPkgConfig(String),
31
32 - /// Cross compilation detected.
33 - ///
34 - /// Override with `PKG_CONFIG_ALLOW_CROSS=1`.
35 + /// Cross compilation detected. Kept for compatibility;
36 + /// the Debian package never emits this.
37 CrossCompilation,
38
39 /// Attempted to compile using the MSVC ABI build
40 @@ -143,10 +132,7 @@
41 fn description(&self) -> &str {
42 match *self {
43 Error::EnvNoPkgConfig(_) => "pkg-config requested to be aborted",
44 - Error::CrossCompilation => {
45 - "pkg-config doesn't handle cross compilation. \
46 - Use PKG_CONFIG_ALLOW_CROSS=1 to override"
47 - }
48 + Error::CrossCompilation => panic!(),
49 Error::MSVC => "pkg-config is incompatible with the MSVC ABI build.",
50 Error::Command { .. } => "failed to run pkg-config",
51 Error::Failure { .. } => "pkg-config did not exit sucessfully",
52 @@ -222,10 +208,7 @@
53 Error::EnvNoPkgConfig(ref name) => {
54 write!(f, "Aborted because {} is set", name)
55 }
56 - Error::CrossCompilation => {
57 - write!(f, "Cross compilation detected. \
58 - Use PKG_CONFIG_ALLOW_CROSS=1 to override")
59 - }
60 + Error::CrossCompilation => panic!(),
61 Error::MSVC => {
62 write!(f, "MSVC target detected. If you are using the MSVC ABI \
63 rust build, please use the GNU ABI build instead.")
64 @@ -405,7 +388,11 @@
65 }
66
67 fn command(&self, name: &str, args: &[&str]) -> Command {
68 - let exe = self.env_var("PKG_CONFIG").unwrap_or_else(|_| String::from("pkg-config"));
69 + let exe = self.env_var("PKG_CONFIG").unwrap_or_else(|_| {
70 + self.env_var("DEB_HOST_GNU_TYPE")
71 + .map(|t| t.to_string() + "-pkg-config")
72 + .unwrap_or_else(|_| String::from("pkg-config"))
73 + });
74 let mut cmd = Command::new(exe);
75 if self.is_static(name) {
76 cmd.arg("--static");
77 --- a/tests/test.rs
78 +++ b/tests/test.rs
79 @@ -29,7 +29,6 @@
80 pkg_config::probe_library(name)
81 }
82
83 -#[test]
84 fn cross_disabled() {
85 let _g = LOCK.lock();
86 reset();
87 @@ -41,7 +40,6 @@
88 }
89 }
90
91 -#[test]
92 fn cross_enabled() {
93 let _g = LOCK.lock();
94 reset();
+0
-1
src/pkg-config-0.3/debian/patches/series less more
0 no-special-snowflake-env.patch
0 #!/usr/bin/make -f
1 %:
2 dh $@ --buildsystem cargo
3
4 # Upstream at this version requires nightly features :(
5 override_dh_auto_test:
6 RUSTC_BOOTSTRAP=1 dh_auto_test
+0
-1
src/redox-syscall-0.1/debian/debcargo.toml less more
0 overlay = "."
+0
-7
src/redox-syscall-0.1/debian/rules less more
0 #!/usr/bin/make -f
1 %:
2 dh $@ --buildsystem cargo
3
4 # Upstream at this version requires nightly features :(
5 override_dh_auto_test:
6 RUSTC_BOOTSTRAP=1 dh_auto_test
0 #!/usr/bin/make -f
1 %:
2 dh $@ --buildsystem cargo
3
4 # Upstream at this version requires nightly features :(
5 override_dh_auto_test:
6 RUSTC_BOOTSTRAP=1 dh_auto_test
+0
-1
src/redox-termios-0.1/debian/debcargo.toml less more
0 overlay = "."
+0
-7
src/redox-termios-0.1/debian/rules less more
0 #!/usr/bin/make -f
1 %:
2 dh $@ --buildsystem cargo
3
4 # Upstream at this version requires nightly features :(
5 override_dh_auto_test:
6 RUSTC_BOOTSTRAP=1 dh_auto_test