diff options
Diffstat (limited to 'www/mycorrhiza/pkg')
| -rw-r--r-- | www/mycorrhiza/pkg/DESCR | 9 | ||||
| -rw-r--r-- | www/mycorrhiza/pkg/PLIST | 9 | ||||
| -rw-r--r-- | www/mycorrhiza/pkg/README | 76 | ||||
| -rw-r--r-- | www/mycorrhiza/pkg/mycorrhiza.rc | 12 |
4 files changed, 0 insertions, 106 deletions
diff --git a/www/mycorrhiza/pkg/DESCR b/www/mycorrhiza/pkg/DESCR deleted file mode 100644 index fa42760..0000000 --- a/www/mycorrhiza/pkg/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -Mycorrhiza can be used for personal wikis, digital gardens and wikis -for small teams or communities. It doesn't require a database, -everything is stored as plain-text files. Content is stored as -hyphas which can be just text articles or media such as pictures -and videos. History of changes is managed using git in automated -fashion - mycorrhiza creates and manages git repository for you. - -One can serve mycorrhiza to be accessible via http, it's web ready. -It also features few authentication options and user management. diff --git a/www/mycorrhiza/pkg/PLIST b/www/mycorrhiza/pkg/PLIST deleted file mode 100644 index 1699102..0000000 --- a/www/mycorrhiza/pkg/PLIST +++ /dev/null @@ -1,9 +0,0 @@ -@newgroup _mycorrhiza:885 -@newuser _mycorrhiza:885:_mycorrhiza::Mycorrhiza User:${LOCALSTATEDIR}/mycorrhiza:/sbin/nologin -@rcscript ${RCDIR}/mycorrhiza -@bin bin/mycorrhiza -share/doc/pkg-readmes/${PKGSTEM} -@mode 0755 -@owner _mycorrhiza -@group _mycorrhiza -@sample ${LOCALSTATEDIR}/mycorrhiza/ diff --git a/www/mycorrhiza/pkg/README b/www/mycorrhiza/pkg/README deleted file mode 100644 index 322ebc4..0000000 --- a/www/mycorrhiza/pkg/README +++ /dev/null @@ -1,76 +0,0 @@ -+------------------------------------------------------------------------------- -| Running ${PKGSTEM} on OpenBSD -+------------------------------------------------------------------------------- - -Initial setup -============= - -By default, Mycorrhiza listens on localhost:1737. To make it reachable -as a web service, it needs to be put behind a TLS terminating proxy. -Here's a sample httpd(8) and relayd(8) configuration provided for -reference: - -/etc/httpd.conf: - - server "mycorrhiza.example.com" { - listen on * port http - location "/.well-known/acme-challenge/*" { - root "/acme" - request strip 2 - } - location "*" { - block return 302 "https://$HTTP_HOST$REQUEST_URI" - } - } - - -/etc/relayd.conf: - - ext_ip="123.45.67.89" - ext_ip6="1234:5678:dead:beef" - mycorrhiza_port="1737" - table <mycorrhiza> { 127.0.0.1 ::1 } - - http protocol https { - match request header append "X-Forwarded-For" \ - value "$REMOTE_ADDR" - match request header append "X-Forwarded-By" \ - value "$SERVER_ADDR:$SERVER_PORT" - match request header set "Connection" value "close" - - match request header "Host" value "mycorrhiza.*" \ - forward to <mycorrhiza> - - tcp { sack, backlog 128 } - tls keypair mycorrhiza.example.com - } - - relay https { - listen on $ext_ip port https tls - listen on $ext_ip6 port https tls - protocol https - forward to <mycorrhiza> port $mycorrhiza_port check tcp - } - -Don't forget to set up a TLS certificate (for example using -acme-client(1)) and start httpd(8) and relayd(8): - - # rcctl enable httpd relayd - # rcctl start httpd relayd - - -Setup -===== - -See the official documentation for details about configuration and -deployment. Be sure to set up proper authentication. - -By default the wiki will be created in ${LOCALSTATEDIR}/mycorrhiza, but -it's possible to change it by overwriting the daemon flags with rcctl(8) - - # rcctl set mycorrhiza flags '/path/to/wiki/dir' - -Finally, enable and start the daemon: - - # rcctl enable mycorrhiza - # rcctl start mycorrhiza diff --git a/www/mycorrhiza/pkg/mycorrhiza.rc b/www/mycorrhiza/pkg/mycorrhiza.rc deleted file mode 100644 index 82621f4..0000000 --- a/www/mycorrhiza/pkg/mycorrhiza.rc +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/ksh - -daemon="${TRUEPREFIX}/bin/mycorrhiza" -daemon_flags="${LOCALSTATEDIR}/mycorrhiza" -daemon_user="_mycorrhiza" - -. /etc/rc.d/rc.subr - -rc_bg=YES -rc_reload=NO - -rc_cmd $1 |
