@gjsify/tls-native 0.64.5 → 0.64.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/meson.build +21 -7
- package/package.json +11 -11
package/meson.build
CHANGED
|
@@ -8,12 +8,26 @@ project('GjsifyTls', ['c', 'vala'], version: '1.0',
|
|
|
8
8
|
|
|
9
9
|
root_dir = meson.current_source_dir()
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
host_system = host_machine.system()
|
|
12
|
+
|
|
13
|
+
# On darwin every GNOME library is resolved against the HOST PROCESS rather than
|
|
14
|
+
# recorded as an `@rpath/` dependency: a second GLib beside the one the host
|
|
15
|
+
# already loaded gives the process two GType registries, then SIGSEGV.
|
|
16
|
+
# docs/prebuilds.md § One GLib. gnutls is NOT host-provided — its `--libs` reach
|
|
17
|
+
# no GLib, so it stays an ordinary link dependency.
|
|
18
|
+
host_provided = ['glib-2.0', 'gobject-2.0', 'gio-2.0']
|
|
19
|
+
|
|
20
|
+
dependencies = []
|
|
21
|
+
foreach pkg : host_provided
|
|
22
|
+
dep = dependency(pkg)
|
|
23
|
+
dependencies += host_system == 'darwin' \
|
|
24
|
+
? dep.partial_dependency(compile_args: true, includes: true) \
|
|
25
|
+
: dep
|
|
26
|
+
endforeach
|
|
27
|
+
|
|
28
|
+
dependencies += dependency('gnutls')
|
|
29
|
+
|
|
30
|
+
host_provided_link_args = host_system == 'darwin' ? ['-Wl,-undefined,dynamic_lookup'] : []
|
|
17
31
|
|
|
18
32
|
sources = files(
|
|
19
33
|
'src/vala/tls.vala',
|
|
@@ -36,6 +50,7 @@ sources = files(
|
|
|
36
50
|
# wrappers + GError mapping)
|
|
37
51
|
libGjsifyTls = library('gjsifytls', sources,
|
|
38
52
|
dependencies: dependencies,
|
|
53
|
+
link_args: host_provided_link_args,
|
|
39
54
|
c_args: [
|
|
40
55
|
'-I' + meson.current_source_dir() / 'src/c',
|
|
41
56
|
],
|
|
@@ -64,7 +79,6 @@ libGjsifyTls = library('gjsifytls', sources,
|
|
|
64
79
|
# work, so `else` (ELF naming) is the honest fallback rather than a .dll branch
|
|
65
80
|
# that would imply support which does not exist.
|
|
66
81
|
# ----------------------------------------------------------------------------
|
|
67
|
-
host_system = host_machine.system()
|
|
68
82
|
if host_system == 'darwin'
|
|
69
83
|
shared_lib_name = 'libgjsifytls.dylib'
|
|
70
84
|
else
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/tls-native",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.7",
|
|
4
4
|
"description": "Optional Vala/GObject bridge providing GnuTLS capabilities not exposed by Gio.TlsConnection — OCSP-response parsing (RFC 6960), session resumption data extraction, channel binding (tls-finished bytes for SCRAM-SHA-*). Enhances @gjsify/tls when installed.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/esm/index.js",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@girs/glib-2.0": "5.4.0",
|
|
67
67
|
"@girs/gobject-2.0": "5.4.0",
|
|
68
|
-
"@gjsify/utils": "^0.64.
|
|
68
|
+
"@gjsify/utils": "^0.64.7"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
|
-
"@gjsify/cli": "^0.64.
|
|
72
|
-
"@gjsify/unit": "^0.64.
|
|
71
|
+
"@gjsify/cli": "^0.64.7",
|
|
72
|
+
"@gjsify/unit": "^0.64.7",
|
|
73
73
|
"@ts-for-gir/cli": "^4.1.0",
|
|
74
74
|
"@types/node": "^25.9.2",
|
|
75
75
|
"typescript": "^6.0.3"
|
|
@@ -85,12 +85,12 @@
|
|
|
85
85
|
},
|
|
86
86
|
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/node/tls-native#readme",
|
|
87
87
|
"optionalDependencies": {
|
|
88
|
-
"@gjsify/tls-native-darwin-arm64": "0.64.
|
|
89
|
-
"@gjsify/tls-native-darwin-x64": "0.64.
|
|
90
|
-
"@gjsify/tls-native-linux-arm64": "0.64.
|
|
91
|
-
"@gjsify/tls-native-linux-ppc64": "0.64.
|
|
92
|
-
"@gjsify/tls-native-linux-riscv64": "0.64.
|
|
93
|
-
"@gjsify/tls-native-linux-s390x": "0.64.
|
|
94
|
-
"@gjsify/tls-native-linux-x64": "0.64.
|
|
88
|
+
"@gjsify/tls-native-darwin-arm64": "0.64.7",
|
|
89
|
+
"@gjsify/tls-native-darwin-x64": "0.64.7",
|
|
90
|
+
"@gjsify/tls-native-linux-arm64": "0.64.7",
|
|
91
|
+
"@gjsify/tls-native-linux-ppc64": "0.64.7",
|
|
92
|
+
"@gjsify/tls-native-linux-riscv64": "0.64.7",
|
|
93
|
+
"@gjsify/tls-native-linux-s390x": "0.64.7",
|
|
94
|
+
"@gjsify/tls-native-linux-x64": "0.64.7"
|
|
95
95
|
}
|
|
96
96
|
}
|