From af83d7e149dc3676c2a05ec979a5a3b384c8fd0c Mon Sep 17 00:00:00 2001 From: "G. Galdini" Date: Thu, 14 Nov 2024 22:55:07 +0700 Subject: network/gem: Added (Gemini Server). Signed-off-by: Willy Sudiarto Raharjo --- network/gem/README | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 network/gem/README (limited to 'network/gem/README') diff --git a/network/gem/README b/network/gem/README new file mode 100644 index 000000000000..e9f43260b41b --- /dev/null +++ b/network/gem/README @@ -0,0 +1,38 @@ +a simple gemini server + +It supports: + * mime types + * directory listing + * chunked file transfer + * passes most gemini-diagnostics tests + * user-defined charset/lang meta attributes + +The script will create ssl certificate with CN=localhost +If you wish change domain of ssl certificate: use DOMAIN variable +before execution of SlackBuild script. + + DOMAIN=slackbuilds.org ./gem.SlackBuild + +Is created 'gmi' directory as database in /var +Certificates are saved in /var/gmi/tls path. +Capsule content must be save in /var/gmi/capsule path. + +Overview: + +/var/gmi [ root:root | 755 ] +├── capsule [ root:users | 775 ] +├── log [ root:users | 664 ] +└── tls [ root:root | 755 ] + ├── server.crt [ root:root | 644 ] + └── server.key [ root:users | 640 ] + +* daemon: that SlackBuild package have script for /etc/rc.d + +NOTE: Here is already existent gem binary (package manager for Ruby), +then create alias for gem (gemini server): + + alias gem="/usr/sbin/gem" + alias gemd="(ba)sh /etc/rc.d/rc.gem" - /bin/sh already appoint for bash +on Slackware. + +* run gem as regular user, preferably - security questions. -- cgit v1.2.3