[packages/postfix] - started update of idents patch to 2.10.1

baggins baggins at pld-linux.org
Mon Jun 24 19:40:25 CEST 2013


commit 9f3d4e6e844ca48e9ca3acc36a13d96c274cc7a1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jun 24 19:10:22 2013 +0200

    - started update of idents patch to 2.10.1

 postfix-ident.patch | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/postfix-ident.patch b/postfix-ident.patch
index 8cbd612..42193e7 100644
--- a/postfix-ident.patch
+++ b/postfix-ident.patch
@@ -178,13 +178,13 @@ diff -urN -x '*~' postfix-2.2.5/src/smtpd/smtpd_ident.c postfix-2.2.5-ident/src/
  SRCS	= smtpd.c smtpd_token.c smtpd_check.c smtpd_chat.c smtpd_state.c \
  	smtpd_peer.c smtpd_sasl_proto.c smtpd_sasl_glue.c smtpd_proxy.c \
  	smtpd_xforward.c smtpd_dsn_fix.c smtpd_milter.c smtpd_resolve.c \
--	smtpd_expand.c
-+	smtpd_expand.c smtpd_ident.c
+-	smtpd_expand.c smtpd_haproxy.c
++	smtpd_expand.c smtpd_haproxy.c smtpd_ident.c
  OBJS	= smtpd.o smtpd_token.o smtpd_check.o smtpd_chat.o smtpd_state.o \
  	smtpd_peer.o smtpd_sasl_proto.o smtpd_sasl_glue.o smtpd_proxy.o \
  	smtpd_xforward.o smtpd_dsn_fix.o smtpd_milter.o smtpd_resolve.o \
--	smtpd_expand.o
-+	smtpd_expand.o smtpd_ident.o
+-	smtpd_expand.o smtpd_haproxy.o
++	smtpd_expand.o smtpd_haproxy.o smtpd_ident.o
  HDRS	= smtpd_token.h smtpd_check.h smtpd_chat.h smtpd_sasl_proto.h \
  	smtpd_sasl_glue.h smtpd_proxy.h smtpd_dsn_fix.h smtpd_milter.h \
  	smtpd_resolve.h smtpd_expand.h
@@ -270,8 +270,8 @@ diff -urN -x '*~' postfix-2.2.5/src/smtpd/smtpd_ident.c postfix-2.2.5-ident/src/
  #include <valid_mailhost_addr.h>
  #include <mail_params.h>
 @@ -125,6 +127,8 @@
- 
- #include "smtpd.h"
+     }
+ }
  
 +extern NAMADR_LIST *smtpd_ident_lookup;
 +
@@ -333,10 +333,12 @@ diff -urN -x '*~' postfix-2.2.5/src/smtpd/smtpd_ident.c postfix-2.2.5-ident/src/
      }
  
      /*
-@@ -401,5 +425,6 @@
-     myfree(state->addr);
-     myfree(state->namaddr);
-     myfree(state->rfc_addr);
-+    myfree(state->ident_user);
-     myfree(state->port);
- }
+@@ -401,6 +425,8 @@
+ 	myfree(state->namaddr);
+     if (state->rfc_addr)
+ 	myfree(state->rfc_addr);
++    if (state->ident_user)
++	myfree(state->ident_user);
+     if (state->port)
+ 	myfree(state->port);
+     if (state->dest_addr)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/postfix.git/commitdiff/8dedada003d45af0c0b0c6a38c9170e5c4d2736e



More information about the pld-cvs-commit mailing list