notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
miniserve Ad-hoc HTTP server for file sharing
0.14.0_2 www on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.14.0_2Version of this port present on the latest quarterly branch.
Maintainer: mikael@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-05-11 05:58:59
Last Update: 2021-06-28 19:35:01
Commit Hash: d5ca695
License: APACHE20 BSD3CLAUSE CC0-1.0 ISCL MIT MPL20 UNLICENSE
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (10 items)
Collapse this list.
  1. bin/miniserve
  2. /usr/local/share/licenses/miniserve-0.14.0_2/catalog.mk
  3. /usr/local/share/licenses/miniserve-0.14.0_2/LICENSE
  4. /usr/local/share/licenses/miniserve-0.14.0_2/APACHE20
  5. /usr/local/share/licenses/miniserve-0.14.0_2/BSD3CLAUSE
  6. /usr/local/share/licenses/miniserve-0.14.0_2/CC0-1.0
  7. /usr/local/share/licenses/miniserve-0.14.0_2/ISCL
  8. /usr/local/share/licenses/miniserve-0.14.0_2/MIT
  9. /usr/local/share/licenses/miniserve-0.14.0_2/MPL20
  10. /usr/local/share/licenses/miniserve-0.14.0_2/UNLICENSE
Collapse this list.
Dependency lines:
  • miniserve>0:www/miniserve
To install the port: cd /usr/ports/www/miniserve/ && make install clean
To add the package, run one of these commands:
  • pkg install www/miniserve
  • pkg install miniserve
PKGNAME: miniserve
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
miniserve
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd640.14.0_20.14.0_2
FreeBSD:11:armv6--
FreeBSD:11:i3860.14.0_20.14.0_2
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-0.14.0_2
FreeBSD:12:amd640.14.0_20.14.0_2
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3860.14.0_20.14.0_2
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-0.12.0_2
FreeBSD:13:aarch64-0.14.0_2
FreeBSD:13:amd640.14.0_20.14.0_2
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3860.14.0_20.14.0_2
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc640.10.4_10.14.0_2
FreeBSD:14:aarch640.14.0_2-
FreeBSD:14:amd640.14.0_2-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3860.14.0_2-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc640.13.0-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. rust>=1.53.0 : lang/rust
  2. pkgconf>=1.3.0_1 : devel/pkgconf
There are no ports dependent upon this port

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/svenstaro/miniserve/tar.gz/v0.14.0?dummy=/
Collapse this list.

Number of commits found: 43

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
28 Jun 2021 19:35:01
 files touched by this commit commit hash:d5ca695b55b1a19a95e85c2870a25362273fcea9  0.14.0_2
pkubaj search for other commits by this committer
*/*: fix all ports using Rust on powerpc that fail due to libc

This commit backports
https://github.com/rust-lang/libc/commit/a66f7c1eb26ad890c8169d8395e3042bcf776f01
to various ports.
It doesn't bring that backport to ports that fail to build anyway.
27 Jun 2021 05:39:51
 files touched by this commit commit hash:06dbc12f96527e421161f573b6f983c8cfb0391c  0.14.0_2
tobik search for other commits by this committer
lang/rust: Rebuild consumers for 1.53.0
11 May 2021 18:33:12
 files touched by this commit commit hash:28e7a9334a30b9ace65539f22940d2d7831bad1e  0.14.0_1
tobik search for other commits by this committer
Rebuild lang/rust consumers after d8837418ea743776
23 Apr 2021 06:50:51
 files touched by this commit commit hash:6d11471a729b3d3c03a0db6b49856e615bc649e5  0.14.0
mikael search for other commits by this committer
www/miniserve: Update to 0.14.0

Changes: https://github.com/svenstaro/miniserve/releases/tag/v0.14.0
12 Apr 2021 16:12:23
 files touched by this commit commit hash:20c9cae15a72da8f0b0c024aaf0e33e7fb728920  0.13.0
mikael search for other commits by this committer
www/miniserve: Update to 0.13.0

Changes: https://github.com/svenstaro/miniserve/releases/tag/v0.13.0
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.12.0_2
mat search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.12.0_2
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
29 Mar 2021 18:10:46
Original commit files touched by this commit Revision:569491  0.12.0_2
tobik search for other commits by this committer
Rebuild lang/rust consumers after r569489
27 Mar 2021 16:58:07
Original commit files touched by this commit Revision:569339  0.12.0_1
tobik search for other commits by this committer
www/miniserve: Unbreak build with Rust 1.51.0 (D29425)

error[E0432]: unresolved import `core::task::Wake`
   -->
/wrkdirs/usr/ports/www/miniserve/work/miniserve-0.12.0/cargo-crates/standback-0.2.16/src/lib.rs:520:13
    |
520 |     pub use core::task::Wake;
    |             ^^^^^^^^^^^^----
    |             |           |
    |             |           help: a similar name exists in the module (notice
the capitalization): `wake`
    |             no `Wake` in `task`

http://package23.nyi.freebsd.org/data/114i386-default-foo/2021-03-26_19h05m55s/logs/errors/miniserve-0.12.0.log

PR:		254578
25 Mar 2021 08:53:38
Original commit files touched by this commit Revision:569187  0.12.0
mikael search for other commits by this committer
www/miniserve: Update to 0.12.0

Changes: https://github.com/svenstaro/miniserve/releases/tag/v0.12.0
03 Mar 2021 12:17:23
Original commit files touched by this commit Revision:567077  0.11.0
mikael search for other commits by this committer
www/miniserve: Update to v0.11.0

Changes: https://github.com/svenstaro/miniserve/releases/tag/v0.11.0
14 Feb 2021 15:45:11
Original commit files touched by this commit Revision:565245  0.10.4_2
mikael search for other commits by this committer
lang/rust: Update to 1.50.0

  - Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
06 Jan 2021 10:13:59
Original commit files touched by this commit Revision:560492  0.10.4_1
mikael search for other commits by this committer
lang/rust: Update to 1.49.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D27940
05 Jan 2021 14:49:46
Original commit files touched by this commit Revision:560400  0.10.4
mikael search for other commits by this committer
www/miniserve: Update to v0.10.4

Changes: https://github.com/svenstaro/miniserve/releases/tag/v0.10.4
24 Nov 2020 12:48:54
Original commit files touched by this commit Revision:556157  0.10.3_1
mikael search for other commits by this committer
lang/rust: Update to 1.48.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
11 Nov 2020 08:58:32
Original commit files touched by this commit Revision:554882  0.10.3
mikael search for other commits by this committer
www/miniserve: Update to 0.10.3

Changelog:
  https://github.com/svenstaro/miniserve/releases/tag/v0.10.3
26 Oct 2020 20:04:28
Original commit files touched by this commit Revision:553381  0.10.0
mikael search for other commits by this committer
www/miniserve: update to 0.10.0

remove ONLY_FOR_ARCHS, it builds fine on armv7/aarch64 and ppc64

Changelog:
  https://github.com/svenstaro/miniserve/releases/tag/v0.10.0
26 Oct 2020 16:54:16
Original commit files touched by this commit Revision:553367  0.9.0_1
mikael search for other commits by this committer
Take maintainership
13 Oct 2020 08:36:35
Original commit files touched by this commit Revision:552221  0.9.0_1
mikael search for other commits by this committer
lang/rust: Update to 1.47.0

  - Add powerpc64le arch (submitted by bdragon in D26711)
  - Disable DOCS, same problem fixed in r546048

  - Update devel/racer to 2.1.36
  - Import upstream patch to fix www/firefox
    (https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
  - Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
   
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
  - Force rebuild all consumers to catch regressions

Changelog:
  https://github.com/rust-lang/rust/releases/tag/1.47.0

Differential Revision:	https://reviews.freebsd.org/D26721
28 Sep 2020 05:05:25
Original commit files touched by this commit Revision:550400  0.9.0
tobik search for other commits by this committer
Reset MAINTAINER
20 Sep 2020 12:43:47
Original commit files touched by this commit Revision:549104  0.9.0
tobik search for other commits by this committer
www/miniserve: Update to v0.9.0

Changes:	https://github.com/svenstaro/miniserve/blob/v0.9.0/CHANGELOG.md
30 Aug 2020 18:36:08
Original commit files touched by this commit Revision:547071  0.8.0_3
tobik search for other commits by this committer
lang/rust: Update to 1.46.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D26176
03 Aug 2020 15:18:49
Original commit files touched by this commit Revision:544073  0.8.0_2
tobik search for other commits by this committer
lang/rust: Update to 1.45.2

Changes:	https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
30 Jul 2020 18:26:54
Original commit files touched by this commit Revision:543815  0.8.0_1
tobik search for other commits by this committer
lang/rust: Update to 1.45.1

- Apply the "hard links break `env::current_exe()`" workaround from
  r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0

Changes:	https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25835
22 Jul 2020 10:23:28
Original commit files touched by this commit Revision:542849  0.8.0
tobik search for other commits by this committer
www/miniserve: Update to v0.8.0

Changes:	https://github.com/svenstaro/miniserve/blob/v0.8.0/CHANGELOG.md
17 Jul 2020 06:44:04
Original commit files touched by this commit Revision:542412  0.7.0_2
tobik search for other commits by this committer
lang/rust: Update to 1.45.0

- This Rust release comes with LLVM 10.  Drop the LLVM patches we
  no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
  Rust target instead of patching LLVM.
- Build LLVM with Ninja.  It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25658
04 Jun 2020 18:08:01
Original commit files touched by this commit Revision:537917  0.7.0_1
tobik search for other commits by this committer
lang/rust: Update to 1.44.0

- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR:		246332 [1]
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25099
18 May 2020 18:20:43
Original commit files touched by this commit Revision:535766  0.7.0
tobik search for other commits by this committer
www/miniserve: Update to v0.7.0

Changes:	https://github.com/svenstaro/miniserve/blob/v0.7.0/CHANGELOG.md
23 Apr 2020 15:32:30
Original commit files touched by this commit Revision:532685  0.6.0_1
tobik search for other commits by this committer
lang/rust: Update to 1.43.0

- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR:		238556 [1], 245583 [2]
Reported by:	Matthias Apitz <guru@unixarea.de> [1], Greg V
<greg@unrelenting.technology> [2]
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24521
17 Mar 2020 23:09:17
Original commit files touched by this commit Revision:528611  0.6.0
tobik search for other commits by this committer
www/miniserve: Update to v0.6.0

Changes:	https://github.com/svenstaro/miniserve/releases/tag/v0.6.0
12 Mar 2020 19:39:25
Original commit files touched by this commit Revision:528318  0.5.0_8
tobik search for other commits by this committer
lang/rust: Update to 1.42.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24020
27 Feb 2020 15:22:29
Original commit files touched by this commit Revision:527260  0.5.0_7
tobik search for other commits by this committer
lang/rust: Update to 1.41.1

- Force rebuild all consumers to fix potential miscompilations with
  1.41.0
- Enable SOURCES by default.  The sources are indexed by RLS and
  required for it to function properly, so they should be available
  by default.  This also makes sure we test the option properly.
- Remove implied --config=config.toml from x.py args
- Switch to the upstreamed backtrace crate patches like rust-nightly
- Enable WASM by default [0]
- Strip libraries (D23650) [1]
- Simplify plist generation (D23735) [2]

Changes:	https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html
Submitted by:	mikael [0,1,2]
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23835
30 Jan 2020 20:00:07
Original commit files touched by this commit Revision:524658  0.5.0_6
tobik search for other commits by this committer
lang/rust: Update to 1.41.0

- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
  architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
  produce more useful failure logs when something panics during
  builds

Changes:	https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23385
19 Dec 2019 16:14:49
Original commit files touched by this commit Revision:520446  0.5.0_5
tobik search for other commits by this committer
lang/rust: Update to 1.40.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22843
07 Nov 2019 18:07:20
Original commit files touched by this commit Revision:516995  0.5.0_4
tobik search for other commits by this committer
lang/rust: Update to 1.39.0

- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240
27 Sep 2019 09:35:21
Original commit files touched by this commit Revision:513013  0.5.0_3
tobik search for other commits by this committer
lang/rust: Update to 1.38.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html
Tested by:	jbeich, mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21778
15 Aug 2019 14:30:16
Original commit files touched by this commit Revision:508994  0.5.0_2
tobik search for other commits by this committer
lang/rust: Update to 1.37.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html
Tested by:	jbeich, tobik, greg@unrelenting.technology (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21247
04 Jul 2019 14:41:57
Original commit files touched by this commit Revision:505837  0.5.0_1
tobik search for other commits by this committer
lang/rust: Update to 1.36.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/07/04/Rust-1.36.0.html
Tested by:	jbeich, mikael.urankar@gmail.com
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D20810
25 Jun 2019 05:14:29
Original commit files touched by this commit Revision:505070  0.5.0
tobik search for other commits by this committer
www/miniserve: Update to 0.5.0

Changes:	https://github.com/svenstaro/miniserve/blob/v0.5.0/CHANGELOG.md
24 May 2019 03:25:12
Original commit files touched by this commit Revision:502416  0.4.1_2
tobik search for other commits by this committer
lang/rust: Update to 1.35.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/05/23/Rust-1.35.0.html
Reviewed by:	jbeich
Tested by:	pkubaj (powerpc64), mikael.urankar@gmail.com (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D20332
23 May 2019 06:04:31
Original commit files touched by this commit Revision:502309  0.4.1_1
tobik search for other commits by this committer
www/miniserve: Mark as only for amd64 and i386

The ring crate does not yet support other architectures on FreeBSD.
arm support seems to exist for Linux but is not enabled on FreeBSD.
powerpc64 support seems to be in progress but also only for Linux.

http://pylon.nyi.freebsd.org/data/head-powerpc64-default/p501607_s347555/logs/errors/miniserve-0.4.1.log
15 May 2019 03:12:15
Original commit files touched by this commit Revision:501679  0.4.1_1
tobik search for other commits by this committer
lang/rust: Update to 1.34.2

- While here add patches from [1] for LibreSSL 2.9.1 support

[1] https://github.com/sfackler/rust-openssl/pull/1097

Changes:	https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes:	https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR:		237495 [1]
Security:	37528379-76a8-11e9-a4fd-00012e582166
11 May 2019 05:58:42
Original commit files touched by this commit Revision:501222  0.4.1
tobik search for other commits by this committer
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)

Number of commits found: 43