OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   19-Sep-2007 13:50:13
  Branch: HEAD                             Handle: 2007091912501300

  Modified files:
    openpkg-src/ssmtp       ssmtp.patch ssmtp.spec

  Log:
    some cleanups

  Summary:
    Revision    Changes     Path
    1.9         +81 -32     openpkg-src/ssmtp/ssmtp.patch
    1.67        +1  -1      openpkg-src/ssmtp/ssmtp.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch     20 Oct 2006 18:11:59 -0000      1.8
  +++ openpkg-src/ssmtp/ssmtp.patch     19 Sep 2007 11:50:13 -0000      1.9
  @@ -1,6 +1,6 @@
   Index: Makefile.in
   --- Makefile.in.orig 2004-07-26 07:32:18 +0200
  -+++ Makefile.in      2005-06-08 20:27:54 +0200
  ++++ Makefile.in      2007-09-19 13:47:03 +0200
   @@ -16,7 +16,7 @@
    
    # Configuration files
  @@ -10,9 +10,18 @@
    
    INSTALLED_CONFIGURATION_FILE=$(CONFIGURATION_FILE)
    INSTALLED_REVALIASES_FILE=$(REVALIASES_FILE)
  +@@ -36,7 +36,7 @@
  + -DREVALIASES_FILE=\"$(REVALIASES_FILE)\" \
  + 
  + 
  +-CFLAGS=-Wall @DEFS@ $(EXTRADEFS) @CFLAGS@
  [EMAIL PROTECTED]@ $(EXTRADEFS) @CFLAGS@
  + 
  + .PHONY: all
  + all: ssmtp
   Index: arpadate.c
   --- arpadate.c.orig  2002-12-08 18:30:11 +0100
  -+++ arpadate.c       2005-06-08 20:28:58 +0200
  ++++ arpadate.c       2007-09-19 13:46:41 +0200
   @@ -78,8 +78,8 @@
    #else
        time_t now;
  @@ -24,18 +33,79 @@
    
        now = time(NULL);
    
  +Index: newaliases.8
  +--- /dev/null        2007-09-19 13:46:47 +0200
  ++++ newaliases.8     2007-09-19 13:46:41 +0200
  +@@ -0,0 +1,17 @@
  ++.TH NEWALIASES 8 "September 2000" "Debian GNU/Linux"
  ++.SH NAME
  ++newaliases \- update /etc/aliases database
  ++.SH SYNOPSIS
  ++.B newaliases
  ++.SH DESCRIPTION
  ++This is a link to the ssmtp binary. It invokes
  ++.B /usr/sbin/sendmail
  ++with the
  ++.B -bi
  ++option. It is provided for compatibility with the sendmail program.
  ++.P
  ++In this case it does absolutely nothing since sSMTP does not support
  ++/etc/aliases and is just there to avoid programs returning error messages.
  ++.SH AUTHOR
  ++This manual page was written by Christoph Lameter <[EMAIL PROTECTED]>,
  ++for the Debian GNU/Linux system. Minor fixes by Matt Ryan <[EMAIL 
PROTECTED]>
  +Index: ssmtp.8
  +--- ssmtp.8.orig     2002-09-27 14:48:59 +0200
  ++++ ssmtp.8  2007-09-19 13:46:41 +0200
  +@@ -1,4 +1,4 @@
  +-.TH SSMTP 8 "Last change: 5 February 2000"
  ++.TH SSMTP 8 "Last change: 4 February 2005"
  + .SH NAME
  + ssmtp, sendmail \- send a message using smtp
  + .SH SYNOPSIS
  +@@ -103,7 +103,7 @@
  + 
  + .TP
  + \fB\-C\fP\fIfile\fP 
  +-(ignored) Use alternate configuration file.
  ++Use alternate configuration file.
  + 
  + .TP
  + \fB\-d\fP\fIX\fP
  +@@ -273,7 +273,7 @@
  +  /etc/ssmtp/revaliases - reverse aliases file
  + 
  + .SH SEE ALSO
  +-RFC821, RFC822.
  ++RFC821, RFC822, ssmtp.conf(5).
  + 
  + .SH AUTHORS
  + Matt Ryan ([EMAIL PROTECTED])
   Index: ssmtp.c
   --- ssmtp.c.orig     2004-07-23 07:58:48 +0200
  -+++ ssmtp.c  2005-06-08 20:27:54 +0200
  -@@ -14,6 +14,7 @@
  ++++ ssmtp.c  2007-09-19 13:46:41 +0200
  +@@ -12,8 +12,10 @@
  +  See COPYRIGHT for the license
  + 
    */
  - #define VERSION "2.60.4"
  +-#define VERSION "2.60.4"
  ++#define VERSION "2.61"
  ++#define _GNU_SOURCE
    
   +#include <sys/types.h>
    #include <sys/socket.h>
    #include <netinet/in.h>
    #include <sys/param.h>
  -@@ -242,7 +243,7 @@
  +@@ -150,7 +152,7 @@
  +     if(isatty(fileno(stdin))) {
  +             if(log_level > 0) {
  +                     log_event(LOG_ERR,
  +-                            "stdin is a TTY - not saving to %s/dead.letter, 
pw->pw_dir");
  ++                            "stdin is a TTY - not saving to 
%s/dead.letter", pw->pw_dir);
  +             }
  +             return;
  +     }
  +@@ -242,7 +244,7 @@
        char *p;
    
        p = str;
  @@ -44,7 +114,7 @@
    
        return(p);
    }
  -@@ -255,7 +256,7 @@
  +@@ -255,7 +257,7 @@
        char *p;
    
        p = (str + strlen(str));
  @@ -53,7 +123,7 @@
                *p = (char)NULL;
        }
    
  -@@ -580,7 +581,7 @@
  +@@ -580,7 +582,7 @@
                }
    
                if(got_addr) {
  @@ -62,7 +132,7 @@
    
                        rcpt_save(addr_parse(r));
                        r = (q + 1);
  -@@ -727,7 +728,7 @@
  +@@ -727,7 +729,7 @@
    void header_parse(FILE *stream)
    {
        size_t size = BUF_SZ, len = 0;
  @@ -72,8 +142,8 @@
        char l = (char)NULL;
        int c;
   Index: ssmtp.conf.5
  ---- /dev/null
  -+++ ssmtp.conf.5
  +--- /dev/null        2007-09-19 13:46:47 +0200
  ++++ ssmtp.conf.5     2007-09-19 13:46:41 +0200
   @@ -0,0 +1,81 @@
   +.\"/* Copyright 2004 Reuben Thomas
   +.\" * All rights reserved
  @@ -156,24 +226,3 @@
   +Matt Ryan ([EMAIL PROTECTED]), Hugo Haas ([EMAIL PROTECTED]), Christoph 
Lameter ([EMAIL PROTECTED])
   +and Dave Collier-Brown ([EMAIL PROTECTED]).
   +Reuben Thomas ([EMAIL PROTECTED]) wrote the man page.
  -Index: newaliases.8
  ---- /dev/null
  -+++ newaliases.8
  -@@ -0,0 +1,17 @@
  -+.TH NEWALIASES 8 "September 2000" "Debian GNU/Linux"
  -+.SH NAME
  -+newaliases \- update /etc/aliases database
  -+.SH SYNOPSIS
  -+.B newaliases
  -+.SH DESCRIPTION
  -+This is a link to the ssmtp binary. It invokes
  -+.B /usr/sbin/sendmail
  -+with the
  -+.B -bi
  -+option. It is provided for compatibility with the sendmail program.
  -+.P
  -+In this case it does absolutely nothing since sSMTP does not support
  -+/etc/aliases and is just there to avoid programs returning error messages.
  -+.SH AUTHOR
  -+This manual page was written by Christoph Lameter <[EMAIL PROTECTED]>,
  -+for the Debian GNU/Linux system. Minor fixes by Matt Ryan <[EMAIL 
PROTECTED]>
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.spec
  ============================================================================
  $ cvs diff -u -r1.66 -r1.67 ssmtp.spec
  --- openpkg-src/ssmtp/ssmtp.spec      20 Jul 2007 20:18:29 -0000      1.66
  +++ openpkg-src/ssmtp/ssmtp.spec      19 Sep 2007 11:50:13 -0000      1.67
  @@ -33,7 +33,7 @@
   Group:        Mail
   License:      GPL
   Version:      2.61
  -Release:      20070720
  +Release:      20070919
   
   #   package options
   %option       with_fsl  yes
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to