James Cook <[email protected]> writes: > I don't think that's an rsync problem. Unfortunately the > git-annex-shell binary is missing, and that's pretty critical (needed > to access the repository from other machines; sort of like git > push/pull).
This part is easy, patch attached. > Incidentally, the man pages also seem to be missing. Would you like to try your hand in extending post-install target with some man formatting magic like we have in other ports? > Alternatively, I think the cabal (v2-)install commands installs what's > needed (at least, it gets git-annex-shell, which is the really > important thing). Is there some way to take advantage of that in your > cabal infrastrsucture? >From what I gathered the v2-install target is largely unusable for installing packages outside of .cabal tree. At least neither I nor FreeBSD maintainer found a way to leverage that. Hence the manual install flow. >From f190225986ed8e355ecd0622812539f82e35ac36 Mon Sep 17 00:00:00 2001 From: Greg Steuck <[email protected]> Subject: [PATCH] fixup: git-annex post-install All 975 tests passed (977.23s) --- devel/git-annex/Makefile | 5 +++++ devel/git-annex/pkg/PLIST | 2 ++ 2 files changed, 7 insertions(+) diff --git devel/git-annex/Makefile devel/git-annex/Makefile index 63996c8f9c3..134fe5a030f 100644 --- devel/git-annex/Makefile +++ devel/git-annex/Makefile @@ -27,6 +27,11 @@ MAKE_ENV = LC_ALL=en_US.UTF-8 MODCABAL_STEM = git-annex MODCABAL_VERSION = 8.20210127 +# Manual reimplementation of postCopy hook of Setup.hs +post-install: + @ln -s git-annex ${PREFIX}/bin/git-annex-shell + @ln -s git-annex ${PREFIX}/bin/git-remote-tor-annex + # Produced by: # $ cabal-bundler --openbsd git-annex-8.20210127 # Then manually remove: git-annex 8.20210127 0 diff --git devel/git-annex/pkg/PLIST devel/git-annex/pkg/PLIST index 2a5b445b27d..d52ede016f8 100644 --- devel/git-annex/pkg/PLIST +++ devel/git-annex/pkg/PLIST @@ -1,2 +1,4 @@ @comment $OpenBSD: PLIST,v$ @bin bin/${MODCABAL_STEM} +bin/${MODCABAL_STEM}-shell +bin/git-remote-tor-annex -- 2.30.0
