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:   08-Jun-2005 20:31:21
  Branch: HEAD                             Handle: 2005060819312100

  Modified files:
    openpkg-src/ssmtp       ssmtp.patch

  Log:
    The "%z" format is a platform specific extension while "%Z" is
    actually ISO/IEC 9899:1990 (ISO C90) conforming and its output,
    although not RFC822 conforming, is actually RFC2822 (which obsoletes
    RFC822) conforming. So, get rid of any platform specifics at all.

  Summary:
    Revision    Changes     Path
    1.7         +7  -9      openpkg-src/ssmtp/ssmtp.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch     8 Jun 2005 13:26:32 -0000       1.6
  +++ openpkg-src/ssmtp/ssmtp.patch     8 Jun 2005 18:31:21 -0000       1.7
  @@ -1,6 +1,6 @@
   Index: Makefile.in
   --- Makefile.in.orig 2004-07-26 07:32:18 +0200
  -+++ Makefile.in      2005-06-08 14:56:02 +0200
  ++++ Makefile.in      2005-06-08 20:27:54 +0200
   @@ -16,7 +16,7 @@
    
    # Configuration files
  @@ -12,23 +12,21 @@
    INSTALLED_REVALIASES_FILE=$(REVALIASES_FILE)
   Index: arpadate.c
   --- arpadate.c.orig  2002-12-08 18:30:11 +0100
  -+++ arpadate.c       2005-06-08 15:12:49 +0200
  -@@ -79,7 +79,11 @@
  ++++ arpadate.c       2005-06-08 20:28:58 +0200
  +@@ -78,8 +78,8 @@
  + #else
        time_t now;
    
  -     /* RFC822 format string borrowed from GNU shellutils date.c */
  +-    /* RFC822 format string borrowed from GNU shellutils date.c */
   -    const char *format = "%a, %_d %b %Y %H:%M:%S %z";
  -+#ifdef __sun
  ++    /* RFC2822 format */
   +    const char *format = "%a, %d %b %Y %H:%M:%S %Z";
  -+#else
  -+    const char *format = "%a, %d %b %Y %H:%M:%S %z";
  -+#endif
    
        now = time(NULL);
    
   Index: ssmtp.c
   --- ssmtp.c.orig     2004-07-23 07:58:48 +0200
  -+++ ssmtp.c  2005-06-08 14:56:02 +0200
  ++++ ssmtp.c  2005-06-08 20:27:54 +0200
   @@ -14,6 +14,7 @@
    */
    #define VERSION "2.60.4"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to