On 2022/09/05 18:39:41 +0200, Paco Esteban <paco@e1e0.net> wrote:
> On Sat, 27 Aug 2022, Paco Esteban wrote:
>
> > Hi ports@,
> >
> > This is an update for net/miniflux to its latest version 2.0.38
> > While here I'll take maintainer.
> >
> > Quite a bit of changes since the version we had on ports (2.0.34), as
> > you can see here:
> >
> > https://github.com/miniflux/v2/releases
> >
> > Builds and works fine for me on amd64.
> >
> > comments ? ok to commit ?
>
> ping ?
>
> Diff here again for convenience.
> It's been running fine for me for more than a week now.
not run-tested but diff looks fine and `make test' is happy (only
googlereader tests that try to call google fails per default pf.conf)
so ok for me :)
You might want to add something like this to have `miniflux -v' report
the correct version, and even might drop the ".20220813" from PKGNAME
(looking at repology we're the only one with the date in the version)
--- Makefile.orig Tue Sep 6 10:33:20 2022
+++ Makefile Tue Sep 6 10:33:38 2022
@@ -4,7 +4,8 @@
MODGO_VERSION = v0.0.0-20220813191517-1ca35e9364b1
DISTNAME = miniflux.app-${MODGO_VERSION}
-PKGNAME = miniflux-2.0.38.20220813
+V = 2.0.38.20220813
+PKGNAME = miniflux-$V
CATEGORIES = net www
@@ -18,6 +19,8 @@
MODULES = lang/go
ALL_TARGET = ${MODGO_MODNAME}/...
+
+MODGO_LDFLAGS += -X miniflux.app/version.Version=$V
SUBST_VARS = VARBASE \
SYSCONFDIR
No comments:
Post a Comment