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
(cherry picked from commit 0bf5aa7c48
)
This commit is contained in:
parent
995bdac5ba
commit
e34785f48f
@ -1,6 +1,7 @@
|
||||
|
||||
PORTNAME= librespeed
|
||||
DISTVERSION= 5.2.4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www net
|
||||
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
|
||||
|
||||
@ -12,6 +13,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= php:flavors,web
|
||||
|
||||
USE_PHP= ctype json openssl pdo session
|
||||
|
||||
USE_GITHUB= YES
|
||||
GH_PROJECT= speedtest
|
||||
|
||||
@ -26,7 +29,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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user