summaryrefslogtreecommitdiff
path: root/net/sendfile/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-02-26 11:34:54 +0000
committerwiz <wiz@pkgsrc.org>2001-02-26 11:34:54 +0000
commit088d0bc1f09bc63475682cabba919114459c7d7b (patch)
treeead073366a5e39a0693c4ae20de428c17c3a58cd /net/sendfile/patches
parent56f387f1612ee30d7aedc3f47b5dde0a242fe765 (diff)
downloadpkgsrc-088d0bc1f09bc63475682cabba919114459c7d7b.tar.gz
Upgrade to 2.1a (pkgsrc 2.1.0.1): Fixes a security problem.
Closes pkg/12097.
Diffstat (limited to 'net/sendfile/patches')
-rw-r--r--net/sendfile/patches/patch-aa6
-rw-r--r--net/sendfile/patches/patch-ab22
-rw-r--r--net/sendfile/patches/patch-ac13
3 files changed, 16 insertions, 25 deletions
diff --git a/net/sendfile/patches/patch-aa b/net/sendfile/patches/patch-aa
index a584959ee3a..2a08d065503 100644
--- a/net/sendfile/patches/patch-aa
+++ b/net/sendfile/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 1999/06/06 17:08:37 hwr Exp $
+$NetBSD: patch-aa,v 1.2 2001/02/26 11:34:55 wiz Exp $
---- makeconfig.orig Tue Jul 14 12:52:25 1998
-+++ makeconfig Sun Jun 6 17:05:23 1999
+--- makeconfig.orig Thu Aug 26 20:53:32 1999
++++ makeconfig
@@ -16,10 +16,10 @@
# default installation settings
diff --git a/net/sendfile/patches/patch-ab b/net/sendfile/patches/patch-ab
index 1202171bcf5..62fcf64011f 100644
--- a/net/sendfile/patches/patch-ab
+++ b/net/sendfile/patches/patch-ab
@@ -1,13 +1,13 @@
-$NetBSD: patch-ab,v 1.3 2000/09/09 19:51:38 wiz Exp $
+$NetBSD: patch-ab,v 1.4 2001/02/26 11:34:55 wiz Exp $
---- src/sendfiled.c.orig Thu Oct 29 17:48:08 1998
-+++ src/sendfiled.c
-@@ -2945,7 +2945,7 @@
- exit(1);
- }
- if (wlock_file(lockf)<0) {
-- snprintf(MAXS(tmp),"cannot lock %s : ",lockfn,strerror(errno));
-+ snprintf(MAXS(tmp),"cannot lock %s : %s",lockfn,strerror(errno));
- dbgout(tmp);
- exit(1);
+--- src/io.c.orig Fri Feb 16 14:53:43 2001
++++ src/io.c
+@@ -389,7 +389,7 @@
+
+ /* delete file */
+ if (unlink(dire->d_name) < 0) {
+- snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir);
++ snprintf(MAXS(tmp),"cannot remove %s/%s",tmpdir,dire->d_name);
+ message("",'X',tmp);
}
+
diff --git a/net/sendfile/patches/patch-ac b/net/sendfile/patches/patch-ac
index 66622a25ca2..6d70fd03d6c 100644
--- a/net/sendfile/patches/patch-ac
+++ b/net/sendfile/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.1 2000/09/09 19:51:39 wiz Exp $
+$NetBSD: patch-ac,v 1.2 2001/02/26 11:34:55 wiz Exp $
---- develop/install.orig Thu Jan 28 22:45:40 1999
+--- develop/install.orig Tue Dec 7 10:40:11 1999
+++ develop/install
@@ -165,14 +165,6 @@
To deinstall the sendfile-daemon, simply type: rm -f $SERVERDIR/sendfiled
@@ -17,12 +17,3 @@ $NetBSD: patch-ac,v 1.1 2000/09/09 19:51:39 wiz Exp $
umask 022
-@@ -304,7 +296,7 @@
- echo "adding check_sendfile to /etc/csh.login"
- echo >>/etc/csh.login
- echo "test -x $BINDIR/check_sendfile && $BINDIR/check_sendfile" \
-- >>/etc/profile
-+ >>/etc/csh.login
- fi
- fi
-