Commits


portable: add object_qid.c where required Part of a wider change.


portable: linux: add libmd On some systems libmd isn't explicitly implied, so detect this via pkg-config at configure time. Problem reported by @stsp


portable: OpenBSD compilation fixes


portable: add missing header checks Some code in compat/ has #defines which were not being checked for in configure.ac, which could have lead to compilation failures were those files to be included on systems which needed them. In doing so, we can now remove libmd and libcrypto as these are no longer needed.


portable: configure: split out dependencies Rather than assume all dependencies are required for all programs, split them out. This will make packaging easier, as well as splitting the code to use subprojects. Note that due to the use of config.h semantics, in most cases the got_compat.h header file is now at the top of the .c file it is included in, so that it can handle the system header inclusion properly.


portable: update Makefiles sha1.c -> hash.c


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: update Makefile.am Update got-{fetch,index,send}'s Makefile.am to include ratelimit.c for progress output.


portable: propagate AM_CFLAGS/AM_CPPFLAGS Allow for warnings via AM_CFLAGS in a common Makefile, and let those values propagate to all other Makefiles. Currently the more useful checks are disabled until upstream changes are made to reduce warnings. While here, also fix the version string to remove quotes.


libexec: honour libeexec path for helpers libexec is a common path which is understood by autotools, and should be honoured. Patch from Christian "naddy" Weisgerber


portable: add FreeBSD support This adds the capability to compile got-portable on FreeBSD.


automake: Fix path to libexec directory The got_lib_privsep.h header expects the path to the libexec directory to be called GOT_LIBEXECDIR. At the moment it always falls back to using /usr/libexec. Fix what looks to be a typo.


portable: initial Linux compilation This commit modifies the GoT main branch to be able to compile it under linux.