aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2019-08-12 22:04:08 +0800
committerkrion <krion@FreeBSD.org>2019-08-12 22:04:08 +0800
commit86dec165d4f23e02254d21e91d21fb52e351cae1 (patch)
tree09540a48f5a7a6795eb80aba1eb4928723f6d33f
parent8df86ecf8bd506e941e5f4438d8949380e48f062 (diff)
downloadfreebsd-ports-gnome-86dec165d4f23e02254d21e91d21fb52e351cae1.tar.gz
freebsd-ports-gnome-86dec165d4f23e02254d21e91d21fb52e351cae1.tar.zst
freebsd-ports-gnome-86dec165d4f23e02254d21e91d21fb52e351cae1.zip
Upgrade to 2.0.17
PR: 239640 Submitted by: adamw
-rw-r--r--www/miniflux/Makefile10
-rw-r--r--www/miniflux/distinfo6
-rw-r--r--www/miniflux/files/miniflux.in8
3 files changed, 8 insertions, 16 deletions
diff --git a/www/miniflux/Makefile b/www/miniflux/Makefile
index b027bbc47940..94e65431b302 100644
--- a/www/miniflux/Makefile
+++ b/www/miniflux/Makefile
@@ -1,12 +1,11 @@
# $FreeBSD$
PORTNAME= miniflux
-DISTVERSION= 2.0.16
-PORTREVISION= 1
+DISTVERSION= 2.0.17
CATEGORIES= www
MAINTAINER= krion@FreeBSD.org
-COMMENT= Miniflux is a self-hosted software to read RSS/Atom/JSON feeds
+COMMENT= Self-hosted software to read RSS/Atom/JSON feeds
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -30,11 +29,8 @@ GO_BUILDFLAGS= -ldflags="-X miniflux.app/version.Version=${DISTVERSION} \
-X miniflux.app/version.BuildDate=$$(date +'%Y-%m-%dT%H:%M:%SZ')"
OPTIONS_DEFINE= PGSQL_SERVER
-OPTIONS_DEFAULT=
PGSQL_SERVER_DESC= Install the PostgreSQL Server Component
-PGSQL_SERVER_VARS= WANT_PGSQL=server
-
-.include <bsd.port.options.mk>
+PGSQL_SERVER_VARS= WANT_PGSQL=server,contrib
do-install:
${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/miniflux.app ${STAGEDIR}${PREFIX}/bin/miniflux
diff --git a/www/miniflux/distinfo b/www/miniflux/distinfo
index 0c013d27c3f2..335da0b4e04f 100644
--- a/www/miniflux/distinfo
+++ b/www/miniflux/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1560084908
-SHA256 (miniflux-miniflux-2.0.16_GH0.tar.gz) = 0f255172fcf7442c835a00333943b291ef921a63711e16ab33f712bf577391dc
-SIZE (miniflux-miniflux-2.0.16_GH0.tar.gz) = 2777845
+TIMESTAMP = 1564927301
+SHA256 (miniflux-miniflux-2.0.17_GH0.tar.gz) = 2d0cd7c5ec1b7a083c306902b56f63fd786ece675b2874f22df29d025a5e4cc9
+SIZE (miniflux-miniflux-2.0.17_GH0.tar.gz) = 2778635
diff --git a/www/miniflux/files/miniflux.in b/www/miniflux/files/miniflux.in
index d8546f4ae3f0..4f5ea621a43c 100644
--- a/www/miniflux/files/miniflux.in
+++ b/www/miniflux/files/miniflux.in
@@ -21,15 +21,11 @@ rcvar=miniflux_enable
load_rc_config $name
: ${miniflux_enable="NO"}
-
-# Miniflux doesn't use any config file, only environment variables.
-set -a
-. %%PREFIX%%/etc/miniflux.env
-set +a
+: ${miniflux_config="%%PREFIX%%/etc/miniflux.env"}
pidfile="/var/run/miniflux.pid"
procname="%%PREFIX%%/bin/miniflux"
command="/usr/sbin/daemon"
-command_args="-f -T miniflux -p ${pidfile} -u miniflux %%PREFIX%%/bin/miniflux"
+command_args="-f -T miniflux -p ${pidfile} -u miniflux %%PREFIX%%/bin/miniflux -c ${miniflux_config}"
run_rc_command "$1"