aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)Author
2022-03-27tag 1.8.3 -- "Lightbulb Sun" bugfix release1.8.3Omar Polo
gmid 1.8.3 "Lightbulb Sun" bugfix release ========================================= Released March 27, 2022. signify(1) pubkeys for this release: RWTy3UJQzpxBUAymBwb2EGLLm0b3H/1n8hzhaC9HYFYzNuTavGt9QSwC Bug Fixes ~~~~~~~~~ * fix a possible out-of-bound access in the CGI handling. It was introduced last October during a refactoring, but due to how many malloc(3) implementations works this hasn't been found until now. Otto' malloc is more strict fortunately.
2022-03-26tag 1.8.2 -- "Lightbulb Sun" bugfix release1.8.2Omar Polo
gmid 1.8.2 "Lightbulb Sun" bugfix release ========================================= Released March 26, 2022. signify(1) pubkeys for this release: RWTy3UJQzpxBUAymBwb2EGLLm0b3H/1n8hzhaC9HYFYzNuTavGt9QSwC Bug Fixes ~~~~~~~~~ * fix a CGI timing issue: if a connection handled by a CGI scripts is interrupted with the right timing it causes the server process to exit with "fatal in client_by_id: invalid id X". New Features ~~~~~~~~~~~~ * add a new block `type { ... }' to define mime types mapping. Improvements ~~~~~~~~~~~~ * use shell built-in `command' instead of which(1), prodded by cage and Allen Sobot. * configure script: allow to set MANDIR from cmdline (Allen Sobot) * add systemd-sysusers sample file in contrib/ (Nakaya) * [linux/seccomp] allow fstatat64(2), llseek(2) and sigreturn(2), needed by glibc on armv7. (Tobias Berger) * [linux/seccomp] tightens rules by allowing openat(2) only with the O_RDONLY flag.
2022-03-18get rid of `which` in the configure tooOmar Polo
should have been done already in 12fcba2; reminded by Allen Sobot, thanks!
2022-03-18configure: allow to set MANDIR from argsOmar Polo
diff by Allen Sobot (chilledfrogs at disroot dot org), thanks!
2022-02-10tag 1.8.1 -- "Lightbulb Sun" bugfix release1.8.1Omar Polo
gmid 1.8.1 "Lightbulb Sun" bugfix release ========================================= Released Feb 10, 2022. signify(1) pubkeys for this release: RWTy3UJQzpxBUAymBwb2EGLLm0b3H/1n8hzhaC9HYFYzNuTavGt9QSwC Bug fixes --------- * fix landlock usage on linux: don't assume that access capabilities not listed are implicitly denied, because they are not. Mickaël Salaün, the landlock author, found the same error on game of trees: > In a nutshell, the ruleset's handled_access_fs is required for > backward and forward compatibility (i.e. the kernel and user space may > not know each other's supported restrictions), hence the need to be > explicit about the denied-by-default access rights. In practice this affects only linux and only partially: thanks to the design of the daemon and the seccomp filter the effects of this mistake in handling landlock are fortunately limited. However, in theory at least, gmid could be for e.g. tricked into truncating existing files, so it's highly suggested to update. Improvements ------------ All by Anna “CyberTailor”, thanks! * don't skip unit tests when SKIP_RUNTIME_TEST is set * add `gg' to the regress target dependencies * fix the "implicit declaration of asprintf" warning * sync vim syntax
2022-02-03start new release cycleOmar Polo
2022-01-30prepare 1.8 release1.8Omar Polo
2022-01-03work around freebsd' printfOmar Polo
printf: Illegal option -i this is why we can't have nice things, isn't it?
2022-01-03track file dependency using -MMD if availableOmar Polo
While here, move the SRCS variable to the configure and add the -includes in Makefile.local; it de-clutters the Makefile a bit.
2021-12-09configure: support --prefix=...Omar Polo
It's like passing PREFIX=... on the command line
2021-11-16don't run the test binaries, compilation status is enoughOmar Polo
During a cross-compilation we can compile the test binaries but not run in the host machine. Furthermore, the exit status of the test isn't really important for the types of check we have, the compilation status is enough. Reported by Nikolay Korotkiy (@sikmir) on Github, fixes issue #8
2021-10-23master is now 1.8-devOmar Polo
2021-10-07add compat for sys/tree.hOmar Polo
2021-10-02improve libevent2 handlingOmar Polo
* add configure check * change the way the headers are required (copied from tmux)
2021-09-24sync releaseOmar Polo
2021-09-19define HAVE_LANDLOCK accordinglyOmar Polo
2021-09-19add configure check and shim for landlockOmar Polo
First move towards landlock support (#3). The shim is needed until libc provides the proper wrappers for the landlock APIs; I hope it doesn't take too long, but landlock was merged back in May and are still missing.
2021-09-19tag 1.7.31.7.3Omar Polo
bump version number
2021-09-18sort testsOmar Polo
2021-07-11tag v1.7.11.7.1Omar Polo
This version includes two bugfixes: - use ${MAKE} to recursively call make - fix the misleading example in the man page: macros name may not be reserved words Both bugs found and fixed by Anna “CyberTailor”, thanks!
2021-07-10tag v1.71.7Omar Polo
2021-07-10move version number to configure scriptOmar Polo
2021-07-08replace add_{cflags,ldflags} with add_libraryAnna “CyberTailor”
2021-07-08check freedesktop's libbsdAnna “CyberTailor”
2021-07-07always append -W flags to CFLAGSOmar Polo
2021-07-07refactor add_{cflags,ldflags}Omar Polo
2021-07-07add --enable-sandboxOmar Polo
patch from Anna "CyberTailor" It's handy for helpers like ebuild's use_enable. (the sandbox is still always enabled by default)
2021-07-07check libimsg tooOmar Polo
patch from Anna "CyberTailor"
2021-07-07always append LDFLAGS and CFLAGSOmar Polo
Initial patch from Anna "CyberTailor", tweaked by me (drop guessing_* and always append CFLAGS)
2021-07-06try to preserve as much as possible CFLAGS and LDFLAGS from envOmar Polo
but still try to autodetect with pkg-config if they aren't provided. Passing CFLAGS/LDFLAGS from the command line will still override the guessed ones.
2021-07-06explain the OpenBSD bitOmar Polo
2021-07-02configure: add --disable-sandboxOmar Polo
Calling `configure' with --disable-sandbox will disable the sandbox support *completely* at compile time. gmid will still complain at compile time and during the startup. Users shouldn't disable the sandbox if possible, but instead report problem upstream so they get fixed (hopefully.) #4 related
2021-06-16drop the dependency on lex by implementing yylex by ourselvesOmar Polo
The actual implementation is based off doas' parse.y. This gave us various benefits, like cleaner code, \ to break long lines, better handling of quotes etc...
2021-04-25add compat for reallocarrayOmar Polo
2021-02-23include sys/types.s to fix the build on OpenBSDOmar Polo
2021-02-23checks for compat + don't initialise HAVE_*Omar Polo
2021-02-23tests and compat for imsgOmar Polo
2021-02-23moving logging to its own processOmar Polo
2021-02-12typoOmar Polo
2021-02-12fix various compilation errorsOmar Polo
Include gmid.h as first header in every file, as it then includes config.h (that defines _GNU_SOURCE for instance). Fix also a warning about unsigned vs signed const char pointers in openssl.
2021-02-11improve compat/getprogname on GNU libcOmar Polo
but why'd they called it program_invocation_short_name? They couldn't find a longer name?
2021-02-10link to compat/ even in regressOmar Polo
this unlocks the full regress tests on arch, for instance, or every OS where we don't have strl*
2021-02-08fix detection on non-openbsd systemsOmar Polo
2021-02-08look for libeventOmar Polo
2021-02-07keep original CFLAGSOmar Polo
2021-02-07define MANDIROmar Polo
2021-02-04add compat for setproctitleOmar Polo
This adds a check for setproctitle and for the (linux) prctl PR_SET_NAME. If setproctitle is not available, on linux we provide an implementation that use prctl (taken from tmux compat layer.)
2021-02-02let LEX and YACC be customizable via argsOmar Polo
2021-01-27adjust CFLAGS detectionOmar Polo
2021-01-25gen compat for getprognameOmar Polo