~sircmpwn/gmni-discuss

readme: Add build instructions for FreeBSD v1 PROPOSED

Philipp Stanner: 1
 readme: Add build instructions for FreeBSD

 1 files changed, 21 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/gmni-discuss/patches/15190/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH] readme: Add build instructions for FreeBSD Export this patch

---
 README.md | 23 +++++++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 468dba9..a8be4ab 100644
--- a/README.md
+++ b/README.md
@@ -4,13 +4,22 @@ gmnisrv is a simple [Gemini](https://gemini.circumlunar.space) protocol server.

## Installation

Dependencies:
### Dependencies:

- A C11 compiler and a POSIX-like system
- OpenSSL
- Mailcap (for /etc/mime.types)
- mime-types
- [scdoc](https://git.sr.ht/~sircmpwn/scdoc) (optional)

mime-types can be installed via the packages:

- mailcap (ArchLinux)
- mime-support (Debian)
- mime-support (FreeBSD)


### Linux 

```
$ mkdir build
$ cd build
@@ -19,6 +28,16 @@ $ make
# make install
```

### FreeBSD

```
$ mkdir build
$ cd build
$ ../configure --prefix=/usr/local --with-mimedb=/usr/local/etc/mime.types
$ make
# make install
```

## Configuration

By default it reads from `/etc/gmnisrv.ini`, but this can be changed by passing
-- 
2.20.1
NACK, you should instead get it packaged for ports once we ship a stable
release.