740042a412
ChangeLog: https://git.sr.ht/~int80h/gemserv/tree/v0.6.6/item/README#L79 This update fixes a security issue for which there is no CVE assigned: https://git.sr.ht/~int80h/gemserv/refs PR: 265800 Reported by: contact@evilham.com Approved by: ea@uoga.net (maintainer)
31 lines
868 B
Text
31 lines
868 B
Text
[
|
|
{ type: install
|
|
message: <<EOM
|
|
Gemserv gemini server is now installed.
|
|
|
|
README and UPDATING files from source distribution are installed in:
|
|
|
|
${PREFIX}/share/doc/gemserv/
|
|
|
|
Example cgi-scripts are installed in:
|
|
|
|
${PREFIX}/share/examples/gemserv/
|
|
|
|
Quick Start:
|
|
|
|
1) Check, edit server configuration in ${LOCALBASE}/gemserv/config.toml
|
|
(see config.toml-dist for all configuration options)
|
|
2) Generate TLS key and cert, i.e. for domain "gemini.example.net":
|
|
|
|
openssl req -newkey rsa:4096 -nodes -keyout ${LOCALBASE}/gemserv/key.pem \
|
|
-x509 -days 36500 -out ${LOCALBASE}/gemserv/cert.pem \
|
|
-subj "/C=FR/ST=FR/L=FR/O=example.net/OU=IT/CN=gemini.example.net/emailAddress=root@example.net"
|
|
|
|
chown _gemini ${LOCALBASE}/gemserv/key.pem
|
|
|
|
3) sysrc gemserv_enable=YES
|
|
4) service gemserv start
|
|
5) tail /var/log/messages
|
|
EOM
|
|
}
|
|
]
|