[Bug 226226] [NEW PORT] net/quark: Small HTTP GET-only web server
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 26 22:36:35 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226226
Bug ID: 226226
Summary: [NEW PORT] net/quark: Small HTTP GET-only web server
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: mpp302 at gmail.com
Attachment #191032 text/plain
mime type:
Created attachment 191032
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=191032&action=edit
Shell archive with the new net/quark port
General information:
* Add a new port quark, which is a small HTTP GET-only web server developed at
https://suckless.org.
* There already exists a port called quark: multimedia/quark. If it is a
problem then maybe we can call this new port "net/quark-server"?
* The current upstream version of this port is '0' (as found in config.mk).
There are no official releases yet so I had to define a 'GITHASH' variable to
be able to define DISTNAME.
* The port uses the dprintf function. There were some changes regarding this
change in r303524. This is why '-D_WITH_DPRINTF' is added to CFLAGS on systems
with the old dprintf behavior.
* This is a program from suckless.org so as usual it is possible to provide a
custom config.h with a 'QUARK_CONF' knob. Similar knobs are used in x11-wm/dwm
and x11/sterm.
* Patch sock.c due to a missing header.
Testing:
* The port has been tested with portlint, port test on FreeBSD 12-CURRENT and
in the following Poudriere jails: 10.4-RELEASE amd64, 11.1-RELEASE amd64,
12.0-CURRENT amd64 and 11.1-RELEASE i386. The only issue is that on i386 when a
timestamp function is called it expects "'size_t' (aka 'unsigned int') but the
argument has type 'off_t' (aka 'long long')". Otherwise, it builds and runs
smoothly.
Additional details:
* The port was created by Magda Suchodolska (magda.suchodolska at gmail.com) and
Adam Paszke (adam.paszke at gmail.com) during FreeBSD Ports workshop [1], which
took place on 24.02.2018 at Warsaw Hackerspace. I'm merely submitting the port
and taking over the maintainership after some additional testing and linting.
[1]: https://wiki.freebsd.org/MateuszPiotrowski/Ports/Workshops/201802
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list