Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 22:36:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226226] [NEW PORT] net/quark: Small HTTP GET-only web server
Message-ID:  <bug-226226-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226226

            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@FreeBSD.org
          Reporter: mpp302@gmail.com
 Attachment #191032 text/plain
         mime type:

Created attachment 191032
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D191032&action=
=3Dedit
Shell archive with the new net/quark port

General information:

 * Add a new port quark, which is a small HTTP GET-only web server develope=
d 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 th=
is
change in r303524. This is why '-D_WITH_DPRINTF' is added to CFLAGS on syst=
ems
with the old dprintf behavior.
 * This is a program from suckless.org so as usual it is possible to provid=
e 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.=20

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 wh=
en 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@gmail.com) =
and
Adam Paszke (adam.paszke@gmail.com) during FreeBSD Ports workshop [1], which
took place on 24.02.2018 at Warsaw Hackerspace. I'm merely submitting the p=
ort
and taking over the maintainership after some additional testing and lintin=
g.

[1]: https://wiki.freebsd.org/MateuszPiotrowski/Ports/Workshops/201802

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226226-13>