]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- update to 2.5.1 stable (by Eero Hänninen)
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 26 Mar 2008 21:40:01 +0000 (21:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    postfix-conf_msg.patch -> 1.10
    postfix-dynamicmaps.patch -> 1.14
    postfix-ident.patch -> 1.4
    postfix-log-proxy-rejects.patch -> 1.5

postfix-conf_msg.patch
postfix-dynamicmaps.patch
postfix-ident.patch
postfix-log-proxy-rejects.patch

index 527dc61e34fff98ed203fead0c5e557c7dcce643..44a5fd740b9231dfe6c70bcdc18bce5a9aa6d57f 100644 (file)
@@ -17,9 +17,9 @@
 --- src/smtpd/smtpd.c.orig     2004-06-22 14:32:57.338808646 +0200
 +++ src/smtpd/smtpd.c  2004-06-22 14:41:40.372360162 +0200
 @@ -4514,6 +4514,7 @@
-       VAR_MILT_DEF_ACTION, DEF_MILT_DEF_ACTION, &var_milt_def_action, 1, 0,
        VAR_MILT_DAEMON_NAME, DEF_MILT_DAEMON_NAME, &var_milt_daemon_name, 1, 0,
        VAR_MILT_V, DEF_MILT_V, &var_milt_v, 1, 0,
+       VAR_STRESS, DEF_STRESS, &var_stress, 0, 0,
 +      VAR_REJECT_REPLY_MSG_ACCESS_DENIED, DEF_REJECT_REPLY_MSG_ACCESS_DENIED, &var_reject_reply_msg_access_denied, 1, 0,
        0,
      };
index 1c0748d523a0e7b7974eaf367a7e0366fcd6011a..7ab0f313dba082c67e6f295d61ea5b3d918f5de0 100644 (file)
@@ -583,16 +583,6 @@ diff -dur postfix-2.1.3.orig/src/global/mail_dict.c postfix-2.1.3/src/global/mai
  /* mail_params_init - configure built-in parameters */
  
  void    mail_params_init()
-@@ -584,6 +619,9 @@
-      * Variables that are needed by almost every program.
-      */
-     get_mail_conf_str_table(other_str_defaults);
-+    if (*var_myorigin=='/') {
-+      var_myorigin=read_file(var_myorigin);
-+    }
-     get_mail_conf_int_table(other_int_defaults);
-     get_mail_conf_bool_table(bool_defaults);
-     get_mail_conf_time_table(time_defaults);
 --- postfix-2.3.0/src/global/Makefile.in       2006-07-17 03:28:25.732653648 +0200
 +++ postfix-2.3.0/src/global/Makefile.in-new   2006-07-17 03:29:31.805609032 +0200
 @@ -32,7 +32,7 @@
@@ -610,8 +600,9 @@ diff -dur postfix-2.1.3.orig/src/global/mail_dict.c postfix-2.1.3/src/global/mai
        username.c valid_hostname.c vbuf.c vbuf_print.c vstream.c \
        vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \
        write_buf.c write_wait.c sane_basename.c format_tv.c allspace.c \
--      allascii.c load_file.c killme_after.c vstream_tweak.c
-+      allascii.c load_file.c killme_after.c vstream_tweak.c load_lib.c
+-      allascii.c load_file.c killme_after.c vstream_tweak.c upass_connect.c \
++      allascii.c load_file.c killme_after.c vstream_tweak.c upass_connect.c load_lib.c \
+       upass_listen.c upass_trigger.c
  OBJS  = alldig.o allprint.o argv.o argv_split.o attr_clnt.o attr_print0.o \
        attr_print64.o attr_print_plain.o attr_scan0.o attr_scan64.o \
        attr_scan_plain.o auto_clnt.o base64_code.o basename.o binhash.o \
@@ -622,16 +613,15 @@ diff -dur postfix-2.1.3.orig/src/global/mail_dict.c postfix-2.1.3/src/global/mai
 +      dict_nisplus.o dict_open.o dict_regexp.o dict_sdbm.o \
        dict_static.o dict_tcp.o dict_unix.o dir_forest.o doze.o dummy_read.o \
        dummy_write.o duplex_pipe.o environ.o events.o exec_command.o \
-       fifo_listen.o fifo_trigger.o file_limit.o find_inet.o fsspace.o \
 @@ -62,7 +62,7 @@
        username.o valid_hostname.o vbuf.o vbuf_print.o vstream.o \
        vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \
        write_buf.o write_wait.o sane_basename.o format_tv.o allspace.o \
--      allascii.o load_file.o killme_after.o vstream_tweak.o
-+      allascii.o load_file.o killme_after.o vstream_tweak.o load_lib.o
+-      allascii.o load_file.o killme_after.o vstream_tweak.o upass_connect.o \
++      allascii.o load_file.o killme_after.o vstream_tweak.o upass_connect.o load_lib.o \
+       upass_listen.o upass_trigger.o
  HDRS  = argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h \
        chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h \
-       dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h \
 @@ -81,13 +81,14 @@
        sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h \
        stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h \
index 3bd45bc21e2a3fcc0c74bf0cde64d5a6581d4bb9..209dfcf5220dc1dff58cbcaa867ff7cf9fbd546d 100644 (file)
@@ -213,16 +213,16 @@ diff -urN -x '*~' postfix-2.2.5/src/smtpd/smtpd_ident.c postfix-2.2.5-ident/src/
  
  #define VSTRING_STRDUP(s) vstring_strcpy(vstring_alloc(strlen(s) + 1), (s))
  
-@@ -4129,6 +4143,9 @@
+@@ -4451,6 +4451,9 @@
      xclient_hosts = namadr_list_init(MATCH_FLAG_NONE, var_xclient_hosts);
      xforward_hosts = namadr_list_init(MATCH_FLAG_NONE, var_xforward_hosts);
      hogger_list = namadr_list_init(MATCH_FLAG_NONE, var_smtpd_hoggers);
 +    smtpd_ident_lookup =
-+      namadr_list_init(match_parent_style(VAR_SMTPD_IDENT_LOOKUP),
-+                       var_smtpd_ident_lookup);
-     if (getuid() == 0 || getuid() == var_owner_uid)
-       smtpd_check_init();
-     debug_peer_init();
++           namadr_list_init(match_parent_style(VAR_SMTPD_IDENT_LOOKUP),
++                var_smtpd_ident_lookup);
+     /*
+      * Open maps before dropping privileges so we can read passwords etc.
 @@ -4513,6 +4513,7 @@
        VAR_MILT_DAEMON_NAME, DEF_MILT_DAEMON_NAME, &var_milt_daemon_name, 1, 0,
        VAR_MILT_V, DEF_MILT_V, &var_milt_v, 1, 0,
@@ -287,14 +287,14 @@ diff -urN -x '*~' postfix-2.2.5/src/smtpd/smtpd_ident.c postfix-2.2.5-ident/src/
      INET_PROTO_INFO *proto_info = inet_proto_info();
  
      sa = (struct sockaddr *) & (state->sockaddr);
-@@ -163,6 +170,7 @@
+@@ -177,6 +177,7 @@
        state->addr_family = AF_UNSPEC;
        state->name_status = SMTPD_PEER_CODE_PERM;
        state->reverse_name_status = SMTPD_PEER_CODE_PERM;
 +      state->ident_user = mystrdup("NO-USER");
+       state->port = mystrdup(CLIENT_PORT_UNKNOWN);
      }
-     /*
+
 @@ -302,6 +310,7 @@
            if (aierr) {
                msg_warn("%s: hostname %s verification failed: %s",
@@ -324,17 +324,20 @@ diff -urN -x '*~' postfix-2.2.5/src/smtpd/smtpd_ident.c postfix-2.2.5-ident/src/
      }
  
      /*
-@@ -337,6 +360,7 @@
-       state->addr_family = AF_UNSPEC;
+@@ -390,7 +391,8 @@
        state->name_status = SMTPD_PEER_CODE_OK;
        state->reverse_name_status = SMTPD_PEER_CODE_OK;
+       state->port = mystrdup("0");            /* XXX bogus. */
+-    }
 +      state->ident_user = mystrdup("NO-USER");
-     }
++    }
  
      /*
-@@ -355,4 +379,5 @@
+      * Do the name[addr]:port formatting for pretty reports.
+@@ -410,5 +412,6 @@
      myfree(state->addr);
      myfree(state->namaddr);
      myfree(state->rfc_addr);
 +    myfree(state->ident_user);
+     myfree(state->port);
  }
index 1cd2378a18ae8132737b79c9eea07035a137424e..b52bc54f0dbad31eec746c782b53578c213238ce 100644 (file)
@@ -1,15 +1,17 @@
 diff -ur postfix-2.4.5/src/smtpd/smtpd.c postfix-2.4.5-proxy/src/smtpd/smtpd.c
 --- postfix-2.4.5/src/smtpd/smtpd.c    2007-09-11 00:27:31.181567626 +0200
 +++ postfix-2.4.5-proxy/src/smtpd/smtpd.c      2007-09-11 00:26:54.177444169 +0200
-@@ -2452,6 +2452,8 @@
+@@ -2526,7 +2526,9 @@
      int     out_error;
      char  **cpp;
-     CLEANUP_STAT_DETAIL *detail;
+     const CLEANUP_STAT_DETAIL *detail;
+-    const char *rfc3848_sess;
 +    VSTRING *proxy_why = 0;
 +    int     proxy_code;
++    const char *rfc3848_sess;
+     const char *rfc3848_auth;
  
  #ifdef USE_TLS
-     VSTRING *peer_CN;
 @@ -2705,8 +2707,19 @@
        if (state->err == CLEANUP_STAT_OK) {
            (void) smtpd_proxy_cmd(state, SMTPD_PROX_WANT_ANY, ".");
This page took 0.051098 seconds and 4 git commands to generate.