NetBSD Problem Report #49820

From iamleot@gmail.com  Mon Apr  6 13:19:37 2015
Return-Path: <iamleot@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 40F50A65BE
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  6 Apr 2015 13:19:37 +0000 (UTC)
Message-Id: <552287e5.c5b8b40a.70d6.ffffffa2@mx.google.com>
Date: Mon, 06 Apr 2015 15:19:16 +0200
From: Leonardo Taccari <iamleot@gmail.com>
Reply-To: Leonardo Taccari <iamleot@gmail.com>
To: gnats-bugs@NetBSD.org
Subject: Update mail/msmtp to 1.6.1
X-Send-Pr-Version: 3.95

>Number:         49820
>Category:       pkg
>Synopsis:       Update mail/msmtp to 1.6.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 06 13:20:00 +0000 2015
>Closed-Date:    Wed Apr 08 05:32:13 +0000 2015
>Last-Modified:  Wed Apr 08 05:35:01 +0000 2015
>Originator:     Leonardo Taccari
>Release:        NetBSD 7.99.8
>Organization:
Università Politecnica delle Marche
>Environment:


System: NetBSD boh 7.99.8 NetBSD 7.99.8 (GENERIC) #13: Mon Mar 30 04:50:15 CEST 2015 leot@boh:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
	mail/msmtp in pkgsrc (1.4.32) is not the latest stable version (1.6.1).
>How-To-Repeat:
	$ cd pkgsrc/mail/msmtp
	$ make show-var VARNAME=PKGNAME_NOREV
>Fix:
	Please apply the attached patches. Please note that the gnome-keyring
	option has changed to secret (for further information please give a look
	to the changelog, always attached here). The "secret" option should be
	added to pkgsrc/mk/defaults/options.description. A possible line could
	be "secret\t\tEnable libsecret support"... A moderate dose of fantasy
	will probably improve the previous description (I am in a shortage ATM!
	;)).


-----------------8<-------------------8<-------------------8<-------------------
Update mail/msmtp to version 1.6.1.

pkgsrc changes:
- gnome-keyring option has changed to secret option to reflect the upstream
  change. For more information please read the changelog below.

Changes:
Version 1.6.1:
- The new configure option --with-tls replaces --with-ssl.
- A new configure option --disable-gai-idn was added.

Version 1.6.0:
- Support for SOCKS proxies was added. This allows msmtp to be used with Tor.
- GNOME Keyring support now uses libsecret instead of libgnome-keyring. It is
  now documented how to use secret-tool to manage passwords for msmtp; the
  obsolete msmtp-gnome-tool script is removed.
- Configuration file security is now only checked if the file actually contains
  secrets such as passwords. (If you still store passwords in the configuration
  file, consider using the passwordeval command or a key ring instead.)
- The GSSAPI authentication method is not chosen automatically anymore, you have
  to request it manually if you really want to use it.
- From: and Date: headers are now added to mails if necessary, for compatibility
  with sendmail, postfix, exim, and other MTAs. This can be disabled with the
  add_missing_from_header and add_missing_date_header commands.
- Libidn is not required for IDN support anymore on systems where getaddrinfo()
  supports the AI_IDN flag and the GnuTLS version is >= 3.4.0.
- The new remove_bcc_headers command replaces the old keepbcc command (but the
  old command is still supported for compatibility).
- SSLv3 is disabled, and the obsolete tls_force_sslv3 command and
  --tls-force-sslv3 option have no effect anymore.
-----------------8<-------------------8<-------------------8<-------------------


-----------------8<-------------------8<-------------------8<-------------------
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/msmtp/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile	5 May 2014 00:48:06 -0000	1.57
+++ Makefile	6 Apr 2015 13:06:21 -0000
@@ -1,10 +1,9 @@
 # $NetBSD: Makefile,v 1.57 2014/05/05 00:48:06 ryoon Exp $

-DISTNAME=	msmtp-1.4.32
-PKGREVISION=	1
+DISTNAME=	msmtp-1.6.1
 CATEGORIES=	mail
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=msmtp/}
-EXTRACT_SUFX=	.tar.bz2
+EXTRACT_SUFX=	.tar.xz

 MAINTAINER=	bcv@hub3.net
 HOMEPAGE=	http://msmtp.sourceforge.net/
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/mail/msmtp/PLIST,v
retrieving revision 1.10
diff -u -r1.10 PLIST
--- PLIST	2 Dec 2011 12:33:53 -0000	1.10
+++ PLIST	6 Apr 2015 13:06:21 -0000
@@ -5,8 +5,6 @@
 share/examples/msmtp/msmtprc-user.example
 share/locale/de/LC_MESSAGES/msmtp.mo
 ${PLIST.scripts}share/msmtp/find_alias/find_alias_for_msmtp.sh
-${PLIST.scripts}share/msmtp/msmtp-gnome-tool/README
-${PLIST.scripts}share/msmtp/msmtp-gnome-tool/msmtp-gnome-tool.py
 ${PLIST.scripts}share/msmtp/msmtpq/README.msmtpq
 ${PLIST.scripts}share/msmtp/msmtpq/msmtp-queue
 ${PLIST.scripts}share/msmtp/msmtpq/msmtpq
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/msmtp/distinfo,v
retrieving revision 1.28
diff -u -r1.28 distinfo
--- distinfo	11 Mar 2014 11:55:39 -0000	1.28
+++ distinfo	6 Apr 2015 13:06:21 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.28 2014/03/11 11:55:39 ryoon Exp $

-SHA1 (msmtp-1.4.32.tar.bz2) = 03186a70035dbbf7a31272a20676b96936599704
-RMD160 (msmtp-1.4.32.tar.bz2) = ffb392a25aed83d821e38c947f51ae19ddab2588
-Size (msmtp-1.4.32.tar.bz2) = 303652 bytes
+SHA1 (msmtp-1.6.1.tar.xz) = ac70151bcb53af5e192cbb147fd2b8139c637089
+RMD160 (msmtp-1.6.1.tar.xz) = 42c8eb94ea5ef9561d6ece1e687eb56dcc10e8ff
+Size (msmtp-1.6.1.tar.xz) = 279324 bytes
 SHA1 (patch-src_Makefile.in) = 373e20c6c683f8a0ef243f8ee9a75ec9838cd495
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mail/msmtp/options.mk,v
retrieving revision 1.13
diff -u -r1.13 options.mk
--- options.mk	12 Jun 2012 15:45:58 -0000	1.13
+++ options.mk	6 Apr 2015 13:06:21 -0000
@@ -5,7 +5,7 @@
 PKG_OPTIONS_OPTIONAL_GROUPS=	ssl
 PKG_OPTIONS_GROUP.ssl=	gnutls ssl

-PKG_SUPPORTED_OPTIONS=	gnome-keyring gsasl idn inet6 scripts
+PKG_SUPPORTED_OPTIONS=	gsasl idn inet6 scripts secret
 PKG_SUGGESTED_OPTIONS=	inet6 ssl

 .include "../../mk/bsd.options.mk"
@@ -48,14 +48,14 @@
 .endif

 ###
-### GNOME keyring support
+### GNOME keyring support (via libsecret)
 ###
-.if !empty(PKG_OPTIONS:Mgnome-keyring)
-.  include "../../security/gnome-keyring/buildlink3.mk"
-CONFIGURE_ARGS+=	--with-gnome-keyring
+.if !empty(PKG_OPTIONS:Msecret)
+.  include "../../security/libsecret/buildlink3.mk"
+CONFIGURE_ARGS+=	--with-libsecret
 USE_TOOLS+=		pkg-config
 .else
-CONFIGURE_ARGS+=	--without-gnome-keyring
+CONFIGURE_ARGS+=	--without-libsecret
 .endif

 ###
@@ -65,7 +65,6 @@
 CHECK_INTERPRETER_SKIP+=	share/msmtp/find_alias/find_alias_for_msmtp.sh \
 				share/msmtp/msmtpq/msmtp-queue \
 				share/msmtp/msmtpq/msmtpq \
-				share/msmtp/msmtp-gnome-tool/msmtp-gnome-tool.py \
 				share/msmtp/msmtpqueue/msmtp-enqueue.sh \
 				share/msmtp/msmtpqueue/msmtp-listqueue.sh \
 				share/msmtp/msmtpqueue/msmtp-runqueue.sh \
@@ -75,7 +74,7 @@
 INSTALLATION_DIRS+=	share/msmtp
 install-msmtp-scripts:
 	cd ${WRKSRC}/scripts && \
-		pax -rw find_alias msmtp-gnome-tool msmtpq msmtpqueue \
+		pax -rw find_alias msmtpq msmtpqueue \
 			set_sendmail vim \
 			${DESTDIR}${PREFIX}/share/msmtp
 .else

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 08 Apr 2015 05:32:13 +0000
State-Changed-Why:
Committed, thanks!


From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49820 CVS commit: pkgsrc/mail/msmtp
Date: Wed, 8 Apr 2015 05:31:59 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Wed Apr  8 05:31:59 UTC 2015

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

 Log Message:
 Update mail/msmtp to version 1.6.1, from Leonardo Taccari in PR 49820.

 pkgsrc changes:
 - gnome-keyring option has changed to secret option to reflect the upstream
   change. For more information please read the changelog below.

 Changes:
 Version 1.6.1:
 - The new configure option --with-tls replaces --with-ssl.
 - A new configure option --disable-gai-idn was added.

 Version 1.6.0:
 - Support for SOCKS proxies was added. This allows msmtp to be used with Tor.
 - GNOME Keyring support now uses libsecret instead of libgnome-keyring. It is
   now documented how to use secret-tool to manage passwords for msmtp; the
   obsolete msmtp-gnome-tool script is removed.
 - Configuration file security is now only checked if the file actually contains
   secrets such as passwords. (If you still store passwords in the configuration
   file, consider using the passwordeval command or a key ring instead.)
 - The GSSAPI authentication method is not chosen automatically anymore, you have
   to request it manually if you really want to use it.
 - From: and Date: headers are now added to mails if necessary, for compatibility
   with sendmail, postfix, exim, and other MTAs. This can be disabled with the
   add_missing_from_header and add_missing_date_header commands.
 - Libidn is not required for IDN support anymore on systems where getaddrinfo()
   supports the AI_IDN flag and the GnuTLS version is >= 3.4.0.
 - The new remove_bcc_headers command replaces the old keepbcc command (but the
   old command is still supported for compatibility).
 - SSLv3 is disabled, and the obsolete tls_force_sslv3 command and
   --tls-force-sslv3 option have no effect anymore.


 To generate a diff of this commit:
 cvs rdiff -u -r1.57 -r1.58 pkgsrc/mail/msmtp/Makefile
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/mail/msmtp/PLIST
 cvs rdiff -u -r1.28 -r1.29 pkgsrc/mail/msmtp/distinfo
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/mail/msmtp/options.mk

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

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.