@daugasauron/dolly-image-default 0.1.5-rc.0 → 0.1.6

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.
Files changed (60) hide show
  1. package/Dollyfile +10 -12
  2. package/Dollyfile-amy +6 -7
  3. package/Dollyfile-core +1 -1
  4. package/Dollyfile-curl +4 -5
  5. package/Dollyfile-display +8 -8
  6. package/Dollyfile-dollyfile +1 -1
  7. package/Dollyfile-ghostty-build +13 -11
  8. package/Dollyfile-git +7 -7
  9. package/Dollyfile-gzip +3 -3
  10. package/Dollyfile-libdolly-display +24 -0
  11. package/Dollyfile-libdolly-download +24 -0
  12. package/Dollyfile-libdolly-input +24 -0
  13. package/Dollyfile-libdolly-nena +24 -0
  14. package/Dollyfile-libdolly-packages +24 -0
  15. package/Dollyfile-libdolly-upload +24 -0
  16. package/Dollyfile-mandoc +3 -3
  17. package/Dollyfile-nena +3 -2
  18. package/Dollyfile-posix +2 -2
  19. package/Dollyfile-system-build +45 -73
  20. package/Dollyfile-system-tools +26 -25
  21. package/Dollyfile-transfer +3 -1
  22. package/Dollyfile-zig-build +3 -3
  23. package/Dollyfile-zlib +2 -2
  24. package/README.md +6 -6
  25. package/amy-index.txt +9 -10
  26. package/dist/dolly-amy-system-snapshot.json +35 -22
  27. package/dist/dolly-core-system-snapshot.json +16 -16
  28. package/dist/dolly-curl-system-snapshot.json +17 -17
  29. package/dist/dolly-default-system-snapshot.json +146 -111
  30. package/dist/dolly-display-system-snapshot.json +41 -23
  31. package/dist/dolly-dollyfile-system-snapshot.json +16 -16
  32. package/dist/dolly-ghostty-build-system-snapshot.json +84 -63
  33. package/dist/dolly-git-system-snapshot.json +33 -33
  34. package/dist/dolly-gzip-system-snapshot.json +21 -21
  35. package/dist/dolly-images.json +307 -840
  36. package/dist/dolly-libdolly-display-system-snapshot.json +57 -0
  37. package/dist/dolly-libdolly-download-system-snapshot.json +57 -0
  38. package/dist/dolly-libdolly-input-system-snapshot.json +57 -0
  39. package/dist/dolly-libdolly-nena-system-snapshot.json +57 -0
  40. package/dist/dolly-libdolly-packages-system-snapshot.json +57 -0
  41. package/dist/dolly-libdolly-upload-system-snapshot.json +57 -0
  42. package/dist/dolly-mandoc-system-snapshot.json +63 -45
  43. package/dist/dolly-nena-system-snapshot.json +30 -17
  44. package/dist/dolly-posix-system-snapshot.json +69 -51
  45. package/dist/dolly-ps-system-snapshot.json +7 -7
  46. package/dist/dolly-system-build-system-snapshot.json +33 -51
  47. package/dist/dolly-system-tools-system-snapshot.json +107 -102
  48. package/dist/dolly-transfer-system-snapshot.json +43 -17
  49. package/dist/dolly-zig-build-system-snapshot.json +55 -68
  50. package/dist/dolly-zlib-system-snapshot.json +16 -16
  51. package/dist/packs/0e5aa174f3b3465924f7c53d929caa94edfc94a3202656477324410d69ac6a54.snapshot.gz +0 -0
  52. package/dist/packs/995ef8099c6940b93bd34a9d7507984a6397d93ab441e4d5b023670c1bff4505.snapshot.gz +0 -0
  53. package/dist/packs/ea7ea650a2f3390a43407f9c2cbbf4ccf13bd9382454cce27fb733381b40b8fb.snapshot.gz +0 -0
  54. package/index.mjs +1 -1
  55. package/package.json +3 -3
  56. package/Dollyfile-html +0 -78
  57. package/dist/dolly-html-system-snapshot.json +0 -60
  58. package/dist/packs/24c620e3c890a64427ccaf4ba0bb9e74098617af0dd2e965ea57377d3d8e6032.snapshot.gz +0 -0
  59. package/dist/packs/33eef9340488b922bc018c579c45faf5545487f85e97e35e4206cfde0fce0cf1.snapshot.gz +0 -0
  60. package/dist/packs/c5f82e9113c43a57819dd225b9e351fb72f9134120457f7bf28ee157ca1eb446.snapshot.gz +0 -0
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "image": "zig-build",
3
- "buildId": "sha256:b9e16e76c04b07f3e0a20b6a399a1b736c1c8d9e103554634abb910a34d6c341",
4
- "runtimeBuildId": "sha256:4dab85fcfe184d0632f281d1ff0a7839f9ac8176e6f1656819881e8ca38c3c27",
3
+ "buildId": "sha256:87c272432c019ccd35bc35fd5576682681a35c1abdcd36f18e456f608d23b758",
4
+ "runtimeBuildId": "sha256:d8f91a7526e31cfd010f30ba48cea8912e4aa9cdd6b1497fd9a96d46ea2eee52",
5
5
  "formatVersion": 2,
6
6
  "identityVersion": 2,
7
7
  "inputs": [
8
8
  {
9
- "recipeSha256": "cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee",
10
- "sha256": "588196b2efd79983e93f0835876001ea89dd47b8d03110c3e8464d53c7bb2d57"
9
+ "recipeSha256": "2b3dacf451ba777ad3724b819014df4e705b024aa73c51c60125d8b5e45c9b57",
10
+ "sha256": "a19e7ee6a15cd1d7fa5be6d43a58d9ce98e2b4964488fe36fe444a05723fbf8c"
11
11
  }
12
12
  ],
13
13
  "recipes": [
14
14
  {
15
15
  "name": "system-build",
16
- "locator": "/v0.1.5/Dollyfile-system-build",
17
- "sourcePath": "/v0.1.5/Dollyfile-system-build",
16
+ "locator": "/v0.1.6/Dollyfile-system-build",
17
+ "sourcePath": "/v0.1.6/Dollyfile-system-build",
18
18
  "retainedPath": "/etc/dolly/recipes/Dollyfile-system-build",
19
- "sha256": "cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee",
20
- "byteLength": 19224
19
+ "sha256": "2b3dacf451ba777ad3724b819014df4e705b024aa73c51c60125d8b5e45c9b57",
20
+ "byteLength": 16993
21
21
  },
22
22
  {
23
23
  "name": "zig-build",
24
- "locator": "/v0.1.5/Dollyfile-zig-build",
25
- "sourcePath": "/v0.1.5/Dollyfile-zig-build",
24
+ "locator": "/v0.1.6/Dollyfile-zig-build",
25
+ "sourcePath": "/v0.1.6/Dollyfile-zig-build",
26
26
  "retainedPath": "/etc/dolly/recipes/Dollyfile-zig-build",
27
- "sha256": "7b61cdcb025aaafa3ce7b17930a4fc697451850bae49e3c5bb75ba6cc1bff33a",
27
+ "sha256": "90061764772376d61f11f5cad358d6346f544a95d20c960b5cebb6cbf50f3ec1",
28
28
  "byteLength": 4603
29
29
  }
30
30
  ],
@@ -1309,29 +1309,16 @@
1309
1309
  "/usr/include/dirent.h",
1310
1310
  "/usr/include/dlfcn.h",
1311
1311
  "/usr/include/dolly",
1312
- "/usr/include/dolly/display-abi.h",
1313
- "/usr/include/dolly/display.h",
1314
- "/usr/include/dolly/download-abi.h",
1315
- "/usr/include/dolly/download.h",
1316
1312
  "/usr/include/dolly/dso-abi.h",
1317
1313
  "/usr/include/dolly/dso.h",
1318
1314
  "/usr/include/dolly/host-abi.h",
1319
1315
  "/usr/include/dolly/host.h",
1320
1316
  "/usr/include/dolly/http-abi.h",
1321
1317
  "/usr/include/dolly/http.h",
1322
- "/usr/include/dolly/input-abi.h",
1323
- "/usr/include/dolly/input.h",
1324
- "/usr/include/dolly/nena-abi.h",
1325
- "/usr/include/dolly/nena.h",
1318
+ "/usr/include/dolly/image-abi.h",
1326
1319
  "/usr/include/dolly/process.h",
1327
- "/usr/include/dolly/pty-abi.h",
1328
- "/usr/include/dolly/pty.h",
1329
1320
  "/usr/include/dolly/runtime.h",
1330
- "/usr/include/dolly/threads-abi.h",
1331
- "/usr/include/dolly/threads.h",
1332
1321
  "/usr/include/dolly/toolchain.h",
1333
- "/usr/include/dolly/upload-abi.h",
1334
- "/usr/include/dolly/upload.h",
1335
1322
  "/usr/include/elf.h",
1336
1323
  "/usr/include/endian.h",
1337
1324
  "/usr/include/err.h",
@@ -1838,27 +1825,22 @@
1838
1825
  "/usr/lib/dolly/process/libc-ww.a",
1839
1826
  "/usr/lib/dolly/process/libclang_rt.builtins-wasmsjlj-ww.a",
1840
1827
  "/usr/lib/dolly/process/libdlmalloc-ww.a",
1841
- "/usr/lib/dolly/process/libdolly-display.a",
1842
- "/usr/lib/dolly/process/libdolly-download.a",
1843
1828
  "/usr/lib/dolly/process/libdolly-dso.a",
1844
1829
  "/usr/lib/dolly/process/libdolly-http.a",
1845
- "/usr/lib/dolly/process/libdolly-input.a",
1846
- "/usr/lib/dolly/process/libdolly-nena.a",
1847
1830
  "/usr/lib/dolly/process/libdolly-process.a",
1848
- "/usr/lib/dolly/process/libdolly-pty.a",
1849
1831
  "/usr/lib/dolly/process/libdolly-runtime.a",
1850
- "/usr/lib/dolly/process/libdolly-threads.a",
1851
- "/usr/lib/dolly/process/libdolly-upload.a",
1852
1832
  "/usr/lib/dolly/process/libstandalonewasm-ww-memgrow.a",
1853
1833
  "/usr/lib/dolly/process/libstubs.a",
1854
1834
  "/usr/lib/dolly/process/libunwind-ww-wasmexcept.a",
1835
+ "/usr/lib/dolly/process/pthread.exports",
1836
+ "/usr/lib/dolly/process/rdynamic.exports",
1855
1837
  "/usr/lib/dolly/process/threads",
1856
1838
  "/usr/lib/dolly/process/threads/crt1.o",
1857
1839
  "/usr/lib/dolly/process/threads/libc-mt.a",
1858
1840
  "/usr/lib/dolly/process/threads/libclang_rt.builtins-wasmsjlj-mt.a",
1859
- "/usr/lib/dolly/process/threads/libdlmalloc-mt.a",
1860
1841
  "/usr/lib/dolly/process/threads/libdolly-process.a",
1861
1842
  "/usr/lib/dolly/process/threads/libdolly-runtime.a",
1843
+ "/usr/lib/dolly/process/threads/libmimalloc-mt.a",
1862
1844
  "/usr/lib/dolly/process/threads/libstandalonewasm-mt-memgrow.a",
1863
1845
  "/usr/lib/libclang_rt.builtins.a",
1864
1846
  "/usr/lib/zig",
@@ -3268,19 +3250,19 @@
3268
3250
  "/usr/share/man/cat1/touch.1",
3269
3251
  "/usr/share/man/man1"
3270
3252
  ],
3271
- "byteLength": 198498333,
3272
- "sha256": "6e1afaa913691b63b516ee88010ac13f3a6650fd9855eb1d410db3cd3407dc25",
3253
+ "byteLength": 199670059,
3254
+ "sha256": "48f4252b5099db2810e0586509bc51259f33689b489a510b753c5a6eaa5f484c",
3273
3255
  "encoding": "packs",
3274
3256
  "packs": [
3275
3257
  {
3276
- "sha256": "e550860f366e4c829cd0858cb7ae3d88a1980452b4e6a7b8c47fa516e765bb7e",
3277
- "byteLength": 1960800,
3278
- "encodedByteLength": 700507
3258
+ "sha256": "944eb2a19bb88110c1aa2e946cb2e535e219205c67b3169d543a0152e2340dca",
3259
+ "byteLength": 1958062,
3260
+ "encodedByteLength": 702554
3279
3261
  },
3280
3262
  {
3281
- "sha256": "9759fc342138d0e28a9bfa4f2759bc63d294204189dd558b268ce885474dee07",
3282
- "byteLength": 8903446,
3283
- "encodedByteLength": 2256887
3263
+ "sha256": "2f55f7e9239a352455c432148b76b46dc0008142c8b785eb8b74a4896e0b6148",
3264
+ "byteLength": 8903532,
3265
+ "encodedByteLength": 2256886
3284
3266
  },
3285
3267
  {
3286
3268
  "sha256": "28fd42d5ac90110a697095d1b9ce9f8c2748638ada08972c3bce1acfe2d259b3",
@@ -3298,9 +3280,9 @@
3298
3280
  "encodedByteLength": 279991
3299
3281
  },
3300
3282
  {
3301
- "sha256": "ed362d6918c6e62b98fdc9f57512c0915bb4bac972cb713021ace415239a63d8",
3302
- "byteLength": 2276577,
3303
- "encodedByteLength": 303986
3283
+ "sha256": "bb429fc093c29d8b99cfdf233f28fc0c67a6c9121d636757bbf9cb29ef78d1c4",
3284
+ "byteLength": 2250831,
3285
+ "encodedByteLength": 297217
3304
3286
  },
3305
3287
  {
3306
3288
  "sha256": "cd1acf7b8f2b94982d0de06c56807d022d9c900099ecee6a90f048302755c891",
@@ -3313,9 +3295,9 @@
3313
3295
  "encodedByteLength": 171246
3314
3296
  },
3315
3297
  {
3316
- "sha256": "48e5b7afd9c737716b1f286a89e6ee99fe8d449bfcd6dc3898baee750d7f2585",
3317
- "byteLength": 3133357,
3318
- "encodedByteLength": 311279
3298
+ "sha256": "2aeaf97241319b912bdd0bb47bac8e49f3ddc3b12f033dd4f38e136d2e1fdd86",
3299
+ "byteLength": 3133095,
3300
+ "encodedByteLength": 311121
3319
3301
  },
3320
3302
  {
3321
3303
  "sha256": "62032f48b98f07e4ff5ea00d30f0c32e6266c3790ebe3268bad38bce33bb9c35",
@@ -3333,29 +3315,34 @@
3333
3315
  "encodedByteLength": 1416708
3334
3316
  },
3335
3317
  {
3336
- "sha256": "a106a4638285eee4024f02c30774224542c7f9edd78ab0e6236cf67a922fbb6e",
3337
- "byteLength": 4030704,
3338
- "encodedByteLength": 1414553
3318
+ "sha256": "a4ae3a21a06cc192f0a3504b82a1461a5b6f50f158cfed79c47a504e2511f2d2",
3319
+ "byteLength": 4018687,
3320
+ "encodedByteLength": 1411249
3339
3321
  },
3340
3322
  {
3341
- "sha256": "dfe6ce54552ab96d7d4a3e27056d366e1a543b0dbaac9d31148028d436f50802",
3342
- "byteLength": 2569877,
3343
- "encodedByteLength": 763914
3323
+ "sha256": "e6e24c9adc602d3bdc6740152ee924d9bcd57a9e8c5319c89477c6ebb3987f1a",
3324
+ "byteLength": 3108328,
3325
+ "encodedByteLength": 1079508
3344
3326
  },
3345
3327
  {
3346
- "sha256": "98302bc3626a70038a577c4668d3a1aa3a952a8874122e023810c53ab0a9e094",
3347
- "byteLength": 4066982,
3348
- "encodedByteLength": 317783
3328
+ "sha256": "c32383ef988b7108ff87c31e17ed3422ab124453b2a52a0be1822802050d5ecc",
3329
+ "byteLength": 4173698,
3330
+ "encodedByteLength": 434015
3349
3331
  },
3350
3332
  {
3351
- "sha256": "c0f0e433ea355c045d4b10a0e4d7dbe01caf3cd55f72f7641f6b986140207386",
3352
- "byteLength": 3547398,
3353
- "encodedByteLength": 639412
3333
+ "sha256": "518f771d733b5c4ead0ea9237b4cac9af36f357b210f64fe7c5b03f4c7d902d0",
3334
+ "byteLength": 2466587,
3335
+ "encodedByteLength": 378332
3354
3336
  },
3355
3337
  {
3356
- "sha256": "b6033716779208d205f43c77a727d689fc83eaa06592c012138a3c2b46987cc1",
3357
- "byteLength": 3186876,
3358
- "encodedByteLength": 325395
3338
+ "sha256": "36eba3dc8df19c4cca881ca21c3ba9b6c32869972232d8d693bfcd989b5f09fc",
3339
+ "byteLength": 2274766,
3340
+ "encodedByteLength": 397544
3341
+ },
3342
+ {
3343
+ "sha256": "b7bae475f8a178b2d8fe190fab1e5177bc382c2fb92416a3d06ecc8fb3c82a7f",
3344
+ "byteLength": 2559370,
3345
+ "encodedByteLength": 230926
3359
3346
  },
3360
3347
  {
3361
3348
  "sha256": "5db6fdcb99ba9a10d4ecef4457276e198bd54233207674554f77cbdb8e8a07a2",
@@ -3418,14 +3405,14 @@
3418
3405
  "encodedByteLength": 273704
3419
3406
  },
3420
3407
  {
3421
- "sha256": "74a36ec9344e032526da209c223afdec6323e43dc2090613c236ae9cdc106004",
3422
- "byteLength": 96097999,
3423
- "encodedByteLength": 26627760
3408
+ "sha256": "c5256b0c5182858de3daa07844a3717a122ad2fb9a6d62e6d8f13aedf3e387e7",
3409
+ "byteLength": 96098754,
3410
+ "encodedByteLength": 26628399
3424
3411
  },
3425
3412
  {
3426
- "sha256": "e780d025bc40a095ad277362fe74283d91c1ab680eedd0411a645f3ceeb08178",
3427
- "byteLength": 97473,
3428
- "encodedByteLength": 25409
3413
+ "sha256": "8b5aa70769bb69f438466d8fd041dc208b31e3feb11d523daaec9bc46221a54a",
3414
+ "byteLength": 97521,
3415
+ "encodedByteLength": 25425
3429
3416
  }
3430
3417
  ]
3431
3418
  }
@@ -1,30 +1,30 @@
1
1
  {
2
2
  "image": "zlib",
3
- "buildId": "sha256:b9e16e76c04b07f3e0a20b6a399a1b736c1c8d9e103554634abb910a34d6c341",
4
- "runtimeBuildId": "sha256:4dab85fcfe184d0632f281d1ff0a7839f9ac8176e6f1656819881e8ca38c3c27",
3
+ "buildId": "sha256:87c272432c019ccd35bc35fd5576682681a35c1abdcd36f18e456f608d23b758",
4
+ "runtimeBuildId": "sha256:d8f91a7526e31cfd010f30ba48cea8912e4aa9cdd6b1497fd9a96d46ea2eee52",
5
5
  "formatVersion": 2,
6
6
  "identityVersion": 2,
7
7
  "inputs": [
8
8
  {
9
- "recipeSha256": "cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee",
10
- "sha256": "588196b2efd79983e93f0835876001ea89dd47b8d03110c3e8464d53c7bb2d57"
9
+ "recipeSha256": "2b3dacf451ba777ad3724b819014df4e705b024aa73c51c60125d8b5e45c9b57",
10
+ "sha256": "a19e7ee6a15cd1d7fa5be6d43a58d9ce98e2b4964488fe36fe444a05723fbf8c"
11
11
  }
12
12
  ],
13
13
  "recipes": [
14
14
  {
15
15
  "name": "system-build",
16
- "locator": "/v0.1.5/Dollyfile-system-build",
17
- "sourcePath": "/v0.1.5/Dollyfile-system-build",
16
+ "locator": "/v0.1.6/Dollyfile-system-build",
17
+ "sourcePath": "/v0.1.6/Dollyfile-system-build",
18
18
  "retainedPath": "/etc/dolly/recipes/Dollyfile-system-build",
19
- "sha256": "cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee",
20
- "byteLength": 19224
19
+ "sha256": "2b3dacf451ba777ad3724b819014df4e705b024aa73c51c60125d8b5e45c9b57",
20
+ "byteLength": 16993
21
21
  },
22
22
  {
23
23
  "name": "zlib",
24
- "locator": "/v0.1.5/Dollyfile-zlib",
25
- "sourcePath": "/v0.1.5/Dollyfile-zlib",
24
+ "locator": "/v0.1.6/Dollyfile-zlib",
25
+ "sourcePath": "/v0.1.6/Dollyfile-zlib",
26
26
  "retainedPath": "/etc/dolly/recipes/Dollyfile-zlib",
27
- "sha256": "0b706df4c643faf419bd9089995b97d13ff7237493d9bb9727f8d3df91cbe033",
27
+ "sha256": "48ee0a5552eada81c0324749ba5ce9a7d2a2505a91f3ffcaf51f81c36a641f82",
28
28
  "byteLength": 1335
29
29
  }
30
30
  ],
@@ -46,14 +46,14 @@
46
46
  "/usr/lib/pkgconfig/zlib.pc",
47
47
  "/usr/share/licenses/zlib/LICENSE"
48
48
  ],
49
- "byteLength": 272344,
50
- "sha256": "b193e3ba5f8a6ad80cc7fef7f3434661506c92733cd424d37a5fdd3757075c76",
49
+ "byteLength": 267882,
50
+ "sha256": "2b28b77b6fa58b9e9db9d40792aa92b451c81c75008b9c8f3deb34e6a30c9a98",
51
51
  "encoding": "packs",
52
52
  "packs": [
53
53
  {
54
- "sha256": "b193e3ba5f8a6ad80cc7fef7f3434661506c92733cd424d37a5fdd3757075c76",
55
- "byteLength": 272344,
56
- "encodedByteLength": 85391
54
+ "sha256": "2b28b77b6fa58b9e9db9d40792aa92b451c81c75008b9c8f3deb34e6a30c9a98",
55
+ "byteLength": 267882,
56
+ "encodedByteLength": 84551
57
57
  }
58
58
  ]
59
59
  }
package/index.mjs CHANGED
@@ -2,5 +2,5 @@
2
2
  // declares, from the packages that hold them.
3
3
  export const images = new URL("./", import.meta.url).href;
4
4
  export const image = "default";
5
- export const modules = ["../dolly-host-display/module.json","../dolly-host-save/module.json","../dolly-host-html/module.json","../dolly/host/http/module.json","../dolly-host-input/module.json","../dolly/host/nena/module.json","../dolly/host/packages/module.json","../dolly/host/runtime/module.json","../dolly/host/snapshot/module.json","../dolly-host-upload/module.json"]
5
+ export const modules = ["../dolly-host-display/module.json","../dolly-host-save/module.json","../dolly/host/http/module.json","../dolly-host-input/module.json","../dolly/host/nena/module.json","../dolly/host/packages/module.json","../dolly/host/runtime/module.json","../dolly/host/snapshot/module.json","../dolly-host-upload/module.json"]
6
6
  .map(path => new URL(path, import.meta.url).href);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.5-rc.0",
2
+ "version": "0.1.6",
3
3
  "type": "module",
4
4
  "name": "@daugasauron/dolly-image-default",
5
5
  "license": "SEE LICENSE IN README.md",
@@ -7,9 +7,9 @@
7
7
  ".": "./index.mjs"
8
8
  },
9
9
  "dependencies": {
10
- "@daugasauron/dolly": "0.1.5-rc.0"
10
+ "@daugasauron/dolly": "0.1.6"
11
11
  },
12
- "description": "Dolly's default application: A shell, its text tools, curl, ps, html, amy, which installs the rest, and nena, which enables the host modules they need.",
12
+ "description": "Dolly's default application: A shell, its text tools, curl, ps, amy, which installs the rest, and nena, which enables the host modules they need.",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/daugasauron/dolly.git"
package/Dollyfile-html DELETED
@@ -1,78 +0,0 @@
1
- DOLLY 7
2
- PACKAGE html
3
- REQUIRES HOST runtime@0
4
- REQUIRES HOST html@0
5
-
6
- # The html@0 module's header and client, and the html command, which shows
7
- # the user an HTML page or form in a popup of the page and prints the fields
8
- # of the form they submit. cc links every client archive in
9
- # /usr/lib/dolly/process; a program records html@0 when it calls the client.
10
- FROM /v0.1.5/Dollyfile-system-build cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee
11
- REQUIRES HEADER libc
12
- REQUIRES TOOL ar
13
- REQUIRES TOOL cc
14
- REQUIRES TOOL rm
15
-
16
- SOURCE /v0.1.5/host/html/html.h b5d3905d3cb6d70cb4b019f9f5c6375cb92ce241608ccaf02fc13278ebb08261 /usr/include/dolly/html.h
17
- SOURCE /v0.1.5/host/html/html-abi.h ba5cbfcad4170d47d079b4221005994a051152ebf7db8cc011e18cdd6aff512b /usr/include/dolly/html-abi.h
18
- SOURCE /v0.1.5/host/html/client.c 4c907d8a84cad64fc4e6433b057f4ac9a413e2454f20c7579129dc34c9afc202 /tmp/html/client.c
19
- SLOP cc -O1 -c /tmp/html/client.c -o /tmp/html/client.o
20
- SLOP ar rcs /usr/lib/dolly/process/libdolly-html.a /tmp/html/client.o
21
-
22
- EXPORTS HEADER html /usr/include/dolly/html.h
23
- EXPORTS HEADER html-abi /usr/include/dolly/html-abi.h
24
- EXPORTS LIB dolly-html /usr/lib/dolly/process/libdolly-html.a
25
-
26
- FILE /tmp/html/html.c
27
- #include <dolly/html.h>
28
- #include <errno.h>
29
- #include <stdio.h>
30
- #include <string.h>
31
-
32
- static const char usage[] =
33
- "usage: html [FILE]\n"
34
- "Shows FILE, or standard input, an HTML document of at most 1 MiB, in a popup\n"
35
- "of the page: its text, headings, lists, tables and forms, in the page's style.\n"
36
- "When the user submits a form, prints its fields on one line as a browser posts\n"
37
- "them (application/x-www-form-urlencoded) and exits 0; exits 1 when the user\n"
38
- "closes the popup, 2 on an error.\n";
39
- static char document[DOLLY_HTML_DOCUMENT_MAX + 1];
40
- static char fields[DOLLY_HTML_FIELDS_MAX];
41
-
42
- int main(int argc, char **argv) {
43
- if (argc == 2 && strcmp(argv[1], "--help") == 0) {
44
- fputs(usage, stdout);
45
- return 0;
46
- }
47
- if (argc > 2) {
48
- fputs(usage, stderr);
49
- return 2;
50
- }
51
- FILE *input = argc == 2 ? fopen(argv[1], "rb") : stdin;
52
- if (input == NULL) {
53
- fprintf(stderr, "html: %s: %s\n", argv[1], strerror(errno));
54
- return 2;
55
- }
56
- const size_t size = fread(document, 1, sizeof(document), input);
57
- if (ferror(input)) {
58
- fprintf(stderr, "html: %s\n", strerror(errno));
59
- return 2;
60
- }
61
- if (size == 0 || size > DOLLY_HTML_DOCUMENT_MAX) {
62
- fprintf(stderr, "html: the document is %s\n", size == 0 ? "empty" : "over 1 MiB");
63
- return 2;
64
- }
65
- const int result = dolly_html_show(document, size, fields, sizeof(fields));
66
- if (result == -ECANCELED) return 1;
67
- if (result < 0) {
68
- fprintf(stderr, "html: %s\n", strerror(-result));
69
- return 2;
70
- }
71
- printf("%.*s\n", result, fields);
72
- return 0;
73
- }
74
- SLOP cc -O1 /tmp/html/html.c -o /usr/bin/html
75
- EXPORTS TOOL html
76
- SLOP html --help > /usr/share/man/cat1/html.1
77
- FILE /usr/share/man/cat1/html.1
78
- SLOP rm -rf /tmp/html
@@ -1,60 +0,0 @@
1
- {
2
- "image": "html",
3
- "buildId": "sha256:b9e16e76c04b07f3e0a20b6a399a1b736c1c8d9e103554634abb910a34d6c341",
4
- "runtimeBuildId": "sha256:4dab85fcfe184d0632f281d1ff0a7839f9ac8176e6f1656819881e8ca38c3c27",
5
- "formatVersion": 2,
6
- "identityVersion": 2,
7
- "inputs": [
8
- {
9
- "recipeSha256": "cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee",
10
- "sha256": "588196b2efd79983e93f0835876001ea89dd47b8d03110c3e8464d53c7bb2d57"
11
- }
12
- ],
13
- "recipes": [
14
- {
15
- "name": "system-build",
16
- "locator": "/v0.1.5/Dollyfile-system-build",
17
- "sourcePath": "/v0.1.5/Dollyfile-system-build",
18
- "retainedPath": "/etc/dolly/recipes/Dollyfile-system-build",
19
- "sha256": "cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee",
20
- "byteLength": 19224
21
- },
22
- {
23
- "name": "html",
24
- "locator": "/v0.1.5/Dollyfile-html",
25
- "sourcePath": "/v0.1.5/Dollyfile-html",
26
- "retainedPath": "/etc/dolly/recipes/Dollyfile-html",
27
- "sha256": "f25853f4c8e54144dddb7337e78e174ea587a23c00ae9414fc2edb71244942c9",
28
- "byteLength": 3124
29
- }
30
- ],
31
- "hostRequirements": [
32
- "html@0",
33
- "runtime@0"
34
- ],
35
- "entry": null,
36
- "manifest": [
37
- "/etc/dolly/Dollyfile",
38
- "/etc/dolly/artifact",
39
- "/etc/dolly/environment",
40
- "/etc/dolly/image",
41
- "/etc/dolly/recipes.lock",
42
- "/etc/dolly/recipes/Dollyfile-html",
43
- "/etc/dolly/recipes/Dollyfile-system-build",
44
- "/usr/bin/html",
45
- "/usr/include/dolly/html-abi.h",
46
- "/usr/include/dolly/html.h",
47
- "/usr/lib/dolly/process/libdolly-html.a",
48
- "/usr/share/man/cat1/html.1"
49
- ],
50
- "byteLength": 90853,
51
- "sha256": "e98f80798f487c5a786e35541d999f4c47325f11802e9ec26ba9884c00a2d494",
52
- "encoding": "packs",
53
- "packs": [
54
- {
55
- "sha256": "e98f80798f487c5a786e35541d999f4c47325f11802e9ec26ba9884c00a2d494",
56
- "byteLength": 90853,
57
- "encodedByteLength": 27611
58
- }
59
- ]
60
- }