CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

www/mohawk 2.1.1

Simple and lightweight HTTP daemon

Port info

Maintainer
dsx+mohawk@bsdsx.fr
Packages
latest: 2.1.1
Upstream
up to date
Last update
to 2.1.1 · ec974a8f47
Quarterly
2026Q4: 2.1.1
WWW
https://fossil.bsdsx.fr/mohawk
Links
cgit · VuXML

Install

Package
# pkg install mohawk
installs 2.1.1 from latest; from quarterly (2026Q4) 2.1.1
Port
# cd /usr/ports/www/mohawk && make install clean
# make -C /usr/ports/www/mohawk config  # change options first
Size
44 KiB download · 100 KiB installed
Depends on
devel/libevent 2.1.13
License
BSD2CLAUSE
Options
1 of 1 on in the package: EXAMPLES

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 162.1.12.1.1–
FreeBSD 152.1.12.1.1–
FreeBSD 142.1.12.1.12.1.1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 152.1.12.1.1–
FreeBSD 142.1.12.1.12.1.1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 2.1.1.

Fixed (1)

Show 1 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (61)

Olivier Cochard (olivier) · 2.1.1
www/mohawk: Update to 2.1.1

Approved by:	dsx+mohawk@bsdsx.fr (maintainer)
ec974a8f47
Baptiste Daroussin (bapt) · 2.1.0
www/mohawk: update to 2.1.0

Changes:
- fix handle sigchld correctly when dealing with cgi
- fix dirlisting with files containing spaces
- fix dirlisting with utf8 files names
- dirlist is now valid html5
- add a default responsive dark/light css for dirlisting
- modernize internal code (all Wsign-conversion warning fixed)
- support blocklistd
- improve robusteness of the code.
- add support for sha256/512 hash to mhtpasswd and remove deprecated hash
  support

Approved by:	maintainer
bd03a0b6c5
Baptiste Daroussin (bapt) · 2.0.21_1
www/mohawk: update WWW

point to the right homepage
19902a7c99
Christian Weisgerber (naddy) · 2.0.21_1
www/*: Move man pages to share/man

Approved by:	portmgr (blanket)
d9029f1552
Stefan Eßer (se) · 2.0.21
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
fb16dfecae
Stefan Eßer (se) · 2.0.21
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Olivier Cochard (olivier) · 2.0.21
www/mohawk: Various port fixes

PR:		258735
Reported by:	diizzy
Approved by:	Freddy Dissaux <dsx@bsdsx.fr> (maintainer)
d25dee7a6f
Olivier Cochard (olivier) · 2.0.21
www/mohawk: Update to 2.0.21

PR:		258713
Reported by:	Freddy Dissaux <dsx@bsdsx.fr> (maintainer)
edecfedd29
Baptiste Daroussin (bapt) · 2.0.20
www/mohawk: provide maintainership back to upstream

Note that upstream has resumed development, while here drop my fossil
mirror which is down.

Reported by:	new maintainer
71cc1da643
Mathieu Arnold (mat) · 2.0.20
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 2.0.20
Remove # $FreeBSD$ from Makefiles.
305f148f48
Tobias Kortkamp (tobik) · 2.0.20
www/mohawk: Fix build with Clang 10

main.c:387:2: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
        if (network->not)
        ^

http://beefy18.nyi.freebsd.org/data/head-amd64-default/p529299_s359382/logs/errors/mohawk-2.0.20.log
36f0c6d8c8
Rene Ladan (rene) · 2.0.20
Return Neels ports to the pool on his request.

Submitted by:	neelc@neelc.org (former maintainer) via freebsd-ports
32cf9e1bf6
Jochen Neumeister (joneum) · 2.0.20
Give Maintainership tu Submitter

PR:		242949
Reported by:	Neel Chauhan <neel@neelc.org>
Sponsored by:	Netzkommune GmbH
4957a8a5b2
Jochen Neumeister (joneum) · 2.0.20
Update to 2.0.20

PR:		242922
Submitted by:	Freddy DISSAUX <dsx@bsdsx.fr> (maintainer)
Sponsored by:	Netzkommune GmbH
295d0b111b
Baptiste Daroussin (bapt) · 2.0.19_2
Drop the ipv6 virtual category for w* category as it is not relevant anymore
9801311880
Jan Beich (jbeich) · 2.0.19_2
devel/libevent2: update to 2.1.11

Changes:	https://github.com/libevent/libevent/releases/tag/release-2.1.11-stable
ABI:		https://abi-laboratory.pro/tracker/timeline/libevent/
PR:		239599
Reported by:	GitHub (watch releases)
Approved by:	zeising (maintainer)
MFH:		2019Q3 (maybe security, partially restores 2.1.8 ABI)
Differential Revision:	https://reviews.freebsd.org/D21133
f18538b989
Mark Linimon (linimon) · 2.0.19_1
Maintainer's email address bounces (550 Invalid recipient).
10b9dc6a23
Mark Linimon (linimon) · 2.0.19_1
These ports now build on aarch64.

Where necessary, pet portlint.

Approved by:	portmgr
Obtained from:	aarch64 TRYBROKEN run
922dee671e
Mark Linimon (linimon) · 2.0.19_1
These ports now build on powerpc64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
62a6b3eebc
Jan Beich (jbeich) · 2.0.19_1
devel/libevent2: drop historical suffix after r362796

PR:		216777
Approved by:	mm (maintainer)
a9425224f1
Kirill Ponomarev (krion) · 2.0.19
Update www/mohawk to 2.0.19

PR:		216907
Submitted by:	mohawk@bsdsx.fr
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D9486
0b939c1c62
Jan Beich (jbeich) · 2.0.18_1
devel/libevent2: update to 2.1.8 and cleanup

- DEFAULT_VERSIONS += ssl=openssl-devel is now supported
- devel/py-event and devel/p5-Event-Lib are marked BROKEN

Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/whatsnew-2.1.txt
Changes:	https://github.com/libevent/libevent/raw/release-2.1.8-stable/ChangeLog
PR:		216527
Exp-run by:	antoine
Approved by:	mm (maintainer)
21a7215c9a
Jan Beich (jbeich) · 2.0.18
www/mohawk: unbreak on 12.0 after r312758

In file included from parse.c:17:
In file included from parse.y:34:
/usr/include/sys/capability.h:41:2: error: this file includes <sys/capability.h> which is deprecated [-Werror,-W#warnings]
 #warning this file includes <sys/capability.h> which is deprecated
  ^

Reported by:	pkg-fallout
d6987a4242
Danilo Egea Gondolfo (danilo) · 2.0.18
- Update to 2.0.18

PR:		216521
Submitted by:	Freddy DISSAUX <dsx@bsdsx.fr>
9f5a016ff9
Mark Linimon (linimon) · 2.0.17
Mark as broken on various tier-2 archs.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
39a24721e8
Dmitry Marakasov (amdmi3) · 2.0.17
- Fix trailing whitespace in pkg-descrs, categories [p-x]*

Approved by:	portmgr blanket
1f8b48b772
Steve Wills (swills) · 2.0.17
many ports: mark broken on powerpc64
86cd4fbe5a
Mathieu Arnold (mat) · 2.0.17
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.

With hat:	portmgr
Sponsored by:	Absolight
72ea7e696b
Mathieu Arnold (mat) · 2.0.17
Cleanup DIST* variables.

When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup

With hat:	portmgr
Sponsored by:	Absolight
88bfe4bd43
Frederic Culot (culot) · 2.0.17
- Update to 2.0.17

PR:		ports/194973
Submitted by:	mohawk@bsdsx.fr (maintainer)
c571133dae
John Marino (marino) · 2.0.16
www/mohawk: Unbreak on DragonFly, remove useless LDFLAG

The provided LDFLAG of -L${LOCALBASE}/lib/event2 would have stopped
working after libevent2.so moved to ${LOCALBASE}/lib had the LDFLAG
affected anything.  The LDFLAG is set by Makefile.inc, and the
handling of DragonFly is wrong for ports, although it might still be
correct for pkgsrc.  Fix that with a patch and remove the LDFLAG
that doesn't do anything.  No revbump required.
472f833ad4
Frederic Culot (culot) · 2.0.16
- Update to 2.0.16

PR:		ports/193666
Submitted by:	mohawk@bsdsx.fr (maintainer)
7e2f0beddc
Frederic Culot (culot) · 2.0.15
- Update to 2.0.15

PR:		ports/193193
Submitted by:	mohawk@bsdsx.fr (maintainer)
6e10bcb20c
Frederic Culot (culot) · 2.0.14
- Update to 2.0.14

PR:		ports/192938
Submitted by:	mohawk@bsdsx.fr (maintainer)
71372d799d
Baptiste Daroussin (bapt) · 2.0.13_1
Only use libevent2

Remove libevent as libevent2 is providing a good compatibility interface as well
as providing better performances.
Remove custom patches from libevent2 and install libevent2 the regular way
Mark ports abusing private fields of the libevent1 API as broken
Import a patch from fedora to have honeyd working with libevent2
Remove most of the patches necessary to find the custom installation we used to
have for libevent2

With hat:	portmgr
b564653452
Martin Wilke (miwi) · 2.0.13
- Update to 2.0.13

PR:		190455
Submitted by:	maintainer
7340fc67f2
Frederic Culot (culot) · 2.0.12
- Update to 2.0.12

PR:		ports/188750
Submitted by:	mohawk@bsdsx.fr (maintainer)
e83091efe5
Frederic Culot (culot) · 2.0.11
- Update to 2.0.11

PR:		ports/188408
Submitted by:	mohawk@bsdsx.fr (maintainer)
5db3e580df
Baptiste Daroussin (bapt) · 2.0.10
Bounce have been fixed, give back maintainership

Submitted by:	maintainer (irc)
9c8923f95a
Mathieu Arnold (mat) · 2.0.10
MAINTAINER bounces.

<mohawk@bsdsx.fr>: host mx2.bsdsx.fr[2a02:27d0:100:f205:a642::9] said: 550
    Invalid recipient (in reply to RCPT TO command)

Obtained from:	pkg-fallout
Sponsored by:	Absolight
4971810171
Emanuel Haupt (ehaupt) · 2.0.10
Remove trailing whitespaces from category www
cff8764726
Emanuel Haupt (ehaupt) · 2.0.10
According to the Porter's Handbook (5.12.2.3.) default options must be added to OPTIONS_DEFINE. This policy has been implemented only recently that's why we have many ports violating this policy.

This patch adds the default options specified in the Porter's Handbook to
OPTIONS_DEFINE where they are being used. Ports maintained by
gnome@FreeBSD.org, kde@FreeBSD.org and x11@FreeBSD.org have been excluded.

Approved by:    portmgr (bapt)
5005b67362
Antoine Brodin (antoine) · 2.0.10
- Update to 2.0.10 - BSD License has 2 clauses - New LIB_DEPENDS syntax

Submitted by:	maintainer on IRC
ce3652633b
Antoine Brodin (antoine) · 2.0.9
Finish stage support

Reviewed by:	maintainer
ed88240b7c
Wen Heping (wen) · 2.0.9
- Update to 2.0.9 - Support stage

PR:		183837
Submitted by:	mohawk <mohawk@bsdsx.fr> (maintainer)
c78f4d0a33
Frederic Culot (culot) · 2.0.8
- Update to 2.0.8

PR:		ports/182381
Submitted by:	mohawk@bsdsx.fr (maintainer)
2282dc8a52
Baptiste Daroussin (bapt) · 2.0.7
Add NO_STAGE all over the place in preparation for the staging support (cat: www)
85fbf21ec5
Frederic Culot (culot) · 2.0.7
- Add Fossil's uuid otherwise fetch will break after upstream's next commit

PR:		ports/179732
Submitted by:	mohawk@bsdsx.fr (maintainer)
fe648ae4c9
Frederic Culot (culot) · 2.0.7
- Update to 2.0.7 to fix build with clang on CURRENT

PR:		ports/179679
Submitted by:	mohawk@bsdsx.fr (maintainer)
56f0a0e9ad