blob: 9caa4b7794311f548dbe7c46c4d0de973abd1f06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# gmid
> A Gemini server
gmid is a full-featured Gemini server written with security in mind. It can serve static files, has an optional FastCGI and proxying support and a rich configuration syntax.
gmid also bundles a small gemini client called ‘gg’ (gemini get), a small command-line server for quick testing called ‘gemexp’ and a titan implementation.
=> gmid.8.MANEXT gmid(8) - Gemini server
=> gmid.conf.5.MANEXT gmid.conf(5) - gmid configuration file
=> gg.1.MANEXT gg(1) - gemini client
=> gemexp.1.MANEXT gemexp(1) - export a directory over Gemini
=> titan.1.MANEXT titan(1) - Titan client
## Install
Some distros provide a package — thanks to the maintainers!
=> REPOLOGY Repology: packaging status for gmid
Otherwise, compile it from source: it’s easy and takes less than a minute on a raspberry pi 3
=> SITE/gmid-VERS.tar.gz gmid-VERS.tar.gz
=> https://git.omarpolo.com/?action=summary&path=gmid.git git repository
=> https://codeberg.org/op/gmid/ Codeberg mirror
=> GITHUB GitHub mirror
The dependencies are:
* libevent
* LibreSSL or OpenSSL
* yacc or GNU bison
Once all the dependencies are installed, building is as easy as:
```Example of how to compile from source
$ curl -LO SITE/gmid-VERS.tar.gz
$ tar xzvf gmid-VERS.tar.gz
$ cd gmid-VERS
$ ./configure
$ make
$ sudo make install # eventually
```
A SHA256 file is available. However, it only checks for accidental corruption. You can use signify (gmid-VERS.sha256.sig) and the public key PUBKEY to cryptographically verify the downloaded tarball. The signify public key for the previous and the next release is included in the tarball.
=> SITE/gmid-VERS.sha256 gmid-VERS.sha256
=> SITE/gmid-VERS.sha256.sig gmid-VERS.sha256.sig
To verify the signatures with signify(1):
```Example of how to verify the signature with signify
% signify -C -p PUBKEY -x gmid-VERS.sha256.sig
Signature Verified
gmid-VERS.tar.gz: OK
```
Git tags are signed with the following ssh key:
```
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ0nD5I8BNVJknT87gnpLIJWK0fXTayDktQOlS38CGj4 op@omarpolo.com
```
|