summaryrefslogtreecommitdiff
path: root/www/quark
diff options
context:
space:
mode:
Diffstat (limited to 'www/quark')
-rw-r--r--www/quark/Makefile8
-rw-r--r--www/quark/distinfo6
-rw-r--r--www/quark/files/patch-Makefile10
-rw-r--r--www/quark/pkg-descr8
4 files changed, 25 insertions, 7 deletions
diff --git a/www/quark/Makefile b/www/quark/Makefile
index b74143323179..1ef9a1ffd9d8 100644
--- a/www/quark/Makefile
+++ b/www/quark/Makefile
@@ -1,11 +1,11 @@
PORTNAME= quark
-DISTVERSION= g20210222
+DISTVERSION= 20220816
+PORTREVISION= 1
CATEGORIES= www
-MASTER_SITES= LOCAL/tobik
+MASTER_SITES= https://freebsd.uzsolt.hu/src/
PKGNAMESUFFIX= -server
-DISTNAME= quark-68b4f733b2755762e43df90f73db5a6ec8d14104
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= uzsolt@FreeBSD.org
COMMENT= Small and simple HTTP GET/HEAD-only web server for static content
WWW= https://tools.suckless.org/quark/
diff --git a/www/quark/distinfo b/www/quark/distinfo
index 1a49006500a0..b4d9ff2fb536 100644
--- a/www/quark/distinfo
+++ b/www/quark/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1634126831
-SHA256 (quark-68b4f733b2755762e43df90f73db5a6ec8d14104.tar.gz) = 7621e549493867199c461582b4f96c4fb890420b86f692dfd8b58da61dd4da7b
-SIZE (quark-68b4f733b2755762e43df90f73db5a6ec8d14104.tar.gz) = 23529
+TIMESTAMP = 1752782489
+SHA256 (quark-20220816.tar.gz) = af9a9fe2260bb92273913a8252d45fe47422647d00bc2b9584b65931c40c03e4
+SIZE (quark-20220816.tar.gz) = 23655
diff --git a/www/quark/files/patch-Makefile b/www/quark/files/patch-Makefile
new file mode 100644
index 000000000000..8f3873dfce18
--- /dev/null
+++ b/www/quark/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig 2025-07-18 07:05:10 UTC
++++ Makefile
+@@ -12,6 +12,7 @@ main.o: main.c arg.h config.h server.h sock.h util.h c
+ data.o: data.c config.h data.h http.h server.h util.h config.mk
+ http.o: http.c config.h http.h server.h util.h config.mk
+ main.o: main.c arg.h config.h server.h sock.h util.h config.mk
++queue.o: queue.c config.h queue.h util.h
+ server.o: server.c config.h connection.h http.h queue.h server.h util.h config.mk
+ sock.o: sock.c config.h sock.h util.h config.mk
+ util.o: util.c config.h util.h config.mk
diff --git a/www/quark/pkg-descr b/www/quark/pkg-descr
index 07a1f7792871..e6a20f61d038 100644
--- a/www/quark/pkg-descr
+++ b/www/quark/pkg-descr
@@ -1 +1,9 @@
Extremely small and simple HTTP GET/HEAD-only web server for static content.
+The goal of this project is to do one thing and do it well, namely serving
+static web directories and doing that right. Most other solutions either are too
+complex (CGI support, dependencies on external libraries, ...) or lack features
+you expect (TLS, virtual hosts, partial content, not modified since, ...). quark
+tries to find a midway and just restrict itself to being static while still
+offering functions you only find in more bloated solutions and being as secure
+as possible (chroot, privilege dropping, strict parsers, no malloc at runtime,
+pledge, unveil, ...).