BSD Ports

net/librespeed-go 1.1.5_45 FreeBSD

GO backend for LibreSpeed

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
LGPL3
Categories
net, www
Package size
4401.1 KiB, 13816.4 KiB installed

Description

LibreSpeed-go is a very lightweight speed test. Is is implemented in JavaScript, using XMLHttpRequest and Web Workers. This port uses GO as backend for hosting. And this in comparison to www/librespeed where PHP and a web server are required.

In the other systems

SystemPortVersion
FreeBSDnet/librespeed-go1.1.5_45
DragonFlynet/librespeed-go1.1.3

Install

Binary package:

pkg install librespeed-go

From the ports tree:

cd /usr/ports/net/librespeed-go/ && make install clean

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

RUN_DEPENDS=	librespeed-go>0:net/librespeed-go

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:latest1.1.5_441.1.5_44-1.1.5_271.1.5_44
FreeBSD:14:quarterly1.1.5_441.1.5_44n/a1.1.5_251.1.5_44
FreeBSD:15:latest1.1.5_441.1.5_44n/a-1.1.5_27
FreeBSD:15:quarterly1.1.5_441.1.5_44n/an/an/a
FreeBSD:16:latest1.1.5_431.1.5_44n/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.

Build dependencies 1

No port depends on this one.

Configuration

Options name: net_librespeed-go

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
go:modules
Service scripts
librespeed-go

Message after installing

Copy your preferred example from /usr/local/share/examples/librespeed-go to
/usr/local/www/librespeed-go/index.html.
To use the backend feature, be sure to copy a -full example.
	cd /usr/local/share/examples/librespeed-go
	cp -a example-singleServer-full.html /usr/local/www/librespeed-go/index.html

To automatically start librespeed-go at boot time:
        sysrc librespeed_go_enable="YES"

To start the service directly:
        service librespeed-go start

By default, librespeed-go daemon runs under user privilege so it cannot listen
on the standard http port 80/tcp. You can expose 80/tcp to the daemon using
packet forwarding by ipfw like below (recommended):
	ipfw add fwd 127.0.0.1,8989 tcp from any to me 80 in

Alternatively, you can configure the daemon to listen on 80/tcp if it is
running with root privileges. 
	sysrc librespeed_go_user=root

If you are uninstalling librespeed-go permanently, and you do *NOT* want to
retain the speedtest database and other your configured landing page, you
should manually remove folliwing directories:
    - /var/db/librespeed-go
    - /usr/local/www/librespeed-go

Files

pkg-plist 18
  • bin/librespeed-go
  • @sample etc/librespeed-go/settings.toml.sample
  • share/examples/librespeed-go/example-multipleServers-full.html
  • share/examples/librespeed-go/example-multipleServers-pretty.html
  • share/examples/librespeed-go/example-singleServer-basic.html
  • share/examples/librespeed-go/example-singleServer-chart.html
  • share/examples/librespeed-go/example-singleServer-customSettings.html
  • share/examples/librespeed-go/example-singleServer-full.html
  • share/examples/librespeed-go/example-singleServer-gauges.html
  • share/examples/librespeed-go/example-singleServer-pretty.html
  • share/examples/librespeed-go/example-singleServer-progressBar.html
  • share/examples/librespeed-go/index.html
  • www/librespeed-go/speedtest.js
  • www/librespeed-go/speedtest_worker.js
  • @owner
  • @group
  • @dir /var/db/librespeed-go
  • @dir /var/run/librespeed-go
distinfo 3
FileSizeSHA256
go/net_librespeed-go/librespeed-go-v1.1.5/v1.1.5.mod856aaaaa4b204e0b72fce3edc5b83d5180fa8e980a32f152b241f3600983763672f
go/net_librespeed-go/librespeed-go-v1.1.5/v1.1.5.zip2.293935e+06b2640d3cc90f82a7656cfd7fe1d3c4edf560bcf7b83c13303245f7675a1c7850
go/net_librespeed-go/librespeed-go-v1.1.5/golang-sys-v0.6.0_GH0.tar.gz1.434234e+06b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54

Commit history 6

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7
6d39dcf04e Dag-Erling Smørgrav various: Bump go ports for go-1.25.13 / 1.26.6

The latest 5 of 6 in the history this site was built from.