OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Torsten Homeyer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 08-Jun-2005 15:17:24
Branch: HEAD Handle: 2005060814172300
Modified files:
openpkg-src/ssmtp ssmtp.patch ssmtp.spec
Log:
fixed incompatibilities in strftime for SunOS
Summary:
Revision Changes Path
1.5 +31 -27 openpkg-src/ssmtp/ssmtp.patch
1.57 +1 -1 openpkg-src/ssmtp/ssmtp.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ssmtp/ssmtp.patch
============================================================================
$ cvs diff -u -r1.4 -r1.5 ssmtp.patch
--- openpkg-src/ssmtp/ssmtp.patch 9 Dec 2004 10:19:00 -0000 1.4
+++ openpkg-src/ssmtp/ssmtp.patch 8 Jun 2005 13:17:23 -0000 1.5
@@ -1,6 +1,34 @@
+Index: Makefile.in
+--- Makefile.in.orig 2004-07-26 07:32:18 +0200
++++ Makefile.in 2005-06-08 14:56:02 +0200
+@@ -16,7 +16,7 @@
+
+ # Configuration files
+ CONFIGURATION_FILE=$(SSMTPCONFDIR)/ssmtp.conf
+-REVALIASES_FILE=$(SSMTPCONFDIR)/revaliases
++REVALIASES_FILE=$(SSMTPCONFDIR)/ssmtp.revaliases
+
+ INSTALLED_CONFIGURATION_FILE=$(CONFIGURATION_FILE)
+ 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 @@
+ time_t now;
+
+ /* RFC822 format string borrowed from GNU shellutils date.c */
+- const char *format = "%a, %_d %b %Y %H:%M:%S %z";
++#ifdef __SUNOS__
++ 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-04-23 13:14:20.000000000 +0200
-+++ ssmtp.c 2004-05-07 21:10:12.000000000 +0200
+--- ssmtp.c.orig 2004-07-23 07:58:48 +0200
++++ ssmtp.c 2005-06-08 14:56:02 +0200
@@ -14,6 +14,7 @@
*/
#define VERSION "2.60.4"
@@ -36,7 +64,7 @@
rcpt_save(addr_parse(r));
r = (q + 1);
-@@ -728,7 +729,7 @@
+@@ -727,7 +728,7 @@
void header_parse(FILE *stream)
{
size_t size = BUF_SZ, len = 0;
@@ -45,27 +73,3 @@
bool_t in_header = True;
char l = (char)NULL;
int c;
-Index: Makefile.in
---- Makefile.in.orig 2003-01-28 23:30:51.000000000 +0100
-+++ Makefile.in 2004-05-07 21:26:11.000000000 +0200
-@@ -15,7 +15,7 @@
-
- # Configuration files
- CONFIGURATION_FILE=$(SSMTPCONFDIR)/ssmtp.conf
--REVALIASES_FILE=$(SSMTPCONFDIR)/revaliases
-+REVALIASES_FILE=$(SSMTPCONFDIR)/ssmtp.revaliases
-
- INSTALLED_CONFIGURATION_FILE=$(CONFIGURATION_FILE)
- INSTALLED_REVALIASES_FILE=$(REVALIASES_FILE)
-Index: arpadate.c
---- arpadate.c.orig 2002-12-08 18:30:11 +0100
-+++ arpadate.c 2004-12-09 11:11:16 +0100
-@@ -79,7 +79,7 @@
- time_t now;
-
- /* RFC822 format string borrowed from GNU shellutils date.c */
-- const char *format = "%a, %_d %b %Y %H:%M:%S %z";
-+ const char *format = "%a, %d %b %Y %H:%M:%S %z";
-
- now = time(NULL);
-
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/ssmtp/ssmtp.spec
============================================================================
$ cvs diff -u -r1.56 -r1.57 ssmtp.spec
--- openpkg-src/ssmtp/ssmtp.spec 24 Mar 2005 11:20:25 -0000 1.56
+++ openpkg-src/ssmtp/ssmtp.spec 8 Jun 2005 13:17:23 -0000 1.57
@@ -33,7 +33,7 @@
Group: Mail
License: GPL
Version: 2.61
-Release: 20050323
+Release: 20050608
# package options
%option with_fsl yes
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]