Commits
- Commit:
46384c6e760fdd54c263d1af7d6db58cc09a4e51
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: remove sys/tree.h compat inclusion
libbsd as a library was created some years back to pull together
BSD-specific functionality to be used on non-BSD systems. When it was
in its infancy, and not being widely adopted across non-BSD systems,
there was often a need to carry around compat versions of
sys/{queue,tree}.h
This is no longer the case -- and the compat code for this has never
worked on systems which lacked a compatible sys/tree.h header anyway, so
remove this, and let the user know that libbsd is needed.
A few people have mentioned this to me.
- Commit:
8e396e197251d88be969784fc4fa54732b4230a7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: macos: look for gnu bison harder
When checking for GNU Bison (and presumably other) toolchain commands on
MacOS, ther's two main systems most users use. Brew, and Ports.
Both of these take different approaches when building software, and
although a Portsfile exists for -portable now, those users who don't use
that directly, or use brew, and try and build -portable from git
directly, will likely be at the mercy of ./configure being able to go
off and find the appropriate tools.
Therefore, ./configure *tries* to be smart about handling this, and will
go and check if brew(1) is installed and try and use that to determine
the likely path for where it puts its software.
Indeed, for MacPorts, the story is very different, and although some
users might therfore use --prefix to ./configure to determine this path,
there is an overloaded assumption between --prefix meaning where the
binaries are to be installed, and --prefix meaning "go and look
elsewhere for other applications".
At some point, a dedicated configure option might be required.
Reported by grey and jamsek.
- Commit:
9ffe20fdada0d0603909c9dee12683390d9f8570
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure.ac: tidy/add summary
Remove some unneeded comments which were references to files.
Add a quick summary output at the end of ./configure which will aid
with CI debugging.
- Commit:
05345ace5375ae9a980633912315c289c71c9163
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: use a release variable for tarballs
When creating a release tarball, use a GOT_RELEASE variable to determine
the version of the release.
- Commit:
5baa5fe241b3b9bb4bc6f68b06d18ea4094ad579
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: MacOS: harden homebrew checks
When building got-portable for MacOS, don't assume the toolchain
programs are in /usr/local. This used to be true before Apple silicon
existed, but since then the paths have changed.
Instead, ask brew(1) for its prefix (if it's installed), or default to
/usr/local if not.
Noticed by Lucas.
- Commit:
75716fd6ed1a99a0e601b2820363b17d7c0333a7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: sockets: handle sa_len/ss_len portably
In the sockaddr_storage struct, there can be a ss_len field. This is
seen on some BSDs, but not Linux. Since this isn't POSIX-specific,
there's no guarantee it will be available on all systems.
- Commit:
4b553fec9a9b5b083e5b564787f948254a2dde29
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure: fix version string
Older autotools versions need extra coaxing when running external
programs.
- Commit:
8dbd2d50a7c30d7ca51585cc0abf75594248153b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: fix sys/queue,h detection
When checking for specific sys/queue.h declarations, ensure to add the
header file (sys/queue.h) to search, otherwise nothing will be found.
- Commit:
598139dd22c7c7517a6542803c64e88acd78b162
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add repo version to main string
When compiling got-portable from source, outside of an official release
tarball, it's often helpful to know which commit the binary was built
from, especially for diagnostic purposes.
This adds an extra hook to AC_INIT to derive whether -portable is being
built in-tree or via a release tarball.
- Commit:
512073980d39824ebc694507be294838a4dcc904
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: MacOS: export env from configure
Compiling -portable on MacOS directly would never have worked, as the
environment was only being set when run under CI.
Move these checks into configure.ac so that they propagate out to make,
etc.
Noticed by cjones on IRC.
- Commit:
25443dd1e0f215944df18fb7445d253be205bd58
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Revert "portable: ci: macos: add libressl"
Remove dependency on libretls as TLS isn't going to be included in
gotwebd any time soon.
This reverts commit af7f5027866eea7b4299c2319f83d0eb18a395e6.
- Commit:
683ec58e0103a83ea39d34559fa855505f68bb74
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotwebd: handle setres{g,u}id
This isn't defined on all systems.
- Commit:
af7f5027866eea7b4299c2319f83d0eb18a395e6
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: ci: macos: add libressl
- Commit:
c4e2e0d08cd12c6197fc87034fe559fc4d6b3ef5
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add setproctitle
This is needed for gotwebd.
- Commit:
ff36aeea6fe48eb9071eccc41d2a31a47d109be3
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: gotwebd: first stab at compilation
This is not yet "clean", but does compile. A few things to consider:
* See comments beginning with "TA:"
- Commit:
19467d598676c21cf908e3ee8f60a6e04306cede
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: honour sys/queue.h directly
Don't assert compat/queue.h in favour of what's on the system. When
-portable was first being developed, there were frequent clashes between
libbsd, and the check for sys/queue.h got lost in that noise.
Noticed by stsp@
- Commit:
d1ea27e3ceaf325bbedb07628a3921e8e101f5f4
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
9930e719b3174bc3b58bf0872775cb0a19514ecf
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
052997aeb0b7bb4d60a9afbbd91e3e3a67f5d08c
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: release 0.73
- Commit:
f620ae20ad85d852b04f084cdb86549ee4fff1bb
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
7f20c2a8f882b91c6e5d03ba371595eb0211126b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix cross-compilation; diff from Leah Neukirchen (thanks!), ok thomas
- Commit:
0edd68a505ad052985d5d1337106587d2a165c0e
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
- Commit:
1b83b24bd96fd7c4d4077de65a78995c46e46503
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: set next version
Bump the version in git now to the next version. Over time, this should
really use the SHA1 to indicate a non-released build.
- Commit:
4a8eb02d8b529496f667f19a0980813d120010df
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
Release 0.69
- Commit:
ddd12270ff092d803b3e6fd6d9e6701a49bb5c65
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add siphash implementation
Siphash is being used in place of murmurhash for object-id set as this
is faster. However, this isn't really seen much in the non-BSD
userspace, so provide an implementation for it portably, if one isn't
found.