diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 01:35:06 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-04 02:11:48 +0200 |
commit | 1a64deeb894dc95e2645a75771732c6cc53a79ad (patch) | |
tree | 1b9df4838f894577a09b9b260151756272efeb53 /flakes/etherpad-lite/modules/ep_ldapauth | |
parent | fa25ffd4583cc362075cd5e1b4130f33306103f0 (diff) | |
download | Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.gz Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.tar.zst Nix-1a64deeb894dc95e2645a75771732c6cc53a79ad.zip |
Squash changes containing private information
There were a lot of changes since the previous commit, but a lot of them
contained personnal information about users. All thos changes got
stashed into a single commit (history is kept in a different place) and
private information was moved in a separate private repository
Diffstat (limited to 'flakes/etherpad-lite/modules/ep_ldapauth')
-rw-r--r-- | flakes/etherpad-lite/modules/ep_ldapauth/node-packages.json | 1 | ||||
-rw-r--r-- | flakes/etherpad-lite/modules/ep_ldapauth/node-packages.nix | 392 |
2 files changed, 393 insertions, 0 deletions
diff --git a/flakes/etherpad-lite/modules/ep_ldapauth/node-packages.json b/flakes/etherpad-lite/modules/ep_ldapauth/node-packages.json new file mode 100644 index 0000000..cacc12a --- /dev/null +++ b/flakes/etherpad-lite/modules/ep_ldapauth/node-packages.json | |||
@@ -0,0 +1 @@ | |||
[ "ep_ldapauth" ] | |||
diff --git a/flakes/etherpad-lite/modules/ep_ldapauth/node-packages.nix b/flakes/etherpad-lite/modules/ep_ldapauth/node-packages.nix new file mode 100644 index 0000000..8140187 --- /dev/null +++ b/flakes/etherpad-lite/modules/ep_ldapauth/node-packages.nix | |||
@@ -0,0 +1,392 @@ | |||
1 | # This file has been generated by node2nix 1.8.0. Do not edit! | ||
2 | |||
3 | {nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}: | ||
4 | |||
5 | let | ||
6 | sources = { | ||
7 | "asn1-0.2.3" = { | ||
8 | name = "asn1"; | ||
9 | packageName = "asn1"; | ||
10 | version = "0.2.3"; | ||
11 | src = fetchurl { | ||
12 | url = "https://registry.npmjs.org/asn1/-/asn1-0.2.3.tgz"; | ||
13 | sha1 = "dac8787713c9966849fc8180777ebe9c1ddf3b86"; | ||
14 | }; | ||
15 | }; | ||
16 | "assert-plus-0.1.5" = { | ||
17 | name = "assert-plus"; | ||
18 | packageName = "assert-plus"; | ||
19 | version = "0.1.5"; | ||
20 | src = fetchurl { | ||
21 | url = "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz"; | ||
22 | sha1 = "ee74009413002d84cec7219c6ac811812e723160"; | ||
23 | }; | ||
24 | }; | ||
25 | "assert-plus-1.0.0" = { | ||
26 | name = "assert-plus"; | ||
27 | packageName = "assert-plus"; | ||
28 | version = "1.0.0"; | ||
29 | src = fetchurl { | ||
30 | url = "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"; | ||
31 | sha1 = "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"; | ||
32 | }; | ||
33 | }; | ||
34 | "async-stacktrace-0.0.2" = { | ||
35 | name = "async-stacktrace"; | ||
36 | packageName = "async-stacktrace"; | ||
37 | version = "0.0.2"; | ||
38 | src = fetchurl { | ||
39 | url = "https://registry.npmjs.org/async-stacktrace/-/async-stacktrace-0.0.2.tgz"; | ||
40 | sha1 = "8bbb9787e3b38c836c729a7e9d7c08630db5d1ef"; | ||
41 | }; | ||
42 | }; | ||
43 | "backoff-2.5.0" = { | ||
44 | name = "backoff"; | ||
45 | packageName = "backoff"; | ||
46 | version = "2.5.0"; | ||
47 | src = fetchurl { | ||
48 | url = "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz"; | ||
49 | sha1 = "f616eda9d3e4b66b8ca7fca79f695722c5f8e26f"; | ||
50 | }; | ||
51 | }; | ||
52 | "balanced-match-1.0.0" = { | ||
53 | name = "balanced-match"; | ||
54 | packageName = "balanced-match"; | ||
55 | version = "1.0.0"; | ||
56 | src = fetchurl { | ||
57 | url = "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz"; | ||
58 | sha1 = "89b4d199ab2bee49de164ea02b89ce462d71b767"; | ||
59 | }; | ||
60 | }; | ||
61 | "brace-expansion-1.1.11" = { | ||
62 | name = "brace-expansion"; | ||
63 | packageName = "brace-expansion"; | ||
64 | version = "1.1.11"; | ||
65 | src = fetchurl { | ||
66 | url = "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"; | ||
67 | sha512 = "iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA=="; | ||
68 | }; | ||
69 | }; | ||
70 | "bunyan-1.8.12" = { | ||
71 | name = "bunyan"; | ||
72 | packageName = "bunyan"; | ||
73 | version = "1.8.12"; | ||
74 | src = fetchurl { | ||
75 | url = "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz"; | ||
76 | sha1 = "f150f0f6748abdd72aeae84f04403be2ef113797"; | ||
77 | }; | ||
78 | }; | ||
79 | "concat-map-0.0.1" = { | ||
80 | name = "concat-map"; | ||
81 | packageName = "concat-map"; | ||
82 | version = "0.0.1"; | ||
83 | src = fetchurl { | ||
84 | url = "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz"; | ||
85 | sha1 = "d8a96bd77fd68df7793a73036a3ba0d5405d477b"; | ||
86 | }; | ||
87 | }; | ||
88 | "core-util-is-1.0.2" = { | ||
89 | name = "core-util-is"; | ||
90 | packageName = "core-util-is"; | ||
91 | version = "1.0.2"; | ||
92 | src = fetchurl { | ||
93 | url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"; | ||
94 | sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7"; | ||
95 | }; | ||
96 | }; | ||
97 | "dashdash-1.14.1" = { | ||
98 | name = "dashdash"; | ||
99 | packageName = "dashdash"; | ||
100 | version = "1.14.1"; | ||
101 | src = fetchurl { | ||
102 | url = "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz"; | ||
103 | sha1 = "853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"; | ||
104 | }; | ||
105 | }; | ||
106 | "dtrace-provider-0.7.1" = { | ||
107 | name = "dtrace-provider"; | ||
108 | packageName = "dtrace-provider"; | ||
109 | version = "0.7.1"; | ||
110 | src = fetchurl { | ||
111 | url = "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.7.1.tgz"; | ||
112 | sha1 = "c06b308f2f10d5d5838aec9c571e5d588dc71d04"; | ||
113 | }; | ||
114 | }; | ||
115 | "dtrace-provider-0.8.8" = { | ||
116 | name = "dtrace-provider"; | ||
117 | packageName = "dtrace-provider"; | ||
118 | version = "0.8.8"; | ||
119 | src = fetchurl { | ||
120 | url = "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.8.tgz"; | ||
121 | sha512 = "b7Z7cNtHPhH9EJhNNbbeqTcXB8LGFFZhq1PGgEvpeHlzd36bhbdTWoE/Ba/YguqpBSlAPKnARWhVlhunCMwfxg=="; | ||
122 | }; | ||
123 | }; | ||
124 | "extsprintf-1.2.0" = { | ||
125 | name = "extsprintf"; | ||
126 | packageName = "extsprintf"; | ||
127 | version = "1.2.0"; | ||
128 | src = fetchurl { | ||
129 | url = "https://registry.npmjs.org/extsprintf/-/extsprintf-1.2.0.tgz"; | ||
130 | sha1 = "5ad946c22f5b32ba7f8cd7426711c6e8a3fc2529"; | ||
131 | }; | ||
132 | }; | ||
133 | "glob-6.0.4" = { | ||
134 | name = "glob"; | ||
135 | packageName = "glob"; | ||
136 | version = "6.0.4"; | ||
137 | src = fetchurl { | ||
138 | url = "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz"; | ||
139 | sha1 = "0f08860f6a155127b2fadd4f9ce24b1aab6e4d22"; | ||
140 | }; | ||
141 | }; | ||
142 | "inflight-1.0.6" = { | ||
143 | name = "inflight"; | ||
144 | packageName = "inflight"; | ||
145 | version = "1.0.6"; | ||
146 | src = fetchurl { | ||
147 | url = "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz"; | ||
148 | sha1 = "49bd6331d7d02d0c09bc910a1075ba8165b56df9"; | ||
149 | }; | ||
150 | }; | ||
151 | "inherits-2.0.4" = { | ||
152 | name = "inherits"; | ||
153 | packageName = "inherits"; | ||
154 | version = "2.0.4"; | ||
155 | src = fetchurl { | ||
156 | url = "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"; | ||
157 | sha512 = "k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="; | ||
158 | }; | ||
159 | }; | ||
160 | "ldap-filter-0.2.2" = { | ||
161 | name = "ldap-filter"; | ||
162 | packageName = "ldap-filter"; | ||
163 | version = "0.2.2"; | ||
164 | src = fetchurl { | ||
165 | url = "https://registry.npmjs.org/ldap-filter/-/ldap-filter-0.2.2.tgz"; | ||
166 | sha1 = "f2b842be0b86da3352798505b31ebcae590d77d0"; | ||
167 | }; | ||
168 | }; | ||
169 | "ldapjs-1.0.1" = { | ||
170 | name = "ldapjs"; | ||
171 | packageName = "ldapjs"; | ||
172 | version = "1.0.1"; | ||
173 | src = fetchurl { | ||
174 | url = "https://registry.npmjs.org/ldapjs/-/ldapjs-1.0.1.tgz"; | ||
175 | sha1 = "352b812ae74b0a8e96549a4b896060eee1b9a546"; | ||
176 | }; | ||
177 | }; | ||
178 | "minimatch-3.0.4" = { | ||
179 | name = "minimatch"; | ||
180 | packageName = "minimatch"; | ||
181 | version = "3.0.4"; | ||
182 | src = fetchurl { | ||
183 | url = "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz"; | ||
184 | sha512 = "yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA=="; | ||
185 | }; | ||
186 | }; | ||
187 | "minimist-1.2.5" = { | ||
188 | name = "minimist"; | ||
189 | packageName = "minimist"; | ||
190 | version = "1.2.5"; | ||
191 | src = fetchurl { | ||
192 | url = "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz"; | ||
193 | sha512 = "FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="; | ||
194 | }; | ||
195 | }; | ||
196 | "mkdirp-0.5.5" = { | ||
197 | name = "mkdirp"; | ||
198 | packageName = "mkdirp"; | ||
199 | version = "0.5.5"; | ||
200 | src = fetchurl { | ||
201 | url = "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz"; | ||
202 | sha512 = "NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ=="; | ||
203 | }; | ||
204 | }; | ||
205 | "moment-2.24.0" = { | ||
206 | name = "moment"; | ||
207 | packageName = "moment"; | ||
208 | version = "2.24.0"; | ||
209 | src = fetchurl { | ||
210 | url = "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz"; | ||
211 | sha512 = "bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="; | ||
212 | }; | ||
213 | }; | ||
214 | "mv-2.1.1" = { | ||
215 | name = "mv"; | ||
216 | packageName = "mv"; | ||
217 | version = "2.1.1"; | ||
218 | src = fetchurl { | ||
219 | url = "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz"; | ||
220 | sha1 = "ae6ce0d6f6d5e0a4f7d893798d03c1ea9559b6a2"; | ||
221 | }; | ||
222 | }; | ||
223 | "nan-2.14.1" = { | ||
224 | name = "nan"; | ||
225 | packageName = "nan"; | ||
226 | version = "2.14.1"; | ||
227 | src = fetchurl { | ||
228 | url = "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz"; | ||
229 | sha512 = "isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw=="; | ||
230 | }; | ||
231 | }; | ||
232 | "ncp-2.0.0" = { | ||
233 | name = "ncp"; | ||
234 | packageName = "ncp"; | ||
235 | version = "2.0.0"; | ||
236 | src = fetchurl { | ||
237 | url = "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz"; | ||
238 | sha1 = "195a21d6c46e361d2fb1281ba38b91e9df7bdbb3"; | ||
239 | }; | ||
240 | }; | ||
241 | "once-1.4.0" = { | ||
242 | name = "once"; | ||
243 | packageName = "once"; | ||
244 | version = "1.4.0"; | ||
245 | src = fetchurl { | ||
246 | url = "https://registry.npmjs.org/once/-/once-1.4.0.tgz"; | ||
247 | sha1 = "583b1aa775961d4b113ac17d9c50baef9dd76bd1"; | ||
248 | }; | ||
249 | }; | ||
250 | "path-is-absolute-1.0.1" = { | ||
251 | name = "path-is-absolute"; | ||
252 | packageName = "path-is-absolute"; | ||
253 | version = "1.0.1"; | ||
254 | src = fetchurl { | ||
255 | url = "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz"; | ||
256 | sha1 = "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"; | ||
257 | }; | ||
258 | }; | ||
259 | "precond-0.2.3" = { | ||
260 | name = "precond"; | ||
261 | packageName = "precond"; | ||
262 | version = "0.2.3"; | ||
263 | src = fetchurl { | ||
264 | url = "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz"; | ||
265 | sha1 = "aa9591bcaa24923f1e0f4849d240f47efc1075ac"; | ||
266 | }; | ||
267 | }; | ||
268 | "rimraf-2.4.5" = { | ||
269 | name = "rimraf"; | ||
270 | packageName = "rimraf"; | ||
271 | version = "2.4.5"; | ||
272 | src = fetchurl { | ||
273 | url = "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz"; | ||
274 | sha1 = "ee710ce5d93a8fdb856fb5ea8ff0e2d75934b2da"; | ||
275 | }; | ||
276 | }; | ||
277 | "safe-json-stringify-1.2.0" = { | ||
278 | name = "safe-json-stringify"; | ||
279 | packageName = "safe-json-stringify"; | ||
280 | version = "1.2.0"; | ||
281 | src = fetchurl { | ||
282 | url = "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz"; | ||
283 | sha512 = "gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg=="; | ||
284 | }; | ||
285 | }; | ||
286 | "vasync-1.6.4" = { | ||
287 | name = "vasync"; | ||
288 | packageName = "vasync"; | ||
289 | version = "1.6.4"; | ||
290 | src = fetchurl { | ||
291 | url = "https://registry.npmjs.org/vasync/-/vasync-1.6.4.tgz"; | ||
292 | sha1 = "dfe93616ad0e7ae801b332a9d88bfc5cdc8e1d1f"; | ||
293 | }; | ||
294 | }; | ||
295 | "verror-1.10.0" = { | ||
296 | name = "verror"; | ||
297 | packageName = "verror"; | ||
298 | version = "1.10.0"; | ||
299 | src = fetchurl { | ||
300 | url = "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz"; | ||
301 | sha1 = "3a105ca17053af55d6e270c1f8288682e18da400"; | ||
302 | }; | ||
303 | }; | ||
304 | "verror-1.6.0" = { | ||
305 | name = "verror"; | ||
306 | packageName = "verror"; | ||
307 | version = "1.6.0"; | ||
308 | src = fetchurl { | ||
309 | url = "https://registry.npmjs.org/verror/-/verror-1.6.0.tgz"; | ||
310 | sha1 = "7d13b27b1facc2e2da90405eb5ea6e5bdd252ea5"; | ||
311 | }; | ||
312 | }; | ||
313 | "wrappy-1.0.2" = { | ||
314 | name = "wrappy"; | ||
315 | packageName = "wrappy"; | ||
316 | version = "1.0.2"; | ||
317 | src = fetchurl { | ||
318 | url = "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz"; | ||
319 | sha1 = "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"; | ||
320 | }; | ||
321 | }; | ||
322 | }; | ||
323 | in | ||
324 | { | ||
325 | ep_ldapauth = nodeEnv.buildNodePackage { | ||
326 | name = "ep_ldapauth"; | ||
327 | packageName = "ep_ldapauth"; | ||
328 | version = "0.3.0"; | ||
329 | src = fetchurl { | ||
330 | url = "https://registry.npmjs.org/ep_ldapauth/-/ep_ldapauth-0.3.0.tgz"; | ||
331 | sha1 = "8b34ea34b20ae97d53d753cc7d1f6f191800e3b0"; | ||
332 | }; | ||
333 | preRebuild = '' | ||
334 | sed -i -e 's/context.message.data.type == "USERINFO_UPDATE"/context.message.data.type == "USERINFO_UPDATE" \&\& context.req \&\& context.req.session \&\& typeof(context.req.session.user) !== "undefined"/g' ep_ldapauth.js | ||
335 | ''; | ||
336 | dependencies = [ | ||
337 | sources."asn1-0.2.3" | ||
338 | sources."assert-plus-1.0.0" | ||
339 | sources."async-stacktrace-0.0.2" | ||
340 | sources."backoff-2.5.0" | ||
341 | sources."balanced-match-1.0.0" | ||
342 | sources."brace-expansion-1.1.11" | ||
343 | (sources."bunyan-1.8.12" // { | ||
344 | dependencies = [ | ||
345 | sources."dtrace-provider-0.8.8" | ||
346 | ]; | ||
347 | }) | ||
348 | sources."concat-map-0.0.1" | ||
349 | sources."core-util-is-1.0.2" | ||
350 | sources."dashdash-1.14.1" | ||
351 | sources."dtrace-provider-0.7.1" | ||
352 | sources."extsprintf-1.2.0" | ||
353 | sources."glob-6.0.4" | ||
354 | sources."inflight-1.0.6" | ||
355 | sources."inherits-2.0.4" | ||
356 | (sources."ldap-filter-0.2.2" // { | ||
357 | dependencies = [ | ||
358 | sources."assert-plus-0.1.5" | ||
359 | ]; | ||
360 | }) | ||
361 | sources."ldapjs-1.0.1" | ||
362 | sources."minimatch-3.0.4" | ||
363 | sources."minimist-1.2.5" | ||
364 | sources."mkdirp-0.5.5" | ||
365 | sources."moment-2.24.0" | ||
366 | sources."mv-2.1.1" | ||
367 | sources."nan-2.14.1" | ||
368 | sources."ncp-2.0.0" | ||
369 | sources."once-1.4.0" | ||
370 | sources."path-is-absolute-1.0.1" | ||
371 | sources."precond-0.2.3" | ||
372 | sources."rimraf-2.4.5" | ||
373 | sources."safe-json-stringify-1.2.0" | ||
374 | (sources."vasync-1.6.4" // { | ||
375 | dependencies = [ | ||
376 | sources."verror-1.6.0" | ||
377 | ]; | ||
378 | }) | ||
379 | sources."verror-1.10.0" | ||
380 | sources."wrappy-1.0.2" | ||
381 | ]; | ||
382 | buildInputs = globalBuildInputs; | ||
383 | meta = { | ||
384 | description = "Hooks into etherpad lite auth to provide LDAP authentication."; | ||
385 | homepage = "https://github.com/tykeal/ep_ldapauth#readme"; | ||
386 | license = "GPL-2.0"; | ||
387 | }; | ||
388 | production = true; | ||
389 | bypassCache = true; | ||
390 | reconstructLock = true; | ||
391 | }; | ||
392 | } | ||