Skip to content

Commit

Permalink
www/librespeed: update to 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
driesmp committed Nov 26, 2023
1 parent d494fcd commit cb121b6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
5 changes: 3 additions & 2 deletions www/librespeed/Makefile
@@ -1,5 +1,5 @@
PORTNAME= librespeed
DISTVERSION= 5.2.5
DISTVERSION= 5.3.0
CATEGORIES= www net
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}

Expand Down Expand Up @@ -35,6 +35,7 @@ SQLITE_USE= PHP=pdo_sqlite
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -a ${WRKSRC}/*.js ${WRKSRC}/favicon.ico ${STAGEDIR}${WWWDIR}
${CP} -a ${WRKSRC}/index.html ${STAGEDIR}${WWWDIR}/index.html.sample
@${MKDIR} ${STAGEDIR}${WWWDIR}/backend
cd ${WRKSRC}/backend && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/backend
@${MKDIR} ${STAGEDIR}${WWWDIR}/results
Expand All @@ -50,6 +51,6 @@ post-install-DOCS-on:

post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -a ${WRKSRC}/*.html ${STAGEDIR}${EXAMPLESDIR}
${CP} -a ${WRKSRC}/examples/*.html ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/librespeed/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1641314301
SHA256 (librespeed-speedtest-5.2.5_GH0.tar.gz) = ed1a1d688201ed40514a68cf46738b4cd1ffee992aa838cf45ecc2fc3485c53b
SIZE (librespeed-speedtest-5.2.5_GH0.tar.gz) = 2126708
TIMESTAMP = 1701029291
SHA256 (librespeed-speedtest-5.3.0_GH0.tar.gz) = c43a1682caffdb2102eee89e8440d426cd627a79d0106458105be37c6064f935
SIZE (librespeed-speedtest-5.3.0_GH0.tar.gz) = 2132374
2 changes: 1 addition & 1 deletion www/librespeed/files/pkg-message.in
Expand Up @@ -5,7 +5,7 @@ You can mostly follow the guide on: https://fdossena.com/speedtest/qs_v5_ubuntu1
For more advanced docs: https://github.com/librespeed/speedtest/blob/master/doc.md

Copy your preferred example from %%PREFIX%%/share/examples/librespeed to %%PREFIX%%/www/librespeed/index.html.
To use the backend (i.e. telemetry) feature, be sure to copy a -full example and rebuild
A default is provided. To use the backend (i.e. telemetry) feature, be sure to copy a -full example and rebuild
the port with backend support.

cd %%PREFIX%%/share/examples/librespeed
Expand Down
5 changes: 4 additions & 1 deletion www/librespeed/pkg-plist
Expand Up @@ -4,7 +4,6 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-basic.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-chart.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-customSettings.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-full.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-gauges.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-pretty.html
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-progressBar.html
Expand All @@ -13,19 +12,23 @@
%%WWWDIR%%/backend/empty.php
%%WWWDIR%%/backend/garbage.php
%%WWWDIR%%/backend/getIP.php
%%WWWDIR%%/backend/getIP_util.php
@sample %%WWWDIR%%/backend/getIP_ipInfo_apikey.php.sample
@dir %%WWWDIR%%/results
%%WWWDIR%%/results/OpenSans-Light.ttf
%%WWWDIR%%/results/OpenSans-Semibold.ttf
%%WWWDIR%%/results/idObfuscation.php
%%WWWDIR%%/results/index.php
%%WWWDIR%%/results/json.php
%%WWWDIR%%/results/sanitycheck.php
%%WWWDIR%%/results/stats.php
%%WWWDIR%%/results/telemetry.php
%%WWWDIR%%/results/telemetry_db.php
%%WWWDIR%%/results/telemetry_mssql.sql
%%WWWDIR%%/results/telemetry_mysql.sql
%%WWWDIR%%/results/telemetry_postgresql.sql
@sample %%WWWDIR%%/results/telemetry_settings.php.sample
%%WWWDIR%%/favicon.ico
@sample %%WWWDIR%%/index.html.sample
%%WWWDIR%%/speedtest.js
%%WWWDIR%%/speedtest_worker.js

0 comments on commit cb121b6

Please sign in to comment.