On 05.03.19 08:32, Gonzalo L. Rodriguez wrote:
> The fart cloud needs you.
>
> On Fri, 01 Mar 2019 at 09:34:44 +0100, Gonzalo L. Rodriguez wrote:
> > Hello,
> >
> > Update for Nextcloud to 15.0.5:
> >
> > https://nextcloud.com/changelog/
> >
> > OK? Comments?
> >
> > Cheers.-
> >
> > --
> > Sending from my toaster.
>
Hi Gonzalo,
I've done a fresh install of Nextcloud, everything works. While I worked
through the points of the port's readme I found that the example config
for httpd(8) contains duplicate entries. The following diff sorts the
list alphabetically and removes the duplicates.
Cheers,
Bruno
Index: pkg/README
===================================================================
RCS file: /cvs/ports/www/nextcloud/pkg/README,v
retrieving revision 1.10
diff -u -p -r1.10 README
--- pkg/README 9 Dec 2018 14:06:26 -0000 1.10
+++ pkg/README 10 Mar 2019 10:33:45 -0000
@@ -28,7 +28,7 @@ The HTTP server must be able to resolve
The configuration of an SQLite database path is set relatively to the chroot in
Nextcloud which will break background jobs run by cron(8) (see below).
A symlink can be created to workaround this issue:
- # ln -f ${TINSTDIR) /nextcloud
+ # ln -f ${INSTDIR) /nextcloud
OpenBSD HTTP daemon
-------------------
@@ -49,26 +49,22 @@ server "domain.tld" {
}
# First deny access to the specified files
- location "/db_structure.xml" { block }
location "/.ht*" { block }
+ location "/.user*" { block }
+ location "/3rdparty*" { block }
location "/README" { block }
- location "/data*" { block }
- location "/config*" { block }
+ location "/autotest*" { block }
location "/build*" { block }
- location "/tests*" { block }
location "/config*" { block }
- location "/lib*" { block }
- location "/3rdparty*" { block }
- location "/templates*" { block }
+ location "/console*" { block }
location "/data*" { block }
- location "/.ht*" { block }
- location "/.user*" { block }
- location "/autotest*" { block }
- location "/occ*" { block }
- location "/issue*" { block }
- location "/indie*" { block }
location "/db_*" { block }
- location "/console*" { block }
+ location "/indie*" { block }
+ location "/issue*" { block }
+ location "/lib*" { block }
+ location "/occ*" { block }
+ location "/templates*" { block }
+ location "/tests*" { block }
location "/*.php*" {
root "/nextcloud"