www/miniserve 0.35.0_5 FreeBSD
Ad-hoc HTTP server for file sharing
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
9c878207a1- License
- MIT
- Categories
- www
- Package size
- 2372.3 KiB, 5763.2 KiB installed
Description
Miniserve is a small self-contained ad-hoc HTTP server that allows you to quickly serve some files over HTTP.
Features:
- Easy to use
- Just works: Correct MIME types handling out of the box
- Single binary drop-in with no extra dependencies required
- Authentication support with username and password
- Fast and highly parallel (thanks to Rust and Actix)
It is an interesting alternative to some popular solutions:
- Python's built-in webserver: Needs to have Python installed, is low performance, and also does not handle MIME type correctly in some cases.
- netcat: Not as convenient to use and sending directories is nontrivial.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/miniserve | 0.35.0_5 |
| NetBSD | wip/miniserve | 0.35.0 |
| HardenedBSD | www/miniserve | 0.35.0_4 |
| GhostBSD | www/miniserve | 0.35.0_4 |
Install
Binary package:
pkg install miniserve
From the ports tree:
cd /usr/ports/www/miniserve/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= miniserve>0:www/miniserve
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.35.0_4 | 0.35.0_5 | - | 0.31.0 | - |
| FreeBSD:14:quarterly | 0.35.0_4 | 0.35.0_4 | n/a | 0.30.0 | - |
| FreeBSD:15:latest | 0.35.0_5 | 0.35.0_5 | n/a | 0.31.0 | - |
| FreeBSD:15:quarterly | 0.35.0_4 | 0.35.0_4 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.35.0_4 | 0.35.0_5 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Library 2
libonig.so: devel/onigurumalibzstd.so: archivers/zstd
The full lists below include those, and their dependencies in turn.
Build dependencies 13
Run dependencies 3
No port depends on this one.
Configuration
Options name: www_miniserve
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- cargo ssl:build
- Service scripts
- none
Files
distinfo 457
| File | Size | SHA256 |
|---|---|---|
| rust/crates/actix-codec-0.5.2.crate | 14085 | 5f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a |
| rust/crates/actix-files-0.6.10.crate | 47285 | df8c4f30e3272d7c345f88ae0aac3848507ef5ba871f9cc2a41c8085a0f0523b |
| rust/crates/actix-http-3.12.0.crate | 170689 | f860ee6746d0c5b682147b2f7f8ef036d4f92fe518251a3a35ffa3650eafdf0e |
| rust/crates/actix-macros-0.2.4.crate | 8380 | e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb |
| rust/crates/actix-multipart-0.7.2.crate | 44611 | d5118a26dee7e34e894f7e85aa0ee5080ae4c18bf03c0e30d49a80e418f00a53 |
| rust/crates/actix-multipart-derive-0.7.0.crate | 9530 | e11eb847f49a700678ea2fa73daeb3208061afa2b9d1a8527c03390f4c4a1c6b |
| rust/crates/actix-router-0.5.4.crate | 40683 | 14f8c75c51892f18d9c46150c5ac7beb81c95f78c8b83a634d49f4ca32551fe7 |
| rust/crates/actix-rt-2.11.0.crate | 22288 | 92589714878ca59a7626ea19734f0e07a6a875197eec751bb5d3f99e64998c63 |
| rust/crates/actix-server-2.6.0.crate | 42816 | a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502 |
| rust/crates/actix-service-2.0.3.crate | 28409 | 9e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f |
| rust/crates/actix-tls-3.5.0.crate | 49393 | 6176099de3f58fbddac916a7f8c6db297e021d706e7a6b99947785fee14abe9f |
| rust/crates/actix-utils-3.0.1.crate | 10096 | 88a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8 |
| rust/crates/actix-web-4.13.0.crate | 268857 | ff87453bc3b56e9b2b23c1cc0b1be8797184accf51d2abe0f8a33ec275d316bf |
| rust/crates/actix-web-codegen-4.3.0.crate | 20382 | f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8 |
| rust/crates/actix-web-httpauth-0.8.2.crate | 31612 | 456348ed9dcd72a13a1f4a660449fafdecee9ac8205552e286809eb5b0b29bd3 |
| rust/crates/adler2-2.0.1.crate | 13366 | 320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa |
| rust/crates/adler32-1.2.0.crate | 6411 | aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234 |
| rust/crates/ahash-0.8.12.crate | 43413 | 5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75 |
| rust/crates/aho-corasick-1.1.4.crate | 184015 | ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301 |
| rust/crates/alloc-no-stdlib-2.0.4.crate | 10105 | cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3 |