diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-07-27 08:04:09 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2008-07-27 08:04:09 +0000 |
commit | 526d3ed9ce5c3e8e711479cd107e91974fdad0e2 (patch) | |
tree | e6c74f262178bf513b7f06d285991f0f89c838a8 /mail-mta/ssmtp/files | |
parent | Stable on ppc wrt bug 232704 (diff) | |
download | gentoo-2-526d3ed9ce5c3e8e711479cd107e91974fdad0e2.tar.gz gentoo-2-526d3ed9ce5c3e8e711479cd107e91974fdad0e2.tar.bz2 gentoo-2-526d3ed9ce5c3e8e711479cd107e91974fdad0e2.zip |
Clean up, rev-bump to fix perms on ssmtp binary (#233027)
(Portage version: 2.2_rc3/cvs/Linux 2.6.25-gentoo-r6 x86_64)
Diffstat (limited to 'mail-mta/ssmtp/files')
-rw-r--r-- | mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch | 44 | ||||
-rw-r--r-- | mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch | 42 |
2 files changed, 0 insertions, 86 deletions
diff --git a/mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch b/mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch deleted file mode 100644 index 07e0ba0568b2..000000000000 --- a/mail-mta/ssmtp/files/ssmtp-2.60.4-md5.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -rup ssmtp-2.60/Makefile.in ssmtp-2.60-gentoo/Makefile.in ---- ssmtp-2.60/Makefile.in 2003-08-21 13:27:23.000000000 +1200 -+++ ssmtp-2.60-gentoo/Makefile.in 2003-08-21 13:30:41.000000000 +1200 -@@ -23,7 +23,7 @@ INSTALLED_REVALIASES_FILE=$(REVALIASES_F - # Programs - GEN_CONFIG=$(srcdir)/generate_config - --SRCS=ssmtp.c arpadate.c base64.c -+SRCS=ssmtp.c arpadate.c base64.c @SRCS@ - - OBJS=$(SRCS:.c=.o) - -diff -rup ssmtp-2.60/configure ssmtp-2.60-gentoo/configure ---- ssmtp-2.60/configure 2003-08-21 13:27:23.000000000 +1200 -+++ ssmtp-2.60-gentoo/configure 2003-08-21 13:31:54.000000000 +1200 -@@ -1503,6 +1503,7 @@ s%@FFLAGS@%$FFLAGS%g - s%@DEFS@%$DEFS%g - s%@LDFLAGS@%$LDFLAGS%g - s%@LIBS@%$LIBS%g -+s%@SRCS@%$SRCS%g - s%@exec_prefix@%$exec_prefix%g - s%@prefix@%$prefix%g - s%@program_transform_name@%$program_transform_name%g -diff -rup ssmtp-2.60/ssmtp.c ssmtp-2.60-gentoo/ssmtp.c ---- ssmtp-2.60/ssmtp.c 2003-08-21 13:27:23.000000000 +1200 -+++ ssmtp-2.60-gentoo/ssmtp.c 2003-08-21 13:31:20.000000000 +1200 -@@ -1257,7 +1257,7 @@ int ssmtp(char *argv[]) - /* Try to log in if username was supplied */ - if(auth_user) { - #ifdef MD5AUTH -- if(auth_pass == (char *)NULL) -+ if(auth_pass == (char *)NULL) { - auth_pass = strdup(""); - } - -@@ -1271,7 +1271,7 @@ int ssmtp(char *argv[]) - strncpy(challenge, strchr(buf,' ') + 1, sizeof(challenge)); - - memset(buf, 0, sizeof(buf)); -- crammd5(challenge, authUsername, authPassword, buf); -+ crammd5(challenge, auth_user, auth_pass, buf); - } - else { - #endif diff --git a/mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch b/mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch deleted file mode 100644 index 6c261860942e..000000000000 --- a/mail-mta/ssmtp/files/ssmtp-2.60.7-logfile.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Nrup ssmtp-2.60/ssmtp.c ssmtp-2.60-solar/ssmtp.c ---- ssmtp-2.60/ssmtp.c 2004-04-15 17:03:24.000000000 -0400 -+++ ssmtp-2.60-solar/ssmtp.c 2004-04-23 02:55:27.000000000 -0400 -@@ -100,18 +100,20 @@ void log_event(int priority, char *forma - { - char buf[(BUF_SZ + 1)]; - va_list ap; -- -+#if (defined (LOGFILE) && defined(LOGFILE_FILENAME)) -+ FILE *fp; -+#endif - va_start(ap, format); - (void)vsnprintf(buf, BUF_SZ, format, ap); - va_end(ap); - --#ifdef LOGFILE -- if((fp = fopen("/tmp/ssmtp.log", "a")) != (FILE *)NULL) { -+#if (defined (LOGFILE) && defined(LOGFILE_FILENAME)) -+ if((fp = fopen(LOGFILE_FILENAME, "a")) != (FILE *)NULL) { - (void)fprintf(fp, "%s\n", buf); - (void)fclose(fp); - } - else { -- (void)fprintf(stderr, "Can't write to /tmp/ssmtp.log\n"); -+ (void)fprintf(stderr, "Can't write to "LOGFILE_FILENAME"\n"); - } - #endif - -diff -Nrup ssmtp-2.60/ssmtp.h ssmtp-2.60-solar/ssmtp.h ---- ssmtp-2.60/ssmtp.h 2002-09-27 09:18:24.000000000 -0400 -+++ ssmtp-2.60-solar/ssmtp.h 2004-04-23 02:55:59.000000000 -0400 -@@ -22,6 +22,10 @@ - #define MAXARGS _POSIX_ARG_MAX - #endif - -+#if (defined (LOGFILE) && !defined(LOGFILE_FILENAME)) -+#define LOGFILE_FILENAME "/dev/stdout" -+#endif -+ - typedef enum {False, True} bool_t; - - struct string_list { |