pkgsrc-Bugs archive

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

pkg/26425: mail/msmtp update to 1.2.0



>Number:         26425
>Category:       pkg
>Synopsis:       mail/msmtp is outdated (1.0.0 < 1.2.0)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 25 03:08:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Sergio Jimenez
>Release:        NetBSD 2.0G
>Organization:
none
        
>Environment:
        
        
System: NetBSD mimir.tripledes.net 2.0G NetBSD 2.0G (POWERNOW) #5: Fri Jul 23 
05:22:29 BST 2004 
sergio%mimir.tripledes.net@localhost:/usr/src/obj/usr/src/sys/arch/i386/compile/POWERNOW
 i386
Architecture: i386
Machine: i386
>Description:
        mail/msmtp is outdated and also offers some features not included on 
our current pkg (gsasl,gnutls..).
        
        Version 1.2.0:
        - changed output of -v,--version
        - made TLS/SSL support optional: --disable-ssl disables it.
        - moved md5.[ch] to md5_apps.[ch]
        - added MD5 implementation by Solar Designer (files md5_algo.c and 
          md5_algo.h). It only gets used when
                - GNU SASL is not used and 
                - GnuTLS is not used and 
                - OpenSSL is not used and 
                - the C library does not implement MD5.
                See README.md5.
        - print all debugging info to stdout (the SMTP session was printed to 
          stderr before).
        ...and more from our last update.

>How-To-Repeat:
        look at mail/msmtp and http://msmtp.sf.net
>Fix:
        apply this patch from ${PKGSRC}/mail/msmtp/ and compile it

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/msmtp/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile    20 Jun 2004 21:05:02 -0000      1.5
+++ Makefile    25 Jul 2004 02:59:08 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.5 2004/06/20 21:05:02 xtraeme Exp $
 #
 
-DISTNAME=              msmtp-1.0.0
+DISTNAME=              msmtp-1.2.0
 CATEGORIES=            mail
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=msmtp/}
 
@@ -9,11 +9,28 @@
 HOMEPAGE=              http://msmtp.sourceforge.net/
 COMMENT=               SMTP plugin for MUAs
 
+# This pkg should work with ipv6 without USE_INET6, it is used
+# to include msmtp in the ipv6 ready pkg list.
+
+BUILD_DEFS+=            USE_INET6 MSMTP_USE_GNUTLS MSMTP_USE_OPENSSL 
MSMTP_USE_GSASL
+
 USE_BUILDLINK3=                YES
 GNU_CONFIGURE=         YES
 
 EGDIR=                  ${PREFIX}/share/examples/msmtp
 
+.if defined(MSMTP_USE_GNUTLS) && (${MSMTP_USE_GNUTLS} == "YES")
+.include "../../security/gnutls/buildlink3.mk"
+.elif defined(MSMTP_USE_OPENSSL) && (${MSMTP_USE_OPENSSL} == "YES")
+.include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=       --disable-ssl
+.endif
+
+.if defined(MSMTP_USE_GSASL) && (${MSMTP_USE_GSASL} == "YES")
+.include "../../security/gsasl/buildlink3.mk"
+.endif
+
 post-install:
        ${INSTALL_DATA_DIR} ${EGDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/msmtprc.example ${EGDIR}
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/mail/msmtp/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    20 Jun 2004 21:05:02 -0000      1.2
+++ distinfo    25 Jul 2004 02:59:08 -0000
@@ -1,4 +1,4 @@
 $NetBSD: distinfo,v 1.2 2004/06/20 21:05:02 xtraeme Exp $
 
-SHA1 (msmtp-1.0.0.tar.gz) = 0acfd6bf85a6467a3c5017561aebdcc1c030a5b9
-Size (msmtp-1.0.0.tar.gz) = 144444 bytes
+SHA1 (msmtp-1.2.0.tar.gz) = 34a1c1a6c618b6b416fe7d22806caa2dae6e4410
+Size (msmtp-1.2.0.tar.gz) = 154348 bytes
>Release-Note:
>Audit-Trail:
>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index