pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/mairix
Module Name: pkgsrc
Committed By: ktnb
Date: Fri May 15 19:04:22 UTC 2026
Modified Files:
pkgsrc/mail/mairix: Makefile distinfo
Added Files:
pkgsrc/mail/mairix/patches: patch-Makefile.in patch-dfasyn_compdfa.c
patch-imap.c
Removed Files:
pkgsrc/mail/mairix/patches: patch-aa patch-dfasyn_Makefile
Log Message:
mairix: update to 0.24
NEW IN VERSION 0.24
===================
* Support fancy Content-Disposition
* RFC5987-compliant headers
* Support for remote IMAP folders
* Fix string overrun bugs in nvp.c
* Option to follow symlinks to mboxes in rc file
* Minor parsing improvements, documentation fixes, and small bug repairs.
NEW IN VERSION 0.23
===================
* Allow '=' in message-id search for RFC2822 conformance
* Add the option -H to force hardlinks
* Skip .gitignore files
* Do not interpret special characters [~,/=^] in Message-ID queries
* Fix faultly mbox message separators
* Improve reporting of unparsed MIME headers & remove code duplication
* Allow empty sections in MIME headers
* Add support for uuencoded attachments
* Improve the parsing of MIME boundaries
* Fix SEGV if mbox shrinks
* Add test suite
* Fix building in parallel
NEW IN VERSION 0.22
===================
* Skip symlinks when using mbox
* Update copyright year info throughout
* Update ACKNOWLEDGEMENTS and copyright headers where more credit was due
* Update FSF address in file headers
* Update COPYING to latest gpl-2.0.txt
* Improve error message if home directory cannot be determined
* Honour HOME environment variable
* MIME types are allowed to have "+" characters in them.
* Fix deficiencies in the parsing of mbox From lines
* Include the existing -x flag in the help message
* Fix documentation nits
* Remove spurious message when the mtime of a message file has changed
* Do not export functions already exported through a callback structure.
* Fix two manpages buglets.
* When freeing a struct nvp, do not forget to free the struct nvp_entry.
* Do not leak memory if duplicate fields are present.
* Initialize the date header with a known value.
* Merge two conflicting solutions for bad MIME encoding
* Fix segfault when last char is not a newline
* fix for MIME-related crash
* Add support claws-mail
* Add MH sub-type support for ezmlm-archives
* Detect a trailing -f or -o with no following argument
* Allow lines starting "From" to occur part-way through the header.o
* Display message-ID in search -x mode
* Remove execute permission from source files
* Handle mbox from separators where email address is in angle brackets
* Fix a bug in rfc822.c: Some headers weren't correctly parsed.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/mail/mairix/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/mail/mairix/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mairix/patches/patch-Makefile.in \
pkgsrc/mail/mairix/patches/patch-dfasyn_compdfa.c \
pkgsrc/mail/mairix/patches/patch-imap.c
cvs rdiff -u -r1.1 -r0 pkgsrc/mail/mairix/patches/patch-aa
cvs rdiff -u -r1.2 -r0 pkgsrc/mail/mairix/patches/patch-dfasyn_Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mail/mairix/Makefile
diff -u pkgsrc/mail/mairix/Makefile:1.17 pkgsrc/mail/mairix/Makefile:1.18
--- pkgsrc/mail/mairix/Makefile:1.17 Fri Apr 1 16:44:32 2016
+++ pkgsrc/mail/mairix/Makefile Fri May 15 19:04:22 2026
@@ -1,13 +1,14 @@
-# $NetBSD: Makefile,v 1.17 2016/04/01 16:44:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.18 2026/05/15 19:04:22 ktnb Exp $
#
-DISTNAME= mairix-0.21
-CATEGORIES= mail
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mairix/}
+DISTNAME= mairix-0.24
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mairix/}
-MAINTAINER= simonb%NetBSD.org@localhost
-HOMEPAGE= http://www.rc0.org.uk/mairix/
-COMMENT= Program for indexing and searching email messages
+MAINTAINER= simonb%NetBSD.org@localhost
+HOMEPAGE= http://www.rc0.org.uk/mairix/
+COMMENT= Program for indexing and searching email messages
+LICENSE= gnu-gpl-v2
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
Index: pkgsrc/mail/mairix/distinfo
diff -u pkgsrc/mail/mairix/distinfo:1.11 pkgsrc/mail/mairix/distinfo:1.12
--- pkgsrc/mail/mairix/distinfo:1.11 Wed Mar 18 17:03:53 2026
+++ pkgsrc/mail/mairix/distinfo Fri May 15 19:04:22 2026
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.11 2026/03/18 17:03:53 nia Exp $
+$NetBSD: distinfo,v 1.12 2026/05/15 19:04:22 ktnb Exp $
-BLAKE2s (mairix-0.21.tar.gz) = e1ecc5bc8137ff23354f52561ab1b827fc0b898e3ad4366611cebb3123eebaaa
-SHA512 (mairix-0.21.tar.gz) = 82a7f5bc92efb7d6960922e8c05b075619b7072e90a0f3c0d3477ff5fb3cf9607e81748e1394f599e5049033207fbe72a373aaf872ac8db0f5e88ef17a5de1bc
-Size (mairix-0.21.tar.gz) = 159089 bytes
-SHA1 (patch-aa) = bc87571018a2470b09dd7f096794439ba8244025
+BLAKE2s (mairix-0.24.tar.gz) = 0cff9d9ca0e4c7c1e3eea59f7fa2156e49b6aa9c758ee0ef38e73b03f86ad398
+SHA512 (mairix-0.24.tar.gz) = 3e0af50c2c5857c5e1661e1be131c9c184377947b2ed884d1d9faa6d8bd88c17a7b7a29e105e65c990d2ede5d9fff679e57e83c4b8eedf2870493395e3ec8cf3
+Size (mairix-0.24.tar.gz) = 206903 bytes
+SHA1 (patch-Makefile.in) = c77f313e94d37f04016c27a26ed57a5e75397063
SHA1 (patch-db.c) = 53f0539f76ccb8d9b4285bccd2219bec6b53d888
-SHA1 (patch-dfasyn_Makefile) = 303257019b16e5c715e4fad0e9e45e1c9e4d8cf9
+SHA1 (patch-dfasyn_compdfa.c) = 7a3c105e732c088ec74bd56ca3dea41ac6151ad9
+SHA1 (patch-imap.c) = 48f0c4633b8a5d5d1f106068f26b6e270f268c23
Added files:
Index: pkgsrc/mail/mairix/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/mail/mairix/patches/patch-Makefile.in:1.1
--- /dev/null Fri May 15 19:04:22 2026
+++ pkgsrc/mail/mairix/patches/patch-Makefile.in Fri May 15 19:04:22 2026
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile.in,v 1.1 2026/05/15 19:04:22 ktnb Exp $
+
+Use proper install commands
+
+--- Makefile.in.orig 2017-08-13 21:55:52.000000000 +0000
++++ Makefile.in
+@@ -99,17 +99,13 @@ install:
+ -rm -f Makefile config.log
+
+ install:
+- [ -d $(prefix) ] || mkdir -p $(prefix)
+- [ -d $(bindir) ] || mkdir -p $(bindir)
+- [ -d $(mandir) ] || mkdir -p $(mandir)
+- [ -d $(man1dir) ] || mkdir -p $(man1dir)
+- [ -d $(man5dir) ] || mkdir -p $(man5dir)
+- cp -f mairix $(bindir)
+- chmod 555 $(bindir)/mairix
+- cp -f mairix.1 $(man1dir)
+- chmod 444 $(man1dir)/mairix.1
+- cp -f mairixrc.5 $(man5dir)
+- chmod 444 $(man5dir)/mairixrc.5
++ ${BSD_INSTALL_PROGRAM_DIR} $(bindir)
++ ${BSD_INSTALL_MAN_DIR} $(mandir)
++ ${BSD_INSTALL_MAN_DIR} $(man1dir)
++ ${BSD_INSTALL_MAN_DIR} $(man5dir)
++ ${BSD_INSTALL_PROGRAM} mairix $(bindir)
++ ${BSD_INSTALL_MAN} mairix.1 $(man1dir)
++ ${BSD_INSTALL_MAN} mairixrc.5 $(man5dir)
+
+ check: mairix
+ if [ -d test ]; then cd test ; $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" check ; else echo "No test subdirectory?" ; exit 1 ; fi
Index: pkgsrc/mail/mairix/patches/patch-dfasyn_compdfa.c
diff -u /dev/null pkgsrc/mail/mairix/patches/patch-dfasyn_compdfa.c:1.1
--- /dev/null Fri May 15 19:04:22 2026
+++ pkgsrc/mail/mairix/patches/patch-dfasyn_compdfa.c Fri May 15 19:04:22 2026
@@ -0,0 +1,15 @@
+$NetBSD: patch-dfasyn_compdfa.c,v 1.1 2026/05/15 19:04:22 ktnb Exp $
+
+Fix segfault
+
+--- dfasyn/compdfa.c.orig 2017-08-13 21:55:52.000000000 +0000
++++ dfasyn/compdfa.c
+@@ -425,7 +425,7 @@ do_next_dfa_state:
+
+ for (j=0; j<ntokens; j++) {
+ int next_state = dfas[i]->map[j];
+- if (leads_to_result[next_state] == 0) {
++ if (next_state >= 0 && leads_to_result[next_state] == 0) {
+ dfas[i]->map[j] = -1;
+ }
+ }
Index: pkgsrc/mail/mairix/patches/patch-imap.c
diff -u /dev/null pkgsrc/mail/mairix/patches/patch-imap.c:1.1
--- /dev/null Fri May 15 19:04:22 2026
+++ pkgsrc/mail/mairix/patches/patch-imap.c Fri May 15 19:04:22 2026
@@ -0,0 +1,14 @@
+$NetBSD: patch-imap.c,v 1.1 2026/05/15 19:04:22 ktnb Exp $
+
+Include missing header
+
+--- imap.c.orig 2017-08-13 21:55:52.000000000 +0000
++++ imap.c
+@@ -14,6 +14,7 @@
+ #include <openssl/ssl.h>
+ #include <openssl/err.h>
+ #endif
++#include <sys/socket.h>
+ #include "imap.h"
+
+ struct imap_ll {
Home |
Main Index |
Thread Index |
Old Index