From owner-dev-commits-ports-all@freebsd.org Wed Jun 30 01:13:50 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 144A7658455; Wed, 30 Jun 2021 01:13:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GF3JY739Bz3HfN; Wed, 30 Jun 2021 01:13:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DA3532398D; Wed, 30 Jun 2021 01:13:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15U1DnHX091914; Wed, 30 Jun 2021 01:13:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15U1DnFC091913; Wed, 30 Jun 2021 01:13:49 GMT (envelope-from git) Date: Wed, 30 Jun 2021 01:13:49 GMT Message-Id: <202106300113.15U1DnFC091913@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dan Langille Subject: git: e34785f48f2e - 2021Q2 - www/librespeed: add missing dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dvl X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q2 X-Git-Reftype: branch X-Git-Commit: e34785f48f2eac31014d722e58fa7e84e031245d Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 01:13:50 -0000 The branch 2021Q2 has been updated by dvl: URL: https://cgit.FreeBSD.org/ports/commit/?id=e34785f48f2eac31014d722e58fa7e84e031245d commit e34785f48f2eac31014d722e58fa7e84e031245d Author: Dan Langille AuthorDate: 2021-06-29 21:47:59 +0000 Commit: Dan Langille CommitDate: 2021-06-30 00:46:35 +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 (cherry picked from commit 0bf5aa7c48694c5d7bfe3855685791d354370813) --- 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 b5e540c39736..ada87ee1ca5f 100644 --- a/www/librespeed/Makefile +++ b/www/librespeed/Makefile @@ -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 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