Commits
- Commit:
36d7ed1e4ca16170bfdc637695cc21f41a871593
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: update dist configuration
When running 'make dist', ensure we automatically pass through the
relevant configure options so that the relevant files are included.
- Commit:
a77903c9966763710b6ec7500228274cc73a8aa0
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add --enable-cvg flag
Just while cvg is being developed, mask the building of this via a flag
to ./configure -- this is not intended to be used by any packagers, but
rather, provide a means for developers for testing.
This flag will go away once cvg is considered releasable.
- Commit:
8dafd5874fb5bfc195ebf7ecae8dd84bd14e852c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: echo gotd/gitwrapper paths
When --enable-gotd is present, and gotd empty path or gitwrapper's git
libexec path is set, print those out with the other information at the
end of the configure script.
"N/A" is set where no value is present.
Helpful for debugging.
- Commit:
3770e05568dc25b65125358aeb7a51ced8afb221
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: make gitwrapper --enable-gotd aware
There's no point installing gitwrapper outside of enabling gotd, as this
is only used by gotd.
- Commit:
adafacd3356d54a893e7181d7fb63363129f7c64
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure gitwrapper/gotd paths
Rather than hard-code assumptions into gitwrapper and gotd binaries,
allow for some values to be overriden at compile time.
This should help portability.
- Commit:
4efc8dcb177f6c378c12a7d91f51e6ae4e80078b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotd/gitwrapper: update for libs
Bring gotd and gitwrapper closer to how libraries are detected.
- Commit:
40de210a716dc3b8dd4116cda482c851eac44d4f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable gotctl (via --enable-gotd)
This builds gotctl, for the moment via --enable-gotd
- Commit:
52daa6ad930882d88e621503559fcb23baad5d7b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: build gotsh when --enable-gotd passed
When building gotd, also build gotsh.
- Commit:
2f1efc186f6bda57e8357f593f19883a7edb7895
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable compiling gotd
This enables gotd -- for now, this is opt-in at compile-time, via:
./configure --enable-gotd
- Commit:
b7eff1274c82d60d1eeca924bb9c5dcb951a781c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: enable cvg
- Commit:
5007bd0d88e88e4e812dbb82ec4cf157920f62ea
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
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
- Commit:
8d60d668faa58a809d2f1244697a7a5e285951b7
- From:
- Thomas Adam <ThomasAdam@users.noreply.github.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: fix getopt check
Rather than always asserting our version of getopt(2), only do so
if it lacks certain features.
Some of the configure.ac changes have come from openssh-portable.
- Commit:
8cff5e95a33fae159bff83b798f8c0425e2aff5c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: OpenBSD compilation fixes
- Commit:
d3f1e38b5d5c7188a56b8b08d472ff8683c10e15
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: curses: improve detection
When checking for ncurses, don't clobber previous checks for libpanel.
- Commit:
206be139b57622a9d9d2fe28a7d2c1eb62109136
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: improve b64_ntop detection
When looking for base64 functions, check -lresolv and/or -lnetwork, and
only build those in compat if required.
Some of the detection code was modified from tmux's configure.ac script.
- Commit:
d9b944c72df6401d9aa2cdf40a196bb1b6066113
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
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.
- Commit:
40d5394383d9283d2c0b04b41ba26bb6e2105a9e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: use SHA_2{,56}_H
Don't use a custom variable when the header checks for these are already
available.
From Christian "naddy" Weisgerber.
- Commit:
943e9ed21cb1949f950a6f921d59b438cb759ae2
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: flatten LIBS
Set LIBS to the empty string so that only the specific dependencies are
included where needed, rather than relying on autotools to do this for
us. This will make splitting out got into different subprojects easier,
as well as allow for multi-packing on those systems which support it.
- Commit:
4fccd2fe0ffbbc668b66abe63614470635f92f1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
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.
- Commit:
47dc83f5bed376c49b704738968d3f44c8e01d1e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: use config.h
So that the command-line flags to CC don't get drowned out with copious
-D flags, move this detection to config.h instead.
Note that to reduce the code churn, the existing include/got_compat.h
header file has been renamed, and the generated file replaces it, but
with the contents of the original header file included.
Eventually, we might want to move some od the logic in
include/got_compat2.h into AH_VERBATIM() blocks, but for now, this is a
good compromise.
- Commit:
680b44a7e950277747770bc4302b55d2830e48df
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: remove unused variable
found_libbsd isn't used any more.
- Commit:
398ba35fc0b8095d60ecaf9613a4be438b18c5fd
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: update PLATFORM display
Fixes openbsd.
- Commit:
01a22331ae6bf3ba9eb98d12d3542832f084074f
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add OpenBSD to PLATFORM detection
- Commit:
3aa316cbcf696304c13f295e70b40c94ac75d17d
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: improve SHA detection
Original patch from Omar Polo. Tweak by me.
- Commit:
b1ec8cee26c37a4d2687babea76a8ba4e7d724ad
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: compat: sha2
Add compatability support for sha2 for systems which don't natively have
it.
This has been stolen from OpenBSD. Thanks!