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

(-)www/librespeed/Makefile (-1 / +1 lines)
Lines 1-54 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	librespeed
3
PORTNAME=	librespeed
4
DISTVERSION=	5.2.2
4
DISTVERSION=	5.2.3
5
CATEGORIES=	www net
5
CATEGORIES=	www net
6
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
6
PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
7
7
8
MAINTAINER=	driesm.michiels@gmail.com
8
MAINTAINER=	driesm.michiels@gmail.com
9
COMMENT=	Lightweight selfhosted speedtest
9
COMMENT=	Lightweight selfhosted speedtest
10
10
11
LICENSE=	LGPL3
11
LICENSE=	LGPL3
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
USES=	php:flavors,web
14
USES=	php:flavors,web
15
15
16
USE_GITHUB=	YES
16
USE_GITHUB=	YES
17
GH_PROJECT=	speedtest
17
GH_PROJECT=	speedtest
18
18
19
NO_BUILD=	YES
19
NO_BUILD=	YES
20
NO_ARCH=	YES
20
NO_ARCH=	YES
21
21
22
PLIST_SUB=	LIBRESPEED_USERNAME=${WWWOWN}
22
PLIST_SUB=	LIBRESPEED_USERNAME=${WWWOWN}
23
SUB_FILES=	pkg-message
23
SUB_FILES=	pkg-message
24
24
25
OPTIONS_DEFINE=	DOCS EXAMPLES
25
OPTIONS_DEFINE=	DOCS EXAMPLES
26
26
27
OPTIONS_RADIO=	BACKEND
27
OPTIONS_RADIO=	BACKEND
28
OPTIONS_RADIO_BACKEND=	MYSQL PGSQL SQLITE
28
OPTIONS_RADIO_BACKEND=	MYSQL PGSQL SQLITE
29
29
30
MYSQL_USE=	PHP=mysqli
30
MYSQL_USE=	PHP=mysqli
31
PGSQL_USE=	PHP=pdo_pgsql
31
PGSQL_USE=	PHP=pdo_pgsql
32
SQLITE_USE=	PHP=pdo_sqlite
32
SQLITE_USE=	PHP=pdo_sqlite
33
33
34
do-install:
34
do-install:
35
	@${MKDIR} ${STAGEDIR}${WWWDIR}
35
	@${MKDIR} ${STAGEDIR}${WWWDIR}
36
	${CP} -a ${WRKSRC}/*.js ${WRKSRC}/favicon.ico ${STAGEDIR}${WWWDIR}
36
	${CP} -a ${WRKSRC}/*.js ${WRKSRC}/favicon.ico ${STAGEDIR}${WWWDIR}
37
	@${MKDIR} ${STAGEDIR}${WWWDIR}/backend
37
	@${MKDIR} ${STAGEDIR}${WWWDIR}/backend
38
	cd ${WRKSRC}/backend && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/backend
38
	cd ${WRKSRC}/backend && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/backend
39
	@${MKDIR} ${STAGEDIR}${WWWDIR}/results
39
	@${MKDIR} ${STAGEDIR}${WWWDIR}/results
40
	cd ${WRKSRC}/results && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/results
40
	cd ${WRKSRC}/results && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/results
41
	${INSTALL_DATA} ${WRKSRC}/results/telemetry_settings.php \
41
	${INSTALL_DATA} ${WRKSRC}/results/telemetry_settings.php \
42
		${STAGEDIR}${WWWDIR}/results/telemetry_settings.php.sample
42
		${STAGEDIR}${WWWDIR}/results/telemetry_settings.php.sample
43
	${INSTALL_DATA} ${WRKSRC}/backend/getIP_ipInfo_apikey.php \
43
	${INSTALL_DATA} ${WRKSRC}/backend/getIP_ipInfo_apikey.php \
44
		${STAGEDIR}${WWWDIR}/backend/getIP_ipInfo_apikey.php.sample
44
		${STAGEDIR}${WWWDIR}/backend/getIP_ipInfo_apikey.php.sample
45
45
46
post-install-DOCS-on:
46
post-install-DOCS-on:
47
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
47
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
48
	${INSTALL_MAN} ${WRKSRC}/doc.md ${STAGEDIR}${DOCSDIR}
48
	${INSTALL_MAN} ${WRKSRC}/doc.md ${STAGEDIR}${DOCSDIR}
49
49
50
post-install-EXAMPLES-on:
50
post-install-EXAMPLES-on:
51
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
51
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
52
	${CP} -a ${WRKSRC}/*.html ${STAGEDIR}${EXAMPLESDIR}
52
	${CP} -a ${WRKSRC}/*.html ${STAGEDIR}${EXAMPLESDIR}
53
53
54
.include <bsd.port.mk>
54
.include <bsd.port.mk>
(-)www/librespeed/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1601315693
1
TIMESTAMP = 1614195211
2
SHA256 (librespeed-speedtest-5.2.2_GH0.tar.gz) = 554cd1cad8ffbbb037744256ecfe8bef0e3add566dc54f588cab846f13619c30
2
SHA256 (librespeed-speedtest-5.2.3_GH0.tar.gz) = 70e42269d7d822a751b3b11b08eba02ac831f31aefd1e3e0cf8b491f46da0ad8
3
SIZE (librespeed-speedtest-5.2.2_GH0.tar.gz) = 2121725
3
SIZE (librespeed-speedtest-5.2.3_GH0.tar.gz) = 2122446
(-)www/librespeed/pkg-plist (+1 lines)
Lines 1-29 Link Here
1
%%PORTDOCS%%%%DOCSDIR%%/doc.md
1
%%PORTDOCS%%%%DOCSDIR%%/doc.md
2
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-full.html
2
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-full.html
3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-pretty.html
3
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-pretty.html
4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-basic.html
4
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-basic.html
5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-chart.html
5
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-chart.html
6
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-customSettings.html
6
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-customSettings.html
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-full.html
7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-full.html
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-gauges.html
8
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-gauges.html
9
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-pretty.html
9
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-pretty.html
10
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-progressBar.html
10
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-progressBar.html
11
@owner %%LIBRESPEED_USERNAME%%
11
@owner %%LIBRESPEED_USERNAME%%
12
@dir %%WWWDIR%%/backend
12
@dir %%WWWDIR%%/backend
13
%%WWWDIR%%/backend/empty.php
13
%%WWWDIR%%/backend/empty.php
14
%%WWWDIR%%/backend/garbage.php
14
%%WWWDIR%%/backend/garbage.php
15
%%WWWDIR%%/backend/getIP.php
15
%%WWWDIR%%/backend/getIP.php
16
@sample %%WWWDIR%%/backend/getIP_ipInfo_apikey.php.sample
16
@sample %%WWWDIR%%/backend/getIP_ipInfo_apikey.php.sample
17
@dir %%WWWDIR%%/results
17
@dir %%WWWDIR%%/results
18
%%WWWDIR%%/results/OpenSans-Light.ttf
18
%%WWWDIR%%/results/OpenSans-Light.ttf
19
%%WWWDIR%%/results/OpenSans-Semibold.ttf
19
%%WWWDIR%%/results/OpenSans-Semibold.ttf
20
%%WWWDIR%%/results/idObfuscation.php
20
%%WWWDIR%%/results/idObfuscation.php
21
%%WWWDIR%%/results/index.php
21
%%WWWDIR%%/results/index.php
22
%%WWWDIR%%/results/stats.php
22
%%WWWDIR%%/results/stats.php
23
%%WWWDIR%%/results/telemetry.php
23
%%WWWDIR%%/results/telemetry.php
24
%%WWWDIR%%/results/telemetry_db.php
24
%%WWWDIR%%/results/telemetry_mysql.sql
25
%%WWWDIR%%/results/telemetry_mysql.sql
25
%%WWWDIR%%/results/telemetry_postgresql.sql
26
%%WWWDIR%%/results/telemetry_postgresql.sql
26
@sample %%WWWDIR%%/results/telemetry_settings.php.sample
27
@sample %%WWWDIR%%/results/telemetry_settings.php.sample
27
%%WWWDIR%%/favicon.ico
28
%%WWWDIR%%/favicon.ico
28
%%WWWDIR%%/speedtest.js
29
%%WWWDIR%%/speedtest.js
29
%%WWWDIR%%/speedtest_worker.js
30
%%WWWDIR%%/speedtest_worker.js

Return to bug 253821