summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-06 12:32:38 +0000
committerEray Aslan <eras@gentoo.org>2011-06-06 12:32:38 +0000
commit3709e326f2448545186338c8603a9b20bb5aa316 (patch)
treedf36e7e480de3532d8beffbfd906f7eccdaa6ed1 /net-mail/mlmmj/files
parentRemove old; remove unused file; remove versionator inheritance. (diff)
downloadgentoo-2-3709e326f2448545186338c8603a9b20bb5aa316.tar.gz
gentoo-2-3709e326f2448545186338c8603a9b20bb5aa316.tar.bz2
gentoo-2-3709e326f2448545186338c8603a9b20bb5aa316.zip
remove vulnerable versions
(Portage version: 2.1.9.50/cvs/Linux x86_64)
Diffstat (limited to 'net-mail/mlmmj/files')
-rw-r--r--net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch14
-rw-r--r--net-mail/mlmmj/files/mlmmj-1.2.15_mmap_zero_byte.patch41
-rw-r--r--net-mail/mlmmj/files/mlmmj-1.2.16-requeue-unlink-fix.patch29
-rw-r--r--net-mail/mlmmj/files/mlmmj-1.2.16-unsub-digest-text.patch56
4 files changed, 0 insertions, 140 deletions
diff --git a/net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch b/net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch
deleted file mode 100644
index 4a14b6e804e2..000000000000
--- a/net-mail/mlmmj/files/mlmmj-1.2.11_subscriber_mmap.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-Index: src/subscriberfuncs.c
-===================================================================
---- src/subscriberfuncs.c.orig
-+++ src/subscriberfuncs.c
-@@ -51,6 +51,9 @@ off_t find_subscriber(int fd, const char
- return (off_t)-1;
- }
-
-+ if(st.st_size == 0)
-+ return (off_t)-1;
-+
- if(!S_ISREG(st.st_mode)) {
- log_error(LOG_ARGS, "Non regular file in subscribers.d/");
- return (off_t)-1;
diff --git a/net-mail/mlmmj/files/mlmmj-1.2.15_mmap_zero_byte.patch b/net-mail/mlmmj/files/mlmmj-1.2.15_mmap_zero_byte.patch
deleted file mode 100644
index d6537ecc0559..000000000000
--- a/net-mail/mlmmj/files/mlmmj-1.2.15_mmap_zero_byte.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Since 2.6.12, mmap() on a zero-byte file will fail.
-If you have unsubscribed users from a list, you might be left with zero-byte
-subscriber list files, which will cause parsing the full subscriber to fail,
-and mail will only be delivered to some subset of subscribers.
-
-mlmmj-list uses similar logic, but would give a failure instead of counting the
-subscribers properly.
-
-Gentoo-BugID: 141904
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-Date: Wed, 09 Jan 2008 08:25:04 +0000
-
-diff -Nuar mlmmj-1.2.15.orig/src/getaddrsfromfd.c mlmmj-1.2.15/src/getaddrsfromfd.c
---- mlmmj-1.2.15.orig/src/getaddrsfromfd.c 2005-02-14 14:56:44.000000000 -0800
-+++ mlmmj-1.2.15/src/getaddrsfromfd.c 2008-01-09 00:15:14.690251914 -0800
-@@ -21,6 +21,10 @@
- log_error(LOG_ARGS, "Could not fstat fd");
- return -1;
- }
-+ /* mmap of 0-bytes is invalid */
-+ if(st.st_size == 0) {
-+ return 0;
-+ }
-
- start = mmap(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
- if(start == MAP_FAILED) {
-diff -Nuar mlmmj-1.2.15.orig/src/mlmmj-list.c mlmmj-1.2.15/src/mlmmj-list.c
---- mlmmj-1.2.15.orig/src/mlmmj-list.c 2004-11-28 10:46:43.000000000 -0800
-+++ mlmmj-1.2.15/src/mlmmj-list.c 2008-01-09 00:16:12.719781510 -0800
-@@ -68,6 +68,11 @@
-
- if(!S_ISREG(st.st_mode))
- return -1;
-+
-+ /* Nobody there */
-+ if(st.st_size == 0) {
-+ return 0;
-+ }
-
- start = mmap(0, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
- if(start == MAP_FAILED)
diff --git a/net-mail/mlmmj/files/mlmmj-1.2.16-requeue-unlink-fix.patch b/net-mail/mlmmj/files/mlmmj-1.2.16-requeue-unlink-fix.patch
deleted file mode 100644
index 00664e3c09e4..000000000000
--- a/net-mail/mlmmj/files/mlmmj-1.2.16-requeue-unlink-fix.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-If the maintd visited more than one mail in the /requeue/ directory, and the
-FIRST one set the fromrequeuedir flag to unlink the mail file, the flag was NOT
-cleared and caused mail in the real archive to be erronously removed.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
-diff -Nuar --exclude mlmmj-make-ml.sh mlmmj-1.2.16.orig/src/mlmmj-maintd.c mlmmj-1.2.16/src/mlmmj-maintd.c
---- mlmmj-1.2.16.orig/src/mlmmj-maintd.c 2008-10-31 14:20:51.000000000 +0000
-+++ mlmmj-1.2.16/src/mlmmj-maintd.c 2009-12-16 02:11:16.848146214 +0000
-@@ -373,7 +373,7 @@
- struct stat st;
- pid_t childpid, pid;
- time_t t;
-- int status, fromrequeuedir = 0;
-+ int status, fromrequeuedir;
-
- if(chdir(dirname) < 0) {
- log_error(LOG_ARGS, "Could not chdir(%s)", dirname);
-@@ -408,6 +408,10 @@
-
- archivefilename = concatstr(3, listdir, "/archive/",
- dp->d_name);
-+
-+ /* Explicitly initialize for each mail we examine */
-+ fromrequeuedir = 0;
-+
- if(stat(archivefilename, &st) < 0) {
- /* Might be it's just not moved to the archive
- * yet because it's still getting sent, so just
diff --git a/net-mail/mlmmj/files/mlmmj-1.2.16-unsub-digest-text.patch b/net-mail/mlmmj/files/mlmmj-1.2.16-unsub-digest-text.patch
deleted file mode 100644
index 2b8792419efe..000000000000
--- a/net-mail/mlmmj/files/mlmmj-1.2.16-unsub-digest-text.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-Provide more hints to the users on how to unsubscribe from the nomail
-and digest forms. Frequently seen where users try to unsubscribe from
-the normal version of the list when they are really subscribed to the
-digest form.
-
-Signed-off-by: "Robin H. Johnson" <robbat2@gentoo.org>
-
-diff -Nuar mlmmj-1.2.16.orig/listtexts/en/listhelp mlmmj-1.2.16/listtexts/en/listhelp
---- mlmmj-1.2.16.orig/listtexts/en/listhelp 2008-10-30 20:06:29.000000000 +0000
-+++ mlmmj-1.2.16/listtexts/en/listhelp 2009-12-16 20:58:30.864716161 +0000
-@@ -8,6 +8,14 @@
-
- $listunsubaddr$
-
-+To unsubscribe from the digest of this list send a message to:
-+
-+$digestunsubaddr$
-+
-+To unsubscribe from the "nomail" version this list send a message to:
-+
-+$nomailunsubaddr$
-+
- To subscribe to the digest of this list send a message to:
-
- $digestsubaddr$
-diff -Nuar mlmmj-1.2.16.orig/listtexts/en/sub-subscribed mlmmj-1.2.16/listtexts/en/sub-subscribed
---- mlmmj-1.2.16.orig/listtexts/en/sub-subscribed 2008-10-30 20:06:30.000000000 +0000
-+++ mlmmj-1.2.16/listtexts/en/sub-subscribed 2009-12-16 20:59:21.504710982 +0000
-@@ -11,6 +11,14 @@
-
- $listunsubaddr$
-
-+To unsubscribe from the digest of this list send a message to:
-+
-+$digestunsubaddr$
-+
-+To unsubscribe from the "nomail" version this list send a message to:
-+
-+$nomailunsubaddr$
-+
- And for help send a message to:
-
- $helpaddr$
-diff -Nuar mlmmj-1.2.16.orig/listtexts/en/unsub-notsubscribed mlmmj-1.2.16/listtexts/en/unsub-notsubscribed
---- mlmmj-1.2.16.orig/listtexts/en/unsub-notsubscribed 2008-10-30 20:06:30.000000000 +0000
-+++ mlmmj-1.2.16/listtexts/en/unsub-notsubscribed 2009-12-16 20:59:00.624713133 +0000
-@@ -6,6 +6,9 @@
-
- You are not subscribed to this list, so you cannot unsubscribe.
-
-+To unsubscribe from the digest of this list send a message to:
-+
-+$digestunsubaddr$
-
- To subscribe send a message to:
-