diff --git a/www/librespeed/Makefile b/www/librespeed/Makefile index e1206b5b366a..3fc881bc2bc3 100644 --- a/www/librespeed/Makefile +++ b/www/librespeed/Makefile @@ -1,56 +1,56 @@ PORTNAME= librespeed -DISTVERSION= 5.3.3 +DISTVERSION= 5.4.0 CATEGORIES= www net PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= driesm@FreeBSD.org COMMENT= Lightweight selfhosted speedtest WWW= https://github.com/librespeed/speedtest LICENSE= LGPL3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= php:flavors,web USE_PHP= ctype pdo session USE_GITHUB= YES GH_PROJECT= speedtest NO_ARCH= YES NO_BUILD= YES SUB_FILES= pkg-message PLIST_SUB= LIBRESPEED_USERNAME=${WWWOWN} OPTIONS_DEFINE= DOCS EXAMPLES OPTIONS_RADIO= BACKEND OPTIONS_RADIO_BACKEND= MYSQL PGSQL SQLITE MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql 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 cd ${WRKSRC}/results && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/results ${INSTALL_DATA} ${WRKSRC}/results/telemetry_settings.php \ ${STAGEDIR}${WWWDIR}/results/telemetry_settings.php.sample ${INSTALL_DATA} ${WRKSRC}/backend/getIP_ipInfo_apikey.php \ ${STAGEDIR}${WWWDIR}/backend/getIP_ipInfo_apikey.php.sample post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc.md ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -a ${WRKSRC}/examples/*.html ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/www/librespeed/distinfo b/www/librespeed/distinfo index d38b483953c0..b1e9eedd111c 100644 --- a/www/librespeed/distinfo +++ b/www/librespeed/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1717315307 -SHA256 (librespeed-speedtest-5.3.3_GH0.tar.gz) = 62131e26788599fbc53552ec012886cda9dc784ebda996808bce3081b15fc9f8 -SIZE (librespeed-speedtest-5.3.3_GH0.tar.gz) = 2132702 +TIMESTAMP = 1722968476 +SHA256 (librespeed-speedtest-5.4.0_GH0.tar.gz) = 66d84e7721accb4cd486fa9b4ad690f8170b187ad7a4b8961969114355ba9626 +SIZE (librespeed-speedtest-5.4.0_GH0.tar.gz) = 21994312 diff --git a/www/librespeed/pkg-plist b/www/librespeed/pkg-plist index b006ab7f4e40..6cd866e4676b 100644 --- a/www/librespeed/pkg-plist +++ b/www/librespeed/pkg-plist @@ -1,34 +1,36 @@ %%PORTDOCS%%%%DOCSDIR%%/doc.md %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-full.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-multipleServers-pretty.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-basic.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-chart.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-customSettings.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-gauges.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-pretty.html %%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-singleServer-progressBar.html @owner %%LIBRESPEED_USERNAME%% @dir %%WWWDIR%%/backend +%%WWWDIR%%/backend/country_asn.mmdb %%WWWDIR%%/backend/empty.php %%WWWDIR%%/backend/garbage.php +%%WWWDIR%%/backend/geoip2.phar %%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