Commit Briefs
portable: gotd/gitwrapper: update for libs
Bring gotd and gitwrapper closer to how libraries are detected.
portable: enable gotctl (via --enable-gotd)
This builds gotctl, for the moment via --enable-gotd
portable: build gotsh when --enable-gotd passed
When building gotd, also build gotsh.
portable: enable compiling gotd
This enables gotd -- for now, this is opt-in at compile-time, via: ./configure --enable-gotd
portable: regress: enable tog tests
This enables running of the tog regress tests. Note that this is enabled before regress-cmdline, as regress-cmdline takes a while.
portable: linux: add libmd (ta/libmd-fixes)
On some systems libmd isn't explicitly implied, so detect this via pkg-config at configure time. Problem reported by @stsp
portable: regress: imply compat
When building tests, compat needs to be built. Do this prior to running any tests. This ensures tests can be run from a clean tree. Furthermore, add got_compat.h to all test headers. This wasn't necessary before as this was implicitly being included, but now isn't.
portable: add LICENCE util/got-portable-ver.sh to dist
Update EXTRA_DIST to include these two files.
portable: update Makefiles
sha1.c -> hash.c
portable: gotwebd: use template
This updates -portable's gotwebd instance to make use of the new templating engine.
portable: support infrastructure for gotd/gotsh
Provide the ability for -portable to continue to compile, until such time that gotd and gotsh have been enabled in -portable.
portable: sort makefile source lines
For all key Makefile.am files in use, sort the files so that they're more easily identifiable -- especially when adding/removing source files.
portable: regress: order lib files
For those tests which rely on compilation files, order them alphabetically so it's easier when having to change the makefile stanzas.
move code for reading Git's config file into new file read_gitconfig_privsep.c
The end goal here is to remove the dependency of repository.c on privsep.c during compilation.
move functions which open objects into new file object_open_privsep.c
For the future, this will make it possible to provide alternative implementations of functions now stored in object_open_privsep.c. This will probably be needed by future gotd(8) which runs inside a chroot(2) environment and without the "exec" pledge(2) promise, making it impossible to run libexec helpers on the fly. Details of this design are not yet settled, but moving functions into a separate compilation unit won't hurt in any case.
portable: gotwebd: first stab at compilation
This is not yet "clean", but does compile. A few things to consider: * See comments beginning with "TA:"
portable: regress: fix fetch compilation
Add missing files for testing fetch.
portable: enable got-patch tests
Enable the got-patch tests.
portable: add murmurhash2 to deltify test
Add missing include for the deltify test now that it depends on murmurhash2.
portable: enable merge.sh
This seemingly went walkies, so reenabling it.