A Gemini server
Some distros provide a package — thanks to the maintainers!
Source code and precompiled binaries for linux are available:
When in doubt, compile from source: it’s easy and takes less than a minute on a raspberry pi 3. The dependencies are:
Once all the dependencies are installed, building is as easy as:
$ curl -LO https://github.com/omar-polo/gmid/releases/download/1.7.5/gmid-1.7.5.tar.gz $ tar xzvf gmid-1.7.5.tar.gz $ cd gmid-1.7.5 $ ./configure $ make $ sudo make install # eventually
A SHA256 file is available. However, that only checks for accidental corruption: you can use signify (SHA256.sig and the public key gmid-1.7.pub) or GPG. The hash of the signify public key is also included in the SHA256 file and thus signed with my GPG. The signify public key for the next release ‘gmid-1.8.pub’ is also included.
To verify the signatures with signify(1)
$ signify -C -p gmid-1.7.pub -x SHA256.sig Signature Verified gmid-1.7.pub: OK gmid-1.7.5.tar.gz: OK gmid-1.8.pub: OK gmid.linux.aarch64: OK gmid.linux.amd64: OK
1.7.5 “Space-dye Vest” fifth bugfix release — Released October 15, 2021
This version includes the following bugfix:
ECONNRESET
)1.7.4 “Space-dye Vest” fourth bugfix release — Released September 24, 2021
This version includes the following bugfix:
and the relative regression test.
1.7.3 “Space-dye Vest” third bugfix release — Released September 18, 2021
-c
is missing in configtest mode (-n
). Reported by heph, thanks!1.7.2 “Space-dye Vest” second bugfix release — Released July 19, 2021
This version includes the following bugfix:
and the relative regression test.
1.7.1 “Space-dye Vest” bugfix release — Released July 11, 2021
This version includes two bugfixes:
${MAKE}
to recursively call make.1.7 “Space-dye Vest” — Released July 10, 2021
Starting from this version gmid doesn't depend on lex anymore, but yacc is still needed.
-Dname=val
or
directly in the configuration file.
include
keyword to load additional configuration files.env
rule to define environment vars for CGI scripts.alias
rule to define hostname aliases for a server.root
to be specified per-location block.-P
cli flag.TLS_VERSION
, TLS_CIPHER
and
TLS_CIPHER_STRENGTH
for CGI scripts.
text/x-patch
for .patch
and .diff
files.
--help
as synonym of -h
and
-V
/--version
to print the version.
$
-macros.
static
target.~/.local/share/gmid
)
%p
(path) is always absolute in
block return
rules.
log
rule.gg
moved to regress
as
it's only used in the regression suite.
mime "mime-type" "extension"
rule was deprecated and
replaced by the new map "mime-type" to-ext "extension"
. The
mime
rule will be removed in a future version
because its syntax is incompatible with the new string
auto-concat mechanism.