Add shibari: Collection of DNS tools for Unix systems

shibari is a collection of DNS tools for Unix systems, as an alternative
to BIND, Unbound, djbdns or other similar suites of programs.

At the moment, only a DNS server is provided. shibari aims to integrate
s6-dns over time, and eventually replace it.
This commit is contained in:
schmonz 2023-12-29 16:55:09 +00:00
parent 9e24ff0f3e
commit 26900ba2de
4 changed files with 71 additions and 0 deletions

5
net/shibari/DESCR Normal file
View File

@ -0,0 +1,5 @@
shibari is a collection of DNS tools for Unix systems, as an alternative
to BIND, Unbound, djbdns or other similar suites of programs.
At the moment, only a DNS server is provided. shibari aims to integrate
s6-dns over time, and eventually replace it.

38
net/shibari/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $NetBSD: Makefile,v 1.1 2023/12/29 16:55:09 schmonz Exp $
DISTNAME= shibari-0.0.1.0
CATEGORIES= net
MASTER_SITES= https://skarnet.org/software/shibari/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MANPAGES_DIST}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://skarnet.org/software/shibari/
COMMENT= Collection of DNS tools for Unix systems
LICENSE= isc
# man-pages version is usually not exactly in-sync with PKGVERSION_NOREV
MANPAGES_VERSION= 0.0.1.0.1
MANPAGES_DIST= shibari-man-pages-${MANPAGES_VERSION}.tar.gz
SITES.${MANPAGES_DIST}= -https://git.sr.ht/~flexibeast/shibari-man-pages/archive/v${MANPAGES_VERSION}.tar.gz
USE_TOOLS+= gmake
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
CONFIGURE_ARGS+= --with-sysdeps=${PREFIX}/lib/skalibs/sysdeps
INSTALLATION_DIRS+= ${PKGMANDIR}/man8
.PHONY: do-install-manpages
post-install: do-install-manpages
do-install-manpages:
cd ${WRKDIR}/${PKGBASE}-man-pages-*; for i in 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 "../../net/s6-dns/buildlink3.mk"
.include "../../sysutils/s6/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

20
net/shibari/PLIST Normal file
View File

@ -0,0 +1,20 @@
@comment $NetBSD: PLIST,v 1.1 2023/12/29 16:55:09 schmonz Exp $
bin/shibari-server-tcp
bin/shibari-server-udp
include/shibari/cache.h
include/shibari/client.h
include/shibari/common.h
include/shibari/config.h
include/shibari/constants.h
include/shibari/dcache.h
include/shibari/log.h
include/shibari/packet.h
include/shibari/server.h
include/shibari/shibari.h
include/shibari/tdb.h
include/shibari/util.h
lib/shibari/libdcache.a
lib/shibari/libshibari-common.a
lib/shibari/libshibari-server.a
man/man8/shibari-server-tcp.8
man/man8/shibari-server-udp.8

8
net/shibari/distinfo Normal file
View File

@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.1 2023/12/29 16:55:09 schmonz Exp $
BLAKE2s (shibari-0.0.1.0.tar.gz) = ffbcf349cc7945d5c27e157b46a8ed79746563fed6a735de30b5c17e83a564b9
SHA512 (shibari-0.0.1.0.tar.gz) = 735c18398d25248c6fde2be791ee1443b40856fe9bfce82b7569a09456648088250ea0cdebe3ff5247970624df32202e365922ec38a446948fe4f1e5cc1cc8d1
Size (shibari-0.0.1.0.tar.gz) = 33559 bytes
BLAKE2s (shibari-man-pages-0.0.1.0.1.tar.gz) = 4ff68bcd6df6c419217efc76d408597422ba49f4a9f86da2671f6b03236aff8e
SHA512 (shibari-man-pages-0.0.1.0.1.tar.gz) = d54184040acc43f87ad49f259764a915b19c14f627d0f96142c0b966e96451a45b849625a4a6f6a4c3ab4cdc9fc2e62c748284cfbf831c14ce1ef6177639508f
Size (shibari-man-pages-0.0.1.0.1.tar.gz) = 5545 bytes