summaryrefslogtreecommitdiff
path: root/mail/mimedefang/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2002-10-30 09:50:24 +0000
committermarkd <markd@pkgsrc.org>2002-10-30 09:50:24 +0000
commitacf1329bd41e8a7fc6ee783022f53b87bb9dce99 (patch)
tree58d530751cafdecb2d8400fc3e3b723efffa1a47 /mail/mimedefang/patches
parent415178b49854cf15315382918deaff4ffc0d3e09 (diff)
downloadpkgsrc-acf1329bd41e8a7fc6ee783022f53b87bb9dce99.tar.gz
Update mimedefang to version 2.24
Changes in 2.24: This release includes "watch-mimedefang", a graphical monitoring tool [not enabled]. It does stricter checks on functions which only make sense in the context of a message. Global variables are cleared between messages so that extraneous values don't stick around. There are important fixes for Solaris and possibly other non-Linux machines. Changes in 2.23: A bug which could crash mimedefang-multiplexor under conditions of extreme load has been fixed. An attacker with sufficient bandwidth may be able to exploit the bug to mount a denial-of-service attack. Changes in 2.22: Support has been added for clamd, the daemonized version of Clam AntiVirus. A new variable $MaxMIMEParts lets you reject overly complex MIME messages which could otherwise result in a DoS. A new action_delete_all_headers routine has been added which deletes all instance of a given header. Many little bugs were fixed and portability was improved.
Diffstat (limited to 'mail/mimedefang/patches')
-rw-r--r--mail/mimedefang/patches/patch-aa32
-rw-r--r--mail/mimedefang/patches/patch-ab25
2 files changed, 8 insertions, 49 deletions
diff --git a/mail/mimedefang/patches/patch-aa b/mail/mimedefang/patches/patch-aa
deleted file mode 100644
index 59253380701..00000000000
--- a/mail/mimedefang/patches/patch-aa
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/09/23 13:08:52 markd Exp $
-
---- rm_r.c~ Sat Sep 7 01:43:35 2002
-+++ rm_r.c Mon Sep 23 16:57:39 2002
-@@ -24,6 +24,27 @@
- #include <syslog.h>
- #include <string.h>
-
-+#ifdef __NetBSD__
-+/*
-+ * Fake an readdir_r until such time as NetBSD has one
-+ * think this should be good enough for the nonpreemptive thread packages
-+ */
-+int
-+readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result)
-+{
-+ struct dirent *tmp_dirp;
-+
-+ tmp_dirp = readdir(dirp);
-+ if (!tmp_dirp) {
-+ *result = NULL;
-+ return -1;
-+ }
-+ memcpy (entry, tmp_dirp, sizeof(struct dirent));
-+ *result = entry;
-+ return 0;
-+}
-+#endif
-+
- /**********************************************************************
- * %FUNCTION: rm_r
- * %ARGUMENTS:
diff --git a/mail/mimedefang/patches/patch-ab b/mail/mimedefang/patches/patch-ab
index 85ad2586a7f..97b07b4ab3c 100644
--- a/mail/mimedefang/patches/patch-ab
+++ b/mail/mimedefang/patches/patch-ab
@@ -1,22 +1,13 @@
-$NetBSD: patch-ab,v 1.1.1.1 2002/09/23 13:08:52 markd Exp $
+$NetBSD: patch-ab,v 1.2 2002/10/30 09:50:25 markd Exp $
---- Makefile.in~ Mon Sep 23 17:06:19 2002
-+++ Makefile.in Mon Sep 23 17:15:41 2002
-@@ -51,7 +51,7 @@
- all: mimedefang mimedefang-multiplexor
-
- mimedefang-multiplexor: mimedefang-multiplexor.o event.o event_tcp.o drop_privs.o
-- @CC@ @CFLAGS@ -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs.o @LIBS@
-+ @CC@ @CFLAGS@ -o mimedefang-multiplexor mimedefang-multiplexor.o event.o event_tcp.o drop_privs.o @LDFLAGS@ @LIBS@
- -strip mimedefang-multiplexor
-
- rm_r.o: rm_r.c
-@@ -70,7 +70,7 @@
+--- Makefile.in.orig Mon Oct 28 23:13:01 2002
++++ Makefile.in
+@@ -94,7 +94,7 @@
@CC@ @CFLAGS@ $(DEFS) $(MINCLUDE) -c -o mimedefang-multiplexor.o mimedefang-multiplexor.c
- mimedefang: mimedefang.o drop_privs.o utils.o rm_r.o
-- @CC@ @CFLAGS@ @PTHREAD_FLAG@ -o mimedefang mimedefang.o drop_privs.o utils.o rm_r.o @LIBMILTER@ @LIBS@
-+ @CC@ @CFLAGS@ @PTHREAD_FLAG@ -o mimedefang mimedefang.o drop_privs.o utils.o rm_r.o @LDFLAGS@ @LIBMILTER@ @LIBS@
- -strip mimedefang
+ mimedefang: mimedefang.o drop_privs_threaded.o utils.o rm_r.o
+- @CC@ @CFLAGS@ @PTHREAD_FLAG@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o @LIBMILTER@ @LIBS@
++ @CC@ @CFLAGS@ @PTHREAD_FLAG@ -o mimedefang mimedefang.o drop_privs_threaded.o utils.o rm_r.o @LDFLAGS@ @LIBMILTER@ @LIBS@
+ -test "$(DONT_STRIP)" != "1" && strip mimedefang
mimedefang.o: mimedefang.c mimedefang.h