diff options
| -rw-r--r-- | git/.checksum | 2 | ||||
| -rw-r--r-- | git/.files | 6 | ||||
| -rw-r--r-- | git/abuild | 6 | ||||
| -rw-r--r-- | git/conf | 2 | ||||
| -rwxr-xr-x | git/run | 12 |
5 files changed, 26 insertions, 2 deletions
diff --git a/git/.checksum b/git/.checksum index 5822094a..8ab836f1 100644 --- a/git/.checksum +++ b/git/.checksum @@ -1 +1,3 @@ +268d319adb78f49db8399e6b2eac2103cdf471b16a14097590d33cb9c5deab0e conf 1dc4d1b87ede4887fad78b6e6fc9f49656a5e487d64541a163d7565c41d647d9 git-2.53.0.tar.xz +88aa657be27ad6f12f32d271c26388363aceb60c8fb4d1dbaa812f71ad81408c run @@ -1,3 +1,9 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/sv/ +drwxr-xr-x root/root etc/sv/git/ +-rw-r--r-- root/root etc/sv/git/conf.new +-rwxr-xr-x root/root etc/sv/git/run.new +lrwxrwxrwx root/root etc/sv/git/supervise -> ../../../run/runit/supervise.git drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/git @@ -1,7 +1,9 @@ name=git version=2.53.0 -release=1 -source="https://www.kernel.org/pub/software/scm/$name/$name-$version.tar.xz" +release=2 +source="https://www.kernel.org/pub/software/scm/$name/$name-$version.tar.xz + run conf" +sv="run conf" build_type=configure_build prebuild() { diff --git a/git/conf b/git/conf new file mode 100644 index 00000000..75e8afad --- /dev/null +++ b/git/conf @@ -0,0 +1,2 @@ +#git_home=/var/git +#git_opts= diff --git a/git/run b/git/run new file mode 100755 index 00000000..da8f3e1e --- /dev/null +++ b/git/run @@ -0,0 +1,12 @@ +#!/bin/sh +exec 2>&1 + +[ -f ./conf ] && . ./conf + +exec chpst -u git \ + git daemon \ + --base-path=${git_home:-/var/git} \ + --export-all \ + --reuseaddr \ + --informative-errors \ + --verbose ${git_opts} |