OSSP CVS Repository

ossp - Check-in [230]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 230
Date: 2000-Dec-14 17:16:07 (local)
2000-Dec-14 16:16:07 (UTC)
User:simons
Branch:
Comment: Removed the signature code and all code that depended on it. In the new Petidomo, the signature mechanism for server mails will work differently.
Tickets:
Inspections:
Files:
ossp-pkg/petidomo/Makefile.in      1.12 -> 1.13     1 inserted, 26 deleted
ossp-pkg/petidomo/config.c      1.4 -> 1.5     1 inserted, 2 deleted
ossp-pkg/petidomo/help.c      1.3 -> 1.4     1 inserted, 5 deleted
ossp-pkg/petidomo/index.c      1.3 -> 1.4     1 inserted, 2 deleted
ossp-pkg/petidomo/members.c      1.3 -> 1.4     1 inserted, 3 deleted
ossp-pkg/petidomo/subscribe.c      1.3 -> 1.4     1 inserted, 7 deleted
ossp-pkg/petidomo/unsubscribe.c      1.3 -> 1.4     1 inserted, 7 deleted

ossp-pkg/petidomo/Makefile.in 1.12 -> 1.13

--- Makefile.in  2000/12/15 15:56:46     1.12
+++ Makefile.in  2000/12/15 16:16:07     1.13
@@ -31,7 +31,7 @@
 OBJS            = acl.o archive.o authen.o config.o \
                   filter.o handleacl.o help.o hermes.o index.o io.o listserv.o \
                   mailer.o members.o parsearray.o password.o rfcparse.o \
-                  subscribe.o tool.o signature.o unsubscribe.o main.o
+                  subscribe.o tool.o unsubscribe.o main.o
 LIBS            = librfc822/librfc822.a liblists/liblists.a libargv/libargv.a \
                   libconfigfile/libconfigfile.a libtext/libtext.a
 
@@ -81,28 +81,3 @@
 
 # Dependencies
 
-acl.o: libtext/text.h petidomo.h libargv/argv.h acl_scan.c acl_scan.h
-acl_scan.o: acl_scan.h
-archive.o: libtext/text.h petidomo.h libargv/argv.h
-authen.o: libtext/text.h petidomo.h libargv/argv.h
-config.o: liblists/lists.h libconfigfile/configfile.h petidomo.h
-config.o: libargv/argv.h
-exit.o: libtext/text.h petidomo.h libargv/argv.h
-filter.o: petidomo.h libargv/argv.h
-handleacl.o: petidomo.h libargv/argv.h
-help.o: libtext/text.h petidomo.h libargv/argv.h
-hermes.o: libtext/text.h petidomo.h libargv/argv.h
-index.o: libtext/text.h petidomo.h libargv/argv.h
-io.o: petidomo.h libargv/argv.h
-listserv.o: libtext/text.h petidomo.h libargv/argv.h
-mailer.o: libtext/text.h petidomo.h libargv/argv.h
-main.o: petidomo.h libargv/argv.h
-members.o: libtext/text.h petidomo.h libargv/argv.h
-parsearray.o: petidomo.h libargv/argv.h
-password.o: petidomo.h libargv/argv.h
-rfcparse.o: librfc822/rfc822.h libtext/text.h petidomo.h libargv/argv.h
-rfcparse.o:
-signature.o: petidomo.h libargv/argv.h
-subscribe.o: libtext/text.h petidomo.h libargv/argv.h
-tool.o: libtext/text.h petidomo.h libargv/argv.h
-unsubscribe.o: libtext/text.h petidomo.h libargv/argv.h


ossp-pkg/petidomo/config.c 1.4 -> 1.5

--- config.c     2000/12/15 16:03:15     1.4
+++ config.c     2000/12/15 16:16:07     1.5
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/Attic/config.c,v $
-   $Revision: 1.4 $
+   $Revision: 1.5 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -36,7 +36,6 @@
 static char *             master_password = NULL;
 static char *             mta = "/usr/sbin/sendmail";
 static char *             mta_options = "-i -f%s";
-static bool               detach = FALSE;
 
 int
 InitPetidomo(void)


ossp-pkg/petidomo/help.c 1.3 -> 1.4

--- help.c       2000/12/15 15:48:00     1.3
+++ help.c       2000/12/15 16:16:07     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/help.c,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -77,7 +77,6 @@
                 syslog(LOG_NOTICE, "List \"%s\" doesn't have a description.", param1);
                 fprintf(fh, "No description available.\n");
             }
-            AppendSignature(fh);
             CloseMailer(fh);
         }
         else {
@@ -111,7 +110,6 @@
 "mailing list server.", param1);
             text_wordwrap(buffer, 75);
             fprintf(fh, "%s\n", buffer);
-            AppendSignature(fh);
             CloseMailer(fh);
         }
     }
@@ -147,7 +145,6 @@
             syslog(LOG_ERR, "There is no help file for Petidomo!");
             fprintf(fh, "No help text available.\n");
         }
-        AppendSignature(fh);
         CloseMailer(fh);
     }
 
@@ -204,7 +201,6 @@
         syslog(LOG_ERR, "There is no help file for Petidomo!");
         fprintf(fh, "No help text available.\n");
     }
-    AppendSignature(fh);
     CloseMailer(fh);
     return 0;
 }


ossp-pkg/petidomo/index.c 1.3 -> 1.4

--- index.c      2000/12/15 15:48:00     1.3
+++ index.c      2000/12/15 16:16:07     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/index.c,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -148,7 +148,6 @@
           fprintf(fh, "Found %d mailing lists.\n", entry_num);
     }
 
-    AppendSignature(fh);
     CloseMailer(fh);
 
     return 0;


ossp-pkg/petidomo/members.c 1.3 -> 1.4

--- members.c    2000/12/15 15:48:00     1.3
+++ members.c    2000/12/15 16:16:07     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/members.c,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -89,7 +89,6 @@
 "under the address \"%s\" instead.", owner);
             text_wordwrap(buffer, 75);
             fprintf(fh, "%s\n", buffer);
-            AppendSignature(fh);
             CloseMailer(fh);
         }
         else
@@ -135,7 +134,6 @@
               fputc(*p, fh);
             }
         }
-        AppendSignature(fh);
         CloseMailer(fh);
     }
     else {


ossp-pkg/petidomo/subscribe.c 1.3 -> 1.4

--- subscribe.c  2000/12/15 15:48:00     1.3
+++ subscribe.c  2000/12/15 16:16:07     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/subscribe.c,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -103,7 +103,6 @@
 "be notified as soon as possible.", listname);
                 text_wordwrap(buffer, 75);
                 fprintf(fh, "%s\n", buffer);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else
@@ -129,7 +128,6 @@
                 fprintf(fh, "%s\n\n", buffer);
                 fprintf(fh, "password <AdminPassword>\n");
                 fprintf(fh, "subscribe %s %s\n", address, listname);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else {
@@ -166,7 +164,6 @@
 "as soon as possible.", listname);
                 text_wordwrap(buffer, 75);
                 fprintf(fh, "%s\n", buffer);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else
@@ -193,7 +190,6 @@
                 fprintf(fh, "%s\n\n", buffer);
                 fprintf(fh, "password <AdminPassword>\n");
                 fprintf(fh, "subscribe %s %s\n", address, listname);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else {
@@ -224,7 +220,6 @@
             fprintf(fh, "Sender: %s\n", envelope);
             fprintf(fh, "\n");
             fprintf(fh, "The address is subscribed to this list already.\n");
-            AppendSignature(fh);
             CloseMailer(fh);
         }
         else {
@@ -285,7 +280,6 @@
         fprintf(fh, "unsubscribe %s\n\n", address);
         fprintf(fh, "Please save a copy of this mail, to make sure you remember how " \
                 "to\nunsubscribe!\n");
-        AppendSignature(fh);
         CloseMailer(fh);
     }
     else {


ossp-pkg/petidomo/unsubscribe.c 1.3 -> 1.4

--- unsubscribe.c        2000/12/15 15:48:00     1.3
+++ unsubscribe.c        2000/12/15 16:16:07     1.4
@@ -1,6 +1,6 @@
 /*
    $Source: /v/ossp/cvs/ossp-pkg/petidomo/unsubscribe.c,v $
-   $Revision: 1.3 $
+   $Revision: 1.4 $
 
    Copyright (C) 2000 by CyberSolutions GmbH, Germany.
 
@@ -104,7 +104,6 @@
 "be notified as soon as possible.", listname);
                 text_wordwrap(buffer, 75);
                 fprintf(fh, "%s\n", buffer);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else
@@ -130,7 +129,6 @@
                 fprintf(fh, "%s\n\n", buffer);
                 fprintf(fh, "password <AdminPassword>\n");
                 fprintf(fh, "unsubscribe %s %s\n", address, listname);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else {
@@ -167,7 +165,6 @@
 "as soon as possible.", listname);
                 text_wordwrap(buffer, 75);
                 fprintf(fh, "%s\n", buffer);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else
@@ -194,7 +191,6 @@
                 fprintf(fh, "%s\n\n", buffer);
                 fprintf(fh, "password <AdminPassword>\n");
                 fprintf(fh, "unsubscribe %s %s\n", address, listname);
-                AppendSignature(fh);
                 CloseMailer(fh);
             }
             else {
@@ -225,7 +221,6 @@
             fprintf(fh, "Sender: %s\n", envelope);
             fprintf(fh, "\n");
             fprintf(fh, "The address is not subscribed to this list.\n");
-            AppendSignature(fh);
             CloseMailer(fh);
         }
         else {
@@ -280,7 +275,6 @@
             }
             text_wordwrap(buffer, 75);
             fprintf(fh, "%s", buffer);
-            AppendSignature(fh);
             CloseMailer(fh);
         }
         else {

CVSTrac 2.0.1