pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/mailutils



Module Name:    pkgsrc
Committed By:   vins
Date:           Tue Sep  2 19:01:24 UTC 2025

Modified Files:
        pkgsrc/mail/mailutils: Makefile PLIST distinfo options.mk
Added Files:
        pkgsrc/mail/mailutils/patches: patch-configure.ac

Log Message:
mail/mailutils: update to 3.20

# noteworthy changes (since 3.19)

* movemail

** Synchronization mode.

Setting synchronization mode allows the user to keep messages in remote
source mailbox, while downloading only recently received messages.
The mode is defined via the "--sync" command line option or "sync"
configuration statement.  Allowed values are:

  uidnext
     Use the combination of uidvalidity/uidnext values.  This is useful
     mainly if the source mailbox is accessed via IMAP4 protocol.  When
     using this method, movemail stores session metadata in files in the
     directory ~/.movemail.sync.  The directory location can be changed
     using the "--sync-dir" option or "sync-dir" configuration statement.

  uidl
     Use UIDL values.  Useful if the source mailbox is accessed via the
     POP3 protocol.

  all
     Download each message.  Provided for completness sake.  This is
     the default behavior when no --sync option was supplied.

** The --reverse option removed

The option made little sense for movemail and was never used.

** The --max-messages option

This option sets the maximum number of latest messages to process.

* New Sieve test: uidnew

The "uidnew" test keeps track of the processed messages.  It evaluates
to true if the current message was not processed before.

The test is implemented as an external module.  To require it, use

  require "test-uidnew";

Sample use

  if uidnew
    {
      fileinto "store"; keep;
    }

For each processed mailbox, the test keeps its state in a GDBM file
~/.uidnew.db.  The ":db" tagged argument can be used to alter this
location.

* Bugfixes

** imap4d UID SEARCH command

The UID SEARCH command incorrectly treated message range argument as
UIDs instead of as message sequence numbers.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/mail/mailutils/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/mailutils/PLIST
cvs rdiff -u -r1.5 -r1.6 pkgsrc/mail/mailutils/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/mailutils/options.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mailutils/patches/patch-configure.ac

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mail/mailutils/Makefile
diff -u pkgsrc/mail/mailutils/Makefile:1.19 pkgsrc/mail/mailutils/Makefile:1.20
--- pkgsrc/mail/mailutils/Makefile:1.19 Sat Apr 19 07:58:01 2025
+++ pkgsrc/mail/mailutils/Makefile      Tue Sep  2 19:01:24 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2025/04/19 07:58:01 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2025/09/02 19:01:24 vins Exp $
 
-DISTNAME=      mailutils-3.19
-PKGREVISION=   2
+DISTNAME=      mailutils-3.20
 CATEGORIES=    mail
 MASTER_SITES=  ${MASTER_SITE_GNU:=mailutils/}
 
@@ -41,9 +40,9 @@ PKG_DOCS=     AUTHORS ChangeLog NEWS README*
 DOCDIR=                share/doc/${PKGBASE}
 
 MAKE_FLAGS+=   CC=${CC:Q}
-MAKE_FLAGS+=   CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   CFLAGS=${CFLAGS:M*:Q}
 MAKE_FLAGS+=   CPPLAGS=${CPPLAGS:Q}
-MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:Q}
+MAKE_FLAGS+=   LDFLAGS=${LDFLAGS:M*:Q}
 
 INSTALLATION_DIRS+=    ${DOCDIR}
 

Index: pkgsrc/mail/mailutils/PLIST
diff -u pkgsrc/mail/mailutils/PLIST:1.1 pkgsrc/mail/mailutils/PLIST:1.2
--- pkgsrc/mail/mailutils/PLIST:1.1     Thu Dec 15 13:58:02 2022
+++ pkgsrc/mail/mailutils/PLIST Tue Sep  2 19:01:24 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/12/15 13:58:02 vins Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/09/02 19:01:24 vins Exp $
 bin/decodemail
 bin/dotlock
 bin/frm
@@ -179,6 +179,7 @@ lib/mailutils/numaddr.la
 lib/mailutils/pipe.la
 lib/mailutils/spamd.la
 lib/mailutils/timestamp.la
+lib/mailutils/uidnew.la
 lib/mailutils/vacation.la
 libexec/mailutils/ali
 libexec/mailutils/anno

Index: pkgsrc/mail/mailutils/distinfo
diff -u pkgsrc/mail/mailutils/distinfo:1.5 pkgsrc/mail/mailutils/distinfo:1.6
--- pkgsrc/mail/mailutils/distinfo:1.5  Mon Apr 14 04:58:34 2025
+++ pkgsrc/mail/mailutils/distinfo      Tue Sep  2 19:01:24 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.5 2025/04/14 04:58:34 vins Exp $
+$NetBSD: distinfo,v 1.6 2025/09/02 19:01:24 vins Exp $
 
-BLAKE2s (mailutils-3.19.tar.gz) = f0ffdac8cd012045dedd612d7114f561a091ac0d70d5af9726f5eb263a5d6108
-SHA512 (mailutils-3.19.tar.gz) = 521c8d5d81af2cc68c3784c7da347db65382144ccd115d8905ff5b709b49402bc091276bed4eef223b7f8ce35640e9c98686622bc358f00446fceb4ac0861e1f
-Size (mailutils-3.19.tar.gz) = 7861937 bytes
+BLAKE2s (mailutils-3.20.tar.gz) = f986de911beab8d400c466f7a9b9f80ad0aa6814f14202236b0f1d17841c9c92
+SHA512 (mailutils-3.20.tar.gz) = 0ddbdcf57fd20677da76a906ace5d0d0aa35f515530c077a6ec8e6eb22beeed9011dcb3bd3e5e800f0e51d9cfad09fa49a4c7a2ddd04b286a5adafaa55b5230c
+Size (mailutils-3.20.tar.gz) = 7883826 bytes
+SHA1 (patch-configure.ac) = 8fdcba83e0ef8769945f43e41b48a4e9a3319d0b
 SHA1 (patch-frm_frm.h) = 8ed8ae4b64b3b6b30d0572d06b35165b2e1d7e3e
 SHA1 (patch-lib_tcpwrap.c) = 758619c13030816b99b772f65ae8205aff23b323
 SHA1 (patch-mh_mh__init.c) = 3ffa0200cf579e45f76a6c66f8d7192f88c51806

Index: pkgsrc/mail/mailutils/options.mk
diff -u pkgsrc/mail/mailutils/options.mk:1.2 pkgsrc/mail/mailutils/options.mk:1.3
--- pkgsrc/mail/mailutils/options.mk:1.2        Sun Aug 27 11:56:26 2023
+++ pkgsrc/mail/mailutils/options.mk    Tue Sep  2 19:01:24 2025
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2023/08/27 11:56:26 vins Exp $
+# $NetBSD: options.mk,v 1.3 2025/09/02 19:01:24 vins Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mailutils
 
@@ -63,7 +63,7 @@ CONFIGURE_ARGS+=      --without-libintl-prefi
 # GSSAPI (Kerberos5) authentication
 .if !empty(PKG_OPTIONS:Mgssapi)
 .  include "../../mk/krb5.buildlink3.mk"
-CONFIGURE_ARGS+=       --with-gssapi==${KRB5BASE:Q}
+CONFIGURE_ARGS+=       --with-gssapi==${KRB5BASE}
 GSSIMPL.heimdal=       Heimdal
 GSSIMPL.mit-krb5=      MIT
 CONFIGURE_ENV+=                GSSAPI_IMPL=${GSSIMPL.${KRB5_TYPE}}
@@ -92,9 +92,9 @@ CONFIGURE_ARGS+=    --without-gsasl
 .include "../../editors/emacs/modules.mk"
 BUILDLINK_API_DEPENDS.emacs+=  ${_EMACS_REQD}
 BUILDLINK_PKGSRCDIR.emacs?=    ${_EMACS_PKGDIR}
-CONFIGURE_ENV+=                        ac_cv_prog_EMACS=${EMACS_BIN:Q}
+CONFIGURE_ENV+=                        ac_cv_prog_EMACS=${EMACS_BIN}
 PKGSRC_MAKE_ENV+=              EMACS=${EMACS:Q}
-CONFIGURE_ARGS+=               --with-lispdir=${EMACS_LISPPREFIX:Q}
+CONFIGURE_ARGS+=               --with-lispdir=${EMACS_LISPPREFIX}
 PLIST.emacs=                   yes
 .else
 CONFIGURE_ENV+=                        ac_cv_prog_EMACS=no

Added files:

Index: pkgsrc/mail/mailutils/patches/patch-configure.ac
diff -u /dev/null pkgsrc/mail/mailutils/patches/patch-configure.ac:1.1
--- /dev/null   Tue Sep  2 19:01:25 2025
+++ pkgsrc/mail/mailutils/patches/patch-configure.ac    Tue Sep  2 19:01:24 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2025/09/02 19:01:24 vins Exp $
+
+Support guile-3.0.
+
+--- configure.ac.orig  2025-07-30 12:10:46.000000000 +0000
++++ configure.ac
+@@ -1176,7 +1176,7 @@ AC_SUBST([GUILE_BINDIR])
+ AC_SUBST([LIBMU_SCM])
+ AC_SUBST([LIBMU_SCM_DEPS])
+ AC_SUBST([MU_GUILE_SIEVE_MOD_DIR])
+-GINT_INIT([gint],[2.2.0 with-guile],
++GINT_INIT([gint],[3.0 with-guile],
+         [useguile=yes
+          AC_DEFINE([WITH_GUILE],1,[Enable Guile support])
+            GUILE_BINDIR=`guile-config info bindir`



Home | Main Index | Thread Index | Old Index