pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/mpop



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Fri Feb 21 17:49:42 UTC 2025

Modified Files:
        pkgsrc/mail/mpop: DESCR Makefile PLIST distinfo options.mk

Log Message:
mpop: update to 1.4.21. Changes:

- Build with libgsasl by default again (if found).
- Add IDN support to --configure (build with libidn2 to enable this).
- Add support for SCRAM-SHA-256-PLUS and SCRAM-SHA-1-PLUS
  authentication, and prefer SCRAM methods over the PLAIN method because
  of their superior properties.

Packaging adjusted to more closely resemble msmtp. Build-tested on
NetBSD and macOS.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/mail/mpop/DESCR
cvs rdiff -u -r1.48 -r1.49 pkgsrc/mail/mpop/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/mail/mpop/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/mail/mpop/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/mpop/options.mk

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

Modified files:

Index: pkgsrc/mail/mpop/DESCR
diff -u pkgsrc/mail/mpop/DESCR:1.1.1.1 pkgsrc/mail/mpop/DESCR:1.2
--- pkgsrc/mail/mpop/DESCR:1.1.1.1      Sun Nov 13 03:09:20 2005
+++ pkgsrc/mail/mpop/DESCR      Fri Feb 21 17:49:42 2025
@@ -1,5 +1,12 @@
-mpop is a small, fast, and portable POP3 client.  Its features include
-header-based email filtering (filter junk mail before downloading it),
-delivery to mbox files, maildir folders, or a mail delivery agent, a
-very fast POP3 implementation, many authentication methods, and good
-support for TLS/SSL.
+mpop is a POP3 client: it retrieves mail from POP3 mailboxes.
+
+Features include:
+
+- Support for multiple accounts
+- Header based mail filtering: filter junk mail before downloading it
+- Delivery to mbox files, maildir folders, or a mail delivery agent (MDA)
+- TLS support including client certificates
+- Many authentication methods
+- Support for Internationalized Domain Names (IDN)
+- Fast POP3 implementation using command pipelining
+- SOCKS proxy support

Index: pkgsrc/mail/mpop/Makefile
diff -u pkgsrc/mail/mpop/Makefile:1.48 pkgsrc/mail/mpop/Makefile:1.49
--- pkgsrc/mail/mpop/Makefile:1.48      Thu Nov 14 22:20:37 2024
+++ pkgsrc/mail/mpop/Makefile   Fri Feb 21 17:49:42 2025
@@ -1,29 +1,34 @@
-# $NetBSD: Makefile,v 1.48 2024/11/14 22:20:37 wiz Exp $
+# $NetBSD: Makefile,v 1.49 2025/02/21 17:49:42 schmonz Exp $
 
-DISTNAME=      mpop-1.4.18
-PKGREVISION=   8
-CATEGORIES=    mail
-MASTER_SITES=  https://marlam.de/mpop/releases/
-EXTRACT_SUFX=  .tar.xz
-
-MAINTAINER=    reed%reedmedia.net@localhost
-HOMEPAGE=      https://marlam.de/mpop
-COMMENT=       Small, fast and portable POP3 client
-LICENSE=       gnu-gpl-v3
+DISTNAME=              mpop-1.4.21
+CATEGORIES=            mail
+MASTER_SITES=          ${HOMEPAGE}releases/
+EXTRACT_SUFX=          .tar.xz
+
+MAINTAINER=            reed%reedmedia.net@localhost
+HOMEPAGE=              https://marlam.de/mpop/
+COMMENT=               Small, fast and portable POP3 client
+LICENSE=               gnu-gpl-v3
 
 GNU_CONFIGURE=         yes
 USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            pkg-config
 INFO_FILES=            yes
 
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
 CONFIGURE_ARGS+=       --enable-nls
+CONFIGURE_ARGS.Darwin+=        --with-macosx-keyring
 
-EGDIR=         ${PREFIX}/share/examples/mpop
+TEST_TARGET=           check
+
+EGDIR=                 ${PREFIX}/share/examples/mpop
 INSTALLATION_DIRS+=    ${EGDIR}
+CONF_FILES=            ${EGDIR}/mpoprc.example \
+                       ${PKG_SYSCONFDIR}/mpoprc
 
 .include "options.mk"
 
-post-install:
+post-install: install-mpop-scripts
        ${INSTALL_DATA} ${WRKSRC}/doc/mpoprc.example ${DESTDIR}${EGDIR}
 
 .include "../../devel/gettext-lib/buildlink3.mk"

Index: pkgsrc/mail/mpop/PLIST
diff -u pkgsrc/mail/mpop/PLIST:1.10 pkgsrc/mail/mpop/PLIST:1.11
--- pkgsrc/mail/mpop/PLIST:1.10 Mon Jan 30 17:52:20 2023
+++ pkgsrc/mail/mpop/PLIST      Fri Feb 21 17:49:42 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.10 2023/01/30 17:52:20 leot Exp $
+@comment $NetBSD: PLIST,v 1.11 2025/02/21 17:49:42 schmonz Exp $
 bin/mpop
 bin/mpopd
 info/mpop.info
@@ -10,7 +10,11 @@ share/locale/eo/LC_MESSAGES/mpop.mo
 share/locale/es/LC_MESSAGES/mpop.mo
 share/locale/fr/LC_MESSAGES/mpop.mo
 share/locale/pt_BR/LC_MESSAGES/mpop.mo
+share/locale/ro/LC_MESSAGES/mpop.mo
+share/locale/ru/LC_MESSAGES/mpop.mo
 share/locale/sr/LC_MESSAGES/mpop.mo
 share/locale/sv/LC_MESSAGES/mpop.mo
 share/locale/ta/LC_MESSAGES/mpop.mo
 share/locale/uk/LC_MESSAGES/mpop.mo
+${PLIST.scripts}share/mpop/vim/README
+${PLIST.scripts}share/mpop/vim/mpop.vim

Index: pkgsrc/mail/mpop/distinfo
diff -u pkgsrc/mail/mpop/distinfo:1.16 pkgsrc/mail/mpop/distinfo:1.17
--- pkgsrc/mail/mpop/distinfo:1.16      Mon Jan 30 17:52:20 2023
+++ pkgsrc/mail/mpop/distinfo   Fri Feb 21 17:49:42 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2023/01/30 17:52:20 leot Exp $
+$NetBSD: distinfo,v 1.17 2025/02/21 17:49:42 schmonz Exp $
 
-BLAKE2s (mpop-1.4.18.tar.xz) = 2bfa044d744cb7bad5661fd9c99a305e6675e7c9d50c2b74d9711a4ba7de8bc5
-SHA512 (mpop-1.4.18.tar.xz) = 4f20d3653c99361269011162df6a5d2b2f73d7e3e4bb62fc24c301a5d12f0e911ff432b2e786d2f49088cb96c273a4961ee514ba48465c0c455937559d2b2cff
-Size (mpop-1.4.18.tar.xz) = 382564 bytes
+BLAKE2s (mpop-1.4.21.tar.xz) = 65c9af59ad35c4e3abbe144d8ba01397c2dde8e5a92b000d5369939897084d34
+SHA512 (mpop-1.4.21.tar.xz) = bdf4fe3b44b2d6c6ef95324db7e3b1b09a559405fe3faa20e1d61cd728c255f1f56f0329a6ac789da34d6c819002edaba51f148afe72afe48507718aca1fb70a
+Size (mpop-1.4.21.tar.xz) = 405468 bytes

Index: pkgsrc/mail/mpop/options.mk
diff -u pkgsrc/mail/mpop/options.mk:1.3 pkgsrc/mail/mpop/options.mk:1.4
--- pkgsrc/mail/mpop/options.mk:1.3     Tue Nov 20 09:29:24 2018
+++ pkgsrc/mail/mpop/options.mk Fri Feb 21 17:49:42 2025
@@ -1,8 +1,7 @@
-# $NetBSD: options.mk,v 1.3 2018/11/20 09:29:24 maya Exp $
-#
+# $NetBSD: options.mk,v 1.4 2025/02/21 17:49:42 schmonz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.mpop
-PKG_SUPPORTED_OPTIONS=         gsasl idn
+PKG_SUPPORTED_OPTIONS=         gsasl idn scripts secret
 PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
 PKG_OPTIONS_GROUP.ssl=         gnutls ssl
 PKG_SUGGESTED_OPTIONS=         ssl
@@ -20,14 +19,37 @@ CONFIGURE_ARGS+=    --disable-tls
 .endif
 
 .if !empty(PKG_OPTIONS:Mgsasl)
-CONFIGURE_ARGS+=       --enable-gsasl
+CONFIGURE_ARGS+=       --with-libgsasl
+BUILDLINK_API_DEPENDS.gsasl+=  gsasl>=2.1
 .  include "../../security/gsasl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --without-libgsasl
 .endif
 
 .if !empty(PKG_OPTIONS:Midn)
-.  include "../../devel/libidn/buildlink3.mk"
+.  include "../../devel/libidn2/buildlink3.mk"
 CONFIGURE_ARGS+=       --with-libidn
-CONFIGURE_ARGS+=       --with-libidn-prefix=${BUILDLINK_PREFIX.libidn}
 .else
 CONFIGURE_ARGS+=       --without-libidn
 .endif
+
+.if !empty(PKG_OPTIONS:Msecret)
+.  include "../../security/libsecret/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-libsecret
+.else
+CONFIGURE_ARGS+=       --without-libsecret
+.endif
+
+.PHONY: install-mpop-scripts
+PLIST_VARS+=           scripts
+.if !empty(PKG_OPTIONS:Mscripts)
+PLIST.scripts=         yes
+USE_TOOLS+=            pax
+INSTALLATION_DIRS+=    share/mpop
+install-mpop-scripts:
+       cd ${WRKSRC}/scripts && \
+               pax -rw vim \
+                       ${DESTDIR}${PREFIX}/share/mpop
+.else
+install-mpop-scripts:
+.endif



Home | Main Index | Thread Index | Old Index