1DOLLY 72PACKAGE git3REQUIRES HOST runtime@04REQUIRES HOST http@05REQUIRES HOST threads@067# Git with its HTTP helpers, and Dolly's diff and patch, which run it. Git8# links zlib and its helpers libcurl too; both serve the build and are not9# installed with it. Git runs its asyncs, a side band's reader among them, as10# threads; without threads it would fork them.11FROM /v0.1.4/Dollyfile-system-build 7997c05ba08220831088b2aa713c86dbf0ded0229bbfa84f411476f00269d9fc12USE /v0.1.4/Dollyfile-zlib 7f3254e8d51bc7edd2fa47b19f3b1e2e43c747476ab93c57654639e4119abde713USE /v0.1.4/Dollyfile-curl 173c3c37eeac846ba8caa316c656cb75e5facea793eb9434337550ddaf3d32d114REQUIRES HEADER libc15REQUIRES HEADER runtime16REQUIRES HEADER curl17REQUIRES HEADER zlib18REQUIRES LIB    curl19REQUIRES LIB    z20REQUIRES TOOL   ar21REQUIRES TOOL   cc22REQUIRES TOOL   make23REQUIRES TOOL   mkdir24REQUIRES TOOL   rm25REQUIRES TOOL   tar2627SOURCE /v0.1.4/dist/static/default/git.tar 80a61ce947350bfd0c425ec5624c30379d99c9b443ad2588c6c361f8e0fee5d2 /tmp/git.tar28SLOP tar \29  -xf /tmp/git.tar \30  -C /3132# Automatic maintenance forks; the system configuration turns it off.33FILE /etc/gitconfig34    [maintenance]35        auto = false36FILE /home/dolly/.gitconfig37    [user]38        name = Dolly39        email = dolly@example.invalid40FILE /tmp/git/Makefile41    .RECIPEPREFIX := >42    SOURCES := $(file </usr/src/git/dolly-sources.txt)43    OBJECTS := $(addprefix /tmp/git/objects/,$(SOURCES:.c=.o))44    # Keep the bootstrap build unoptimized: Git has hundreds of translation45    # units and this layer is optimized for deterministic browser cold-build46    # latency rather than execution throughput.47    # Git ends with status 128 when its pager cannot start, so the default one48    # is a command for Slop: less when it is installed, cat otherwise.49    CPPFLAGS := \50      -O0 \51      -std=gnu99 \52      -Wno-ignored-attributes \53      -D_DEFAULT_SOURCE \54      -DNO_GETTEXT \55      -DNO_ICONV \56      -DNO_EXPAT \57      -pthread \58      -DNO_UNIX_SOCKETS \59      -DNO_OPENSSL \60      -DNO_PERL \61      -DNO_PYTHON \62      -DNO_IPV6 \63      -DNO_MMAP \64      -DNO_REGEX \65      -DGAWK \66      -DNO_MBSUPPORT \67      -DNO_MEMMEM \68      -DNO_PREAD \69      -DNO_SETENV \70      -DNO_STRCASESTR \71      -DNO_STRLCPY \72      -DNO_STRTOUMAX \73      -Dprintf=iprintf \74      -Dfprintf=fiprintf \75      -DSHA1_BLK \76      -DSHA256_BLK \77      -DHAVE_ALLOCA_H \78      -DHAVE_STRINGS_H \79      -DHAVE_CLOCK_GETTIME \80      -DHAVE_GETRANDOM \81      '-DGIT_VERSION_H="version-def.h"' \82      '-DBINDIR="/usr/bin"' \83      '-DGIT_EXEC_PATH="/usr/libexec/dolly"' \84      '-DDEFAULT_GIT_TEMPLATE_DIR="/usr/share/git-core/templates"' \85      '-DFALLBACK_RUNTIME_PREFIX="/usr"' \86      '-DGIT_HOST_CPU="wasm64"' \87      '-DGIT_LOCALE_PATH="/usr/share/locale"' \88      '-DSHELL_PATH="/bin/slop"' \89      '-DDEFAULT_PAGER="$$(command -v less || command -v cat)"' \90      '-DPAGER_ENV="LESS=FRX LV=-c"' \91      '-DETC_GITCONFIG="/etc/gitconfig"' \92      '-DETC_GITATTRIBUTES="/etc/gitattributes"' \93      '-DGIT_HTML_PATH="/usr/share/doc/git/html"' \94      '-DGIT_MAN_PATH="/usr/share/man"' \95      '-DGIT_INFO_PATH="/usr/share/info"' \96      -I /usr/src/git/compat/regex \97      -I /usr/src/git \98      -include dolly/runtime.h99    all: /usr/bin/git /usr/libexec/dolly/git-remote-http /usr/libexec/dolly/git-remote-https100    /tmp/git/objects/%.o: /usr/src/git/%.c101    >mkdir -p $(dir $@)102    >cc \103    >  $(CPPFLAGS) \104    >  -c $< \105    >  -o $@106    /usr/lib/libgit.a: $(OBJECTS)107    >ar rcs $@ $^108    /usr/bin/git: /usr/src/git/common-main.c /usr/src/git/git.c /usr/lib/libgit.a109    >cc \110    >  $(CPPFLAGS) \111    >  /usr/src/git/common-main.c \112    >  /usr/src/git/git.c \113    >  -lgit \114    >  -lz \115    >  -o $@116    /usr/libexec/dolly:117    >mkdir -p $@118    /usr/libexec/dolly/git-remote-http: /usr/src/git/common-main.c /usr/src/git/remote-curl.c /usr/src/git/http.c /usr/src/git/http-walker.c /usr/lib/libgit.a | /usr/libexec/dolly119    >cc \120    >  $(CPPFLAGS) \121    >  /usr/src/git/common-main.c \122    >  /usr/src/git/remote-curl.c \123    >  /usr/src/git/http.c \124    >  /usr/src/git/http-walker.c \125    >  -lgit \126    >  -lcurl \127    >  -lz \128    >  -o $@129    /usr/libexec/dolly/git-remote-https: /usr/libexec/dolly/git-remote-http130    >cc \131    >  $(CPPFLAGS) \132    >  /usr/src/git/common-main.c \133    >  /usr/src/git/remote-curl.c \134    >  /usr/src/git/http.c \135    >  /usr/src/git/http-walker.c \136    >  -lgit \137    >  -lcurl \138    >  -lz \139    >  -o $@140SLOP CWD /usr/src/git make \141  -f /tmp/git/Makefile142143EXPORTS TOOL git144145SLOP git \146  --version147# The builtins a local transport runs by their dashed names (git clone PATH148# runs git-upload-pack on its other side), as upstream installs them.149FILE /usr/libexec/dolly/git-upload-pack150    #!/bin/slop151    exec git upload-pack "$@"152FILE /usr/libexec/dolly/git-receive-pack153    #!/bin/slop154    exec git receive-pack "$@"155FILE /usr/libexec/dolly/git-upload-archive156    #!/bin/slop157    exec git upload-archive "$@"158SLOP git init -q /tmp/git-check/origin && git -C /tmp/git-check/origin commit -q --allow-empty -m one && \159  git clone -q /tmp/git-check/origin /tmp/git-check/clone && test "$(git -C /tmp/git-check/clone log --format=%s)" = one && \160  git -C /tmp/git-check/clone commit -q --allow-empty -m two && git -C /tmp/git-check/clone push -q origin HEAD:pushed && \161  test "$(git -C /tmp/git-check/origin log -1 --format=%s pushed)" = two162SLOP git --help > /usr/share/man/cat1/git.1163164FILE /usr/libexec/dolly/git-remote-http165FILE /usr/libexec/dolly/git-remote-https166FOLDER /usr/share/git-core/templates167FILE /usr/share/licenses/git/COPYING168# git links libcurl statically and carries its licence.169FILE /usr/share/licenses/curl/COPYING170FILE /usr/share/man/cat1/git.1171172# Dolly's diff and patch: git diff --no-index and git apply, for programs and173# build systems that run them.174SOURCE /v0.1.4/dist/static/default/commands/run-program.h e73415ba149e8dcb9944313c36d8d2319202d699c810e02a26d5a94caa8f3a9f /tmp/git-tools/run-program.h175SOURCE /v0.1.4/dist/static/default/commands/diff.c e1e71b3947fac230f221715577fbbfbd6ba3cf82c6c3cd027905f10ace8cf11e /tmp/git-tools/diff.c176SOURCE /v0.1.4/dist/static/default/commands/patch.c 01a81c0b50df26223772e568bdc951db73d0be59b71251a1b023234c10a1b63e /tmp/git-tools/patch.c177SLOP cc -O2 /tmp/git-tools/diff.c -o /bin/diff178SLOP cc -O2 /tmp/git-tools/patch.c -o /bin/patch179EXPORTS TOOL diff180EXPORTS TOOL patch181SLOP diff --help > /usr/share/man/cat1/diff.1182SLOP patch --help > /usr/share/man/cat1/patch.1183FILE /usr/share/man/cat1/diff.1184FILE /usr/share/man/cat1/patch.1185186SLOP rm \187  -rf \188  /tmp/git \189  /tmp/git.tar \190  /tmp/git-tools \191  /usr/src/git192