miniserve is a small, self-contained cross-platform CLI tool that allows you to just grab the binary and serve some file(s) via HTTP. Sometimes this is just a more practical and quick way than doing things properly. Key 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 - Mega fast and highly parallel (thanks to Rust and Actix) ---- QA: - portlint -AC - manual testing on 12.0-CURRENT r333659
Created attachment 193498 [details] Patch adding a new www/miniserve port (v0.1.5)
~ > make fetch ===> License not correctly defined: for unknown licenses, defining LICENSE_NAME_UNKNOWNRING is mandatory (otherwise use a known LICENSE) make: exec(exit) failed (No such file or directory) *** Error code 1 Stop. make: stopped in /poudriere/ports/default/www/miniserve
Created attachment 193653 [details] Patch adding a new www/miniserve port (v0.1.5, revision: 1) I'm sorry. I should have tested it more thoroughly. Here's an updated patch. BTW, that license could be viewed here: https://crates.io/crates/ring
https://krion.cc/data/head-amd64-default/2018-05-24_18h25m00s/logs/errors/miniserve-0.1.5.log
(In reply to Kirill Ponomarev from comment #4) Mmmm, I've never seen that. I'll try to get access to a faster build machine then. It looks like miniserve dependencies are somewhat special and require more testing than most Rust ports. I'll report back once I've got the port to build and run reliably. Thank you for your patience.
(In reply to Mateusz Piotrowski from comment #5) The problem likely is that the backtrace-sys crate expects gmake in the build environment. It should just build now after ports r472373 since gmake is now added as a build dependency on the framework level by cargo.mk.
This is several versions out of date. Is this still going anywhere?
A commit references this bug: Author: tobik Date: Sat May 11 05:58:43 UTC 2019 New revision: 501222 URL: https://svnweb.freebsd.org/changeset/ports/501222 Log: New port: www/miniserve 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 types correctly in some cases. - netcat: Not as convenient to use and sending directories is nontrivial. WWW: https://github.com/svenstaro/miniserve PR: 228324 Submitted by: 0mp (miniserve 0.1.5) Changes: head/www/Makefile head/www/miniserve/ head/www/miniserve/Makefile head/www/miniserve/distinfo head/www/miniserve/pkg-descr