File: drop-non-linux.patch

package info (click to toggle)
rust-keyring 3.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: makefile: 2
file content (102 lines) | stat: -rw-r--r-- 2,617 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Description: Avoid trying to build anything for ios, macos, windows or {open,free}bsd.
 Debian doesn't need it, and we don't necessarily have straightforward access to the dependencies

Index: keyring/Cargo.toml
===================================================================
--- keyring.orig/Cargo.toml
+++ keyring/Cargo.toml
@@ -41,8 +41,6 @@ repository = "https://github.com/hwchen/
 [package.metadata.docs.rs]
 default-target = "x86_64-unknown-linux-gnu"
 features = [
-    "apple-native",
-    "windows-native",
     "linux-native-sync-persistent",
     "crypto-rust",
 ]
@@ -54,7 +52,6 @@ targets = [
 ]
 
 [features]
-apple-native = ["dep:security-framework"]
 async-io = ["zbus?/async-io"]
 async-secret-service = [
     "dep:secret-service",
@@ -83,19 +80,11 @@ vendored = [
     "dbus-secret-service?/vendored",
     "openssl?/vendored",
 ]
-windows-native = [
-    "dep:windows-sys",
-    "dep:byteorder",
-]
 
 [lib]
 name = "keyring"
 path = "src/lib.rs"
 
-[[example]]
-name = "iostest"
-crate-type = ["staticlib"]
-path = "examples/ios.rs"
 
 [[example]]
 name = "keyring-cli"
@@ -144,21 +133,9 @@ version = "2"
 [dev-dependencies.whoami]
 version = "1.5"
 
-[target.'cfg(target_os = "freebsd")'.dependencies.dbus-secret-service]
-version = "4.0.1"
-optional = true
 
-[target.'cfg(target_os = "freebsd")'.dependencies.secret-service]
-version = "4"
-optional = true
 
-[target.'cfg(target_os = "freebsd")'.dependencies.zbus]
-version = "4"
-optional = true
 
-[target.'cfg(target_os = "ios")'.dependencies.security-framework]
-version = "2"
-optional = true
 
 [target.'cfg(target_os = "linux")'.dependencies.dbus-secret-service]
 version = "4.0.0-rc.2"
@@ -176,34 +153,3 @@ optional = true
 [target.'cfg(target_os = "linux")'.dependencies.zbus]
 version = "4"
 optional = true
-
-[target.'cfg(target_os = "macos")'.dependencies.security-framework]
-version = "3"
-optional = true
-
-[target.'cfg(target_os = "openbsd")'.dependencies.dbus-secret-service]
-version = "4.0.0-rc.1"
-optional = true
-
-[target.'cfg(target_os = "openbsd")'.dependencies.secret-service]
-version = "4"
-optional = true
-
-[target.'cfg(target_os = "openbsd")'.dependencies.zbus]
-version = "4"
-optional = true
-
-[target.'cfg(target_os = "windows")'.dependencies.byteorder]
-version = "1.2"
-optional = true
-
-[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
-version = "0.60"
-features = [
-    "Win32_Foundation",
-    "Win32_Security_Credentials",
-]
-optional = true
-
-[target.'cfg(target_os = "windows")'.dependencies.zeroize]
-version = "1.8.1"