diff --git a/www/quark/Makefile b/www/quark/Makefile index b74143323179..a977870b6f2a 100644 --- a/www/quark/Makefile +++ b/www/quark/Makefile @@ -1,39 +1,40 @@ PORTNAME= quark -DISTVERSION= g20210222 +DISTVERSION= 20220816 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/ LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE +MAKE_JOBS_UNSAFE= yes + CONFLICTS_INSTALL= quark PLIST_FILES= bin/quark \ share/man/man1/quark.1.gz pre-everything:: @${ECHO_MSG} "You can build quark with your own config.h using the QUARK_CONF knob:" @${ECHO_MSG} "make QUARK_CONF=/path/to/quark/config.h install clean" .if defined(QUARK_CONF) post-patch: @${ECHO_MSG} "Creating config.h from ${QUARK_CONF}" @${LN} -sf ${QUARK_CONF} ${WRKSRC}/config.h .endif do-configure: @${ECHO_CMD} PREFIX="${PREFIX}" >>${WRKSRC}/config.mk @${ECHO_CMD} CC="${CC}" >>${WRKSRC}/config.mk @${ECHO_CMD} CFLAGS+="${CFLAGS}" >>${WRKSRC}/config.mk @${ECHO_CMD} LDFLAGS+="${LDFLAGS}" >>${WRKSRC}/config.mk post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quark .include 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/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, ...).