From owner-svn-ports-all@freebsd.org Tue Jun 16 01:51:42 2020 Return-Path: Delivered-To: svn-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 CC71734A520; Tue, 16 Jun 2020 01:51:42 +0000 (UTC) (envelope-from meta@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49mB5B4w8Xz46gf; Tue, 16 Jun 2020 01:51:42 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A3FB627405; Tue, 16 Jun 2020 01:51:42 +0000 (UTC) (envelope-from meta@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05G1pga9063701; Tue, 16 Jun 2020 01:51:42 GMT (envelope-from meta@FreeBSD.org) Received: (from meta@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05G1pg8e063699; Tue, 16 Jun 2020 01:51:42 GMT (envelope-from meta@FreeBSD.org) Message-Id: <202006160151.05G1pg8e063699@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: meta set sender to meta@FreeBSD.org using -f From: Koichiro Iwao Date: Tue, 16 Jun 2020 01:51:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r539310 - in head/www/librespeed: . files X-SVN-Group: ports-head X-SVN-Commit-Author: meta X-SVN-Commit-Paths: in head/www/librespeed: . files X-SVN-Commit-Revision: 539310 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2020 01:51:42 -0000 Author: meta Date: Tue Jun 16 01:51:41 2020 New Revision: 539310 URL: https://svnweb.freebsd.org/changeset/ports/539310 Log: www/librespeed: Improve pkg-message PR: 247203 Submitted by: Dries Michiels (maintainer) Added: head/www/librespeed/files/ head/www/librespeed/files/pkg-message.in - copied, changed from r539309, head/www/librespeed/pkg-message Deleted: head/www/librespeed/pkg-message Modified: head/www/librespeed/Makefile Modified: head/www/librespeed/Makefile ============================================================================== --- head/www/librespeed/Makefile Tue Jun 16 01:50:37 2020 (r539309) +++ head/www/librespeed/Makefile Tue Jun 16 01:51:41 2020 (r539310) @@ -20,6 +20,7 @@ NO_BUILD= YES NO_ARCH= YES PLIST_SUB= LIBRESPEED_USERNAME=${WWWOWN} +SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES Copied and modified: head/www/librespeed/files/pkg-message.in (from r539309, head/www/librespeed/pkg-message) ============================================================================== --- head/www/librespeed/pkg-message Tue Jun 16 01:50:37 2020 (r539309, copy source) +++ head/www/librespeed/files/pkg-message.in Tue Jun 16 01:51:41 2020 (r539310) @@ -4,13 +4,20 @@ You can mostly follow the guide on: https://fdossena.com/speedtest/qs_v5_ubuntu1904.webm For more advanced docs: https://github.com/librespeed/speedtest/blob/master/doc.md -Copy your prefered example from ${PREFIX}/share/examples/librespeed to ${PREFIX}/www/librespeed/index.html. +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. - cd ${PREFIX}/share/examples/librespeed - cp -a example-singleServer-full.html ${PREFIX}/www/librespeed/index.html + cd %%PREFIX%%/share/examples/librespeed + cp -a example-singleServer-full.html %%PREFIX%%/www/librespeed/index.html The next step is to install and setup a web server with PHP to serve the content. +EOM +} +{ type: remove + message: <