pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/cfs Do not open files opened for reading in R...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6758b3580c25
branches: trunk
changeset: 490841:6758b3580c25
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Mar 21 18:08:31 2005 +0000
description:
Do not open files opened for reading in RW mode. Helps in using
cfs over coda. From Greg Troxel in PR 28479. PKGREVISION++
diffstat:
security/cfs/Makefile | 4 ++--
security/cfs/distinfo | 3 ++-
security/cfs/patches/patch-ah | 14 ++++++++++++++
3 files changed, 18 insertions(+), 3 deletions(-)
diffs (45 lines):
diff -r c72814b00918 -r 6758b3580c25 security/cfs/Makefile
--- a/security/cfs/Makefile Mon Mar 21 17:35:53 2005 +0000
+++ b/security/cfs/Makefile Mon Mar 21 18:08:31 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2004/12/28 02:47:48 reed Exp $
+# $NetBSD: Makefile,v 1.23 2005/03/21 18:08:31 wiz Exp $
DISTNAME= cfs-1.4.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= security
MASTER_SITES= http://www.crypto.com/software/
diff -r c72814b00918 -r 6758b3580c25 security/cfs/distinfo
--- a/security/cfs/distinfo Mon Mar 21 17:35:53 2005 +0000
+++ b/security/cfs/distinfo Mon Mar 21 18:08:31 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2005/02/24 13:10:05 agc Exp $
+$NetBSD: distinfo,v 1.9 2005/03/21 18:08:31 wiz Exp $
SHA1 (cfs-1.4.1.tar.gz) = be3f73b233149477b739456498c71b120d5f2fb5
RMD160 (cfs-1.4.1.tar.gz) = 0ced92fe9773c6ce6b6706e26de9e17e710e7e46
@@ -10,3 +10,4 @@
SHA1 (patch-ae) = 68b440cda27353d1035bae3002a83d8131087a24
SHA1 (patch-af) = 19bbedcf0c37356dab747087c64617608ff91838
SHA1 (patch-ag) = b9563e2bbade9008d044b9b869822013317f118d
+SHA1 (patch-ah) = 6426888cf462fcd4c0245cb32ae78b7520aaf2d5
diff -r c72814b00918 -r 6758b3580c25 security/cfs/patches/patch-ah
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/cfs/patches/patch-ah Mon Mar 21 18:08:31 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.1 2005/03/21 18:08:31 wiz Exp $
+
+--- cfs_fh.c.orig 2004-11-30 11:19:25.000000000 -0500
++++ cfs_fh.c
+@@ -547,7 +547,9 @@ fhtofd(f,mode)
+ openfd=NULL;
+ }
+
++#if 0
+ if (mode==0) { mode=CFS_WRITE; }
++#endif
+ /* Phil Karn's hack for R/O file systems */
+ if ((fd=open(f->name,mode,0))<0 && errno == EROFS) {
+ mode = CFS_READ; /* Force read and try again */
Home |
Main Index |
Thread Index |
Old Index