Commits
- Commit:
762b9b991f373e5077d7e49396af62a34fa1c1ff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add => in env/param and `port' between hostname and port for fastcgi
In the same spite of the last commit, add the missing separators
between strings to avoid the auto-concat pitfalls. `=>' is used to
separate between `env' and `param' arguments, while for `fastcgi' the
keyword `port' is required between the hostname/ip address and the
port (if provided).
Since `env', `param' and `fastcgi' are all new stuff, there's no need
to keep compatibility.
- Commit:
ff954a3e7641e83cca043ecc30789132478c7acd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo...
- Commit:
d19951cf0373f6217bce2f97489bc46d6a8837ef
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename `mime MIME EXT' to `map MIME to-ext EXT'
With the newish automatic string concatenation, options like `mime'
that accepts two strings as parameter start to become ambiguous: which
strings gets concatenated? Instead of trying to document in the
manpage which argument(s) is subject to string concatenation, do the
concat always and introduce a separator. In the case of mime,
`to-ext' now acts as a separator to distinguish. While there, also
use a new keyword because it sounds better.
It's dead-easy to upgrade to the new configuration, possibly with some
sed magic, but for the moment the old `mime' form is preserved: (with
a warning!) Will be dropped in the next release.
- Commit:
d93c819182ba6decf8f7f1787c6ba416f76c315a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use bsearch to match the keywords
not that it's a bottleneck, but it's fancier this way.
- Commit:
bffa7daab8d1a54cf099287cbc0ce443fea4c0d0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a means to skip the runtime tests
Setting the environment variable SKIP_RUNTIME_TESTS to 1 will prevent
the runtime tests. This is useful when running the tests inside a
sandbox.
based on a similar diff by Anna "CyberTailor"
- Commit:
8c9b8f487e9efd3eab489d205fd55d97da34a6c3
- From:
- Anna “CyberTailor” <cyber@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
replace add_{cflags,ldflags} with add_library
- Commit:
9c84a04f9cf948abc9d1c94e37a25a1f857b77b1
- From:
- Anna “CyberTailor” <cyber@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
check freedesktop's libbsd
- Commit:
9797799ad4634887fa825388c9c1efe0be11f903
- From:
- Anna “CyberTailor” <cyber@sysrq.in>
- Via:
- Omar Polo <op@omarpolo.com>
- Date:
regress/Makefile: add missing LDFLAGS
- Commit:
2e2e189b016fe981fcb32e2c461a7c385cb25942
- From:
- Omar Polo <op@omarpolo.com>
- Date:
PF_UNIX is not a valid protocol for socketpair
OpenBSD accept it, but FreeBSD disallows it. PF_UNSPEC (or 0) should
be used instead. The FastCGI bit in the regress suite still doesn't
work on FreeBSD, but at least now it starts.
- Commit:
e7c6502bf3ebe199349e315ac7f112db6a2db38e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't leak a file descriptor
make sure we always close every fd in every possible code path; while
there, also add a log_err if fork(2) failed.
- Commit:
a8a1f439210de9538b196c6bb5470c306379128c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style(9)-ify
- Commit:
68ef1170922d8c457b529dd7f64dc207a3c8b5a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
always append -W flags to CFLAGS
- Commit:
8a50fc0330f50c1c0c5fc0b541e0b8a19f900ea5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initialize the logger early
Initialize the logger as soon as possible and log by default to
stderr. With this, some (common?) errors are printed early instead of
ending up in syslog.
# NB: this is in configless mode
% ./gmid -p 80
[2021-07-07 11:05:57] bind: Address already in use
% ./gmid -p 81
[2021-07-07 11:13:53] bind: Permission denied
%
- Commit:
d336aeafd4b848f3d6f3711e8d233d8b75ce297b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor add_{cflags,ldflags}
- Commit:
489e1655a0be43f6cca08030e558a03824627c9e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add --enable-sandbox
patch from Anna "CyberTailor"
It's handy for helpers like ebuild's use_enable.
(the sandbox is still always enabled by default)