[MAINTAINER UPDATE]: www/mycorrhiza to 1.15.0

2024-07-01 Thread la ninpre
Hello,
mycorrhiza has been updated to 1.15.0.
This version incorporates changes over 15 months.

Notable changes:
- special links for today's date
- ability to change passwords
- css for pdf and printing
- go version required lifted to go1.22
- fix of a longstanding renaming bug
See full changelog: https://mycorrhiza.wiki/hypha/release/1.15

Comments, ok?

best regards,
la ninpre
? caches
Index: Makefile
===
RCS file: /cvs/ports/www/mycorrhiza/Makefile,v
retrieving revision 1.4
diff -u -p -u -r1.4 Makefile
--- Makefile	12 Apr 2023 09:32:11 -	1.4
+++ Makefile	1 Jul 2024 14:50:25 -
@@ -1,7 +1,7 @@
 COMMENT =	plain-text driven engine for personal wikis
 
 MODGO_MODNAME =	github.com/bouncepaw/mycorrhiza
-MODGO_VERSION =	v1.14.0
+MODGO_VERSION =	v1.15.0
 
 DISTNAME =	mycorrhiza-${MODGO_VERSION}
 
Index: distinfo
===
RCS file: /cvs/ports/www/mycorrhiza/distinfo,v
retrieving revision 1.3
diff -u -p -u -r1.3 distinfo
--- distinfo	12 Apr 2023 09:32:11 -	1.3
+++ distinfo	1 Jul 2024 14:50:25 -
@@ -1,5 +1,5 @@
-SHA256 (go_modules/git.sr.ht/~bouncepaw/mycomarkup/v5/@v/v5.4.0.mod) = L51xy10F0ZU2tmQkoFnYI2AjTv4GmNcDZxDlHpaF3tE=
-SHA256 (go_modules/git.sr.ht/~bouncepaw/mycomarkup/v5/@v/v5.4.0.zip) = Ud94xXE95bNpcQoBkzMzo8kkKzjcZkl9XAjHCpx0+ec=
+SHA256 (go_modules/git.sr.ht/~bouncepaw/mycomarkup/v5/@v/v5.6.0.mod) = L51xy10F0ZU2tmQkoFnYI2AjTv4GmNcDZxDlHpaF3tE=
+SHA256 (go_modules/git.sr.ht/~bouncepaw/mycomarkup/v5/@v/v5.6.0.zip) = I6/F8QuudOUaiUWMeKcIvF/wrW+siVqBLQkko9de3x4=
 SHA256 (go_modules/github.com/andybalholm/brotli/@v/v1.0.2.mod) = hWZkf7zU9nc3KiYxeKry8ncpsFfcIYf9EZS+yYgwx8k=
 SHA256 (go_modules/github.com/andybalholm/brotli/@v/v1.0.3.mod) = gLn5QXXMYZiLSYDdCzyCwBdJQP93fYIOJhrmAA+H1xM=
 SHA256 (go_modules/github.com/andybalholm/brotli/@v/v1.0.3.zip) = HXjtY7wKJvINBW8oDhK7yD769Opg2kz0d9+hLgzNpCE=
@@ -9,21 +9,21 @@ SHA256 (go_modules/github.com/go-ini/ini
 SHA256 (go_modules/github.com/go-ini/ini/@v/v1.63.2.zip) = 0xUHX6KjcIGJ+lOuSi1g259fZObSIv+vW4T3k9py4CY=
 SHA256 (go_modules/github.com/golang/snappy/@v/v0.0.3.mod) = 9W3ryXZbhJKXn++jEgm2fJYn2Q4kacYVnJQNr20kmQU=
 SHA256 (go_modules/github.com/golang/snappy/@v/v0.0.3.zip) = 9rXjW9Hh01taZ8ipG/dtQDQmzjZpeDr4K2bAJU5ODaU=
-SHA256 (go_modules/github.com/gorilla/feeds/@v/v1.1.1.mod) = 5rx1j6V5+hKoKjhl2ds7oP0Wm1ZWjlFhl3yJYqa0bHU=
-SHA256 (go_modules/github.com/gorilla/feeds/@v/v1.1.1.zip) = UZx+vvJG6E+rfcK3tEecTuGKtPwXij2MN5yw+wa0Td0=
+SHA256 (go_modules/github.com/gorilla/feeds/@v/v1.1.2.mod) = uWPP2JnxwccGpEKOgfQdZS4s022kLSXbIL1KgDNhp4I=
+SHA256 (go_modules/github.com/gorilla/feeds/@v/v1.1.2.zip) = w7x8KmoevCDfNVWN3S/xmaA0LiASscxFQs1/Mo9i1lk=
 SHA256 (go_modules/github.com/gorilla/mux/@v/v1.8.0.mod) = R/lPOCkTbcy7qn88QRD3QNs3/5Dd555rM2xzLh/ajZw=
 SHA256 (go_modules/github.com/gorilla/mux/@v/v1.8.0.zip) = dkGRHgCvnJHwiYaDMwZ8nLmlhwLSyeqCHuN0lACRw4U=
 SHA256 (go_modules/github.com/klauspost/compress/@v/v1.13.4.mod) = H9DJliVjOQBLcVctcHaMMJLXSs3bXzZIURU8F5Fjwyg=
 SHA256 (go_modules/github.com/klauspost/compress/@v/v1.13.5.mod) = hzMbvVb5EFUKSEj77nhRzEOqVpvKMdlECSZU8IrPby4=
 SHA256 (go_modules/github.com/klauspost/compress/@v/v1.13.5.zip) = 5beJ5Ibx5FTvAjRMgjWhpOKF17jdgB/41mf85jCfM1U=
-SHA256 (go_modules/github.com/kr/pretty/@v/v0.2.1.mod) = wq4ovVu46PkHaVUSZ2irehR5Ut7qn9vLNzxTzBiHD4I=
-SHA256 (go_modules/github.com/kr/pretty/@v/v0.2.1.zip) = gK8EUgggUtGzJl18uJhdRk1L4iLCfhRljpVjLCInYeU=
-SHA256 (go_modules/github.com/kr/pty/@v/v1.1.1.mod) = baTJxzZERolOXvh34Z+YXNUdZxzm6PTKh4YrRJ9t1/Y=
-SHA256 (go_modules/github.com/kr/pty/@v/v1.1.1.zip) = EEdNeodcvSuddMm7j7mSZLeGPyBMdhBgd5f/GNWAvwA=
-SHA256 (go_modules/github.com/kr/text/@v/v0.1.0.mod) = L7qVKeXBPd5i83Hvc4O68E1xMlAdrGqgjpEPnsC/hcU=
-SHA256 (go_modules/github.com/kr/text/@v/v0.1.0.zip) = k2OkyPHzOHo2AU3lG0d7gxoTmB/FmlZl+dIWCb6p53w=
+SHA256 (go_modules/github.com/kr/pretty/@v/v0.3.1.mod) = hPPkCAOx69SoAuVXlLmZffCxc8SAnoVy/5BC7FWMobw=
+SHA256 (go_modules/github.com/kr/pretty/@v/v0.3.1.zip) = 7PWkrySCbDrXWM4GQQygji1Y5NlQU747nd4uFIUsDNw=
+SHA256 (go_modules/github.com/kr/text/@v/v0.2.0.mod) = 9jh5sgT2zolc6lNZS4FPWsCvCEhrM7HKecZXOE77xyY=
+SHA256 (go_modules/github.com/kr/text/@v/v0.2.0.zip) = No6zGPkaW2e+kFxHAyq1wxodSal4SLEBGg0KISKzC6Q=
 SHA256 (go_modules/github.com/pmezard/go-difflib/@v/v1.0.0.mod) = dLLnZushU3eGTVh7rfV+lVIfaS0qeGCzx3WQk/nJvsI=
 SHA256 (go_modules/github.com/pmezard/go-difflib/@v/v1.0.0.zip) = 3gTOzBpLjVPkNXBRAmeUvLxU8uaiYM+sUIzmnV1kV6A=
+SHA256 (go_modules/github.com/rogpeppe/go-internal/@v/v1.9.0.mod) = kFmpfaKZDIGaCXZ6XpvYeEtFpXt6JeKQVbvRsKqhRP8=
+SHA256 (go_modules/github.com/rogpeppe/go-internal/@v/v1.9.0.zip) = fXd5CLnJGhaF8tcJVQ5rdHjhTpxGmd/9fwoVDjbbx+k=
 SHA256 (go_modules/github.com/stretchr/objx/@v/v0.1.0.mod) = E1A1TVLSKHpiM27MDVYjLUxHaZr5u6ScZ8K0glTamPE=
 SHA256 (go_modules/github.com/stretchr/objx/@v/v0.1.0.zip) = H6ENq0BO1/yO0qAz+HhBh9XfNRPO04Qc455G03hQ6x0

Re: [update] www/mycorrhiza: add cert symlink instructions

2024-02-27 Thread la-ninpre
On 27 February 2024 14:14:59 UTC, Jag Talon  wrote:
> On Mon Feb 26, 2024 at 11:14 PM EST, la-ninpre wrote:
> > On 26 February 2024 22:45:18 UTC, Jag Talon  
> > wrote:
> > > Bumping REVISION as well.
> > >  
> >
> > Hello,
> > thank you for suggesting this change, I haven't noticed this before, 
> > because in testing environment i wasn't using ssl and in 'production'  I 
> > already had this symlink. The patch is fine by me, but i'm thinking that 
> > maybe it would be better to unify the two patches. What do you think?
> 
> Thank you I'm glad you like the changes. I have the unified diff attached!
> 
> ok?
> 
> 

Good, thank you!
Now someone with commit access could merge this.



Re: [update] www/mycorrhiza: add cert symlink instructions

2024-02-26 Thread la-ninpre
On 26 February 2024 22:45:18 UTC, Jag Talon  wrote:
> Bumping REVISION as well.
>  

Hello,
thank you for suggesting this change, I haven't noticed this before, because in 
testing environment i wasn't using ssl and in 'production'  I already had this 
symlink. The patch is fine by me, but i'm thinking that maybe it would be 
better to unify the two patches. What do you think?



[Maintainer Update] www/mycorrhiza: 1.13.0 -> 1.14.0

2023-04-11 Thread la ninpre
         v0.0.0-20210615035016-665e8c7367d1 \
 golang.org/x/sys         v0.0.0-20211019181941-9d821ace8654 \
+    golang.org/x/sys         v0.0.0-20220722155257-8c9f86f7a55f \
 golang.org/x/term         v0.0.0-20201126162022-7de9c90e9dd1 \
 golang.org/x/text         v0.3.3 \
 golang.org/x/text         v0.3.6 \
-    golang.org/x/tools         v0.0.0-20180917221912-90fa682c2a6e
+    golang.org/x/tools         v0.0.0-20180917221912-90fa682c2a6e \
+    golang.org/x/tools  v0.1.8-0.20211029000441-d6a9af8af023

--
best regards,
la ninpre.



[MAINTAINER UPDATE] www/mycorrhiza: 1.12.1 -> 1.13.0

2022-11-09 Thread la ninpre

Hello, ports!

A small update of www/mycorrhiza is here. It contains some 
quality-of-life improvements,

bug fixes and built-in documentation pages. A diff is attached below.

Comments, testing reports are much appreciated. OKs too.

--
best regards,
la ninpre.
Index: Makefile
===
RCS file: /cvs/ports/www/mycorrhiza/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile	9 Sep 2022 08:53:18 -	1.2
+++ Makefile	9 Nov 2022 20:31:19 -
@@ -1,10 +1,9 @@
 COMMENT =	plain-text driven engine for personal wikis
 
 MODGO_MODNAME =	github.com/bouncepaw/mycorrhiza
-MODGO_VERSION =	v1.12.1
+MODGO_VERSION =	v1.13.0
 
 DISTNAME =	mycorrhiza-${MODGO_VERSION}
-REVISION =	0
 
 CATEGORIES =	www
 
Index: distinfo
===
RCS file: /cvs/ports/www/mycorrhiza/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo	8 Sep 2022 13:35:47 -	1.1.1.1
+++ distinfo	9 Nov 2022 20:31:19 -
@@ -69,7 +69,7 @@ SHA256 (go_modules/gopkg.in/check.v1/@v/
 SHA256 (go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.zip) = ThgX+WTKNOVFuBr9oDJaXonPWN4uQT2CB8Cv3dD9wVw=
 SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.mod) = IVeYYKIDBvz0OxvSNNH7oxlJnHdhG3HAX5vzupDauTk=
 SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.zip) = rPGcy0/KmDsjSjnvAy+vmrcOdZaAZzuz3/B353/uIP4=
-SHA256 (mycorrhiza-v1.12.1.zip) = FoAquWNlH0StchtVuaAQGUm4UpwFhOTXCq9ION62g5g=
+SHA256 (mycorrhiza-v1.13.0.zip) = H/AaZJnZ6sQhEwFA7TOmdYGMbwsFw52Lje0rjK86WTY=
 SIZE (go_modules/git.sr.ht/~bouncepaw/mycomarkup/v5/@v/v5.2.1.mod) = 51
 SIZE (go_modules/git.sr.ht/~bouncepaw/mycomarkup/v5/@v/v5.2.1.zip) = 58897
 SIZE (go_modules/github.com/andybalholm/brotli/@v/v1.0.2.mod) = 46
@@ -141,4 +141,4 @@ SIZE (go_modules/gopkg.in/check.v1/@v/v0
 SIZE (go_modules/gopkg.in/check.v1/@v/v0.0.0-20161208181325-20d25e280405.zip) = 39844
 SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.mod) = 95
 SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.0-20200313102051-9f266ea9e77c.zip) = 101467
-SIZE (mycorrhiza-v1.12.1.zip) = 197433
+SIZE (mycorrhiza-v1.13.0.zip) = 197866


lang/erlang: observer_backend missing in -main?

2022-10-22 Thread la ninpre
I was updating my Pleroma instance two days ago after upgrading to 
OpenBSD 7.2.
Pleroma is written in Elixir, so I updated both Elixir/Erlang to 
corresponding latest versions.
Then I rebuilt all the dependencies (before they were built with/for 
Erlang-21).

When I tried to start Pleroma, it failed. The error was:

12:42:37.892 [notice] Application runtime_tools exited: 
:runtime_tools.start(:normal, []) returned an error: shutdown: failed to start 
child: :ttb_autostart
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function 
:observer_backend.ttb_resume_trace/0 is undefined (module :observer_backend is 
not available)
(runtime_tools 1.19) :observer_backend.ttb_resume_trace()
(runtime_tools 1.19) ttb_autostart.erl:47: :ttb_autostart.init/1
(stdlib 4.0.1) gen_server.erl:848: :gen_server.init_it/2
(stdlib 4.0.1) gen_server.erl:811: :gen_server.init_it/6
(stdlib 4.0.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

Then I found that, indeed, observer_backend.beam is missing from
/usr/local/lib/erlang25/lib/runtime_tools-1.19.
I then checked the ports tree to see what is in PLIST for lang/erlang.
The file is missing there too, but it is available in -wx subpackage.

So my question is, shouldn't observer_backend.beam (and hrl and erl in 
respective directories too)
be included in -main subpackage too? I'm no expert in Erlang, but I know 
that Observer is a graphical
tool (so it's OK for it to be in -wx subpackage). But the 
observer_backend module doesn't contain
any graphics and can be used in non-graphical environment (such as in 
Pleroma above).


---

best regards,

la-ninpre.


UPDATE: MAINTAINER for www/mycorrhiza

2022-09-09 Thread la ninpre

I want to maintain this port from now on.
(I got a little confused earlier because I thought that maintainer
should also be a developer with write access, so I didn't add myself to
the makefile).

Ok?
Index: Makefile
===
RCS file: /cvs/ports/www/mycorrhiza/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 Makefile
--- Makefile	8 Sep 2022 13:35:47 -	1.1.1.1
+++ Makefile	9 Sep 2022 07:49:30 -
@@ -6,6 +6,10 @@ MODGO_VERSION =	v1.12.1
 DISTNAME =	mycorrhiza-${MODGO_VERSION}
 CATEGORIES =	www
 
+MAINTAINER =	la ninpre 
+
+REVISION =	0
+
 HOMEPAGE =	https://mycorrhiza.wiki
 
 # AGPLv3


Re: NEW: misc/mycorrhiza

2022-09-07 Thread la ninpre

On 9/7/22 17:30, Omar Polo wrote:

On 2022/09/07 13:12:22 +0100, Stuart Henderson  wrote:

On 2022/09/07 14:04, Omar Polo wrote:

-#SUBST_VARS += LOCALSTATEDIR
+SUBST_VARS +=  LOCALSTATEDIR

that's in the default SUBST_VARS so doesn't need listing

I would have expected it to be in www/ rather than misc;
if not then I think at least www should be in CATEGORIES.

Ah, right, I got confused by the commente SUBST_VARS, sorry!  Agree on
the category too, `www' is better in this case.


Thanks for suggestions! I agree with category. I wasn't sure
about it in the first place. I just thought that since mycorrhiza
could be used by users without actually forwarding it to some domain,
it is not strictly `www'.


Re: NEW: misc/mycorrhiza

2022-09-06 Thread la ninpre

On 9/7/22 00:11, Stuart Henderson wrote:


I didn't realise you meant path when you wrote "wiki name", so
in that case I think you want this in the rc script in the port, and
then users won't need to touch it ..

daemon_flags="${LOCALSTATEDIR}/mycorrhiza"

Well, I guess it is already set up like that (but I'm not sure if it's ok

to leave "." instead of "${LOCALSTATEDIR}/mycorrhiza" in the rc script).

I think I can upload patch to the pkg/README file to avoid unnecessary 
clutter.
--- pkg/README
+++ pkg/README
@@ -73,10 +73,14 @@ Setup
 
 See ${HOMEPAGE} for details about configuration and deployment.
 Be sure to set up proper authentication.
-Set desired wiki name, enable and start the daemon.
+By default wiki will be created in ${LOCALSTATEDIR}/mycorrhiza,
+but you can change that by setting daemon flags with rcctl(8).
 
-mycorrhiza# rcctl set mycorrhiza flags '${LOCALSTATEDIR}/mycorrhiza'
+mycorrhiza# rcctl set mycorrhiza flags '/some/other/wiki/dir'
+
+Enable and start the daemon.
+
 mycorrhiza# rcctl enable mycorrhiza
 mycorrhiza# rcctl start mycorrhiza
 
-wiki will be available at https://mycorrhiza.example.com
+Wiki will be available at https://mycorrhiza.example.com


Re: NEW: misc/mycorrhiza

2022-09-06 Thread la ninpre

Thanks for the feedback! Fixed everything, but I moved MODGO_MODULES
and stuff to modules.inc, since crates.inc is more appropriate for rust 
ports.


On 9/6/22 23:11, Stuart Henderson wrote:

On 2022/09/06 21:17, la ninpre wrote:

Updated to version 1.12.1. Also bumped up user and group IDs.

Comments and suggestions are welcome!

On 8/2/22 19:01, la ninpre wrote:

Mycorrhiza is a wiki engine for personal wikis and digital garden.

It uses git for history management and stores everything in plain text
files.
It also features it's own simple markup language inspired by gemtext (of
gemini protocol).

Mycorrhiza can be used locally or served on a webpage.

Comments, ok?


: $ tar tzf /tmp/mycorrhiza-1.12.1.tgz
:
: ./Makefile
: ./distinfo
: ./pkg
: ./pkg/mycorrhiza.rc
: ./pkg/PLIST
: ./pkg/DESCR
: ./pkg/README

include the subdirectory in the tar

: SUBST_VARS +=   VARBASE

don't add VARBASE to SUBST_VARS

: MODGO_MODULES = \
: git.sr.ht/~bouncepaw/mycomarkup/v5   v5.2.1 \
: github.com/andybalholm/brotliv1.0.3 \
: ...
: MODGO_MODFILES =\
: github.com/andybalholm/brotliv1.0.2 \
: github.com/klauspost/compressv1.13.4 \

those go into crates.inc with an .include (see other ports with
ls /usr/ports/*/*/crates.inc)

: #MAINTAINER = ???

either fill it in, or leave it out completely

: @newuser _mycorrhiza:884:_mycorrhiza:daemon:Mycorrhiza 
User:${VARBASE}/mycorrhiza:/sbin/nologin

don't use "daemon", leave that field blank

don't use VARBASE, maybe it should be LOCALSTATEDIR if you want
/var/mycorrhiza. create that dir via @owner @group @mode @sample in
the PLIST, don't tell people to mkdir/chown

: mycorrhiza# acme-client -v mycorrhiza.example.com
: mycorrhiza# acme-client -v mycorrhiza.example.com

repeated

: Set desired wiki name in ${RCDIR}/mycorrhiza (daemon_flags variable).

do not edit installed ${RCDIR} scripts.
these should be set with "rcctl set flags".



mycorrhiza-1.12.1.tgz
Description: application/gzip


Re: NEW: misc/mycorrhiza

2022-09-06 Thread la ninpre

Updated to version 1.12.1. Also bumped up user and group IDs.

Comments and suggestions are welcome!

On 8/2/22 19:01, la ninpre wrote:

Mycorrhiza is a wiki engine for personal wikis and digital garden.

It uses git for history management and stores everything in plain text 
files.
It also features it's own simple markup language inspired by gemtext 
(of gemini protocol).


Mycorrhiza can be used locally or served on a webpage.

Comments, ok?


mycorrhiza-1.12.1.tgz
Description: application/gzip


NEW: misc/mycorrhiza

2022-08-02 Thread la ninpre

Mycorrhiza is a wiki engine for personal wikis and digital garden.

It uses git for history management and stores everything in plain text 
files.
It also features it's own simple markup language inspired by gemtext (of 
gemini protocol).


Mycorrhiza can be used locally or served on a webpage.

Comments, ok?

--
best regards,
la ninpre.


mycorrhiza.tgz
Description: application/gzip


NEW: games/srb2 and games/libgme

2021-12-02 Thread la-ninpre


Hi,
I ported the game Sonic Robo Blast 2 to OpenBSD and also Game
Music
Emu library that is required for music in this game to work.

It would be nice if someone can test it. I've already run it
successfully on 7.0-current and also another person tried it on
i386 architecture.

I was unsure about distribution of game assets, so i followed
approach
similar to other game ports: only game binary is distributed and
user
is supposed to download and install game assets by themselves.

Anyway, all input is welcome!

Regards,
Leo.



srb2-2.2.9.tar.gz
Description: application/gzip


libgme-0.6.3.tar.gz
Description: application/gzip


NEW: games/srb2 and games/libgme

2021-12-02 Thread la-ninpre


Hi,
I ported the game Sonic Robo Blast 2 to OpenBSD and also Game 
Music

Emu library that is required for music in this game to work.

It would be nice if someone can test it. I've already run it
successfully on 7.0-current and also another person tried it on
i386 architecture.

I was unsure about distribution of game assets, so i followed 
approach
similar to other game ports: only game binary is distributed and 
user

is supposed to download and install game assets by themselves.

Anyway, all input is welcome!

Regards,
Leo.



libgme-0.6.3.tar.gz
Description: application/gzip


srb2-2.2.9.tar.gz
Description: application/gzip