Commits
- Commit:
8068d2ff33992fcaf0e5f38bc7b3d86789e7e92e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tag v1.7.1
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!
- Commit:
094bdacd40fc25e94198c037312708c049d43fe1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
b79b2d811b7775f6be71f7248c3cc498a6115bb0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tag v1.7
- Commit:
9f075bd689f0ca2c362fc1bbde0dbfc316cffeb3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
sync
- Commit:
c39be742cf8348232f6a527b19c42f764e80aae0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
parsing: bring lots of goodies from OpenBSD' parse.y
This allows to solve the problem with the \n in the grammar (before
two following macro declaration were treated as invalid. This also
brings in a nice `include' keyword.
- 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:
321341f6c09b8d51f6ed137833300af5417a3b61
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add -T timeout to gg; don't let the regress test hang
- Commit:
6edcfca97fb01418cfdb8a2595060a63b7471d48
- From:
- Omar Polo <op@omarpolo.com>
- Date:
try to preserve as much as possible CFLAGS and LDFLAGS from env
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.
- Commit:
137def5ff4c0f9720391ca88191cf9fee6d8ae9a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reworked seccomp filter
* SECCOMP_AUDIT_ARCH extended to support more architectures
* relax fcntl policy: allow the syscall regardless of the flags
* wrap every syscall in a ifdef, and add some (statx, fcntl64, ...)
used in x86
Some bits were taken from dhcpcd[0], thanks!
#4 related
[0]: https://roy.marples.name/git/dhcpcd/blob/HEAD:/src/privsep-linux.c
- Commit:
98f521782249d75bc807e5686266f65850098fd8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
[config] concat two or more strings next to each others
- Commit:
6b86655a10753eae668e839207692d9d43138679
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't require the strict order macro > options > servers
- Commit:
f98e9045aef95fe28972d477ee549974c7cefb9f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add -D to define macros from the cmd line
- Commit:
3b21cca385c403247960cfe9385dda1d56f28670
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow to define macros in the config file
Macros can be defined at the top of the configuration file:
dir = "/var/gemini"
cert = "/etc/keys"
and re-used later, for example
server "foo" {
root "$dir/foo" # -> /var/gemini/foo
cert "$cert/foo.pem" # -> /etc/keys/foo.pem
}
- Commit:
5777923bb08a51b04537a127c8514186cd276a70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use getopt_long, add --help as synonym of -h and -V/--version
- Commit:
2c43dcceb6f462a46da93b6e9a6b3c4617e70823
- From:
- Omar Polo <op@omarpolo.com>
- Date:
document `log' option