From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 5yUuF0pdn2HXaAAAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 10:54:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0AU7Ekpdn2E1LgAA1q6Kng (envelope-from ) for ; Thu, 25 Nov 2021 09:54:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 25A791710F for ; Thu, 25 Nov 2021 10:54:18 +0100 (CET) Received: from localhost ([::1]:51982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqBSL-0007Lb-5P for larch@yhetil.org; Thu, 25 Nov 2021 04:54:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqBSA-0007IW-6w for guix-patches@gnu.org; Thu, 25 Nov 2021 04:54:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqBS5-0003wC-SX for guix-patches@gnu.org; Thu, 25 Nov 2021 04:54:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqBS5-00089a-SC for guix-patches@gnu.org; Thu, 25 Nov 2021 04:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52096] [PATCH] gnu: Add litterbox. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Nov 2021 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52096@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163783400531297 (code B ref -1); Thu, 25 Nov 2021 09:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Nov 2021 09:53:25 +0000 Received: from localhost ([127.0.0.1]:55830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqBRU-00088j-N9 for submit@debbugs.gnu.org; Thu, 25 Nov 2021 04:53:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:52776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqBRS-00088b-WA for submit@debbugs.gnu.org; Thu, 25 Nov 2021 04:53:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqBRS-0006fJ-Ot for guix-patches@gnu.org; Thu, 25 Nov 2021 04:53:22 -0500 Received: from mx1.dismail.de ([78.46.223.134]:7160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqBRQ-0003eF-0m for guix-patches@gnu.org; Thu, 25 Nov 2021 04:53:22 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a0227dd2 for ; Thu, 25 Nov 2021 10:53:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=zsrtu3AsfAkyVYYa9jvNEi0g09y5lu+ZjrRHcZ+C9E8=; b= pOSvSEogbeNOFasQaItWfK+xdJT6rKXv6PXfWESeWJwP6/nUD1DZArHdJA7HXXfB jmngm7hrSFLEc0Qrm/F4bb+SerBapube7WHEdb9Ri1Ttw9VI5ka/IYxrth4eojRI +3oxNI3WM16rwkLqTqESt1XHTt/7J1rjSRSir/l4CtOFxWdlUCO+Ti6+2nKOm9ey XDwjmuMtbBXzLIVR8vxw0BYDhThHcDXbTJPANAVuyfDklto0mocixd8HnokE3x/5 21JM6J3tY/l71N7nMroKTUrnekiYnFZuKKyyiqTrYM6XxG4iqA3JBY8dXT9VSsOE sorkaQciAsFDdyrR0Uypiw== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 533c1462 for ; Thu, 25 Nov 2021 10:53:17 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 59fcec8f for ; Thu, 25 Nov 2021 10:53:17 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id bff49038 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 25 Nov 2021 10:53:16 +0100 (CET) Date: Thu, 25 Nov 2021 04:52:01 -0500 Message-Id: <20211125095200.541-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637834058; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4IzXhy9bbJmmURKGxS51V320n2k8CvqXfNSvnR0bHWk=; b=m8OgLCOQapLwMn0E2IMNz17/cusfefpzZf6qGwIUvBpJMNDKXdCZAYorgefhV4ongV24dC 1XkIJfMnNU+UAuUwUtmVQFq8Drs32LwUdasrK+8iT67AYHULDFgmxzWbFC+ujVDpUWkEfc ncU2ahEdtaBbeSbmAbtEOtyhGpJjOUxmQCgpwWBvFo3SZQ0u06LQnsG/2C9JZscR3+DB/M R6wd5BOqfDFpG1VpEb1lehx3qZBhzHDFY3CiXoIE8pLu8f55NRq/mf5ul5AjDV+6M6w6Ss c4DquQUiR3kJbXWBrLcsmy97eh6TcnEOPJiQZNzVKznkX5H2//w40Lw1vsWt6g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637834058; a=rsa-sha256; cv=none; b=D5QBiSS8biYe8HrN3h3ZFoxf3pt9dnjmkxybS6/S8+zgVfD4/2mvx+JdApAovBpeIXh8A2 s3MGHxn2kwTCD0wUWGYf92fz5d89we3nOTkKuleJ0ckGAF8iNvxNF26nhBqUIhGdifMZUd N/j+kPChsjYMvUKZRXdaDcux8FOetfxJsUIdqxXH6NFruY7HO/skYKBld8YFIlmJR7jSmo CINZCwHmzZEGpOaqprc2h7I/+e2hjs219Au5Ur+hBInRNdJpAKyGoDBIBoSwvJlw/5FfSi qiIme7oE894dhbDFS1wyaGl/Vu8rkiQ+RsAUMqnmE5veLjh7opsUSYRfCBFFWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=pOSvSEog; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=pOSvSEog; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 25A791710F X-Spam-Score: 0.31 X-Migadu-Scanner: scn1.migadu.com X-TUID: yeKuiHCSH4JW Hi Guixers! 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. https://git.causal.agency/litterbox/about/ * gnu/packages/irc.scm (litterbox): New variable. --- gnu/packages/irc.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/irc.scm b/gnu/packages/irc.scm index 2817624437..840c27f5c5 100644 --- a/gnu/packages/irc.scm +++ b/gnu/packages/irc.scm @@ -571,6 +571,39 @@ (define-public epic5 ;; distribute binaries. (license:non-copyleft "http://epicsol.org/copyright"))))) +(define-public litterbox + (package + (name "litterbox") + (version "1.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://git.causal.agency/litterbox/snapshot/litterbox-" + version ".tar.gz")) + (sha256 + (base32 "0ll5d18slngdg2qhaxkvrcq2p1admh0h7sr06wx8347ka0vvrgjl")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; There are no tests. + #:make-flags + (list + (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" %output)))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("universal-ctags" ,universal-ctags))) + (inputs + `(("libressl" ,libressl) + ("sqlite" ,sqlite))) + (home-page "https://code.causal.agency/june/litterbox") + (synopsis "TLS-only IRC logger") + (description +"@command{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 @command{pounce}, +but can also be used independently as a logging bot.") + (license license:gpl3+))) + (define-public inspircd (package (name "inspircd") -- 2.34.0