From 69c0080d3614d0a05b38e49e21d7e0eaa431b629 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 2 Oct 2021 02:04:38 +0000 Subject: OpenBSD: Add port for litterbox --- OpenBSD/net/litterbox/Makefile | 27 +++++++++++++++++++++++++++ OpenBSD/net/litterbox/distinfo | 2 ++ OpenBSD/net/litterbox/pkg/DESCR | 4 ++++ OpenBSD/net/litterbox/pkg/PLIST | 7 +++++++ 4 files changed, 40 insertions(+) create mode 100644 OpenBSD/net/litterbox/Makefile create mode 100644 OpenBSD/net/litterbox/distinfo create mode 100644 OpenBSD/net/litterbox/pkg/DESCR create mode 100644 OpenBSD/net/litterbox/pkg/PLIST diff --git a/OpenBSD/net/litterbox/Makefile b/OpenBSD/net/litterbox/Makefile new file mode 100644 index 0000000..d82b5fd --- /dev/null +++ b/OpenBSD/net/litterbox/Makefile @@ -0,0 +1,27 @@ +# $OpenBSD$ + +COMMENT = IRC logger +DISTNAME = litterbox-1.8 +CATEGORIES = net +HOMEPAGE = https://git.causal.agency/litterbox/about/ +MAINTAINER = june@causal.agency + +# GPLv3+ +PERMIT_PACKAGE = Yes + +WANTLIB = c sqlite3 tls +LIB_DEPENDS = databases/sqlite3 + +MASTER_SITES = https://git.causal.agency/litterbox/snapshot/ + +# C11 +COMPILER = base-clang ports-gcc +COMPILER_LANGS = c + +NO_TEST = Yes + +CFLAGS += -I${LOCALBASE}/include +MAKE_FLAGS += LDFLAGS=-L${LOCALBASE}/lib +FAKE_FLAGS = PREFIX=${PREFIX} + +.include diff --git a/OpenBSD/net/litterbox/distinfo b/OpenBSD/net/litterbox/distinfo new file mode 100644 index 0000000..d8a3759 --- /dev/null +++ b/OpenBSD/net/litterbox/distinfo @@ -0,0 +1,2 @@ +SHA256 (litterbox-1.8.tar.gz) = VL68N1DzkIE6NyDrAwGsTYUrMMt7dgWxeO1ZqlFohVI= +SIZE (litterbox-1.8.tar.gz) = 36827 diff --git a/OpenBSD/net/litterbox/pkg/DESCR b/OpenBSD/net/litterbox/pkg/DESCR new file mode 100644 index 0000000..c50791d --- /dev/null +++ b/OpenBSD/net/litterbox/pkg/DESCR @@ -0,0 +1,4 @@ +litterbox is a TLS-only IRC logger. It logs events from IRC in a +SQLite database, indexing messages for full-text search. It is +intended for use with the IRC bouncer pounce, but can also be used +independently as a logging bot. diff --git a/OpenBSD/net/litterbox/pkg/PLIST b/OpenBSD/net/litterbox/pkg/PLIST new file mode 100644 index 0000000..606da42 --- /dev/null +++ b/OpenBSD/net/litterbox/pkg/PLIST @@ -0,0 +1,7 @@ +@comment $OpenBSD: PLIST,v$ +@bin bin/litterbox +@bin bin/scoop +@bin bin/unscoop +@man man/man1/litterbox.1 +@man man/man1/scoop.1 +@man man/man1/unscoop.1 -- cgit 1.4.1