summaryrefslogtreecommitdiff
path: root/news/ifmail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-10-27 04:34:53 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-10-27 04:34:53 +0000
commit5bdffe382c3a3fd242aca5625983713da6d6d00d (patch)
tree7fe6dbabfa844e472fb10c95e8f03e20dd29f9fa /news/ifmail
parentUpdate to 2.0.11. (diff)
- Security Fix
privillege esaclation to write as user ifmail Submitted by: Niels Heinen, Jacques A Vidrine
Notes
Notes: svn path=/head/; revision=120295
Diffstat (limited to 'news/ifmail')
-rw-r--r--news/ifmail/Makefile2
-rw-r--r--news/ifmail/files/patch-rdconfig.c36
2 files changed, 37 insertions, 1 deletions
diff --git a/news/ifmail/Makefile b/news/ifmail/Makefile
index 0a16197b3610..79fabf97c369 100644
--- a/news/ifmail/Makefile
+++ b/news/ifmail/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ifmail
PORTVERSION= 2.15
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= system/fido
diff --git a/news/ifmail/files/patch-rdconfig.c b/news/ifmail/files/patch-rdconfig.c
new file mode 100644
index 000000000000..0783ba7906b4
--- /dev/null
+++ b/news/ifmail/files/patch-rdconfig.c
@@ -0,0 +1,36 @@
+*** iflib/rdconfig.c.orig Tue Oct 19 11:27:29 2004
+--- iflib/rdconfig.c Tue Oct 19 11:29:47 2004
+***************
+*** 5,10 ****
+--- 5,11 ----
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <time.h>
++ #include <unistd.h>
+ #include "xutil.h"
+ #include "lutil.h"
+ #include "ftn.h"
+***************
+*** 402,409 ****
+ verbose=setverbose(arg);
+ break;
+
+! case 'I': configname=arg;
+! break;
+
+ default: return 1; /* unrecognized option */
+
+--- 403,415 ----
+ verbose=setverbose(arg);
+ break;
+
+! case 'I':
+! if (issetugid())
+! fprintf(stderr,
+! "readconfig: -I option ignored while running as set-user-ID\n");
+! else
+! configname=arg;
+! break;
+
+ default: return 1; /* unrecognized option */
+