[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2009-07-07 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs   Email:  r...@openpkg.org
  Module: openpkg-src  Date:   07-Jul-2009 22:48:41
  Branch: HEAD Handle: 2009070721484100

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

  Log:
upgrading package: ssmtp 2.62 -> 2.63

  Summary:
RevisionChanges Path
1.12+22 -22 openpkg-src/ssmtp/ssmtp.patch
1.74+3  -3  openpkg-src/ssmtp/ssmtp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  
  $ cvs diff -u -r1.11 -r1.12 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch 8 Mar 2008 08:21:43 -   1.11
  +++ openpkg-src/ssmtp/ssmtp.patch 7 Jul 2009 20:48:41 -   1.12
  @@ -1,6 +1,6 @@
   Index: Makefile.in
   --- Makefile.in.orig 2008-02-29 03:50:15 +0100
  -+++ Makefile.in  2008-03-08 09:14:11 +0100
   Makefile.in  2009-07-07 22:45:14 +0200
   @@ -16,7 +16,7 @@

# Configuration files
  @@ -11,8 +11,8 @@
INSTALLED_CONFIGURATION_FILE=$(CONFIGURATION_FILE)
INSTALLED_REVALIASES_FILE=$(REVALIASES_FILE)
   Index: newaliases.8
   /dev/null2008-03-08 09:20:06 +0100
  -+++ newaliases.8 2008-03-08 09:14:11 +0100
  +--- /dev/null2009-07-07 22:45:20 +0200
   newaliases.8 2009-07-07 22:45:14 +0200
   @@ -0,0 +1,17 @@
   +.TH NEWALIASES 8 "September 2000" "Debian GNU/Linux"
   +.SH NAME
  @@ -32,8 +32,8 @@
   +This manual page was written by Christoph Lameter ,
   +for the Debian GNU/Linux system. Minor fixes by Matt Ryan 
   Index: ssmtp.c
   ssmtp.c.orig 2008-03-06 21:01:22 +0100
  -+++ ssmtp.c  2008-03-08 09:19:59 +0100
  +--- ssmtp.c.orig 2009-07-07 04:56:01 +0200
   ssmtp.c  2009-07-07 22:46:12 +0200
   @@ -39,6 +39,10 @@
#include 
#include "xgethostname.h"
  @@ -125,16 +125,16 @@
}
(void)strip_post_ws(p);

  -@@ -353,7 +355,7 @@
  - char *p;
  +@@ -363,7 +365,7 @@
  + *linestart = False;

if((p = strchr(str, '\n'))) {
   -*p = (char)NULL;
   +*p = NUL;
  + *linestart = True;
}
  - 
  - /* Any line beginning with a dot has an additional dot inserted;
  -@@ -386,7 +388,7 @@
  + return(leadingdot);
  +@@ -384,7 +386,7 @@
while(fgets(buf, sizeof(buf), fp)) {
/* Make comments invisible */
if((p = strchr(buf, '#'))) {
  @@ -143,7 +143,7 @@
}

/* Ignore malformed lines and comments */
  -@@ -516,7 +518,7 @@
  +@@ -519,7 +521,7 @@
#endif

/* Ignore missing usernames */
  @@ -152,7 +152,7 @@
return;
}

  -@@ -573,7 +575,7 @@
  +@@ -576,7 +578,7 @@
}

/* End of string? */
  @@ -161,7 +161,7 @@
got_addr = True;
}

  -@@ -581,7 +583,7 @@
  +@@ -584,7 +586,7 @@
if((*q == ',') && (in_quotes == False)) {
got_addr = True;

  @@ -170,7 +170,7 @@
}

if(got_addr) {
  -@@ -673,7 +675,7 @@
  +@@ -676,7 +678,7 @@
if(strncasecmp(ht->string, "From:", 5) == 0) {
#if 1
/* Hack check for NULL From: line */
  @@ -179,7 +179,7 @@
return;
}
#endif
  -@@ -738,7 +740,7 @@
  +@@ -741,7 +743,7 @@
size_t size = BUF_SZ, len = 0;
char *p = (char *)NULL, *q;
bool_t in_header = True;
  @@ -188,7 +188,7 @@
int c;

while(in_header && ((c = fgetc(stream)) != EOF)) {
  -@@ -773,9 +775,9 @@
  +@@ -776,9 +778,9 @@
in_header = False;

default:
  @@ -200,7 +200,7 @@
}
header_save(p);

  -@@ -806,9 +808,9 @@
  +@@ -809,9 +811,9 @@
in_header = False;

default:
  @@ -212,7 +212,7 @@
}
header_save(p);

  -@@ -841,10 +843,12 @@
  +@@ -844,10 +846,12 @@
if (!rest) {
return NULL;
}
  @@ -227,7 +227,7 @@
*s=rest+1;
return tok;
}
  -@@ -873,7 +877,7 @@
  +@@ -876,7 +880,7 @@
char *rightside;
/* Make comments invisible */
if((p = strchr(buf, '#'))) {
  @@ -236,7 +236,7 @@
}

[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2008-03-08 Thread Ralf S. Engelschall
  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-Mar-2008 09:21:45
  Branch: HEAD Handle: 2008030808214300

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

  Log:
upgrading package: ssmtp 2.61 -> 2.62

  Summary:
RevisionChanges Path
1.11+82 -239openpkg-src/ssmtp/ssmtp.patch
1.71+3  -3  openpkg-src/ssmtp/ssmtp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  
  $ cvs diff -u -r1.10 -r1.11 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch 20 Sep 2007 07:01:57 -  1.10
  +++ openpkg-src/ssmtp/ssmtp.patch 8 Mar 2008 08:21:43 -   1.11
  @@ -1,6 +1,6 @@
   Index: Makefile.in
   Makefile.in.orig 2004-07-26 07:32:18 +0200
  -+++ Makefile.in  2007-09-19 13:47:03 +0200
  +--- Makefile.in.orig 2008-02-29 03:50:15 +0100
   Makefile.in  2008-03-08 09:14:11 +0100
   @@ -16,7 +16,7 @@

# Configuration files
  @@ -10,32 +10,9 @@

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   2007-09-19 13:46:41 +0200
  -@@ -78,8 +78,8 @@
  - #else
  - time_t now;
  - 
  --/* RFC822 format string borrowed from GNU shellutils date.c */
  --const char *format = "%a, %_d %b %Y %H:%M:%S %z";
  -+/* RFC2822 format */
  -+const char *format = "%a, %d %b %Y %H:%M:%S %Z";
  - 
  - now = time(NULL);
  - 
   Index: newaliases.8
   /dev/null2007-09-19 13:46:47 +0200
  -+++ newaliases.8 2007-09-19 13:46:41 +0200
  +--- /dev/null2008-03-08 09:20:06 +0100
   newaliases.8 2008-03-08 09:14:11 +0100
   @@ -0,0 +1,17 @@
   +.TH NEWALIASES 8 "September 2000" "Debian GNU/Linux"
   +.SH NAME
  @@ -54,195 +31,21 @@
   +.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  2007-09-19 13:46:41 +0200
  -@@ -12,8 +12,10 @@
  -  See COPYRIGHT for the license
  - 
  - */
  --#define VERSION "2.60.4"
  -+#define VERSION "2.61"
  -+#define _GNU_SOURCE
  - 
  -+#include 
  - #include 
  - #include 
  - #include 
  -@@ -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;
  --while(*p && isspace(*p)) p++;
  -+while(*p && isspace((int)(*p))) p++;
  - 
  - return(p);
  - }
  -@@ -255,7 +257,7 @@
  - char *p;
  - 
  - p = (str + strlen(str));
  --while(isspace(*--p)) {
  -+while(isspace((int)(*--p))) {
  - *p = (char)NULL;
  - }
  - 
  -@@ -580,7 +582,7 @@
  - }
  - 
  - if(got_addr) {
  --while(*r && isspace(*r)) r++;
  -+while(*r && isspace((int)(*r))) r++;
  - 
  - rcpt_save(addr_parse(r));
  - r = (q + 1);
  -@@ -727,7 +729,7 @@
  - void header_parse(FILE *stream)
  - {
  - size_t size = BUF_SZ, len = 0;
  --char *p = (char *)NULL, *q;
  -+char *p = (char *)NULL, *q = (char *)NULL;
  - bool_t in_header = True;
  - char l = (char)NULL;
  - int c;
  -Index: ssmtp.conf.

[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2007-09-20 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   20-Sep-2007 09:01:58
  Branch: HEAD Handle: 2007092008015700

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

  Log:
work around suse10.1 "conflicting types" build error and fix various
amd64 "cast pointer to integer" warnings

  Summary:
RevisionChanges Path
1.10+194 -0 openpkg-src/ssmtp/ssmtp.patch
1.68+1  -1  openpkg-src/ssmtp/ssmtp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  
  $ cvs diff -u -r1.9 -r1.10 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch 19 Sep 2007 11:50:13 -  1.9
  +++ openpkg-src/ssmtp/ssmtp.patch 20 Sep 2007 07:01:57 -  1.10
  @@ -226,3 +226,197 @@
   +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.
  +
  +workaround amd64-suse10.1 error: conflicting types for 'basename'
  +fix amd64-suse10.1 warnings: cast from pointer to integer of different size
  +Index: ssmtp.c
  +--- ssmtp.c.orig 2007-09-20 08:27:18.0 +0200
   ssmtp.c  2007-09-20 08:45:24.0 +0200
  +@@ -40,6 +40,9 @@
  + #endif
  + #include "ssmtp.h"
  + 
  ++#ifndef NUL
  ++#define NUL '\0'
  ++#endif
  + 
  + bool_t have_date = False;
  + bool_t have_from = False;
  +@@ -56,20 +59,20 @@
  + 
  + #define ARPADATE_LENGTH 32  /* Current date in RFC format */
  + char arpadate[ARPADATE_LENGTH];
  +-char *auth_user = (char)NULL;
  +-char *auth_pass = (char)NULL;
  +-char *auth_method = (char)NULL; /* Mechanism for SMTP 
authentication */
  +-char *mail_domain = (char)NULL;
  +-char *from = (char)NULL;/* Use this as the From: address */
  ++char *auth_user = (char *)NULL;
  ++char *auth_pass = (char *)NULL;
  ++char *auth_method = (char *)NULL;   /* Mechanism for SMTP 
authentication */
  ++char *mail_domain = (char *)NULL;
  ++char *from = (char *)NULL;  /* Use this as the From: address */
  + char hostname[MAXHOSTNAMELEN] = "localhost";
  + char *mailhost = "mailhub";
  +-char *minus_f = (char)NULL;
  +-char *minus_F = (char)NULL;
  ++char *minus_f = (char *)NULL;
  ++char *minus_F = (char *)NULL;
  + char *gecos;
  +-char *prog = (char)NULL;
  ++char *prog = (char *)NULL;
  + char *root = NULL;
  + char *tls_cert = "/etc/ssl/certs/ssmtp.pem";/* Default Certificate 
*/
  +-char *uad = (char)NULL;
  ++char *uad = (char *)NULL;
  + 
  + headers_t headers, *ht;
  + 
  +@@ -217,7 +220,7 @@
  + /*
  + basename() -- Return last element of path
  + */
  +-char *basename(char *str)
  ++char *mybasename(char *str)
  + {
  + char buf[MAXPATHLEN +1], *p;
  + 
  +@@ -231,7 +234,7 @@
  + die("basename() -- strncpy() failed");
  + }
  + }
  +-buf[MAXPATHLEN] = (char)NULL;
  ++buf[MAXPATHLEN] = NUL;
  + 
  + return(strdup(buf));
  + }
  +@@ -258,7 +261,7 @@
  + 
  + p = (str + strlen(str));
  + while(isspace((int)(*--p))) {
  +-*p = (char)NULL;
  ++*p = NUL;
  + }
  + 
  + return(p);
  +@@ -307,7 +310,7 @@
  + q = strip_post_ws(p);
  + if(*q == ')') {
  + while((*--q != '('));
  +-*q = (char)NULL;
  ++*q = NUL;
  + }
  + (void)strip_post_ws(p);
  + 
  +@@ -350,7 +353,7 @@
  + char *p;
  + 
  + if((p = strchr(str, '\n'))) {
  +-*p = (char)NULL;
  ++*p = NUL;
  + }
  + 
  + /* Any line beginning with a dot has an additional dot inserted;
  +@@ -383,7 +386,7 @@
  + while(fgets(buf, sizeof(buf), fp)) {
  + /* Make comments invisible */
  + if((p = strchr(buf, '#'))) {
  +-*p = (char)NULL;
  ++*p = NUL;
  + }
  + 
  + /* Ignore malformed lines and comments */
  +@@ -513,7 +516,7 @@
  + #endif
  + 
  + /* Ignore missing usernames */
  +-if(*str == (char)NULL) {
  ++if(*str == NUL) {
  + return;
  + }
  + 
  +@@ -570,7 +573,7 @@
  + }
  + 
  + /* End of string? */
  +-if(*(q + 1) == (char)NULL) {
  ++if(*(q + 1) == NUL) {
  + got_addr = True;
  + }
  + 
  +@@ -578,7 +581,7 @@
  + if((*q == ',') && (in_quotes == False)) {
  + got_addr = True;
  

[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2007-09-19 Thread Ralf S. Engelschall
  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:
RevisionChanges 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 -  1.8
  +++ openpkg-src/ssmtp/ssmtp.patch 19 Sep 2007 11:50:13 -  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/null2007-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 
#include 
#include 
#include 
  -@@ -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.co

[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2006-10-20 Thread Ralf S. Engelschall
  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:   20-Oct-2006 20:12:00
  Branch: HEAD Handle: 2006102019115900

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

  Log:
take over ssmtp.conf(5) and newaliaes(8) manual pages from Debian;
install newaliases link; use the alioth.debian.org project page as the
home URL

  Summary:
RevisionChanges Path
1.8 +106 -0 openpkg-src/ssmtp/ssmtp.patch
1.61+11 -2  openpkg-src/ssmtp/ssmtp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  
  $ cvs diff -u -r1.7 -r1.8 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch 8 Jun 2005 18:31:21 -   1.7
  +++ openpkg-src/ssmtp/ssmtp.patch 20 Oct 2006 18:11:59 -  1.8
  @@ -71,3 +71,109 @@
bool_t in_header = True;
char l = (char)NULL;
int c;
  +Index: ssmtp.conf.5
  +--- /dev/null
   ssmtp.conf.5
  +@@ -0,0 +1,81 @@
  ++.\"/* Copyright 2004 Reuben Thomas
  ++.\" * All rights reserved
  ++.\" *
  ++.\" This man page is distributed under the GNU General Public License
  ++.\" version 2, or at your option, any later version. There is no warranty.
  ++.\"
  ++.Dd October 7, 2004
  ++.Dt SSMTP.CONF 5
  ++.Os
  ++.Sh NAME
  ++.Nm ssmtp.conf
  ++.Nd ssmtp configuration file
  ++.Sh DESCRIPTION
  ++.Nm ssmtp
  ++reads configuration data from
  ++.Pa /etc/ssmtp/ssmtp.conf
  ++The file contains keyword-argument pairs, one per line.
  ++Lines starting with
  ++.Ql #
  ++and empty lines are interpreted as comments.
  ++.Pp
  ++The possible keywords and their meanings are as follows (both are 
case-insensitive):
  ++.Bl -tag -width Ds
  ++.It Cm Root
  ++The user that gets all mail for userids less than 1000. If blank, address 
rewriting is disabled.
  ++.Pp
  ++.It Cm Mailhub
  ++The host to send mail to, in the form
  ++.Ar host No | Ar IP_addr No Oo : Ar port Oc .
  ++The default port is 25.
  ++.Pp
  ++.It Cm RewriteDomain
  ++The domain from which mail seems to come.
  ++for user authentication.
  ++.Pp
  ++.It Cm Hostname
  ++The full qualified name of the host.
  ++If not specified, the host is queried for its hostname.
  ++.Pp
  ++.It Cm FromLineOverride
  ++Specifies whether the From header of an email, if any, may override the 
default domain.
  ++The default is
  ++.Dq no .
  ++.Pp
  ++.It Cm UseTLS
  ++Specifies whether ssmtp uses TLS to talk to the SMTP server.
  ++The default is
  ++.Dq no .
  ++.Pp
  ++.It Cm UseSTARTTLS
  ++Specifies whether ssmtp does a EHLO/STARTTLS before starting SSL 
negotiation.
  ++See RFC 2487.
  ++.Pp
  ++.It Cm TLSCert
  ++The file name of an RSA certificate to use for TLS, if required.
  ++.Pp
  ++.It Cm AuthUser
  ++The user name to use for SMTP AUTH.
  ++The default is blank, in which case SMTP AUTH is not used.
  ++sent without
  ++.Pp
  ++.It Cm AuthPass
  ++The password to use for SMTP AUTH.
  ++.Pp
  ++.It Cm AuthMethod
  ++The authorization method to use.
  ++If unset, plain text is used.
  ++May also be set to
  ++.Dq cram-md5 .
  ++.Sh FILES
  ++.Bl -tag -width Ds
  ++.It Pa /etc/ssmtp/ssmtp.conf
  ++Contains configuration data for
  ++.Nm ssmtp .
  ++.El
  ++.Sh SEE ALSO
  ++.Xr ssmtp 8
  ++.Sh AUTHORS
  ++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.60 -r1.61 ssmtp.spec
  --- openpkg-src/ssmtp/ssmtp.spec  13 Oct 2006 17:34:24 -  1.60
  +++ openpkg-src/ssmtp/ssmtp.spec  20 Oct 2006 18:11:59 -  1.61
  @@ -25,7 +25,7 @@
  

[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2005-06-08 Thread Torsten Homeyer
  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:
RevisionChanges 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 -   1.4
  +++ openpkg-src/ssmtp/ssmtp.patch 8 Jun 2005 13:17:23 -   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.0 +0200
  -+++ ssmtp.c  2004-05-07 21:10:12.0 +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.0 +0100
  -+++ Makefile.in  2004-05-07 21:26:11.0 +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 -  1.56
  +++ openpkg-src/ssmtp/ssmtp.spec  8 Jun 2005 13:17:23 -   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 Projectwww.openpkg.org
CVS Repository Commit List openpkg-cvs@openpkg.org


[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2004-12-09 Thread Torsten Homeyer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Torsten Homeyer
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   09-Dec-2004 11:19:01
  Branch: HEAD Handle: 200412091019

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

  Log:
fixed broken date string

  Summary:
RevisionChanges Path
1.4 +12 -0  openpkg-src/ssmtp/ssmtp.patch
1.53+1  -1  openpkg-src/ssmtp/ssmtp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  
  $ cvs diff -u -r1.3 -r1.4 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch 7 May 2004 19:31:57 -   1.3
  +++ openpkg-src/ssmtp/ssmtp.patch 9 Dec 2004 10:19:00 -   1.4
  @@ -57,3 +57,15 @@

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.52 -r1.53 ssmtp.spec
  --- openpkg-src/ssmtp/ssmtp.spec  20 Sep 2004 14:33:37 -  1.52
  +++ openpkg-src/ssmtp/ssmtp.spec  9 Dec 2004 10:19:00 -   1.53
  @@ -38,7 +38,7 @@
   Group:Mail
   License:  GPL
   Version:  %{V_major}.%{V_minor}
  -Release:  20040920
  +Release:  20041209
   
   #   package options
   %option   with_fsl  yes
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/ssmtp/ ssmtp.patch ssmtp.spec

2004-05-07 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   07-May-2004 21:31:57
  Branch: HEAD Handle: 2004050720315700

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

  Log:
cleanups and optional SSL support

  Summary:
RevisionChanges Path
1.3 +12 -0  openpkg-src/ssmtp/ssmtp.patch
1.48+15 -6  openpkg-src/ssmtp/ssmtp.spec
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.patch
  
  $ cvs diff -u -r1.2 -r1.3 ssmtp.patch
  --- openpkg-src/ssmtp/ssmtp.patch 7 May 2004 19:23:10 -   1.2
  +++ openpkg-src/ssmtp/ssmtp.patch 7 May 2004 19:31:57 -   1.3
  @@ -45,3 +45,15 @@
bool_t in_header = True;
char l = (char)NULL;
int c;
  +Index: Makefile.in
  +--- Makefile.in.orig 2003-01-28 23:30:51.0 +0100
   Makefile.in  2004-05-07 21:26:11.0 +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)
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/ssmtp/ssmtp.spec
  
  $ cvs diff -u -r1.47 -r1.48 ssmtp.spec
  --- openpkg-src/ssmtp/ssmtp.spec  7 May 2004 19:23:10 -   1.47
  +++ openpkg-src/ssmtp/ssmtp.spec  7 May 2004 19:31:57 -   1.48
  @@ -42,6 +42,7 @@
   
   #   package options
   %option   with_fsl  yes
  +%option   with_ssl  no
   
   #   list of sources
   Source0:  ftp://ftp.debian.org/debian/pool/main/s/ssmtp/ssmtp_%{version}.tar.gz
  @@ -59,6 +60,10 @@
   BuildPreReq:  fsl >= 1.2.0
   PreReq:   fsl >= 1.2.0
   %endif
  +%if "%{with_ssl}" == "yes"
  +BuildPreReq:  openssl
  +PreReq:   openssl
  +%endif
   AutoReq:  no
   AutoReqProv:  no
   Provides: MTA
  @@ -85,15 +90,19 @@
   
   %build
   CC="%{l_cc}" \
  -CFLAGS="%{l_cflags -O}" \
  +CFLAGS="%{l_cflags -O} %{l_cppflags}" \
   LDFLAGS="%{l_fsl_ldflags}" \
  -LIBS="%{l_fsl_libs}" \
  +%if "%{with_ssl}" == "yes"
  +LIBS="%{l_fsl_ldflags} %{l_fsl_libs} %{l_ldflags} -lssl -lcrypto" \
  +%else
  +LIBS="%{l_fsl_ldflags} %{l_fsl_libs}" \
  +%endif
   ./configure \
  +%if "%{with_ssl}" == "yes"
  +--enable-ssl \
  +%endif
   --prefix=%{l_prefix}
  -%{l_make} %{l_mflags} \
  -SSMTPCONFDIR="%{l_prefix}/etc/ssmtp" \
  -CONFIGURATION_FILE="%{l_prefix}/etc/ssmtp/ssmtp.conf" \
  -REVALIASES_FILE="%{l_prefix}/etc/ssmtp/ssmtp.revaliases"
  +%{l_make} %{l_mflags}
   
   %install
   rm -rf $RPM_BUILD_ROOT
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]