View | Details | Raw Unified | Return to bug 228275 | Differences between
and this patch

Collapse All | Expand All

(-)www/miniflux/Makefile (-2 / +14 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	miniflux
3
PORTNAME=	miniflux
4
DISTVERSION=	2.0.5
4
DISTVERSION=	2.0.5
5
PORTREVISION=	1
5
CATEGORIES=	www
6
CATEGORIES=	www
6
7
7
MAINTAINER=	krion@FreeBSD.org
8
MAINTAINER=	krion@FreeBSD.org
Lines 10-25 Link Here
10
LICENSE=	APACHE20
11
LICENSE=	APACHE20
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
14
RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
15
13
USES=		go pgsql
16
USES=		go pgsql
14
WANT_PGSQL=	server
17
WANT_PGSQL=	client
15
18
19
USE_RC_SUBR=	miniflux
20
16
USE_GITHUB=	yes
21
USE_GITHUB=	yes
17
GH_ACCOUNT=	miniflux
22
GH_ACCOUNT=	miniflux
18
23
19
GO_PKGNAME=	github.com/miniflux/${PORTNAME}
24
GO_PKGNAME=	github.com/miniflux/${PORTNAME}
20
25
26
OPTIONS_DEFINE=	PGSQL_SERVER
27
OPTIONS_DEFAULT=
28
PGSQL_SERVER_DESC=	Install the PostgreSQL Server Component
29
PGSQL_SERVER_VARS=	WANT_PGSQL=server
30
31
.include <bsd.port.options.mk>
32
21
post-install:
33
post-install:
22
		${INSTALL_DATA} ${FILESDIR}/miniflux.conf.sample \
34
		${INSTALL_DATA} ${FILESDIR}/miniflux.env.sample \
23
			${STAGEDIR}${PREFIX}/etc
35
			${STAGEDIR}${PREFIX}/etc
24
36
25
.include <bsd.port.mk>
37
.include <bsd.port.mk>
(-)www/miniflux/files/miniflux.conf.sample (-3 lines)
Lines 1-3 Link Here
1
# See https://docs.miniflux.net/
2
3
LISTEN_ADDR=0.0.0.0:8080
(-)www/miniflux/files/miniflux.env.sample (-1 / +1 lines)
Lines 1-3 Link Here
1
# See https://docs.miniflux.net/
1
# See https://docs.miniflux.net/en/latest/configuration.html
2
2
3
LISTEN_ADDR=0.0.0.0:8080
3
LISTEN_ADDR=0.0.0.0:8080
(-)www/miniflux/files/miniflux.in (+34 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# Author: Mark Felder <feld@FreeBSd.org>
4
#
5
# $FreeBSD$
6
#
7
8
# PROVIDE: miniflux
9
# REQUIRE: LOGIN
10
# KEYWORD: shutdown
11
12
# Add the following lines to /etc/rc.conf to enable miniflux:
13
# miniflux_enable="YES"
14
# miniflux_flags="<set as needed>"
15
16
. /etc/rc.subr
17
18
name="miniflux"
19
rcvar=miniflux_enable
20
21
load_rc_config $name
22
23
: ${miniflux_enable="NO"}
24
25
# Miniflux doesn’t use any config file, only environment variables.
26
set -a
27
. %%PREFIX%%/etc/miniflux.env
28
set +a
29
30
pidfile="/var/run/miniflux.pid"
31
command=/usr/sbin/daemon
32
command_args=" -P ${pidfile} %%PREFIX%%/bin/miniflux | /usr/bin/logger -t miniflux &"
33
34
run_rc_command "$1"
(-)www/miniflux/pkg-plist (-1 / +1 lines)
Lines 1-2 Link Here
1
bin/miniflux
1
bin/miniflux
2
@sample etc/miniflux.conf.sample
2
@sample etc/miniflux.env.sample

Return to bug 228275