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

Collapse All | Expand All

(-)www/miniflux/Makefile (-6 / +17 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	miniflux
3
PORTNAME=	miniflux
4
DISTVERSION=	2.0.10
4
DISTVERSION=	2.0.13
5
CATEGORIES=	www
5
CATEGORIES=	www
6
6
7
MAINTAINER=	krion@FreeBSD.org
7
MAINTAINER=	krion@FreeBSD.org
Lines 10-21 Link Here
10
LICENSE=	APACHE20
10
LICENSE=	APACHE20
11
LICENSE_FILE=	${WRKSRC}/LICENSE
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
12
13
ONLY_FOR_ARCHS= amd64
14
13
RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
15
RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
14
16
17
BUILD_DEPENDS=	go>=1.11:lang/go \
18
		git>=2.17:devel/git
19
15
USERS=	miniflux
20
USERS=	miniflux
16
GROUPS=	miniflux
21
GROUPS=	miniflux
17
22
18
USES=		go pgsql
23
USES=		pgsql
19
WANT_PGSQL=	client
24
WANT_PGSQL=	client
20
25
21
USE_RC_SUBR=	miniflux
26
USE_RC_SUBR=	miniflux
Lines 23-30 Link Here
23
USE_GITHUB=	yes
28
USE_GITHUB=	yes
24
GH_ACCOUNT=	miniflux
29
GH_ACCOUNT=	miniflux
25
30
26
GO_PKGNAME=	github.com/miniflux/${PORTNAME}
27
28
OPTIONS_DEFINE=	PGSQL_SERVER
31
OPTIONS_DEFINE=	PGSQL_SERVER
29
OPTIONS_DEFAULT=
32
OPTIONS_DEFAULT=
30
PGSQL_SERVER_DESC=	Install the PostgreSQL Server Component
33
PGSQL_SERVER_DESC=	Install the PostgreSQL Server Component
Lines 32-39 Link Here
32
35
33
.include <bsd.port.options.mk>
36
.include <bsd.port.options.mk>
34
37
38
do-build:
39
	cd ${WRKSRC} && \
40
		${MAKE} freebsd VERSION=${DISTVERSION}
41
42
do-install:
43
	${INSTALL_PROGRAM} ${WRKSRC}/miniflux-freebsd-amd64 ${STAGEDIR}${PREFIX}/bin/miniflux
44
	${INSTALL_MAN} ${WRKSRC}/miniflux.1 ${STAGEDIR}${PREFIX}/man/man1/
45
35
post-install:
46
post-install:
36
		${INSTALL_DATA} ${FILESDIR}/miniflux.env.sample \
47
	${INSTALL_DATA} ${FILESDIR}/miniflux.env.sample \
37
			${STAGEDIR}${PREFIX}/etc
48
		${STAGEDIR}${PREFIX}/etc
38
49
39
.include <bsd.port.mk>
50
.include <bsd.port.mk>
(-)www/miniflux/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1532528762
1
TIMESTAMP = 1543732130
2
SHA256 (miniflux-miniflux-2.0.10_GH0.tar.gz) = 9169c22fc71f6c9d0f310654f1bd2c74ba0a53414afacb23b7e017c80a81f4ea
2
SHA256 (miniflux-miniflux-2.0.13_GH0.tar.gz) = c0213cdc2d6dbdb5cc8fd68a94fe8dd5d699b49faf6c77ad189376117e4e1ceb
3
SIZE (miniflux-miniflux-2.0.10_GH0.tar.gz) = 12964698
3
SIZE (miniflux-miniflux-2.0.13_GH0.tar.gz) = 6649748
(-)www/miniflux/files/miniflux.env.sample (-1 / +1 lines)
Lines 1-3 Link Here
1
# See https://docs.miniflux.net/en/latest/configuration.html
1
# See https://docs.miniflux.app/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/patch-Makefile (+11 lines)
Line 0 Link Here
1
--- Makefile.orig	2018-12-02 16:32:44 UTC
2
+++ Makefile
3
@@ -33,7 +33,7 @@ darwin:
4
 
5
 freebsd:
6
 	@ go generate
7
-	@ GOOS=freebsd GOARCH=amd64 go build -ldflags=$(LD_FLAGS) -o $(APP)-freebsd-amd64 main.go
8
+	@ GOOS=freebsd GOARCH=amd64 GO11MODULE=on go build -mod=vendor -ldflags=$(LD_FLAGS) -o $(APP)-freebsd-amd64 main.go
9
 
10
 openbsd:
11
 	@ go generate
(-)www/miniflux/pkg-descr (-1 / +1 lines)
Lines 1-3 Link Here
1
Miniflux is a minimalist and opinionated feed reader written in Go.
1
Miniflux is a minimalist and opinionated feed reader written in Go.
2
2
3
WWW: https://miniflux.net/
3
WWW: https://miniflux.app/
(-)www/miniflux/pkg-plist (+1 lines)
Lines 1-2 Link Here
1
bin/miniflux
1
bin/miniflux
2
man/man1/miniflux.1.gz
2
@sample etc/miniflux.env.sample
3
@sample etc/miniflux.env.sample

Return to bug 233728