diff options
author | taca <taca@pkgsrc.org> | 2004-08-24 15:43:56 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-08-24 15:43:56 +0000 |
commit | 0a2a5a8e4b78a972d47695a721342e0c3c1050e7 (patch) | |
tree | 9d580145ab11c194c37954988b3e76079653d761 /lang | |
parent | 40937e17ad23044fa02a51fa23cbc7806eced389 (diff) | |
download | pkgsrc-0a2a5a8e4b78a972d47695a721342e0c3c1050e7.tar.gz |
Fix file permission problem in CGI::Session reported by CAN-2004-0755.
Bump PKGREVISION.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby-base/Makefile | 4 | ||||
-rw-r--r-- | lang/ruby-base/distinfo | 3 | ||||
-rw-r--r-- | lang/ruby-base/patches/patch-aq | 13 |
3 files changed, 17 insertions, 3 deletions
diff --git a/lang/ruby-base/Makefile b/lang/ruby-base/Makefile index c32c0873ebf..f53830e4c26 100644 --- a/lang/ruby-base/Makefile +++ b/lang/ruby-base/Makefile @@ -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 --git a/lang/ruby-base/distinfo b/lang/ruby-base/distinfo index 72b1e10bf9f..821d57771ac 100644 --- a/lang/ruby-base/distinfo +++ b/lang/ruby-base/distinfo @@ -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-am) = 2e096dcb882be923d2ff775a4271a300954a9dec SHA1 (patch-an) = 72461b10296cb9a03fc37bba6af69650c8777741 SHA1 (patch-ao) = 1070614441174b30926ba1d8a4d1a4718172ce4b SHA1 (patch-ap) = 19f520406a9b699a4bbe53b0e9e2b69b4eb7d96a +SHA1 (patch-aq) = cf9f16f056c2f5df2493b6f04232fb62edf4448f diff --git a/lang/ruby-base/patches/patch-aq b/lang/ruby-base/patches/patch-aq new file mode 100644 index 00000000000..339de48b919 --- /dev/null +++ b/lang/ruby-base/patches/patch-aq @@ -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 + |