Commits


portable: running tests when shell is dash Ubuntu's default shell is dash, when using /bin/sh. The portable nature of got is such that "$OSTYPE" to determine the host type (linux, bsd, etc.) is bash-specific and is not part of POSIX. autotools already provide a mechanism for determining the underlying platform type, and PLATFORM is already a subst value. Therefore, let the -portable parts of the regress test-suite use $PLATFORM to look at the underlying OS type. The tests themselves already expect /bin/sh to be POSIX-compliant in all other areas, so there should be no need to change the #! lines.


portable: fix tests Update regress/fetch to compile with bloom.


regress: enable tests Enable the compilation and execution of the tests under regress/


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 CHANGELOG Although there is already a CHANGES file, the CHANGELOG is used to indicate any -portable specific changes which have happened for that release. All version numbers in -portable correspond to their OpenBSD counterpart.


dist: rework files for distcheck Rather than having a toplevel EXTRA_DIST target in the toplevel Makefile.am file, move the relevant files to their own Makefile.am locations.


regress: port cmdline tests This commit introduces the 'make tests' target which will run the cmdline/* tests.


enable gotadmin Add gotadmin to configure.ac, etc., so it can be built and installed. OK 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.


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