@daugasauron/dolly-image-default 0.0.0-stage → 0.1.4-rc.1
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/Dollyfile +58 -0
- package/Dollyfile-amy +24 -0
- package/Dollyfile-core +49 -0
- package/Dollyfile-curl +58 -0
- package/Dollyfile-display +34 -0
- package/Dollyfile-ghostty-build +147 -0
- package/Dollyfile-git +191 -0
- package/Dollyfile-gzip +19 -0
- package/Dollyfile-mandoc +131 -0
- package/Dollyfile-nena +19 -0
- package/Dollyfile-posix +134 -0
- package/Dollyfile-ps +22 -0
- package/Dollyfile-system-build +464 -0
- package/Dollyfile-system-tools +242 -0
- package/Dollyfile-transfer +71 -0
- package/Dollyfile-zig-build +157 -0
- package/Dollyfile-zlib +48 -0
- package/README.md +18 -2
- package/dist/dolly-amy-system-snapshot.mjs +61 -0
- package/dist/dolly-core-system-snapshot.mjs +95 -0
- package/dist/dolly-curl-system-snapshot.mjs +74 -0
- package/dist/dolly-default-system-snapshot.mjs +459 -0
- package/dist/dolly-display-system-snapshot.mjs +98 -0
- package/dist/dolly-ghostty-build-system-snapshot.mjs +3583 -0
- package/dist/dolly-git-system-snapshot.mjs +137 -0
- package/dist/dolly-gzip-system-snapshot.mjs +70 -0
- package/dist/dolly-images.mjs +1268 -0
- package/dist/dolly-mandoc-system-snapshot.mjs +135 -0
- package/dist/dolly-nena-system-snapshot.mjs +58 -0
- package/dist/dolly-posix-system-snapshot.mjs +265 -0
- package/dist/dolly-ps-system-snapshot.mjs +43 -0
- package/dist/dolly-system-build-system-snapshot.mjs +1965 -0
- package/dist/dolly-system-tools-system-snapshot.mjs +2296 -0
- package/dist/dolly-transfer-system-snapshot.mjs +61 -0
- package/dist/dolly-zig-build-system-snapshot.mjs +3502 -0
- package/dist/dolly-zlib-system-snapshot.mjs +60 -0
- package/dist/packs/0783767f26f8e79bac2e9a5337aa05b4c7cf0e5ec3d03f73ca393d3949a064fa.snapshot.gz +0 -0
- package/dist/packs/153becb9a727327866389d89eca64e9f0b60a33d545b9e0e8c561e10c9ab327f.snapshot.gz +0 -0
- package/dist/packs/291bc8dc868becf690902a0092d64db86298ff26d6787cb742afb8ec86124ed0.snapshot.gz +0 -0
- package/dist/packs/3a6a5f2102877637bc6d81e66af9b5ab063c27a9ad0e9a01ad11df979f6b6acb.snapshot.gz +0 -0
- package/dist/packs/4d55e5ac579b6047065f9180df912fa2a21af4e1c764415a299cb89b3c0090c0.snapshot.gz +0 -0
- package/index.mjs +6 -0
- package/package.json +15 -4
package/Dollyfile-mandoc
ADDED
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
DOLLY 7
|
|
2
|
+
PACKAGE mandoc
|
|
3
|
+
REQUIRES HOST runtime@0
|
|
4
|
+
|
|
5
|
+
# mandoc, the formatter of manual pages, from upstream's release archive,
|
|
6
|
+
# unchanged: it turns a page of man or mdoc macros into text. Slop does not
|
|
7
|
+
# run its configure, so config.h says what that script would find here. The
|
|
8
|
+
# man, apropos and makewhatis the same program can be are not installed: man
|
|
9
|
+
# is the core's, and prints a page of text. A package that ships upstream's
|
|
10
|
+
# pages uses this one to format them with text-page when it is built.
|
|
11
|
+
FROM /v0.1.4/Dollyfile-system-tools 7f6c86fcc73e544e7007646eba2718bbc4d43b7f0516d9558e2dc500b1a05a80
|
|
12
|
+
USE /v0.1.4/Dollyfile-zlib 7f3254e8d51bc7edd2fa47b19f3b1e2e43c747476ab93c57654639e4119abde7
|
|
13
|
+
|
|
14
|
+
REQUIRES HEADER libc
|
|
15
|
+
REQUIRES HEADER zlib
|
|
16
|
+
REQUIRES LIB z
|
|
17
|
+
REQUIRES TOOL awk
|
|
18
|
+
REQUIRES TOOL basename
|
|
19
|
+
REQUIRES TOOL cc
|
|
20
|
+
REQUIRES TOOL cp
|
|
21
|
+
REQUIRES TOOL grep
|
|
22
|
+
REQUIRES TOOL gzip
|
|
23
|
+
REQUIRES TOOL make
|
|
24
|
+
REQUIRES TOOL mkdir
|
|
25
|
+
REQUIRES TOOL rm
|
|
26
|
+
REQUIRES TOOL tar
|
|
27
|
+
REQUIRES TOOL test
|
|
28
|
+
|
|
29
|
+
SOURCE /v0.1.4/dist/static/default/mandoc-1.14.6.tar.gz 8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c /tmp/mandoc.tar.gz
|
|
30
|
+
SLOP gzip -dc /tmp/mandoc.tar.gz | tar -xf - -C /tmp
|
|
31
|
+
|
|
32
|
+
# Not found here: fts, getprogname, recallocarray, strtonum, ohash, BSD's
|
|
33
|
+
# word boundaries in regcomp, pledge and sandbox_init; the archive's own
|
|
34
|
+
# replacements are compiled for the first five.
|
|
35
|
+
FILE /tmp/mandoc-1.14.6/config.h
|
|
36
|
+
#define _GNU_SOURCE
|
|
37
|
+
#include <sys/types.h>
|
|
38
|
+
#define MAN_CONF_FILE "/etc/man.conf"
|
|
39
|
+
#define MANPATH_BASE "/usr/share/man"
|
|
40
|
+
#define MANPATH_DEFAULT "/usr/share/man"
|
|
41
|
+
#define OSENUM MANDOC_OS_OTHER
|
|
42
|
+
#define UTF8_LOCALE "C.UTF-8"
|
|
43
|
+
#define EFTYPE EINVAL
|
|
44
|
+
#define HAVE_DIRENT_NAMLEN 0
|
|
45
|
+
#define HAVE_ENDIAN 1
|
|
46
|
+
#define HAVE_ERR 1
|
|
47
|
+
#define HAVE_FTS 0
|
|
48
|
+
#define HAVE_FTS_COMPARE_CONST 0
|
|
49
|
+
#define HAVE_GETLINE 1
|
|
50
|
+
#define HAVE_GETSUBOPT 1
|
|
51
|
+
#define HAVE_ISBLANK 1
|
|
52
|
+
#define HAVE_LESS_T 1
|
|
53
|
+
#define HAVE_MKDTEMP 1
|
|
54
|
+
#define HAVE_MKSTEMPS 1
|
|
55
|
+
#define HAVE_NTOHL 1
|
|
56
|
+
#define HAVE_PLEDGE 0
|
|
57
|
+
#define HAVE_PROGNAME 0
|
|
58
|
+
#define HAVE_REALLOCARRAY 1
|
|
59
|
+
#define HAVE_RECALLOCARRAY 0
|
|
60
|
+
#define HAVE_REWB_BSD 0
|
|
61
|
+
#define HAVE_REWB_SYSV 1
|
|
62
|
+
#define HAVE_SANDBOX_INIT 0
|
|
63
|
+
#define HAVE_STRCASESTR 1
|
|
64
|
+
#define HAVE_STRINGLIST 0
|
|
65
|
+
#define HAVE_STRLCAT 1
|
|
66
|
+
#define HAVE_STRLCPY 1
|
|
67
|
+
#define HAVE_STRNDUP 1
|
|
68
|
+
#define HAVE_STRPTIME 1
|
|
69
|
+
#define HAVE_STRSEP 1
|
|
70
|
+
#define HAVE_STRTONUM 0
|
|
71
|
+
#define HAVE_SYS_ENDIAN 0
|
|
72
|
+
#define HAVE_VASPRINTF 1
|
|
73
|
+
#define HAVE_WCHAR 1
|
|
74
|
+
#define HAVE_OHASH 0
|
|
75
|
+
#define NEED_XPG4_2 0
|
|
76
|
+
#define BINM_APROPOS "apropos"
|
|
77
|
+
#define BINM_CATMAN "catman"
|
|
78
|
+
#define BINM_MAKEWHATIS "makewhatis"
|
|
79
|
+
#define BINM_MAN "man"
|
|
80
|
+
#define BINM_SOELIM "soelim"
|
|
81
|
+
#define BINM_WHATIS "whatis"
|
|
82
|
+
#define BINM_PAGER "less"
|
|
83
|
+
extern const char *getprogname(void);
|
|
84
|
+
extern void setprogname(const char *);
|
|
85
|
+
extern void *recallocarray(void *, size_t, size_t, size_t);
|
|
86
|
+
extern long long strtonum(const char *, long long, long long, const char **);
|
|
87
|
+
FILE /tmp/mandoc.mk
|
|
88
|
+
.RECIPEPREFIX := >
|
|
89
|
+
S := /tmp/mandoc-1.14.6
|
|
90
|
+
BIN := /usr/bin
|
|
91
|
+
# The objects of upstream's Makefile for mandoc: every source but
|
|
92
|
+
# configure's tests, the archive's other programs and the replacements of
|
|
93
|
+
# what libc has.
|
|
94
|
+
SOURCES := $(filter-out $S/test-% $S/compat_% $(addprefix $S/,cgi.c catman.c mandocd.c demandoc.c soelim.c), \
|
|
95
|
+
$(wildcard $S/*.c)) $(addprefix $S/compat_,fts.c ohash.c progname.c recallocarray.c strtonum.c)
|
|
96
|
+
$(BIN)/mandoc: $(SOURCES:.c=.o)
|
|
97
|
+
>cc $^ -lz -o $@
|
|
98
|
+
$S/%.o: $S/%.c $S/config.h
|
|
99
|
+
>cc -O2 -c $< -o $@
|
|
100
|
+
SLOP make -j4 -f /tmp/mandoc.mk
|
|
101
|
+
SLOP mkdir -p /usr/share/licenses/mandoc
|
|
102
|
+
SLOP cp /tmp/mandoc-1.14.6/LICENSE /usr/share/licenses/mandoc/LICENSE
|
|
103
|
+
|
|
104
|
+
# man prints /usr/share/man/cat1/NAME.1 as it is, before the page of macros
|
|
105
|
+
# in man1. mandoc marks bold and underlined words by overstriking; a reader
|
|
106
|
+
# without a pager, an agent among them, wants the words alone, so awk takes
|
|
107
|
+
# the overstrikes out.
|
|
108
|
+
FILE /usr/bin/text-page
|
|
109
|
+
#!/bin/slop
|
|
110
|
+
# text-page PAGE...: each manual page as plain text in /usr/share/man/cat1.
|
|
111
|
+
for page in "$@"; do
|
|
112
|
+
text="/usr/share/man/cat1/$(basename "$page")"
|
|
113
|
+
mandoc -T utf8 "$page" | LC_ALL=C.UTF-8 awk '{ gsub(/.\b/, ""); print }' > "$text"
|
|
114
|
+
test -s "$text" || exit 1
|
|
115
|
+
done
|
|
116
|
+
|
|
117
|
+
# A letter outside ASCII loses its overstrike whole.
|
|
118
|
+
FILE /tmp/text-page-check.1
|
|
119
|
+
.TH CHECK 1
|
|
120
|
+
.SH NAME
|
|
121
|
+
check \- caf\['e]
|
|
122
|
+
.SH DESCRIPTION
|
|
123
|
+
\fBcaf\['e]\fR
|
|
124
|
+
SLOP text-page /tmp/text-page-check.1 && grep -c 'café' /usr/share/man/cat1/text-page-check.1 | grep -qx 2
|
|
125
|
+
SLOP rm /usr/share/man/cat1/text-page-check.1
|
|
126
|
+
SLOP text-page /tmp/mandoc-1.14.6/mandoc.1 && grep -q 'format manual pages' /usr/share/man/cat1/mandoc.1
|
|
127
|
+
|
|
128
|
+
EXPORTS TOOL mandoc
|
|
129
|
+
EXPORTS TOOL text-page
|
|
130
|
+
FILE /usr/share/licenses/mandoc/LICENSE
|
|
131
|
+
FILE /usr/share/man/cat1/mandoc.1
|
package/Dollyfile-nena
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
DOLLY 7
|
|
2
|
+
PACKAGE nena
|
|
3
|
+
REQUIRES HOST runtime@0
|
|
4
|
+
REQUIRES HOST nena@0
|
|
5
|
+
|
|
6
|
+
# nena lists the host modules of a session and enables or disables them. It
|
|
7
|
+
# works where the image declares nena@0, as default does.
|
|
8
|
+
FROM /v0.1.4/Dollyfile-system-build 7997c05ba08220831088b2aa713c86dbf0ded0229bbfa84f411476f00269d9fc
|
|
9
|
+
|
|
10
|
+
REQUIRES HEADER libc
|
|
11
|
+
REQUIRES TOOL cc
|
|
12
|
+
REQUIRES TOOL rm
|
|
13
|
+
|
|
14
|
+
SOURCE /v0.1.4/dist/static/default/commands/nena.c b036175a8ca396de4647a663fb3d81172177b799562355088b01e32904616f37 /tmp/nena.c
|
|
15
|
+
SLOP cc -O2 /tmp/nena.c -o /bin/nena
|
|
16
|
+
SLOP rm /tmp/nena.c
|
|
17
|
+
EXPORTS TOOL nena
|
|
18
|
+
SLOP nena --help > /usr/share/man/cat1/nena.1
|
|
19
|
+
FILE /usr/share/man/cat1/nena.1
|
package/Dollyfile-posix
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
DOLLY 7
|
|
2
|
+
PACKAGE posix
|
|
3
|
+
REQUIRES HOST runtime@0
|
|
4
|
+
|
|
5
|
+
# The text and file tools a shell session works with, kept from the toolchain
|
|
6
|
+
# that builds them: sbase, awk, Dolly's find, xargs and the like, and sh.
|
|
7
|
+
# Upstream's pages, of mdoc and man macros, are kept as the text mandoc
|
|
8
|
+
# formats, which man prints as it is.
|
|
9
|
+
FROM /v0.1.4/Dollyfile-system-tools 7f6c86fcc73e544e7007646eba2718bbc4d43b7f0516d9558e2dc500b1a05a80
|
|
10
|
+
USE /v0.1.4/Dollyfile-mandoc 67a89ded0a009e1457626e18cc37ec6dd3d260f4eecbc462e970c83f708da631
|
|
11
|
+
|
|
12
|
+
REQUIRES TOOL text-page
|
|
13
|
+
SLOP text-page /usr/share/man/man1/*.1
|
|
14
|
+
|
|
15
|
+
EXPORTS TOOL basename
|
|
16
|
+
EXPORTS TOOL cksum
|
|
17
|
+
EXPORTS TOOL cmp
|
|
18
|
+
EXPORTS TOOL comm
|
|
19
|
+
EXPORTS TOOL cut
|
|
20
|
+
EXPORTS TOOL date
|
|
21
|
+
EXPORTS TOOL dd
|
|
22
|
+
EXPORTS TOOL dirname
|
|
23
|
+
EXPORTS TOOL expand
|
|
24
|
+
EXPORTS TOOL expr
|
|
25
|
+
EXPORTS TOOL false
|
|
26
|
+
EXPORTS TOOL fold
|
|
27
|
+
EXPORTS TOOL grep
|
|
28
|
+
EXPORTS TOOL head
|
|
29
|
+
EXPORTS TOOL join
|
|
30
|
+
EXPORTS TOOL kill
|
|
31
|
+
EXPORTS TOOL ln
|
|
32
|
+
EXPORTS TOOL md5sum
|
|
33
|
+
EXPORTS TOOL mktemp
|
|
34
|
+
EXPORTS TOOL nl
|
|
35
|
+
EXPORTS TOOL od
|
|
36
|
+
EXPORTS TOOL paste
|
|
37
|
+
EXPORTS TOOL pathchk
|
|
38
|
+
EXPORTS TOOL printenv
|
|
39
|
+
EXPORTS TOOL printf
|
|
40
|
+
EXPORTS TOOL readlink
|
|
41
|
+
EXPORTS TOOL rmdir
|
|
42
|
+
EXPORTS TOOL sed
|
|
43
|
+
EXPORTS TOOL seq
|
|
44
|
+
EXPORTS TOOL sha256sum
|
|
45
|
+
EXPORTS TOOL sleep
|
|
46
|
+
EXPORTS TOOL sort
|
|
47
|
+
EXPORTS TOOL split
|
|
48
|
+
EXPORTS TOOL strings
|
|
49
|
+
EXPORTS TOOL tail
|
|
50
|
+
EXPORTS TOOL tee
|
|
51
|
+
EXPORTS TOOL tr
|
|
52
|
+
EXPORTS TOOL true
|
|
53
|
+
EXPORTS TOOL tsort
|
|
54
|
+
EXPORTS TOOL uname
|
|
55
|
+
EXPORTS TOOL unexpand
|
|
56
|
+
EXPORTS TOOL uniq
|
|
57
|
+
EXPORTS TOOL wc
|
|
58
|
+
EXPORTS TOOL which
|
|
59
|
+
FILE /usr/share/licenses/sbase/LICENSE
|
|
60
|
+
EXPORTS TOOL awk
|
|
61
|
+
FILE /usr/share/licenses/awk/LICENSE
|
|
62
|
+
EXPORTS TOOL install
|
|
63
|
+
EXPORTS TOOL du
|
|
64
|
+
EXPORTS TOOL rev
|
|
65
|
+
EXPORTS TOOL command
|
|
66
|
+
EXPORTS TOOL xargs
|
|
67
|
+
EXPORTS TOOL find
|
|
68
|
+
EXPORTS TOOL env
|
|
69
|
+
EXPORTS TOOL time
|
|
70
|
+
EXPORTS TOOL timeout
|
|
71
|
+
EXPORTS TOOL realpath
|
|
72
|
+
EXPORTS TOOL hostname
|
|
73
|
+
EXPORTS TOOL tty
|
|
74
|
+
EXPORTS TOOL nproc
|
|
75
|
+
EXPORTS TOOL sh
|
|
76
|
+
FILE /usr/share/man/cat1/basename.1
|
|
77
|
+
FILE /usr/share/man/cat1/cksum.1
|
|
78
|
+
FILE /usr/share/man/cat1/cmp.1
|
|
79
|
+
FILE /usr/share/man/cat1/comm.1
|
|
80
|
+
FILE /usr/share/man/cat1/cut.1
|
|
81
|
+
FILE /usr/share/man/cat1/date.1
|
|
82
|
+
FILE /usr/share/man/cat1/dd.1
|
|
83
|
+
FILE /usr/share/man/cat1/dirname.1
|
|
84
|
+
FILE /usr/share/man/cat1/expand.1
|
|
85
|
+
FILE /usr/share/man/cat1/expr.1
|
|
86
|
+
FILE /usr/share/man/cat1/false.1
|
|
87
|
+
FILE /usr/share/man/cat1/fold.1
|
|
88
|
+
FILE /usr/share/man/cat1/grep.1
|
|
89
|
+
FILE /usr/share/man/cat1/head.1
|
|
90
|
+
FILE /usr/share/man/cat1/join.1
|
|
91
|
+
FILE /usr/share/man/cat1/kill.1
|
|
92
|
+
FILE /usr/share/man/cat1/ln.1
|
|
93
|
+
FILE /usr/share/man/cat1/md5sum.1
|
|
94
|
+
FILE /usr/share/man/cat1/mktemp.1
|
|
95
|
+
FILE /usr/share/man/cat1/nl.1
|
|
96
|
+
FILE /usr/share/man/cat1/od.1
|
|
97
|
+
FILE /usr/share/man/cat1/paste.1
|
|
98
|
+
FILE /usr/share/man/cat1/pathchk.1
|
|
99
|
+
FILE /usr/share/man/cat1/printenv.1
|
|
100
|
+
FILE /usr/share/man/cat1/printf.1
|
|
101
|
+
FILE /usr/share/man/cat1/readlink.1
|
|
102
|
+
FILE /usr/share/man/cat1/rmdir.1
|
|
103
|
+
FILE /usr/share/man/cat1/sed.1
|
|
104
|
+
FILE /usr/share/man/cat1/seq.1
|
|
105
|
+
FILE /usr/share/man/cat1/sha256sum.1
|
|
106
|
+
FILE /usr/share/man/cat1/sleep.1
|
|
107
|
+
FILE /usr/share/man/cat1/sort.1
|
|
108
|
+
FILE /usr/share/man/cat1/split.1
|
|
109
|
+
FILE /usr/share/man/cat1/strings.1
|
|
110
|
+
FILE /usr/share/man/cat1/tail.1
|
|
111
|
+
FILE /usr/share/man/cat1/tee.1
|
|
112
|
+
FILE /usr/share/man/cat1/tr.1
|
|
113
|
+
FILE /usr/share/man/cat1/true.1
|
|
114
|
+
FILE /usr/share/man/cat1/tsort.1
|
|
115
|
+
FILE /usr/share/man/cat1/uname.1
|
|
116
|
+
FILE /usr/share/man/cat1/unexpand.1
|
|
117
|
+
FILE /usr/share/man/cat1/uniq.1
|
|
118
|
+
FILE /usr/share/man/cat1/wc.1
|
|
119
|
+
FILE /usr/share/man/cat1/which.1
|
|
120
|
+
FILE /usr/share/man/cat1/awk.1
|
|
121
|
+
FILE /usr/share/man/cat1/install.1
|
|
122
|
+
FILE /usr/share/man/cat1/du.1
|
|
123
|
+
FILE /usr/share/man/cat1/rev.1
|
|
124
|
+
FILE /usr/share/man/cat1/command.1
|
|
125
|
+
FILE /usr/share/man/cat1/xargs.1
|
|
126
|
+
FILE /usr/share/man/cat1/find.1
|
|
127
|
+
FILE /usr/share/man/cat1/env.1
|
|
128
|
+
FILE /usr/share/man/cat1/time.1
|
|
129
|
+
FILE /usr/share/man/cat1/timeout.1
|
|
130
|
+
FILE /usr/share/man/cat1/realpath.1
|
|
131
|
+
FILE /usr/share/man/cat1/hostname.1
|
|
132
|
+
FILE /usr/share/man/cat1/tty.1
|
|
133
|
+
FILE /usr/share/man/cat1/nproc.1
|
|
134
|
+
FILE /usr/share/man/cat1/sh.1
|
package/Dollyfile-ps
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
DOLLY 7
|
|
2
|
+
PACKAGE ps
|
|
3
|
+
REQUIRES HOST runtime@0
|
|
4
|
+
|
|
5
|
+
# ps prints the kernel's list of processes, /proc/processes, under a heading.
|
|
6
|
+
# A script: every image with a shell has Slop, echo and cat.
|
|
7
|
+
FILE /usr/share/man/cat1/ps.1
|
|
8
|
+
usage: ps
|
|
9
|
+
List the processes that have not exited, one a line: PID, the parent's
|
|
10
|
+
PID, state and command line. A process is starting until its program
|
|
11
|
+
runs, then running. A control character of the command line shows as ?,
|
|
12
|
+
and a line ends after 1023 bytes.
|
|
13
|
+
The lines are the kernel's /proc/processes, which any program can open
|
|
14
|
+
and read. ps takes no options.
|
|
15
|
+
FILE /bin/ps
|
|
16
|
+
#!/bin/slop
|
|
17
|
+
case "$*" in
|
|
18
|
+
'') echo 'PID PPID STATE COMMAND' && cat /proc/processes ;;
|
|
19
|
+
--help) cat /usr/share/man/cat1/ps.1 ;;
|
|
20
|
+
*) cat /usr/share/man/cat1/ps.1 >&2; exit 2 ;;
|
|
21
|
+
esac
|
|
22
|
+
EXPORTS TOOL ps
|