Accepting request 59913 from server:mail

Accepted submit request 59913 from user WernerFink

OBS-URL: https://build.opensuse.org/request/show/59913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mailx?expand=0&rev=13
This commit is contained in:
Marcus Rückert 2011-02-03 20:55:37 +00:00 committed by Git OBS Bridge
commit fd1f755194
4 changed files with 40 additions and 69 deletions

View File

@ -1,7 +1,5 @@
Index: def.h --- def.h
=================================================================== +++ def.h 2007-04-17 11:32:43.960721000 +0000
--- def.h.orig
+++ def.h
@@ -142,7 +142,8 @@ enum mimeclean { @@ -142,7 +142,8 @@ enum mimeclean {
MIME_LONGLINES = 002, /* has lines too long for RFC 2822 */ MIME_LONGLINES = 002, /* has lines too long for RFC 2822 */
MIME_CTRLCHAR = 004, /* contains control characters */ MIME_CTRLCHAR = 004, /* contains control characters */
@ -12,10 +10,8 @@ Index: def.h
}; };
enum tdflags { enum tdflags {
Index: mime.c --- mime.c
=================================================================== +++ mime.c 2007-04-17 13:08:06.352702764 +0000
--- mime.c.orig
+++ mime.c
@@ -258,7 +258,10 @@ getcharset(int isclean) @@ -258,7 +258,10 @@ getcharset(int isclean)
if (isclean & (MIME_CTRLCHAR|MIME_HASNUL)) if (isclean & (MIME_CTRLCHAR|MIME_HASNUL))
charset = NULL; charset = NULL;
@ -94,10 +90,8 @@ Index: mime.c
return convert; return convert;
} }
Index: sendout.c --- sendout.c
=================================================================== +++ sendout.c 2007-04-17 13:11:40.576871634 +0000
--- sendout.c.orig
+++ sendout.c
@@ -206,7 +206,7 @@ attach_file(struct attachment *ap, FILE @@ -206,7 +206,7 @@ attach_file(struct attachment *ap, FILE
size_t bufsize, count; size_t bufsize, count;
int lastc = EOF; int lastc = EOF;

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 1 10:39:15 UTC 2011 - gber@opensuse.org
- only recommend smtp_daemon, mailx has builtin SMTP support
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 11 13:36:58 UTC 2010 - coolo@novell.com Fri Jun 11 13:36:58 UTC 2010 - coolo@novell.com

View File

@ -24,7 +24,7 @@ Url: http://heirloom.sourceforge.net/mailx.html
License: BSD3c(or similar) License: BSD3c(or similar)
Group: Productivity/Networking/Email/Utilities Group: Productivity/Networking/Email/Utilities
Provides: mail Provides: mail
Requires: smtp_daemon Recommends: smtp_daemon
AutoReqProv: on AutoReqProv: on
Version: 12.2 Version: 12.2
Release: 145 Release: 145

View File

@ -1,7 +1,5 @@
Index: Makefile --- Makefile
=================================================================== +++ Makefile 2005-10-14 13:44:09.000000000 +0000
--- Makefile.orig
+++ Makefile
@@ -11,13 +11,9 @@ BINDIR = $(PREFIX)/bin @@ -11,13 +11,9 @@ BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man MANDIR = $(PREFIX)/share/man
SYSCONFDIR = /etc SYSCONFDIR = /etc
@ -36,10 +34,8 @@ Index: Makefile
OBJ = aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o \ OBJ = aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o \
dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o \ dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o \
Index: cmd1.c --- cmd1.c
=================================================================== +++ cmd1.c 2005-10-14 13:44:09.000000000 +0000
--- cmd1.c.orig
+++ cmd1.c
@@ -78,7 +78,7 @@ get_pager(void) @@ -78,7 +78,7 @@ get_pager(void)
cp = value("PAGER"); cp = value("PAGER");
@ -58,10 +54,8 @@ Index: cmd1.c
obuf = Popen(cmd, "w", cp, 1); obuf = Popen(cmd, "w", cp, 1);
if (obuf == NULL) { if (obuf == NULL) {
perror(cmd); perror(cmd);
Index: cmd3.c --- cmd3.c
=================================================================== +++ cmd3.c 2005-10-14 13:44:09.000000000 +0000
--- cmd3.c.orig
+++ cmd3.c
@@ -90,7 +90,7 @@ shell(void *v) @@ -90,7 +90,7 @@ shell(void *v)
if (bangexp(&cmd, &cmdsize) < 0) if (bangexp(&cmd, &cmdsize) < 0)
return 1; return 1;
@ -80,10 +74,8 @@ Index: cmd3.c
run_command(shell, 0, -1, -1, NULL, NULL, NULL); run_command(shell, 0, -1, -1, NULL, NULL, NULL);
safe_signal(SIGINT, sigint); safe_signal(SIGINT, sigint);
putchar('\n'); putchar('\n');
Index: collect.c --- collect.c
=================================================================== +++ collect.c 2005-10-14 13:44:09.000000000 +0000
--- collect.c.orig
+++ collect.c
@@ -121,7 +121,7 @@ insertcommand(FILE *fp, char *cmd) @@ -121,7 +121,7 @@ insertcommand(FILE *fp, char *cmd)
if (sigsetjmp(pipejmp, 1)) if (sigsetjmp(pipejmp, 1))
goto endpipe; goto endpipe;
@ -102,10 +94,8 @@ Index: collect.c
if (run_command(shell, if (run_command(shell,
0, fileno(collf), fileno(nf), "-c", cmd, NULL) < 0) { 0, fileno(collf), fileno(nf), "-c", cmd, NULL) < 0) {
Fclose(nf); Fclose(nf);
Index: def.h --- def.h
=================================================================== +++ def.h 2005-10-14 13:45:56.000000000 +0000
--- def.h.orig
+++ def.h
@@ -642,3 +642,68 @@ enum ssl_vrfy_level { @@ -642,3 +642,68 @@ enum ssl_vrfy_level {
VRFY_STRICT VRFY_STRICT
}; };
@ -175,10 +165,8 @@ Index: def.h
+# define PATH_TMP "/tmp" +# define PATH_TMP "/tmp"
+# endif +# endif
+#endif +#endif
Index: dotlock.c --- dotlock.c
=================================================================== +++ dotlock.c 2005-10-14 13:44:09.000000000 +0000
--- dotlock.c.orig
+++ dotlock.c
@@ -82,7 +82,7 @@ maildir_access(const char *fname) @@ -82,7 +82,7 @@ maildir_access(const char *fname)
static int static int
perhaps_setgid(const char *name, gid_t gid) perhaps_setgid(const char *name, gid_t gid)
@ -188,10 +176,8 @@ Index: dotlock.c
if (strncmp(name, safepath, sizeof (safepath)-1) || if (strncmp(name, safepath, sizeof (safepath)-1) ||
strchr(name + sizeof (safepath), '/')) strchr(name + sizeof (safepath), '/'))
Index: edit.c --- edit.c
=================================================================== +++ edit.c 2005-10-14 13:47:03.000000000 +0000
--- edit.c.orig
+++ edit.c
@@ -153,7 +153,7 @@ edit1(int *msgvec, int type) @@ -153,7 +153,7 @@ edit1(int *msgvec, int type)
* Run an editor on the file at "fpp" of "size" bytes, * Run an editor on the file at "fpp" of "size" bytes,
* and return a new file pointer. * and return a new file pointer.
@ -210,10 +196,8 @@ Index: edit.c
sigemptyset(&set); sigemptyset(&set);
if (run_command(edit, oldint != SIG_IGN ? &set : NULL, -1, -1, if (run_command(edit, oldint != SIG_IGN ? &set : NULL, -1, -1,
tempEdit, NULL, NULL) < 0) { tempEdit, NULL, NULL) < 0) {
Index: fio.c --- fio.c
=================================================================== +++ fio.c 2005-10-14 13:44:09.000000000 +0000
--- fio.c.orig
+++ fio.c
@@ -539,7 +539,7 @@ globname(char *name) @@ -539,7 +539,7 @@ globname(char *name)
} }
snprintf(cmdbuf, sizeof cmdbuf, "echo %s", name); snprintf(cmdbuf, sizeof cmdbuf, "echo %s", name);
@ -223,10 +207,8 @@ Index: fio.c
pid = start_command(shell, 0, -1, pivec[1], "-c", cmdbuf, NULL); pid = start_command(shell, 0, -1, pivec[1], "-c", cmdbuf, NULL);
if (pid < 0) { if (pid < 0) {
close(pivec[0]); close(pivec[0]);
Index: main.c --- main.c
=================================================================== +++ main.c 2005-10-14 13:44:09.000000000 +0000
--- main.c.orig
+++ main.c
@@ -396,7 +396,7 @@ usage: @@ -396,7 +396,7 @@ usage:
rcvmode = !to && !tflag; rcvmode = !to && !tflag;
spreserve(); spreserve();
@ -236,10 +218,8 @@ Index: main.c
/* /*
* Expand returns a savestr, but load only uses the file name * Expand returns a savestr, but load only uses the file name
* for fopen, so it's safe to do this. * for fopen, so it's safe to do this.
Index: names.c --- names.c
=================================================================== +++ names.c 2005-10-14 13:44:09.000000000 +0000
--- names.c.orig
+++ names.c
@@ -343,7 +343,7 @@ outof(struct name *names, FILE *fo, stru @@ -343,7 +343,7 @@ outof(struct name *names, FILE *fo, stru
* on one another. * on one another.
*/ */
@ -249,10 +229,8 @@ Index: names.c
sigemptyset(&nset); sigemptyset(&nset);
sigaddset(&nset, SIGHUP); sigaddset(&nset, SIGHUP);
sigaddset(&nset, SIGINT); sigaddset(&nset, SIGINT);
Index: send.c --- send.c
=================================================================== +++ send.c 2005-10-14 13:44:09.000000000 +0000
--- send.c.orig
+++ send.c
@@ -1049,7 +1049,7 @@ getpipefile(char *pipecmd, FILE **qbuf, @@ -1049,7 +1049,7 @@ getpipefile(char *pipecmd, FILE **qbuf,
Ftfree(&tempPipe); Ftfree(&tempPipe);
} }
@ -262,10 +240,8 @@ Index: send.c
if ((rbuf = Popen(pipecmd, "W", shell, fileno(*qbuf))) if ((rbuf = Popen(pipecmd, "W", shell, fileno(*qbuf)))
== NULL) { == NULL) {
perror(pipecmd); perror(pipecmd);
Index: sendout.c --- sendout.c
=================================================================== +++ sendout.c 2005-10-14 13:44:09.000000000 +0000
--- sendout.c.orig
+++ sendout.c
@@ -837,7 +837,7 @@ start_mta(struct name *to, struct name * @@ -837,7 +837,7 @@ start_mta(struct name *to, struct name *
if ((cp = value("sendmail")) != NULL) if ((cp = value("sendmail")) != NULL)
cp = expand(cp); cp = expand(cp);
@ -275,10 +251,8 @@ Index: sendout.c
execv(cp, args); execv(cp, args);
perror(cp); perror(cp);
} }
Index: temp.c --- temp.c
=================================================================== +++ temp.c 2005-10-14 13:44:09.000000000 +0000
--- temp.c.orig
+++ temp.c
@@ -121,7 +121,7 @@ tinit(void) @@ -121,7 +121,7 @@ tinit(void)
tmpdir = smalloc(strlen(cp) + 1); tmpdir = smalloc(strlen(cp) + 1);
strcpy(tmpdir, cp); strcpy(tmpdir, cp);
@ -288,10 +262,8 @@ Index: temp.c
} }
if (myname != NULL) { if (myname != NULL) {
if (getuserid(myname) < 0) { if (getuserid(myname) < 0) {
Index: v7.local.c --- v7.local.c
=================================================================== +++ v7.local.c 2005-10-14 13:44:09.000000000 +0000
--- v7.local.c.orig
+++ v7.local.c
@@ -70,7 +70,7 @@ findmail(char *user, int force, char *bu @@ -70,7 +70,7 @@ findmail(char *user, int force, char *bu
which_protocol(cp) == PROTO_IMAP) { which_protocol(cp) == PROTO_IMAP) {
snprintf(buf, size, "%s/INBOX", protbase(cp)); snprintf(buf, size, "%s/INBOX", protbase(cp));