Sat Nov 11 11:58:45 2023 UTC ()
Add tipidee: Minimalistic web server

tipidee is a web server supporting HTTP 1.0 and 1.1. It aims to be
compliant with RFC 9112: while it only implements a very limited subset
of the optional functionality in HTTP 1.1, it implements all the
mandatory parts.

It runs under a super-server, e.g. inetd, s6-tcpserver, or s6-tlsserver
(for HTTPS). Traditionally, inetd-mode web servers aren't considered
performant, but tipidee aims to eke out every single drop of performance
that is attainable with its programming model.

Key features:

- Usability with HTTPS without the need to entangle the code with a
  given TLS library
- Support for HTTP 1.1, with persistent connections, and not only 1.0
- Support for real CGI, not only NPH


(schmonz)
diff -r0 -r1.1 pkgsrc/www/tipidee/DESCR
diff -r0 -r1.1 pkgsrc/www/tipidee/Makefile
diff -r0 -r1.1 pkgsrc/www/tipidee/PLIST
diff -r0 -r1.1 pkgsrc/www/tipidee/distinfo

File Added: pkgsrc/www/tipidee/DESCR
tipidee is a web server supporting HTTP 1.0 and 1.1. It aims to be
compliant with RFC 9112: while it only implements a very limited subset
of the optional functionality in HTTP 1.1, it implements all the
mandatory parts.

It runs under a super-server, e.g. inetd, s6-tcpserver, or s6-tlsserver
(for HTTPS). Traditionally, inetd-mode web servers aren't considered
performant, but tipidee aims to eke out every single drop of performance
that is attainable with its programming model.

Key features:

- Usability with HTTPS without the need to entangle the code with a
  given TLS library
- Support for HTTP 1.1, with persistent connections, and not only 1.0
- Support for real CGI, not only NPH

File Added: pkgsrc/www/tipidee/Makefile
# $NetBSD: Makefile,v 1.1 2023/11/11 11:58:45 schmonz Exp $

DISTNAME=		tipidee-0.0.1.0
CATEGORIES=		www
MASTER_SITES=		${HOMEPAGE}
DISTFILES=		${DISTNAME}${EXTRACT_SUFX} ${MANPAGES_DIST}

MAINTAINER=		schmonz@NetBSD.org
HOMEPAGE=		https://skarnet.org/software/tipidee/
COMMENT=		Minimalistic web server
LICENSE=		isc

# man-pages version is usually not exactly in-sync with PKGVERSION_NOREV
MANPAGES_VERSION=	0.0.1.0.1
MANPAGES_DIST=		tipidee-man-pages-${MANPAGES_VERSION}.tar.gz
SITES.${MANPAGES_DIST}=	-https://git.sr.ht/~flexibeast/tipidee-man-pages/archive/v${MANPAGES_VERSION}.tar.gz

DEPENDS+=		s6-networking-[0-9]*:../../net/s6-networking

USE_TOOLS+=		gmake
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--prefix=${PREFIX}
CONFIGURE_ARGS+=	--with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}

INSTALLATION_DIRS+=	${PKGMANDIR}/man5 ${PKGMANDIR}/man8

.PHONY: do-install-manpages
post-install: do-install-manpages
do-install-manpages:
	cd ${WRKDIR}/${PKGBASE}-man-pages-*; for i in 5 8; do \
		for j in man$$i/*.$$i; do \
			${INSTALL_MAN} $$j \
			${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; \
		done \
	done

.include "../../devel/skalibs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/www/tipidee/PLIST
@comment $NetBSD: PLIST,v 1.1 2023/11/11 11:58:45 schmonz Exp $
bin/tipidee-config
bin/tipideed
include/tipidee/conf.h
include/tipidee/config.h
include/tipidee/headers.h
include/tipidee/log.h
include/tipidee/method.h
include/tipidee/resattr.h
include/tipidee/response.h
include/tipidee/rql.h
include/tipidee/tipidee.h
include/tipidee/uri.h
include/tipidee/util.h
lib/tipidee/libtipidee.a
libexec/tipidee-config-preprocess
man/man5/tipidee.conf.5
man/man8/tipidee-config-preprocess.8
man/man8/tipidee-config.8
man/man8/tipideed.8

File Added: pkgsrc/www/tipidee/distinfo
$NetBSD: distinfo,v 1.1 2023/11/11 11:58:45 schmonz Exp $

BLAKE2s (tipidee-0.0.1.0.tar.gz) = 00333e3b8bc7e1f204b0cff0e73b762f19967b44e8446737895e0de101601564
SHA512 (tipidee-0.0.1.0.tar.gz) = 46d8f67ea08e82c3a7b4605dde27ebd13ceb593cd7ff7c99bbf4e3a4299ad855840e73b0fd8612ba34f92b485a0a05c5a5791f27e0ecbb34ee706c556aeb5d7f
Size (tipidee-0.0.1.0.tar.gz) = 80042 bytes
BLAKE2s (tipidee-man-pages-0.0.1.0.1.tar.gz) = 4ea93ab4d052bd050324b9141566374fc252df2e2f1680f74d0c727426d2e97e
SHA512 (tipidee-man-pages-0.0.1.0.1.tar.gz) = 03e1f847a763758a8ce7cc1ae8a53f42d2a639f807c4ae38a12386bfa44818f40b05bc6d426d895718ade7f6983e7c49ae3a367dc4953b145d22d7dd23819102
Size (tipidee-man-pages-0.0.1.0.1.tar.gz) = 18685 bytes