pkgsrc-Bugs archive

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

Re: pkg/48566: getpwnam() fix and ECDH for sendmail from upstream



The following reply was made to PR pkg/48566; it has been noted by GNATS.

From: Emmanuel Dreyfus <manu%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48566: getpwnam() fix and ECDH for sendmail from upstream
Date: Wed, 26 Feb 2014 16:22:10 +0000

 --Bn2rw/3z4jIqBvZU
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Here is the updated patch for -current pkgsrc:
 -- 
 Emmanuel Dreyfus
 manu%netbsd.org@localhost
 
 --Bn2rw/3z4jIqBvZU
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="sendmail3.patch"
 
 ? mail/sendmail/files/site.config.m4-ffr_tls_ec
 Index: mail/sendmail/Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mail/sendmail/Makefile,v
 retrieving revision 1.119
 diff -U4 -r1.119 Makefile
 --- mail/sendmail/Makefile     12 Feb 2014 23:18:09 -0000      1.119
 +++ mail/sendmail/Makefile     26 Feb 2014 16:17:43 -0000
 @@ -1,8 +1,8 @@
  # $NetBSD: Makefile,v 1.119 2014/02/12 23:18:09 tron Exp $
  
  PKGNAME=      sendmail-${DIST_VERS}
 -PKGREVISION=  1
 +PKGREVISION=  2       
  COMMENT=      The well known Mail Transport Agent
  
  CONFLICTS+=   courier-mta-[0-9]* fastforward>=0.51nb2 postfix-[0-9]*
  CONFLICTS+=   esmtp>=1.2
 @@ -69,8 +69,11 @@
  .endif
  .if !empty(PKG_OPTIONS:Mffr_tls_1)
        cat ${FILESDIR}/site.config.m4-ffr_tls_1 >>${SITECONFIG}
  .endif
 +.if !empty(PKG_OPTIONS:Mffr_tls_ec)
 +      cat ${FILESDIR}/site.config.m4-ffr_tls_ec >>${SITECONFIG}
 +.endif
  .if !empty(PKG_OPTIONS:Msasl)
        cat ${FILESDIR}/site.config.m4-sasl2 >>${SITECONFIG}
  .endif
  
 Index: mail/sendmail/options.mk
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mail/sendmail/options.mk,v
 retrieving revision 1.20
 diff -U4 -r1.20 options.mk
 --- mail/sendmail/options.mk   19 Sep 2013 10:54:05 -0000      1.20
 +++ mail/sendmail/options.mk   26 Feb 2014 16:17:43 -0000
 @@ -1,8 +1,9 @@
  # $NetBSD: options.mk,v 1.20 2013/09/19 10:54:05 manu Exp $
  
  PKG_OPTIONS_VAR=      PKG_OPTIONS.sendmail
  PKG_SUPPORTED_OPTIONS=        inet6 db2 ldap sasl tls tcpwrappers  ffr_tls_1
 +PKG_SUPPORTED_OPTIONS+=       ffr_tls_ec
  PKG_SUGGESTED_OPTIONS=        inet6 tcpwrappers
  
  PKG_OPTIONS_LEGACY_OPTS+=     starttls:tls
  
 Index: mail/sendmail/files/site.config.m4
 ===================================================================
 RCS file: /cvsroot/pkgsrc/mail/sendmail/files/site.config.m4,v
 retrieving revision 1.10
 diff -U4 -r1.10 site.config.m4
 --- mail/sendmail/files/site.config.m4 16 Dec 2009 09:46:36 -0000      1.10
 +++ mail/sendmail/files/site.config.m4 26 Feb 2014 16:17:43 -0000
 @@ -34,4 +34,7 @@
  # XXX all supported systems should support poll(2), if one is discovered
  # that doesn't, we can revisit this
  APPENDDEF(`conf_libmilter_ENVDEF', `-DSM_CONF_POLL=1')
  
 +# See patches/patch-getpwnam
 +APPENDDEF(`confENVDEF', `-D_FFR_USE_GETPWNAM_ERRNO=1')
 +
 --- /dev/null  2014-02-26 17:15:02.000000000 +0100
 +++ mail/sendmail/files/site.config.m4-ffr_tls_ec      2014-02-26 
17:06:02.000000000 +0100
 @@ -0,0 +1,5 @@
 +# $NetBSD$
 +
 +# enable _FFR_TLS_EC
 +APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TLS_EC')
 +
 
 --Bn2rw/3z4jIqBvZU--
 


Home | Main Index | Thread Index | Old Index