Simple and lightweight HTTP daemon.
It provides the following features:
- Basic support for CGI,
- ipv6, authentication,
- virtual host,
- basic authentication
- basic url mapping system.
===> The following configuration options are available for mohawk-2.1.1:
EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
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
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)
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.
(Only the first 15 lines of the commit message are shown above )
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
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
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
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.
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
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)
- Update to 2.0.2
- Remove check for unsupported FreeBSD versions
- Trim Makefile header
- Use space instead of tab for WWW line in pkg-descr
PR: ports/177986
Submitted by: mohawk <mohawk@bsdsx.fr> (maintainer)
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.