vis

a vi-like editor based on Plan 9's structural regular expressions

git clone https://9o.is/git/vis.git

commit 73982e27e4b72b8d933b70ee8213a0e6794d6ba7
parent 8b15e6ec23577ddbcfc41c896ab3be1725636c26
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Wed, 31 May 2017 15:35:20 +0200

build: try to make docker build reproducible

Diffstat:
MDockerfile | 2+-
MMakefile | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -9,7 +9,7 @@ FROM alpine:3.6 ENV DIR /tmp/vis WORKDIR $DIR -RUN apk update && apk add musl-dev fortify-headers gcc make libtermkey-dev ncurses-dev ncurses-static lua5.3-dev lua5.3-lpeg lua-lpeg-dev acl-dev libarchive-dev xz-dev xz bzip2-dev +RUN apk update && apk add musl-dev fortify-headers gcc make libtermkey-dev ncurses-dev ncurses-static lua5.3-dev lua5.3-lpeg lua-lpeg-dev acl-dev libarchive-dev xz-dev xz bzip2-dev tar RUN sed -i 's/Libs: /Libs: -L${INSTALL_CMOD} /' /usr/lib/pkgconfig/lua5.3.pc RUN mv /usr/lib/lua/5.3/lpeg.a /usr/lib/lua/5.3/liblpeg.a RUN sed -i 's/-ltermkey/-ltermkey -lunibilium/' /usr/lib/pkgconfig/termkey.pc diff --git a/Makefile b/Makefile @@ -79,7 +79,8 @@ vis-single-payload.inc: $(EXECUTABLES) lua/* echo '#ifndef VIS_SINGLE_PAYLOAD_H' > $@ echo '#define VIS_SINGLE_PAYLOAD_H' >> $@ echo 'static unsigned char vis_single_payload[] = {' >> $@ - tar c $(EXECUTABLES) $$(find lua -name '*.lua') | xz | od -t x1 -A none -v | \ + tar --sort=name --mtime='2014-07-15 01:23Z' --owner=0 --group=0 --numeric-owner -c \ + $(EXECUTABLES) $$(find lua -name '*.lua') | xz | od -t x1 -A none -v | \ sed 's/\([0-9a-f]\+\)/0x\1,/g;$$s/,$$/ };/' >> $@ echo '#endif' >> $@