Diff nextcloud-notify_push-0.3.0 with a nextcloud-notify_push-0.6.3

/usr/portage/www-apps/nextcloud-notify_push/nextcloud-notify_push-0.6.3.ebuild 2023-10-09 14:52:35.876368511 +0300
1
# Copyright 2017-2021 Gentoo Authors
1
# Copyright 2017-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="8"
5 5

  
6 6
CRATES="
7
addr2line-0.17.0
7
addr2line-0.19.0
8 8
adler-1.0.2
9 9
ahash-0.7.6
10
aho-corasick-0.7.18
11
ansi_term-0.11.0
10
ahash-0.8.3
11
aho-corasick-0.7.20
12
android_system_properties-0.1.5
12 13
ansi_term-0.12.1
13
async-stream-0.3.2
14
async-stream-impl-0.3.2
15
async-trait-0.1.51
14
async-stream-0.3.4
15
async-stream-impl-0.3.4
16
async-trait-0.1.68
16 17
atoi-0.3.3
17
atoi-0.4.0
18
atoi-1.0.0
18 19
atty-0.2.14
19
autocfg-0.1.7
20
autocfg-1.0.1
21
backtrace-0.3.63
22
base64-0.12.3
23
base64-0.13.0
24
beef-0.5.1
20
autocfg-1.1.0
21
backtrace-0.3.67
22
backtrace-ext-0.2.1
23
base64-0.13.1
24
base64-0.21.0
25
base64ct-1.6.0
26
beef-0.5.2
25 27
bitflags-1.3.2
26
block-buffer-0.9.0
27
buf_redux-0.8.4
28
bumpalo-3.8.0
28
block-buffer-0.10.4
29
bumpalo-3.12.0
29 30
byteorder-1.4.3
30
bytes-1.1.0
31
cc-1.0.72
31
bytes-1.4.0
32
cc-1.0.79
32 33
cfg-if-1.0.0
33
chrono-0.4.19
34
chunked_transfer-1.4.0
35
clap-2.33.3
36
color-eyre-0.5.11
37
color-spantrace-0.1.6
38
combine-4.6.2
39
cpufeatures-0.2.1
40
crc-2.1.0
41
crc-catalog-1.1.1
34
chrono-0.4.24
35
clap-2.34.0
36
codespan-reporting-0.11.1
37
combine-4.6.6
38
const-oid-0.7.1
39
core-foundation-sys-0.8.3
40
cpufeatures-0.2.6
41
crc-3.0.1
42
crc-catalog-2.2.0
42 43
crc16-0.4.0
43
crossbeam-channel-0.5.1
44
crossbeam-queue-0.3.2
45
crossbeam-utils-0.8.5
46
crypto-mac-0.11.1
47
dashmap-4.0.2
44
crc32fast-1.3.2
45
crossbeam-queue-0.3.8
46
crossbeam-utils-0.8.15
47
crypto-bigint-0.3.2
48
crypto-common-0.1.6
49
cxx-1.0.94
50
cxx-build-1.0.94
51
cxxbridge-flags-1.0.94
52
cxxbridge-macro-1.0.94
53
dashmap-5.4.0
54
data-encoding-2.3.3
55
der-0.5.1
48 56
derivative-2.2.0
49
digest-0.9.0
50
dirs-3.0.2
51
dirs-sys-0.3.6
57
digest-0.10.6
58
dirs-4.0.0
59
dirs-sys-0.3.7
52 60
dotenv-0.15.0
53
dtoa-0.4.8
54
either-1.6.1
55
encoding_rs-0.8.29
56
eyre-0.6.5
57
flexi_logger-0.19.6
61
dotenvy-0.15.7
62
either-1.8.1
63
encoding_rs-0.8.32
64
errno-0.2.8
65
errno-dragonfly-0.1.2
66
event-listener-2.5.3
67
flate2-1.0.25
68
flexi_logger-0.25.3
69
flume-0.10.14
58 70
fnv-1.0.7
59
form_urlencoded-1.0.1
60
futures-0.3.17
61
futures-channel-0.3.17
62
futures-core-0.3.17
63
futures-executor-0.3.17
64
futures-intrusive-0.4.0
65
futures-io-0.3.17
66
futures-macro-0.3.17
67
futures-sink-0.3.17
68
futures-task-0.3.17
69
futures-util-0.3.17
70
generic-array-0.14.4
71
getrandom-0.2.3
72
gimli-0.26.1
73
glob-0.3.0
74
h2-0.3.7
75
hashbrown-0.11.2
76
hashlink-0.7.0
77
headers-0.3.5
71
form_urlencoded-1.1.0
72
futures-0.3.28
73
futures-channel-0.3.28
74
futures-core-0.3.28
75
futures-executor-0.3.28
76
futures-intrusive-0.4.2
77
futures-io-0.3.28
78
futures-macro-0.3.28
79
futures-sink-0.3.28
80
futures-task-0.3.28
81
futures-util-0.3.28
82
generic-array-0.14.6
83
getrandom-0.2.8
84
gimli-0.27.2
85
glob-0.3.1
86
h2-0.3.16
87
hashbrown-0.12.3
88
hashlink-0.8.1
89
headers-0.3.8
78 90
headers-core-0.2.0
79 91
heck-0.3.3
92
heck-0.4.1
80 93
hermit-abi-0.1.19
94
hermit-abi-0.2.6
95
hermit-abi-0.3.1
81 96
hex-0.4.3
82
hmac-0.11.0
83
http-0.2.5
84
http-auth-basic-0.3.1
85
http-body-0.4.4
86
httparse-1.5.1
87
httpdate-1.0.1
88
hyper-0.14.14
89
hyper-rustls-0.22.1
90
idna-0.2.3
91
indenter-0.3.3
92
indexmap-1.7.0
97
hkdf-0.12.3
98
hmac-0.12.1
99
http-0.2.9
100
http-auth-basic-0.3.3
101
http-body-0.4.5
102
httparse-1.8.0
103
httpdate-1.0.2
104
hyper-0.14.25
105
hyper-rustls-0.23.2
106
iana-time-zone-0.1.54
107
iana-time-zone-haiku-0.1.1
108
idna-0.3.0
109
indexmap-1.9.3
93 110
instant-0.1.12
94
ipnet-2.3.1
95
itertools-0.10.1
96
itoa-0.4.8
97
js-sys-0.3.55
111
io-lifetimes-1.0.9
112
ipnet-2.7.1
113
is-terminal-0.4.5
114
is_ci-1.1.1
115
itertools-0.10.5
116
itoa-1.0.6
117
js-sys-0.3.61
98 118
lazy_static-1.4.0
99
libc-0.2.107
100
libm-0.2.1
101
libsqlite3-sys-0.22.2
102
lock_api-0.4.5
103
log-0.4.14
104
logos-0.12.0
105
logos-derive-0.12.0
119
libc-0.2.140
120
libm-0.2.6
121
libsqlite3-sys-0.24.2
122
link-cplusplus-1.0.8
123
linux-raw-sys-0.1.4
124
lock_api-0.4.9
125
log-0.4.17
126
logos-0.12.1
127
logos-derive-0.12.1
106 128
matchers-0.0.1
107
matches-0.1.9
108
md-5-0.9.1
109
memchr-2.4.1
110
mime-0.3.16
111
mime_guess-2.0.3
129
md-5-0.10.5
130
memchr-2.5.0
131
miette-5.8.0
132
miette-derive-5.8.0
133
mime-0.3.17
134
mime_guess-2.0.4
112 135
mini-redis-0.4.1
113 136
minimal-lexical-0.2.1
114
miniz_oxide-0.4.4
115
mio-0.7.14
116
miow-0.3.7
117
multipart-0.18.0
118
nextcloud-config-parser-0.4.2
137
miniz_oxide-0.6.2
138
mio-0.8.6
139
multer-2.1.0
140
nextcloud-config-parser-0.8.0
119 141
nextcloud_appinfo-0.6.0
120
nom-7.1.0
121
ntapi-0.3.6
122
num-bigint-0.3.3
142
nom-7.1.3
143
nu-ansi-term-0.46.0
123 144
num-bigint-0.4.3
124
num-bigint-dig-0.7.0
125
num-integer-0.1.44
126
num-iter-0.1.42
127
num-traits-0.2.14
128
num_cpus-1.13.0
129
numtoa-0.1.0
130
object-0.27.1
131
once_cell-1.8.0
132
opaque-debug-0.3.0
133
owo-colors-1.3.0
145
num-bigint-dig-0.8.2
146
num-integer-0.1.45
147
num-iter-0.1.43
148
num-traits-0.2.15
149
num_cpus-1.15.0
150
object-0.30.3
151
once_cell-1.17.1
152
overload-0.1.1
153
owo-colors-3.5.0
134 154
parking_lot-0.11.2
135
parking_lot_core-0.8.5
136
parse-display-0.5.3
137
parse-display-derive-0.5.3
138
pem-0.8.3
139
percent-encoding-2.1.0
155
parking_lot-0.12.1
156
parking_lot_core-0.8.6
157
parking_lot_core-0.9.7
158
parse-display-0.8.0
159
parse-display-derive-0.8.0
160
paste-1.0.12
161
pem-rfc7468-0.3.1
162
percent-encoding-2.2.0
140 163
peresil-0.3.0
141
php-literal-parser-0.3.0
142
pin-project-1.0.8
143
pin-project-internal-1.0.8
144
pin-project-lite-0.2.7
164
php-literal-parser-0.5.1
165
pin-project-1.0.12
166
pin-project-internal-1.0.12
167
pin-project-lite-0.2.9
145 168
pin-utils-0.1.0
146
pkg-config-0.3.22
147
ppv-lite86-0.2.15
169
pkcs1-0.3.3
170
pkcs8-0.8.0
171
pkg-config-0.3.26
172
ppv-lite86-0.2.17
148 173
proc-macro-error-1.0.4
149 174
proc-macro-error-attr-1.0.4
150
proc-macro-hack-0.5.19
151
proc-macro-nested-0.1.7
152
proc-macro2-1.0.32
175
proc-macro2-1.0.57
153 176
quick-error-1.2.3
154
quote-1.0.10
155
rand-0.8.4
177
quote-1.0.26
178
rand-0.8.5
156 179
rand_chacha-0.3.1
157
rand_core-0.6.3
158
rand_hc-0.3.1
159
redis-0.21.4
160
redox_syscall-0.2.10
161
redox_termios-0.1.2
162
redox_users-0.4.0
163
regex-1.5.4
180
rand_core-0.6.4
181
redis-0.23.0
182
redox_syscall-0.2.16
183
redox_users-0.4.3
184
regex-1.7.3
164 185
regex-automata-0.1.10
165
regex-syntax-0.6.25
166
remove_dir_all-0.5.3
167
reqwest-0.11.6
186
regex-syntax-0.6.29
187
reqwest-0.11.17
168 188
rfc7239-0.1.0
169 189
ring-0.16.20
170
rsa-0.4.1
171
rustc-demangle-0.1.21
172
rustls-0.19.1
173
rustls-0.20.0
174
rustversion-1.0.5
175
ryu-1.0.5
176
safemem-0.3.3
177
scoped-tls-1.0.0
190
rsa-0.6.1
191
rustc-demangle-0.1.22
192
rustix-0.36.11
193
rustls-0.20.8
194
rustls-0.21.1
195
rustls-pemfile-1.0.2
196
rustls-webpki-0.100.1
197
ryu-1.0.13
198
scoped-tls-1.0.1
178 199
scopeguard-1.1.0
179
sct-0.6.1
200
scratch-1.0.5
180 201
sct-0.7.0
181 202
semver-0.10.0
182 203
semver-parser-0.7.0
183
serde-1.0.130
184
serde_derive-1.0.130
185
serde_json-1.0.69
186
serde_urlencoded-0.7.0
187
sha-1-0.9.8
188
sha1-0.6.0
189
sha2-0.9.8
204
serde-1.0.163
205
serde_derive-1.0.163
206
serde_json-1.0.96
207
serde_urlencoded-0.7.1
208
sha1-0.10.5
209
sha1_smol-1.0.0
210
sha2-0.10.6
190 211
sharded-slab-0.1.4
191
signal-hook-registry-1.4.0
192
simple_asn1-0.5.4
193
slab-0.4.5
194
smallvec-1.7.0
195
socket2-0.4.2
196
source-span-2.2.1
212
signal-hook-registry-1.4.1
213
slab-0.4.8
214
smallvec-1.10.0
215
smawk-0.3.1
216
socket2-0.4.9
197 217
spin-0.5.2
198
sqlformat-0.1.8
199
sqlx-0.5.9
200
sqlx-core-0.5.9
201
sqlx-macros-0.5.9
202
sqlx-rt-0.5.9
218
spin-0.9.6
219
spki-0.5.4
220
sqlformat-0.2.1
221
sqlx-0.6.3
222
sqlx-core-0.6.3
223
sqlx-macros-0.6.3
224
sqlx-rt-0.6.3
203 225
stringprep-0.1.2
204 226
strsim-0.8.0
205
structmeta-0.1.4
206
structmeta-derive-0.1.4
207
structopt-0.3.25
227
structmeta-0.1.6
228
structmeta-derive-0.1.6
229
structopt-0.3.26
208 230
structopt-derive-0.4.18
209 231
subtle-2.4.1
232
supports-color-2.0.0
233
supports-hyperlinks-2.0.0
234
supports-unicode-2.0.0
210 235
sxd-document-0.3.2
211 236
sxd-xpath-0.4.2
212
syn-1.0.81
213
synstructure-0.12.6
214
tempfile-3.2.0
215
termion-1.5.6
237
syn-1.0.109
238
syn-2.0.16
239
termcolor-1.2.0
240
terminal_size-0.1.17
216 241
textwrap-0.11.0
217
thiserror-1.0.30
218
thiserror-impl-1.0.30
219
thread_local-1.1.3
220
time-0.3.4
221
tinyvec-1.5.1
222
tinyvec_macros-0.1.0
223
tokio-1.13.0
224
tokio-macros-1.5.1
225
tokio-rustls-0.22.0
226
tokio-stream-0.1.8
227
tokio-tungstenite-0.15.0
228
tokio-util-0.6.9
229
tower-service-0.3.1
230
tracing-0.1.29
231
tracing-attributes-0.1.18
232
tracing-core-0.1.21
233
tracing-error-0.1.2
242
textwrap-0.15.2
243
thiserror-1.0.40
244
thiserror-impl-1.0.40
245
thread_local-1.1.7
246
tinyvec-1.6.0
247
tinyvec_macros-0.1.1
248
tokio-1.28.1
249
tokio-macros-2.1.0
250
tokio-rustls-0.23.4
251
tokio-stream-0.1.14
252
tokio-tungstenite-0.18.0
253
tokio-tungstenite-0.19.0
254
tokio-util-0.7.7
255
tower-service-0.3.2
256
tracing-0.1.37
257
tracing-attributes-0.1.23
258
tracing-core-0.1.30
234 259
tracing-futures-0.2.5
235
tracing-log-0.1.2
236
tracing-serde-0.1.2
260
tracing-log-0.1.3
261
tracing-serde-0.1.3
237 262
tracing-subscriber-0.2.25
238
try-lock-0.2.3
239
tungstenite-0.14.0
240
tungstenite-0.16.0
241
twoway-0.1.8
263
try-lock-0.2.4
264
tungstenite-0.18.0
265
tungstenite-0.19.0
242 266
typed-arena-1.7.0
243
typenum-1.14.0
244
uncased-0.9.6
267
typenum-1.16.0
268
uncased-0.9.7
245 269
unicase-2.6.0
246
unicode-bidi-0.3.7
247
unicode-normalization-0.1.19
248
unicode-segmentation-1.8.0
249
unicode-width-0.1.9
250
unicode-xid-0.2.2
270
unicode-bidi-0.3.13
271
unicode-ident-1.0.8
272
unicode-linebreak-0.1.4
273
unicode-normalization-0.1.22
274
unicode-segmentation-1.10.1
275
unicode-width-0.1.10
251 276
unicode_categories-0.1.1
252 277
untrusted-0.7.1
253
ureq-2.3.0
254
url-2.2.2
278
ureq-2.6.2
279
url-2.3.1
255 280
utf-8-0.7.6
256
utf8-ranges-1.0.4
281
valuable-0.1.0
257 282
vcpkg-0.2.15
258 283
vec_map-0.8.2
259
version_check-0.9.3
284
version_check-0.9.4
260 285
want-0.3.0
261
warp-0.3.2
286
warp-0.3.5
262 287
warp-real-ip-0.2.0
263
wasi-0.10.2+wasi-snapshot-preview1
264
wasm-bindgen-0.2.78
265
wasm-bindgen-backend-0.2.78
266
wasm-bindgen-futures-0.4.28
267
wasm-bindgen-macro-0.2.78
268
wasm-bindgen-macro-support-0.2.78
269
wasm-bindgen-shared-0.2.78
270
web-sys-0.3.55
271
webpki-0.21.4
288
wasi-0.11.0+wasi-snapshot-preview1
289
wasm-bindgen-0.2.84
290
wasm-bindgen-backend-0.2.84
291
wasm-bindgen-futures-0.4.34
292
wasm-bindgen-macro-0.2.84
293
wasm-bindgen-macro-support-0.2.84
294
wasm-bindgen-shared-0.2.84
295
web-sys-0.3.61
272 296
webpki-0.22.0
273
webpki-roots-0.21.1
274
webpki-roots-0.22.1
275
whoami-1.2.0
297
webpki-roots-0.22.6
298
webpki-roots-0.23.0
299
whoami-1.4.0
276 300
winapi-0.3.9
277 301
winapi-i686-pc-windows-gnu-0.4.0
302
winapi-util-0.1.5
278 303
winapi-x86_64-pc-windows-gnu-0.4.0
279
winreg-0.7.0
304
windows-0.46.0
305
windows-sys-0.45.0
306
windows-sys-0.48.0
307
windows-targets-0.42.2
308
windows-targets-0.48.0
309
windows_aarch64_gnullvm-0.42.2
310
windows_aarch64_gnullvm-0.48.0
311
windows_aarch64_msvc-0.42.2
312
windows_aarch64_msvc-0.48.0
313
windows_i686_gnu-0.42.2
314
windows_i686_gnu-0.48.0
315
windows_i686_msvc-0.42.2
316
windows_i686_msvc-0.48.0
317
windows_x86_64_gnu-0.42.2
318
windows_x86_64_gnu-0.48.0
319
windows_x86_64_gnullvm-0.42.2
320
windows_x86_64_gnullvm-0.48.0
321
windows_x86_64_msvc-0.42.2
322
windows_x86_64_msvc-0.48.0
323
winreg-0.10.1
280 324
xpath_reader-0.5.3
281
zeroize-1.3.0
282
zeroize_derive-1.2.2
325
zeroize-1.6.0
283 326
"
284 327

  
285 328
inherit cargo systemd
......
287 330
DESCRIPTION="Push daemon for Nextcloud clients"
288 331
HOMEPAGE="https://github.com/nextcloud/notify_push"
289 332
SRC_URI="https://github.com/nextcloud/notify_push/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
290
	$(cargo_crate_uris ${CRATES})"
333
	$(cargo_crate_uris "${CRATES}")"
291 334
LICENSE="MIT Apache-2.0 BSD GPL-3 ISC MPL-2.0"
292 335
SLOT="0"
293 336
KEYWORDS="~amd64 ~x86"
......
307 350
	# default name is too generic
308 351
	mv "${ED}/usr/bin/notify_push" "${ED}/usr/bin/${PN}" || die
309 352

  
310
	newconfd "${FILESDIR}"/${PN}-r1.confd ${PN}
311
	newinitd "${FILESDIR}"/${PN}-r1.init ${PN}
312
	systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service
353
	newconfd "${FILESDIR}/${PN}-r1.confd" "${PN}"
354
	newinitd "${FILESDIR}/${PN}-r1.init" "${PN}"
355
	systemd_newunit "${FILESDIR}/${PN}.service" "${PN}.service"
313 356

  
314 357
	# restrict access because conf.d entry could contain
315 358
	# database credentials
316
	fperms 0640 /etc/conf.d/${PN}
359
	fperms 0640 "/etc/conf.d/${PN}"
317 360
}
Thank you!