pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ruby-base Fix file permission problem in CGI::Ses...
details: https://anonhg.NetBSD.org/pkgsrc/rev/951e401bf266
branches: trunk
changeset: 479871:951e401bf266
user: taca <taca%pkgsrc.org@localhost>
date: Tue Aug 24 15:43:56 2004 +0000
description:
Fix file permission problem in CGI::Session reported by CAN-2004-0755.
Bump PKGREVISION.
diffstat:
lang/ruby-base/Makefile | 4 ++--
lang/ruby-base/distinfo | 3 ++-
lang/ruby-base/patches/patch-aq | 13 +++++++++++++
3 files changed, 17 insertions(+), 3 deletions(-)
diffs (46 lines):
diff -r 91b6919e44df -r 951e401bf266 lang/ruby-base/Makefile
--- a/lang/ruby-base/Makefile Tue Aug 24 15:23:42 2004 +0000
+++ b/lang/ruby-base/Makefile Tue Aug 24 15:43:56 2004 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.28 2004/06/08 12:23:59 cjep Exp $
+# $NetBSD: Makefile,v 1.29 2004/08/24 15:43:56 taca Exp $
# FreeBSD Id: ports/lang/ruby/Makefile,v 1.39 2000/10/20 19:56:03 knu Exp
DISTNAME= ${RUBY_DISTNAME}
PKGNAME= ${RUBY_PKGNAMEPREFIX}base-${RUBY_VERSION}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
diff -r 91b6919e44df -r 951e401bf266 lang/ruby-base/distinfo
--- a/lang/ruby-base/distinfo Tue Aug 24 15:23:42 2004 +0000
+++ b/lang/ruby-base/distinfo Tue Aug 24 15:43:56 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2004/03/20 04:39:33 taca Exp $
+$NetBSD: distinfo,v 1.15 2004/08/24 15:43:56 taca Exp $
SHA1 (ruby/ruby-1.6.8.tar.gz) = 4b475ac1c837cd62b6dfe85359e1502a71b08cd1
Size (ruby/ruby-1.6.8.tar.gz) = 1023403 bytes
@@ -14,3 +14,4 @@
SHA1 (patch-an) = 72461b10296cb9a03fc37bba6af69650c8777741
SHA1 (patch-ao) = 1070614441174b30926ba1d8a4d1a4718172ce4b
SHA1 (patch-ap) = 19f520406a9b699a4bbe53b0e9e2b69b4eb7d96a
+SHA1 (patch-aq) = cf9f16f056c2f5df2493b6f04232fb62edf4448f
diff -r 91b6919e44df -r 951e401bf266 lang/ruby-base/patches/patch-aq
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ruby-base/patches/patch-aq Tue Aug 24 15:43:56 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1 2004/08/24 15:43:56 taca Exp $
+
+--- lib/cgi/session.rb.orig 2002-05-01 18:36:28.000000000 +0900
++++ lib/cgi/session.rb
+@@ -116,7 +116,7 @@ class CGI
+ begin
+ @f = open(path, "r+")
+ rescue Errno::ENOENT
+- @f = open(path, "w+")
++ @f = File.open(path, File::CREAT|File::RDWR, 0600)
+ end
+ end
+
Home |
Main Index |
Thread Index |
Old Index