This is an automated email from the git hooks/post-receive script. guix_mirror_bot pushed a commit to branch master in repository guix.
The following commit(s) were added to refs/heads/master by this push: new 0a88ef867a gnu: bogofilter: Update to 1.2.5-0.e264b66. 0a88ef867a is described below commit 0a88ef867a86bdca28e45d72dda87e9e988794ab Author: Andreas Enge <andr...@enge.fr> AuthorDate: Fri Aug 29 19:20:48 2025 +0200 gnu: bogofilter: Update to 1.2.5-0.e264b66. * gnu/packages/mail.scm (bogofilter): Update to 1.2.5-0.e264b66. [source]: Switch to git-fetch. [inputs]: Remove bdb. Add sqlite and gsl. [native-inputs]: Add autoconf, automake, gettext-minimal, pkg-config, docbook-xml-4.1.2, docbook-xsl, libxml2, perl, xmlto. [arguments]<#:phases>{chdir}: New phase. Change-Id: Id33f8a5cf7cdc7308ab2d17077e9cd0b3f2c3b69 --- gnu/packages/mail.scm | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 2b5915fce4..e1e6b7d2ba 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -64,6 +64,7 @@ ;;; Copyright © 2025 Jelle Licht <jli...@fsfe.org> ;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org> ;;; Copyright © 2025 Zacchaeus <eik...@zacchae.us> +;;; Copyright © 2025 Andreas Enge <andr...@enge.fr> ;;; ;;; This file is part of GNU Guix. ;;; @@ -146,6 +147,7 @@ #:use-module (gnu packages lua) #:use-module (gnu packages m4) #:use-module (gnu packages man) + #:use-module (gnu packages maths) #:use-module (gnu packages mercury) #:use-module (gnu packages ncurses) #:use-module (gnu packages nettle) @@ -1174,28 +1176,38 @@ MIME-encoded email package.") license:public-domain))))) ; mailcap and mime.types (define-public bogofilter +;; This is version 1.3.0rc1 from 2025-04-18. +(let ((revision "0") + (commit "e264b66d44fb8a908965b6f1f98497048a0db98b")) (package (name "bogofilter") - (version "1.2.5") + (version (git-version "1.2.5" revision commit)) (source (origin - (method url-fetch) - (uri (string-append "mirror://sourceforge/bogofilter/bogofilter-stable/" - "bogofilter-" version ".tar.xz")) + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/bogofilter/bogofilter") + (commit commit))) + (file-name (git-file-name name version)) (sha256 - (base32 "1sl9xrnnlk2sn8gmibhn8li09vnansjbxb9l1182qmgz7cvs2j1j")))) + (base32 "1xplhq674gpcinj8c4fgivalqzjayiwq3ykplg3cg25f2wxlzq7z")))) (build-system gnu-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda _ - (substitute* "src/tests/t.frame" - (("GREP=/bin/grep") - (string-append "GREP=" (which "grep") "\n"))) - #t))))) - (native-inputs (list flex)) - (inputs (list bdb)) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "bogofilter"))) + (add-before 'check 'pre-check + (lambda _ + (substitute* "src/tests/t.frame" + (("GREP=/bin/grep") + (string-append "GREP=" (which "grep") "\n")))))))) + (native-inputs (list autoconf automake gettext-minimal pkg-config + flex + docbook-xml-4.1.2 docbook-xsl libxml2 perl xmlto)) + (inputs (list gsl sqlite)) (home-page "https://bogofilter.sourceforge.io/") (synopsis "Mail classifier based on a Bayesian filter") (description @@ -1203,7 +1215,7 @@ MIME-encoded email package.") (non-spam) by a statistical analysis of the message's header and content (body). The program is able to learn from the user's classifications and corrections. It is based on a Bayesian filter.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public offlineimap3 ;; No release supporting Python3.11, but the latest commit contains it, see