shithub: rc-gemd

Download patch

ref: 28f8522e82af8bc65cb9dbf5e99ebf02433c42e1
parent: ed5406089b36f97cbe0178a8bcb24652f4d4022a
author: Moody <j4kem00dy@gmail.com>
date: Tue Aug 18 14:28:36 EDT 2020

Add LICENSE and README

--- /dev/null
+++ b/LICENSE
@@ -1,0 +1,7 @@
+Copyright 2020 Jacob Moody
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
--- /dev/null
+++ b/README
@@ -1,0 +1,16 @@
+rc-gemd is a gemini server inspired by rc-httpd.
+
+The scripts expect to be installed under /rc/bin/rc-gemd.
+
+The following script will allow you to test them before installing:
+ramfs
+mkdir /tmp/rc-gemd
+bind . /tmp/rc-gemd
+bind -b /tmp /rc/bin
+
+or one can change the rc_gemd_dir setting in the script.
+
+The server can be started with a combination of listen(8) and tlssrv(8):
+aux/listen1 tcp!*!1965 tlssrv -c /lib/ssl/gem.pem /rc/bin/rc-gemd/rc-gemd
+
+The instructions for generating TLS certificates can be found in rsa(8).