View | Details | Raw Unified | Return to bug 252962
Collapse All | Expand All

(-)b/www/tt-rss/Makefile (-25 / +35 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	tt-rss
4
PORTNAME=	tt-rss
5
PORTVERSION=	g20201208
5
PORTVERSION=	g20210123
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	www
7
CATEGORIES=	www
8
MASTER_SITES=	https://git.tt-rss.org/fox/tt-rss/archive/
8
MASTER_SITES=	https://git.tt-rss.org/fox/tt-rss/archive/
9
DISTNAME=	${GIT_TAGNAME}
9
DISTNAME=	${_GIT_TAGNAME}
10
DIST_SUBDIR=	${PORTNAME}
10
DIST_SUBDIR=	${PORTNAME}
11
11
12
MAINTAINER=	dereks@lifeofadishwasher.com
12
MAINTAINER=	dereks@lifeofadishwasher.com
Lines 14-57 COMMENT= Tiny Tiny RSS: web-based news feed (RSS/Atom) aggregator Link Here
14
14
15
LICENSE=	GPLv2
15
LICENSE=	GPLv2
16
16
17
USES=		php:cli,web shebangfix gettext-tools
17
USES=		gettext-tools php:cli,web shebangfix
18
USE_PHP=	ctype dom fileinfo filter iconv intl hash json mbstring pcntl posix session xmlrpc
18
USE_PHP=	ctype dom fileinfo filter hash iconv intl json mbstring pcntl \
19
		posix session xmlrpc
20
USE_RC_SUBR=	ttrssd
19
21
20
REINPLACE_ARGS=	-i ""
22
SHEBANG_FILES=	lib/dojo-src/rebuild-dojo.sh update_daemon2.php \
21
SHEBANG_FILES=	lib/dojo-src/rebuild-dojo.sh utils/extract-i18n-js.pl update_daemon2.php
23
		utils/extract-i18n-js.pl
22
WRKSRC=		${WRKDIR}/tt-rss
23
24
24
GIT_TAGNAME=	71c8d8d36
25
_GIT_TAGNAME=	6c546f37b
26
27
REINPLACE_ARGS=	-i ""
25
28
26
NO_BUILD=	yes
27
NO_ARCH=	yes
29
NO_ARCH=	yes
30
NO_BUILD=	yes
28
31
29
USE_RC_SUBR=	ttrssd
32
WRKSRC=		${WRKDIR}/tt-rss
30
33
31
OPTIONS_DEFINE=	CURL GD
34
OPTIONS_DEFINE=		CURL GD
32
OPTIONS_SINGLE=	DB
33
OPTIONS_SINGLE_DB=	MYSQL PGSQL
34
OPTIONS_DEFAULT=	CURL GD MYSQL
35
OPTIONS_DEFAULT=	CURL GD MYSQL
36
OPTIONS_SINGLE=		DB
37
OPTIONS_SINGLE_DB=	MYSQL PGSQL
35
38
36
CURL_DESC=	Use SimplePie instead of Magpie
39
CURL_DESC=	Use SimplePie instead of Magpie
37
CURL_USE=	PHP=curl
38
39
GD_DESC=	Use OTP QR code generation
40
GD_DESC=	Use OTP QR code generation
40
GD_USE=		PHP=gd
41
41
42
PGSQL_VARS=	DB=pgsql
42
CURL_USE=	PHP=curl
43
PGSQL_USE=	PHP=pdo_pgsql,pgsql
43
GD_USE=		PHP=gd
44
PGSQL_VARS_OFF=	PGSQL="\#"
45
44
45
MYSQL_USE=	PHP=mysqli,pdo_mysql
46
MYSQL_VARS=	DB=mysql
46
MYSQL_VARS=	DB=mysql
47
MYSQL_USE=	PHP=pdo_mysql,mysqli
48
MYSQL_VARS_OFF=	MYSQL="\#"
47
MYSQL_VARS_OFF=	MYSQL="\#"
49
48
49
PGSQL_USE=	PHP=pdo_pgsql,pgsql
50
PGSQL_VARS=	DB=pgsql
51
PGSQL_VARS_OFF=	PGSQL="\#"
52
50
.include <bsd.port.options.mk>
53
.include <bsd.port.options.mk>
51
54
52
SUB_FILES=	httpd-tt-rss.conf pkg-message
55
SUB_FILES=	httpd-tt-rss.conf pkg-message
53
SUB_LIST=	DB=${DB} WWWOWN=${WWWOWN} MYSQL=${MYSQL} PGSQL=${PGSQL}
56
SUB_LIST=	DB=${DB} \
54
PLIST_SUB=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
57
		MYSQL=${MYSQL} \
58
		PGSQL=${PGSQL} \
59
		WWWOWN=${WWWOWN}
60
PLIST_SUB=	WWWGRP=${WWWGRP} \
61
		WWWOWN=${WWWOWN}
55
62
56
PHP2FIX=	config.php-dist update.php
63
PHP2FIX=	config.php-dist update.php
57
64
Lines 70-77 do-install: Link Here
70
		"! -name LICENSE ! -name .empty")
77
		"! -name LICENSE ! -name .empty")
71
	${RM} -r ${STAGEDIR}${WWWDIR}/debian
78
	${RM} -r ${STAGEDIR}${WWWDIR}/debian
72
	${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR}
79
	${INSTALL_DATA} ${WRKDIR}/httpd-tt-rss.conf ${STAGEDIR}${DATADIR}
73
	${ECHO} "${OPSYS}:${PORTVERSION}:${GIT_TAGNAME}" > "${STAGEDIR}${WWWDIR}/version_static.txt"
80
	${ECHO} "${OPSYS}:${PORTVERSION}:${_GIT_TAGNAME}" > \
74
	${MV} ${STAGEDIR}${WWWDIR}/config.php-dist ${STAGEDIR}${WWWDIR}/config.php.sample
81
		"${STAGEDIR}${WWWDIR}/version_static.txt"
75
	${RLN} ${STAGEDIR}${WWWDIR}/config.php.sample ${STAGEDIR}${WWWDIR}/config.php-dist
82
	${MV} ${STAGEDIR}${WWWDIR}/config.php-dist \
83
		${STAGEDIR}${WWWDIR}/config.php.sample
84
	${RLN} ${STAGEDIR}${WWWDIR}/config.php.sample \
85
		${STAGEDIR}${WWWDIR}/config.php-dist
76
86
77
.include <bsd.port.mk>
87
.include <bsd.port.mk>
(-)b/www/tt-rss/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1607462928
1
TIMESTAMP = 1611467057
2
SHA256 (tt-rss/71c8d8d36.tar.gz) = 812cd4b4a66658ae0345e7c6491e2edd40d65f1cb7493a26a21d768707950738
2
SHA256 (tt-rss/6c546f37b.tar.gz) = dc84f8aaf11a6ebf1cfd620669e49a1ed860ae46f813cb5b301cfc84a0443263
3
SIZE (tt-rss/71c8d8d36.tar.gz) = 3443726
3
SIZE (tt-rss/6c546f37b.tar.gz) = 3440210
(-)b/www/tt-rss/pkg-plist (-4 / +1 lines)
Lines 2402-2409 Link Here
2402
%%WWWDIR%%/plugins/note/note.js
2402
%%WWWDIR%%/plugins/note/note.js
2403
%%WWWDIR%%/plugins/nsfw/init.js
2403
%%WWWDIR%%/plugins/nsfw/init.js
2404
%%WWWDIR%%/plugins/nsfw/init.php
2404
%%WWWDIR%%/plugins/nsfw/init.php
2405
%%WWWDIR%%/plugins/search_sphinx/init.php
2405
%%WWWDIR%%/plugins/scored_oldest_first/init.php
2406
%%WWWDIR%%/plugins/search_sphinx/sphinxapi.php
2407
%%WWWDIR%%/plugins/share/init.php
2406
%%WWWDIR%%/plugins/share/init.php
2408
%%WWWDIR%%/plugins/share/share.css
2407
%%WWWDIR%%/plugins/share/share.css
2409
%%WWWDIR%%/plugins/share/share.js
2408
%%WWWDIR%%/plugins/share/share.js
Lines 2771-2777 Link Here
2771
@dir %%WWWDIR%%/plugins/toggle_sidebar
2770
@dir %%WWWDIR%%/plugins/toggle_sidebar
2772
@dir %%WWWDIR%%/plugins/shorten_expanded
2771
@dir %%WWWDIR%%/plugins/shorten_expanded
2773
@dir %%WWWDIR%%/plugins/share
2772
@dir %%WWWDIR%%/plugins/share
2774
@dir %%WWWDIR%%/plugins/search_sphinx
2775
@dir %%WWWDIR%%/plugins/nsfw
2773
@dir %%WWWDIR%%/plugins/nsfw
2776
@dir %%WWWDIR%%/plugins/note
2774
@dir %%WWWDIR%%/plugins/note
2777
@dir %%WWWDIR%%/plugins/no_url_hashes
2775
@dir %%WWWDIR%%/plugins/no_url_hashes
2778
- 

Return to bug 252962