diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-10-27 19:40:25 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-10-27 19:40:25 +0000 |
commit | 705fca86db25e33096fa9baaa430c86e9ad25b22 (patch) | |
tree | cff00e9fa08f6273eab8508651faef0dcb8c497c /lang/ruby18 | |
parent | - Remove some patches and use REINPLACE_CMD, *_ARGS and *_ENV instead (diff) |
- Fix a ruby vulnerabuility in the safe level settings.
Based on: ports/87816
Submitted by: Phil Oleson <oz@nixil.net>
Security: http://vuxml.FreeBSD.org/1daea60a-4719-11da-b5c6-0004614cc33d.html
Notes
Notes:
svn path=/head/; revision=146505
Diffstat (limited to 'lang/ruby18')
-rw-r--r-- | lang/ruby18/Makefile | 7 | ||||
-rw-r--r-- | lang/ruby18/distinfo | 2 | ||||
-rw-r--r-- | lang/ruby18/files/patch-lib_xmlrpc_utils.rb | 11 |
3 files changed, 6 insertions, 14 deletions
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index 8bc1874f16f0..5d4d5a376c8c 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -7,7 +7,7 @@ PORTNAME= ruby PORTVERSION= ${RUBY_PORTVERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= lang ruby ipv6 MASTER_SITES= ${MASTER_SITE_RUBY} MASTER_SITE_SUBDIR= ${MASTER_SITE_SUBDIR_RUBY} @@ -15,9 +15,10 @@ DISTFILES= ${RUBY_DISTNAME}${EXTRACT_SUFX} DIST_SUBDIR= ruby PATCH_SITES= ${MASTER_SITE_RUBY} -PATCH_SITE_SUBDIR= snapshots +#PATCH_SITE_SUBDIR= snapshots +PATCH_SITE_SUBDIR= 1.8 PATCHFILES= ${RUBY_PATCHFILES} -PATCH_DIST_STRIP= -p1 +#PATCH_DIST_STRIP= -p1 MAINTAINER= knu@FreeBSD.org COMMENT= An object-oriented interpreted scripting language diff --git a/lang/ruby18/distinfo b/lang/ruby18/distinfo index e150ecddcca3..28bf85101043 100644 --- a/lang/ruby18/distinfo +++ b/lang/ruby18/distinfo @@ -1,2 +1,4 @@ MD5 (ruby/ruby-1.8.2.tar.gz) = 8ffc79d96f336b80f2690a17601dea9b SIZE (ruby/ruby-1.8.2.tar.gz) = 3627349 +MD5 (ruby/1.8.2-patch1.gz) = 4f32bae4546421a20a9211253da103d3 +SIZE (ruby/1.8.2-patch1.gz) = 1347 diff --git a/lang/ruby18/files/patch-lib_xmlrpc_utils.rb b/lang/ruby18/files/patch-lib_xmlrpc_utils.rb deleted file mode 100644 index bdf98e240ba7..000000000000 --- a/lang/ruby18/files/patch-lib_xmlrpc_utils.rb +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/xmlrpc/utils.rb.orig Fri Jul 1 07:38:00 2005 -+++ lib/xmlrpc/utils.rb Fri Jul 1 07:38:55 2005 -@@ -138,7 +138,7 @@ - - def get_methods(obj, delim=".") - prefix = @prefix + delim -- obj.class.public_instance_methods.collect { |name| -+ obj.class.public_instance_methods(false).collect { |name| - [prefix + name, obj.method(name).to_proc, nil, nil] - } - end |