summaryrefslogtreecommitdiff
path: root/mail/yatsvrs/patches
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-12-21 03:55:13 +0000
committertaca <taca@pkgsrc.org>2001-12-21 03:55:13 +0000
commit2f5c7e19e3731d7e2ce4b2f102fd6a0b00b006a4 (patch)
treeb9d013361d5333f067afe0d2b2438843d5c91f06 /mail/yatsvrs/patches
parent8051917eb9854c98350890a8cb111b4300b78ed4 (diff)
downloadpkgsrc-2f5c7e19e3731d7e2ce4b2f102fd6a0b00b006a4.tar.gz
Update yatsvrs package to 5.00p6. Changes from 5.00p5 are below.
Fix security hole bug for KILL/KILL9 function. Under specific condition, kill(2) would be called with its first arguement (pid) 0 or 1. It would cause killing parent process, inetd(8). The bug was fixed as bellow. * Avoid using atoi(3). * More strict error checking with sscanf(3).
Diffstat (limited to 'mail/yatsvrs/patches')
-rw-r--r--mail/yatsvrs/patches/patch-aa10
-rw-r--r--mail/yatsvrs/patches/patch-av12
-rw-r--r--mail/yatsvrs/patches/patch-bk16
3 files changed, 19 insertions, 19 deletions
diff --git a/mail/yatsvrs/patches/patch-aa b/mail/yatsvrs/patches/patch-aa
index ee5830ffc8f..27f3c0d9f93 100644
--- a/mail/yatsvrs/patches/patch-aa
+++ b/mail/yatsvrs/patches/patch-aa
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
+$NetBSD: patch-aa,v 1.2 2001/12/21 03:55:13 taca Exp $
---- Makefile.in.orig Mon Jul 9 12:18:00 2001
-+++ Makefile.in
+--- Makefile.in.orig Thu Dec 20 21:31:50 2001
++++ Makefile.in Fri Dec 21 00:34:46 2001
@@ -68,7 +68,7 @@
YAT5SYSDIR = @YAT5SYSDIR@
YATSYSDIROLD = @YATSYSDIROLD@
-SUBDIRS = common yatd yatconfd ascyd doc sample
+SUBDIRS = common yatd yatconfd ascyd doc
- EXTRA_DIST = conf.h pkg_ver.h IMPORTANT INSTALL README UPDATE pkg_ver.h.in
+ EXTRA_DIST = conf.h pkg_ver.h IMPORTANT INSTALL README UPDATE pkg_ver.h.in yatsvr5.00.spec.in yatsvr5.00.spec
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff --git a/mail/yatsvrs/patches/patch-av b/mail/yatsvrs/patches/patch-av
index 136757c26ea..0150ebbf33f 100644
--- a/mail/yatsvrs/patches/patch-av
+++ b/mail/yatsvrs/patches/patch-av
@@ -1,10 +1,10 @@
-$NetBSD: patch-av,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
+$NetBSD: patch-av,v 1.2 2001/12/21 03:55:13 taca Exp $
---- yatd/fldr_etc.c.orig Tue Jun 5 17:36:00 2001
-+++ yatd/fldr_etc.c
-@@ -229,7 +229,7 @@
- goto LBL_CONTINUE;
- FldrSummary.nMailDel = atoi(p);
+--- yatd/fldr_etc.c.orig Wed Dec 19 23:08:04 2001
++++ yatd/fldr_etc.c Fri Dec 21 00:36:45 2001
+@@ -275,7 +275,7 @@
+ }
+
#ifdef DEBUG_LOCAL
- LogDEBUG("<<<Summary: %.256s %u %u %u",
+ LogDEBUG("<<<Summary: %.256s %ld %d %d",
diff --git a/mail/yatsvrs/patches/patch-bk b/mail/yatsvrs/patches/patch-bk
index de96160a09d..f6f1221caf5 100644
--- a/mail/yatsvrs/patches/patch-bk
+++ b/mail/yatsvrs/patches/patch-bk
@@ -1,17 +1,17 @@
-$NetBSD: patch-bk,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
+$NetBSD: patch-bk,v 1.2 2001/12/21 03:55:13 taca Exp $
---- yatd/v2conv.c.orig Fri Jun 22 12:27:20 2001
-+++ yatd/v2conv.c
-@@ -133,7 +133,7 @@
- goto LBL_CONTINUE;
- V2Fldr.nMailUnseen = atoi(p);
+--- yatd/v2conv.c.orig Wed Dec 19 22:56:15 2001
++++ yatd/v2conv.c Fri Dec 21 00:39:21 2001
+@@ -148,7 +148,7 @@
+ }
+
#ifdef DEBUG_LOCAL
- LogDEBUG("<<<V2 Summary: %.256s %u %u %u",
-+ LogDEBUG("<<<V2 Summary: %.256s %ld %u %u",
++ LogDEBUG("<<<V2 Summary: %.256s %ld %u %u",
V2Fldr.szName, V2Fldr.mtime,
V2Fldr.nMail, V2Fldr.nMailUnseen);
#endif
-@@ -549,7 +549,7 @@
+@@ -564,7 +564,7 @@
if (Cnv2(SysData.argv[1]))
return FAILURE;