Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2021 21:52:52 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0bf5aa7c4869 - main - www/librespeed: add missing dependencies
Message-ID:  <202106292152.15TLqqv2026232@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

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

commit 0bf5aa7c48694c5d7bfe3855685791d354370813
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-06-29 21:47:59 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-06-29 21:52:42 +0000

    www/librespeed: add missing dependencies
    
    Add some PHP dependencies required by this port.
    
    Tweak the pkg-message output to hint that telemetry requires configuration
    settings at build time.
    
    PR:             256891
    Reported by:    dvl
---
 www/librespeed/Makefile             | 5 ++++-
 www/librespeed/files/pkg-message.in | 3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/www/librespeed/Makefile b/www/librespeed/Makefile
index fbee48b3acc9..89d8975ac0d5 100644
--- a/www/librespeed/Makefile
+++ b/www/librespeed/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	librespeed
 DISTVERSION=	5.2.4
+PORTREVISION=	1
 CATEGORIES=	www net
 PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
@@ -11,6 +12,8 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		php:flavors,web
 
+USE_PHP=	ctype json openssl pdo session
+
 USE_GITHUB=	YES
 GH_PROJECT=	speedtest
 
@@ -25,7 +28,7 @@ OPTIONS_DEFINE=	DOCS EXAMPLES
 OPTIONS_RADIO=		BACKEND
 OPTIONS_RADIO_BACKEND=	MYSQL PGSQL SQLITE
 
-MYSQL_USE=	PHP=mysqli
+MYSQL_USE=	PHP=pdo_mysql
 PGSQL_USE=	PHP=pdo_pgsql
 SQLITE_USE=	PHP=pdo_sqlite
 
diff --git a/www/librespeed/files/pkg-message.in b/www/librespeed/files/pkg-message.in
index c7f741ff23af..2f5c6db4e0ee 100644
--- a/www/librespeed/files/pkg-message.in
+++ b/www/librespeed/files/pkg-message.in
@@ -5,7 +5,8 @@ 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 feature, be sure to copy a -full example and rebuild the port with backend support.
+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
 	cp -a example-singleServer-full.html %%PREFIX%%/www/librespeed/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106292152.15TLqqv2026232>