Date: Tue, 16 Jun 2020 01:51:42 +0000 (UTC) From: Koichiro Iwao <meta@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r539310 - in head/www/librespeed: . files Message-ID: <202006160151.05G1pg8e063699@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <driesm.michiels@gmail.com> (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: <<EOM +If you are uninstalling librespeed permanently, +and you do *NOT* want to retain the configured landing page and config files, +you should manually remove %%WWWDIR%%. EOM } ]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006160151.05G1pg8e063699>