diff options
author | Dan Langille <dvl@FreeBSD.org> | 2021-06-29 21:47:59 +0000 |
---|---|---|
committer | Dan Langille <dvl@FreeBSD.org> | 2021-06-29 21:52:42 +0000 |
commit | 0bf5aa7c48694c5d7bfe3855685791d354370813 (patch) | |
tree | 6689cb82f57705370e382faa3d292598e9f1ed1f | |
parent | efd9e82b3bcada6d51eff5509af186eb4ec48fec (diff) | |
download | ports-0bf5aa7c48694c5d7bfe3855685791d354370813.tar.gz ports-0bf5aa7c48694c5d7bfe3855685791d354370813.zip |
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
-rw-r--r-- | www/librespeed/Makefile | 5 | ||||
-rw-r--r-- | 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 |