BSD Ports

www/librespeed 6.3.0 FreeBSD

Lightweight selfhosted speedtest

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
a10356a9cd
License
LGPL3
Categories
www, net
Package size
12144.5 KiB, 41948.1 KiB installed

Description

LibreSpeed is a very lightweight Speedtest. LibreSpeed is implemented in Javascript, using XMLHttpRequest and Web Workers. It can be self hosted with the option to store results in a backend database.

In the other systems

SystemPortVersion
FreeBSDwww/librespeed6.3.0
DragonFlywww/librespeed5.4.1

Install

Binary package:

pkg install librespeed-php82

From the ports tree:

cd /usr/ports/www/librespeed/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	librespeed-php82>0:www/librespeed

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.3.06.3.05.2.55.4.16.3.0
FreeBSD:14:quarterly6.3.06.3.0n/a5.4.16.3.0
FreeBSD:15:latest6.3.06.3.0n/a5.4.15.4.1
FreeBSD:15:quarterly6.3.06.3.0n/an/an/a
FreeBSD:16:latest6.3.06.3.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Run dependencies 9

No port depends on this one.

Configuration

Options name: www_librespeed

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
MYSQLoffMySQL database support
PGSQLoffPostgreSQL database support
SQLITEoffSQLite database support
USES
php:flavors,web
Service scripts
none
Flavors
librespeed-php83-6.3.0, librespeed-php84-6.3.0, librespeed-php85-6.3.0, librespeed-php86-6.3.0

Message after installing

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 preferred example from /usr/local/share/examples/librespeed to /usr/local/www/librespeed/index.html.
A default is provided. To use the backend (i.e. telemetry) feature, be sure to copy a -full example and rebuild
the port with backend support.

	cd /usr/local/share/examples/librespeed
	cp -a example-singleServer-full.html /usr/local/www/librespeed/index.html

The next step is to install and setup a web server with PHP to serve the content.

If you are uninstalling librespeed permanently,
and you do *NOT* want to retain the configured landing page and config files,
you should manually remove /usr/local/www/librespeed.

Files

pkg-plist 40
  • share/doc/librespeed-php82/doc.md
  • share/examples/librespeed-php82/example-multipleServers-full.html
  • share/examples/librespeed-php82/example-multipleServers-pretty.html
  • share/examples/librespeed-php82/example-singleServer-basic.html
  • share/examples/librespeed-php82/example-singleServer-chart.html
  • share/examples/librespeed-php82/example-singleServer-customSettings.html
  • share/examples/librespeed-php82/example-singleServer-gauges.html
  • share/examples/librespeed-php82/example-singleServer-modern.html
  • share/examples/librespeed-php82/example-singleServer-pretty.html
  • share/examples/librespeed-php82/example-singleServer-progressBar.html
  • @owner
  • @dir www/librespeed-php82/backend
  • www/librespeed-php82/backend/country_asn.mmdb
  • www/librespeed-php82/backend/empty.php
  • www/librespeed-php82/backend/garbage.php
  • www/librespeed-php82/backend/geoip2.phar
  • www/librespeed-php82/backend/getIP.php
  • www/librespeed-php82/backend/getIP_util.php
  • @sample www/librespeed-php82/backend/getIP_ipInfo_apikey.php.sample
  • @dir www/librespeed-php82/results
  • www/librespeed-php82/results/OpenSans-Light.ttf
  • www/librespeed-php82/results/OpenSans-Semibold.ttf
  • www/librespeed-php82/results/idObfuscation.php
  • www/librespeed-php82/results/index.php
  • www/librespeed-php82/results/json.php
  • www/librespeed-php82/results/sanitycheck.php
  • www/librespeed-php82/results/stats.php
  • www/librespeed-php82/results/telemetry.php
  • www/librespeed-php82/results/telemetry_db.php
  • www/librespeed-php82/results/telemetry_mssql.sql
  • www/librespeed-php82/results/telemetry_mysql.sql
  • www/librespeed-php82/results/telemetry_postgresql.sql
  • @sample www/librespeed-php82/results/telemetry_settings.php.sample
  • www/librespeed-php82/design-switch.js
  • www/librespeed-php82/favicon.ico
  • @sample www/librespeed-php82/index.html.sample
  • www/librespeed-php82/playwright.config.js
  • www/librespeed-php82/speedtest.js
  • www/librespeed-php82/speedtest_worker.js
  • www/librespeed-php82/stability_worker.js
distinfo 1
FileSizeSHA256
librespeed-speedtest-v6.3.0_GH0.tar.gz2.218919e+079b5bf8174d86530ebbb99ed33cc0ceac8cae8ff4d68ca4bf2f485542ec751c09

Commit history 3

DateCommitCreditsLog message
a10356a9cd Dries Michiels www/librespeed: update to 6.3.0
Changes: https://github.com/librespeed/speedtest/releases/tag/v6.3.0
f473911a5a Dries Michiels www/librespeed: update to 6.2.1
Changes: https://github.com/librespeed/speedtest/releases/tag/v6.2.1
38f1a6665d Dries Michiels www/librespeed: update to 6.2.0
Changes: https://github.com/librespeed/speedtest/releases/tag/v6.2.0