Summary: | [NEW PORT] www/quark: Small and simple HTTP GET/HEAD-only web server for static content | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mateusz Piotrowski <0mp> | ||||||||||
Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Only Me | CC: | tobik, w.schwarzenfeld | ||||||||||
Priority: | --- | Flags: | 0mp:
maintainer-feedback+
|
||||||||||
Version: | Latest | ||||||||||||
Hardware: | Any | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Description
Mateusz Piotrowski
2018-02-26 22:36:34 UTC
Created attachment 191221 [details]
Shell archive with the new www/quark port (rev. 1)
I've been contacted by the original author of this software. I was informed that some of the workarounds are no longer necessary.
Here's a refreshed shell archive with the quark port.
---
Changes (relatively to the previous patch):
* Move quark to the www category. It is a server after all and servers like Apache and Nginx live in www instead of net.
* Update descriptions.
* Remove patches for the missing header in sock.c.
* Fix the manpage installation path. Now the manpage is correctly installed under $DESTDIR$PREFIX/man/man1.
* User DISTVERSION instead of PORTVERSION.
QA:
* Poudriere: 11.1-RELEASE amd64
* FreeBSD 12.0-CURRENT amd64
No build errors.
Created attachment 191237 [details]
Shell archive with the new www/quark port (rev. 2)
It turns out that there's no need to add explicit STRIP_CMD as upstream already strips the binary by supplying a '-s' flag to LDFLAGS.
I've removed STRIP_CMD in the lastest patch.
Created attachment 191270 [details]
Shell archive with the new www/quark port (rev. 3)
This revision removes -s from LDFLAGS and replaces it with STRIP_CMD. The reason for this is that STRIP_CMD respects WITH_DEBUG in contrast to LDFLAGS=-s.
Otherwise, everything works as before / as expected.
A commit references this bug: Author: tobik Date: Tue Mar 13 07:10:24 UTC 2018 New revision: 464345 URL: https://svnweb.freebsd.org/changeset/ports/464345 Log: New port: www/quark Extremely small and simple HTTP GET/HEAD-only web server for static content. WWW: https://tools.suckless.org/quark/ PR: 226226 Submitted by: 0mp Changes: head/www/Makefile head/www/quark/ head/www/quark/Makefile head/www/quark/distinfo head/www/quark/files/ head/www/quark/files/patch-config.mk head/www/quark/pkg-descr Committed with some changes. Thanks! Usually we use the date of the commit for the PORTVERSION for snapshots when there are no tags. Inventing version numbers on our own just leads to confusion all around. Also removed -Os from CFLAGS and eliminated GITHASH which can just be part of DISTNAME. Reopen -> Tobik, you was too quick! The port is deleted by antoine ports r464400. PLIST_FILES= bin/quark \ man/man1/quark.1.gz should renamed. multimedia/quark has also bin/quark. A commit references this bug: Author: tobik Date: Tue Mar 13 22:18:22 UTC 2018 New revision: 464437 URL: https://svnweb.freebsd.org/changeset/ports/464437 Log: www/quark: Readd with package name quark-server PR: 226226 Changes: head/www/Makefile head/www/quark/ head/www/quark/Makefile Thanks! |