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.5/Dollyfile-system-build cf9cf053fb5debc080062e6e44c1b139175739f6158fa8a825b0255ba2063aee12USE /v0.1.5/Dollyfile-zlib 0b706df4c643faf419bd9089995b97d13ff7237493d9bb9727f8d3df91cbe03313USE /v0.1.5/Dollyfile-curl f31998555b9cca60e8ad5d7e6b5d8476aa119ecefbdc186f04461edad59f9e7d14REQUIRES 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.5/dist/static/default/git.tar 5c190c2a9301f54afab080b85341a8cd683bee1995b2d911e0bdea93f5eb845a /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    # NO_REGEX takes Git's regex, with GAWK and NO_MBSUPPORT as its Makefile45    # sets them: the sysroot's regex.h has no REG_STARTEND.46    # Git ends with status 128 when its pager cannot start, so the default one47    # is a command for Slop: less when it is installed, cat otherwise.48    CPPFLAGS := \49      -O2 \50      -std=gnu99 \51      -Wno-ignored-attributes \52      -D_DEFAULT_SOURCE \53      -DNO_GETTEXT \54      -DNO_ICONV \55      -DNO_EXPAT \56      -pthread \57      -DNO_UNIX_SOCKETS \58      -DNO_OPENSSL \59      -DNO_PERL \60      -DNO_PYTHON \61      -DNO_IPV6 \62      -DNO_MMAP \63      -DNO_REGEX \64      -DGAWK \65      -DNO_MBSUPPORT \66      -DNO_STRLCPY \67      -DSHA1_BLK \68      -DSHA256_BLK \69      -DHAVE_ALLOCA_H \70      -DHAVE_STRINGS_H \71      -DHAVE_CLOCK_GETTIME \72      -DHAVE_GETRANDOM \73      '-DGIT_VERSION_H="version-def.h"' \74      '-DBINDIR="/usr/bin"' \75      '-DGIT_EXEC_PATH="/usr/libexec/dolly"' \76      '-DDEFAULT_GIT_TEMPLATE_DIR="/usr/share/git-core/templates"' \77      '-DFALLBACK_RUNTIME_PREFIX="/usr"' \78      '-DGIT_HOST_CPU="wasm64"' \79      '-DGIT_LOCALE_PATH="/usr/share/locale"' \80      '-DSHELL_PATH="/bin/slop"' \81      '-DDEFAULT_PAGER="$$(command -v less || command -v cat)"' \82      '-DPAGER_ENV="LESS=FRX LV=-c"' \83      '-DETC_GITCONFIG="/etc/gitconfig"' \84      '-DETC_GITATTRIBUTES="/etc/gitattributes"' \85      '-DGIT_HTML_PATH="/usr/share/doc/git/html"' \86      '-DGIT_MAN_PATH="/usr/share/man"' \87      '-DGIT_INFO_PATH="/usr/share/info"' \88      -I /usr/src/git/compat/regex \89      -I /usr/src/git \90      -include dolly/runtime.h91    all: /usr/bin/git /usr/libexec/dolly/git-remote-http92    /tmp/git/objects/%.o: /usr/src/git/%.c93    >mkdir -p $(dir $@)94    >cc \95    >  $(CPPFLAGS) \96    >  -c $< \97    >  -o $@98    /usr/lib/libgit.a: $(OBJECTS)99    >ar rcs $@ $^100    /usr/bin/git: /usr/src/git/common-main.c /usr/src/git/git.c /usr/lib/libgit.a101    >cc \102    >  $(CPPFLAGS) \103    >  /usr/src/git/common-main.c \104    >  /usr/src/git/git.c \105    >  -lgit \106    >  -lz \107    >  -o $@108    /usr/libexec/dolly:109    >mkdir -p $@110    /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/dolly111    >cc \112    >  $(CPPFLAGS) \113    >  /usr/src/git/common-main.c \114    >  /usr/src/git/remote-curl.c \115    >  /usr/src/git/http.c \116    >  /usr/src/git/http-walker.c \117    >  -lgit \118    >  -lcurl \119    >  -lz \120    >  -o $@121SLOP CWD /usr/src/git make \122  -f /tmp/git/Makefile123124EXPORTS TOOL git125126SLOP git \127  --version128# The builtins a local transport runs by their dashed names (git clone PATH129# runs git-upload-pack on its other side), as upstream installs them, and130# the HTTPS helper, which upstream links to the HTTP one.131FILE /usr/libexec/dolly/git-upload-pack132    #!/bin/slop133    exec git upload-pack "$@"134FILE /usr/libexec/dolly/git-receive-pack135    #!/bin/slop136    exec git receive-pack "$@"137FILE /usr/libexec/dolly/git-upload-archive138    #!/bin/slop139    exec git upload-archive "$@"140FILE /usr/libexec/dolly/git-remote-https141    #!/bin/slop142    exec /usr/libexec/dolly/git-remote-http "$@"143SLOP git init -q /tmp/git-check/origin && git -C /tmp/git-check/origin commit -q --allow-empty -m one && \144  git clone -q /tmp/git-check/origin /tmp/git-check/clone && test "$(git -C /tmp/git-check/clone log --format=%s)" = one && \145  git -C /tmp/git-check/clone commit -q --allow-empty -m two && git -C /tmp/git-check/clone push -q origin HEAD:pushed && \146  test "$(git -C /tmp/git-check/origin log -1 --format=%s pushed)" = two147SLOP git --help > /usr/share/man/cat1/git.1148149FILE /usr/libexec/dolly/git-remote-http150FOLDER /usr/share/git-core/templates151FILE /usr/share/licenses/git/COPYING152# git links libcurl statically and carries its licence.153FILE /usr/share/licenses/curl/COPYING154FILE /usr/share/man/cat1/git.1155156# Dolly's diff and patch: git diff --no-index and git apply, for programs and157# build systems that run them.158SOURCE /v0.1.5/dist/static/default/commands/run-program.h e73415ba149e8dcb9944313c36d8d2319202d699c810e02a26d5a94caa8f3a9f /tmp/git-tools/run-program.h159SOURCE /v0.1.5/dist/static/default/commands/diff.c cda06a2a94c9d7c5f1ccab54f847011e35379f7cc452b7d4a0d7046ae61b7de9 /tmp/git-tools/diff.c160SOURCE /v0.1.5/dist/static/default/commands/patch.c bd5ec1cb0224099738b9f12f9b30896c134989dbebd7ecdb652e255c2ad29236 /tmp/git-tools/patch.c161SLOP cc -O2 /tmp/git-tools/diff.c -o /bin/diff162SLOP cc -O2 /tmp/git-tools/patch.c -o /bin/patch163EXPORTS TOOL diff164EXPORTS TOOL patch165SLOP diff --help > /usr/share/man/cat1/diff.1166SLOP patch --help > /usr/share/man/cat1/patch.1167FILE /usr/share/man/cat1/diff.1168FILE /usr/share/man/cat1/patch.1169170SLOP rm \171  -rf \172  /tmp/git \173  /tmp/git.tar \174  /tmp/git-tools \175  /usr/src/git176