opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 8951de22533fcc9bdecbdbdfe7c3d56d09c5b8ee
Parent: 86e43d67e3a004ac2fca2d11ca99e6a2c51506af
Author: Randy Palamar
Date:   Sun, 24 Sep 2023 14:17:31 -0600

install man pages uncompressed and oasis ==> opkg

Diffstat:
Mninja.lua | 4+---
Mscripts/commit.sh | 2+-
Mtemplate/config | 2+-
Mtemplate/hooks/post-checkout | 2+-
Mtemplate/hooks/post-merge | 2+-
5 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/ninja.lua b/ninja.lua @@ -490,10 +490,8 @@ function man(srcs, section) src = '$srcdir/'..src end local i = src:find('/', 1, true) - local gz = '$outdir'..src:sub(i)..'.gz' - build('gzip', gz, src) local srcsection = section or src:match('[^.]*$') - file('share/man/man'..srcsection..'/'..gz:match('[^/]*$'), '644', gz) + file('share/man/man'..srcsection..'/'..src:match('[^/]*$'), '644', src) end end diff --git a/scripts/commit.sh b/scripts/commit.sh @@ -23,7 +23,7 @@ else fi if [ -z "${commit+set}" ] ; then - commit=$(git -C "$repo" commit-tree -m "oasis $(git rev-parse --short=10 HEAD)" "$@" "$tag") + commit=$(git -C "$repo" commit-tree -m "opkg $(git rev-parse --short=10 HEAD)" "$@" "$tag") git -C "$repo" update-ref "refs/heads/$branch" "$commit" fi echo "$commit" >"$out" diff --git a/template/config b/template/config @@ -1,7 +1,7 @@ [core] sharedRepository = 0664 sparseCheckout = true -[oasis] +[opkg] root = . [merge "perms"] name = .perms merge driver diff --git a/template/hooks/post-checkout b/template/hooks/post-checkout @@ -12,4 +12,4 @@ else set "$old" "$new" fi -exec "$(git config oasis.root)"/libexec/applyperms "$@" +exec "$(git config opkg.root)"/libexec/applyperms "$@" diff --git a/template/hooks/post-merge b/template/hooks/post-merge @@ -1,3 +1,3 @@ #!/bin/sh -exec "$(git config oasis.root)"/libexec/applyperms ORIG_HEAD HEAD +exec "$(git config opkg.root)"/libexec/applyperms ORIG_HEAD HEAD