BSD Ports

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

SystemPortVersion
FreeBSDwww/miniserve0.35.0_5
NetBSDwip/miniserve0.35.0
HardenedBSDwww/miniserve0.35.0_4
GhostBSDwww/miniserve0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.35.0_40.35.0_5-0.31.0-
FreeBSD:14:quarterly0.35.0_40.35.0_4n/a0.30.0-
FreeBSD:15:latest0.35.0_50.35.0_5n/a0.31.0-
FreeBSD:15:quarterly0.35.0_40.35.0_4n/an/an/a
FreeBSD:16:latest0.35.0_40.35.0_5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 2

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

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cargo ssl:build
Service scripts
none

Files

distinfo 457
FileSizeSHA256
rust/crates/actix-codec-0.5.2.crate140855f7b0a21988c1bf877cf4759ef5ddaac04c1c9fe808c9142ecb78ba97d97a28a
rust/crates/actix-files-0.6.10.crate47285df8c4f30e3272d7c345f88ae0aac3848507ef5ba871f9cc2a41c8085a0f0523b
rust/crates/actix-http-3.12.0.crate170689f860ee6746d0c5b682147b2f7f8ef036d4f92fe518251a3a35ffa3650eafdf0e
rust/crates/actix-macros-0.2.4.crate8380e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb
rust/crates/actix-multipart-0.7.2.crate44611d5118a26dee7e34e894f7e85aa0ee5080ae4c18bf03c0e30d49a80e418f00a53
rust/crates/actix-multipart-derive-0.7.0.crate9530e11eb847f49a700678ea2fa73daeb3208061afa2b9d1a8527c03390f4c4a1c6b
rust/crates/actix-router-0.5.4.crate4068314f8c75c51892f18d9c46150c5ac7beb81c95f78c8b83a634d49f4ca32551fe7
rust/crates/actix-rt-2.11.0.crate2228892589714878ca59a7626ea19734f0e07a6a875197eec751bb5d3f99e64998c63
rust/crates/actix-server-2.6.0.crate42816a65064ea4a457eaf07f2fba30b4c695bf43b721790e9530d26cb6f9019ff7502
rust/crates/actix-service-2.0.3.crate284099e46f36bf0e5af44bdc4bdb36fbbd421aa98c79a9bce724e1edeb3894e10dc7f
rust/crates/actix-tls-3.5.0.crate493936176099de3f58fbddac916a7f8c6db297e021d706e7a6b99947785fee14abe9f
rust/crates/actix-utils-3.0.1.crate1009688a1dcdff1466e3c2488e1cb5c36a71822750ad43839937f85d2f4d9f8b705d8
rust/crates/actix-web-4.13.0.crate268857ff87453bc3b56e9b2b23c1cc0b1be8797184accf51d2abe0f8a33ec275d316bf
rust/crates/actix-web-codegen-4.3.0.crate20382f591380e2e68490b5dfaf1dd1aa0ebe78d84ba7067078512b4ea6e4492d622b8
rust/crates/actix-web-httpauth-0.8.2.crate31612456348ed9dcd72a13a1f4a660449fafdecee9ac8205552e286809eb5b0b29bd3
rust/crates/adler2-2.0.1.crate13366320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa
rust/crates/adler32-1.2.0.crate6411aae1277d39aeec15cb388266ecc24b11c80469deae6067e17a1a7aa9e5c1f234
rust/crates/ahash-0.8.12.crate434135a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75
rust/crates/aho-corasick-1.1.4.crate184015ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301
rust/crates/alloc-no-stdlib-2.0.4.crate10105cc7bb162ec39d46ab1ca8c77bf72e890535becd1751bb45f64c597edb4c8c6b3

Commit history 3

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645