Package Details: miniflux 2.0.31-1

Git Clone URL: https://aur.archlinux.org/miniflux.git (read-only, click to copy)
Package Base: miniflux
Description: Minimalist Feed Reader
Upstream URL: https://miniflux.app
Licenses: Apache
Conflicts: miniflux-git
Submitter: lightdark
Maintainer: thor77
Last Packager: thor77
Votes: 11
Popularity: 0.196241
First Submitted: 2018-07-14 22:34
Last Updated: 2021-06-10 21:55

Latest Comments

1 2 3 4 Next › Last »

zone commented on 2021-06-27 11:17

@thor77 It's works now after reverting PKGBUILD modification. Thx. Good day.

thor77 commented on 2021-06-27 08:14

@zone unfortunately I can't reproduce your problem. I can build the package without any problems using makepkg and also using yay. Did you modify the PKGBUILD in any way?

zone commented on 2021-06-27 01:05

build failed already export GOPATH=="${srcdir}"

error:

==> Starting build()...
fatal: No names found, cannot describe anything.
code in directory /home/zone/.cache/yay/miniflux/src/v2-2.0.31 expects import "miniflux.app"
code in directory /home/zone/.cache/yay/miniflux/src/v2-2.0.31/api expects import "miniflux.app/api"
code in directory /home/zone/.cache/yay/miniflux/src/v2-2.0.31/cli expects import "miniflux.app/cli"
code in directory /home/zone/.cache/yay/miniflux/src/v2-2.0.31/client expects import "miniflux.app/client"
...
...
main.go:8:2: cannot find package "miniflux.app/cli" in any of:
    /usr/lib/go/src/miniflux.app/cli (from $GOROOT)
    /home/zone/go/src/miniflux.app/cli (from $GOPATH)
make: *** [Makefile:48: linux-amd64] Error 1
==> ERROR: A failure occurred in build().

thor77 commented on 2021-04-03 17:00

@somini thanks for the suggestion, applied in f20f4ffcd062

somini commented on 2021-03-31 16:16

v2.0.29 supports the SystemD notification protocol, the service should be synced with upstream. Here's a patch I can confirm it works:

diff --git i/miniflux.service w/miniflux.service
index 8e7ea98..def4432 100644
--- i/miniflux.service
+++ w/miniflux.service
@@ -4,11 +4,30 @@ Wants=network-online.target postgresql.service
 After=network-online.target postgresql.service

 [Service]
-Type=simple
+Type=notify
 EnvironmentFile=/etc/miniflux.conf
 User=miniflux
 ExecStart=/usr/bin/miniflux
 Restart=always

+NoNewPrivileges=true
+PrivateDevices=true
+ProtectControlGroups=true
+ProtectHome=true
+ProtectKernelModules=true
+ProtectKernelTunables=true
+ProtectSystem=strict
+RestrictRealtime=true
+PrivateTmp=true
+
+# Keep at least the /run folder writeable if Miniflux is configured to use a
+# Unix socket.
+# For example, the socket could be LISTEN_ADDR=/run/miniflux/miniflux.sock
+# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ReadWritePaths=
+#ReadWritePaths=/run
+
+# Allow miniflux to bind to <1024 ports
+#AmbientCapabilities=CAP_NET_BIND_SERVICE
+
 [Install]
 WantedBy=multi-user.target

You can monitor upstream changes in here:

thor77 commented on 2020-11-08 10:52

@somini thanks for your patch! applied in e7ba4c983795

somini commented on 2020-11-05 22:32

This was broken on aarch64 with v2.0.25. The make target is now called "linux-arm64".

This and other small fixes are on this patch:

  • Force create the link for the source code on the GOPATH
  • Use the new "COMMIT" Makefile variable, to avoid errors. We don't clone the repo, so I just reused the version string. Feel free to get the commit hash from Github somehow
diff --git a/PKGBUILD b/PKGBUILD
index a9d2ce7..a9877ba 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ sha256sums=('be207d714c0981052de03172dfe19ca2fcbdc97d9f7d7f9bbbeae5bd8a3c16ae'

 prepare() {
   mkdir -p "${srcdir}/src/github.com/miniflux"
-  ln -s "${srcdir}/${_repo}-${pkgver}" "${srcdir}/src/github.com/miniflux/${pkgname}"
+  ln -sf "${srcdir}/${_repo}-${pkgver}" "${srcdir}/src/github.com/miniflux/${pkgname}"
 }

 case "$CARCH" in
@@ -36,7 +36,7 @@ case "$CARCH" in
   arm) _target=armv5 ;;
   armv6h) _target=armv6 ;;
   armv7h) _target=armv7 ;;
-  aarch64) _target=armv8 ;;
+  aarch64) _target=arm64 ;;
   *) return 1 ;;
 esac

@@ -49,7 +49,7 @@ build() {
   export CGO_LDFLAGS="${LDFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw"

-  GOPATH="${srcdir}" PATH="${PATH}:${GOPATH}/bin/" make VERSION="${pkgver}" linux-$_target
+  GOPATH="${srcdir}" PATH="${PATH}:${GOPATH}/bin/" make VERSION="${pkgver}" COMMIT="${pkgver}" linux-$_target
 }

 package() {

thor77 commented on 2020-10-29 20:20

@izzy_blue ah, fixed! now it works for me as well, thanks!

izzy_blue commented on 2020-10-29 19:27

Ah, sorry I was unclear - the VERSION is a make variable, not an environment var - the line that works for me is:

GOPATH="${srcdir}" PATH="${PATH}:${GOPATH}/bin/" make VERSION="${pkgver}" linux-$_target

thor77 commented on 2020-10-29 18:38

@crean I used updpkgsums to update it initially and still had the archive matching that checksum oO running it again produces a different checksum now, though. @izzy_blue added the envvar, it doesn't seem to work (for me), though.