git: cb121b6fc5e4 - main - www/librespeed: update to 5.3.0

From: Dries Michiels <driesm_at_FreeBSD.org>
Date: Sun, 26 Nov 2023 20:48:32 UTC
The branch main has been updated by driesm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cb121b6fc5e4425ce3b5a970ed468be3ce1474cb

commit cb121b6fc5e4425ce3b5a970ed468be3ce1474cb
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2023-11-26 20:08:17 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2023-11-26 20:48:07 +0000

    www/librespeed: update to 5.3.0
    
    Changes:        https://github.com/librespeed/speedtest/releases/tag/5.3.0
---
 www/librespeed/Makefile             | 5 +++--
 www/librespeed/distinfo             | 6 +++---
 www/librespeed/files/pkg-message.in | 2 +-
 www/librespeed/pkg-plist            | 5 ++++-
 4 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/www/librespeed/Makefile b/www/librespeed/Makefile
index 4a9753282841..510b4fda1d8d 100644
--- a/www/librespeed/Makefile
+++ b/www/librespeed/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	librespeed
-DISTVERSION=	5.2.5
+DISTVERSION=	5.3.0
 CATEGORIES=	www net
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
@@ -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
@@ -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>
diff --git a/www/librespeed/distinfo b/www/librespeed/distinfo
index aac79ac97f4f..990f551c55e8 100644
--- a/www/librespeed/distinfo
+++ b/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
diff --git a/www/librespeed/files/pkg-message.in b/www/librespeed/files/pkg-message.in
index 2f5c6db4e0ee..60db9a0916b2 100644
--- a/www/librespeed/files/pkg-message.in
+++ b/www/librespeed/files/pkg-message.in
@@ -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
diff --git a/www/librespeed/pkg-plist b/www/librespeed/pkg-plist
index 0595775c2b30..b006ab7f4e40 100644
--- a/www/librespeed/pkg-plist
+++ b/www/librespeed/pkg-plist
@@ -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
@@ -13,6 +12,7 @@
 %%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
@@ -20,12 +20,15 @@
 %%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