Commit Briefs

Thomas Adam

portable: add object_qid.c where required

Part of a wider change.


Thomas Adam

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


Thomas Adam

portable: OpenBSD compilation fixes (ta/configh)


Thomas Adam

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.


Thomas Adam

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.


Thomas Adam

portable: update Makefiles

sha1.c -> hash.c


Thomas Adam

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.


Thomas Adam

portable: update Makefile.am

Update got-{fetch,index,send}'s Makefile.am to include ratelimit.c for progress output.


Thomas Adam

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.


Thomas Adam

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


Thomas Adam

portable: add FreeBSD support

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


Thomas Adam

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.


Thomas Adam

portable: initial Linux compilation

This commit modifies the GoT main branch to be able to compile it under linux.