ports/129818: [PATCH] lang/ruby19: update to 1.9.0-5
Hung-Yi Chen
gaod at hychen.org
Sun Dec 21 15:10:02 UTC 2008
>Number: 129818
>Category: ports
>Synopsis: [PATCH] lang/ruby19: update to 1.9.0-5
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 21 15:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Hung-Yi Chen
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD gaod.tfcis.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Sat Sep 13 05:18:44 CST 2008 gaod at gaod.tfcis.org:/usr/src/sys/i386/compile/gaod i386
>Description:
1.9.0-1 is vulnerable, update to 1.9.0-5(svn revision 19669).
See http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/ .
>How-To-Repeat:
>Fix:
--- ruby19 begins here ---
===> Generating patch
===> Viewing diff with more
diff -ruN --exclude=CVS /usr/ports/lang/ruby19.orig/distinfo /usr/ports/lang/ruby19/distinfo
--- /usr/ports/lang/ruby19.orig/distinfo 2008-04-06 17:25:27.000000000 +0800
+++ /usr/ports/lang/ruby19/distinfo 2008-12-21 21:29:37.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (ruby/ruby-1.9.0-1.tar.bz2) = 4344e18188bbdf3e5f19cdd3ade902bb
-SHA256 (ruby/ruby-1.9.0-1.tar.bz2) = 88427424d6249c7544ddc53b31d871f1a6dce1dbded402cacc6306feb8d97f3b
-SIZE (ruby/ruby-1.9.0-1.tar.bz2) = 5231193
+MD5 (ruby/ruby-1.9.0-5.tar.bz2) = 1f8be4695939a42a35d9ee793221eaa9
+SHA256 (ruby/ruby-1.9.0-5.tar.bz2) = 6641148785a8bd3b352c2f990e5b20c1bd244f61275150139671b9b84610d996
+SIZE (ruby/ruby-1.9.0-5.tar.bz2) = 6056222
diff -ruN --exclude=CVS /usr/ports/lang/ruby19.orig/files/patch-configure /usr/ports/lang/ruby19/files/patch-configure
--- /usr/ports/lang/ruby19.orig/files/patch-configure 2008-04-06 16:58:13.000000000 +0800
+++ /usr/ports/lang/ruby19/files/patch-configure 2008-12-21 21:32:23.000000000 +0800
@@ -1,11 +1,11 @@
---- configure.orig Thu Jan 17 15:14:30 2008
-+++ configure Thu Jan 17 15:15:00 2008
-@@ -18065,7 +18065,7 @@
+--- configure.orig 2008-12-21 21:31:41.000000000 +0800
++++ configure 2008-12-21 21:31:51.000000000 +0800
+@@ -20507,7 +20507,7 @@
if test x"$enable_pthread" = xyes; then
-- for pthread_lib in thr pthread pthreads c c_r; do
-+ for pthread_lib in pthread thr pthreads c c_r; do
- as_ac_Lib=`echo "ac_cv_lib_$pthread_lib''_pthread_kill" | $as_tr_sh`
- { echo "$as_me:$LINENO: checking for pthread_kill in -l$pthread_lib" >&5
- echo $ECHO_N "checking for pthread_kill in -l$pthread_lib... $ECHO_C" >&6; }
+- for pthread_lib in thr pthread pthreads c c_r root; do
++ for pthread_lib in pthread thr pthreads c c_r root; do
+ as_ac_Lib=`$as_echo "ac_cv_lib_$pthread_lib''_pthread_kill" | $as_tr_sh`
+ { $as_echo "$as_me:$LINENO: checking for pthread_kill in -l$pthread_lib" >&5
+ $as_echo_n "checking for pthread_kill in -l$pthread_lib... " >&6; }
diff -ruN --exclude=CVS /usr/ports/lang/ruby19.orig/files/patch-mkconfig.rb /usr/ports/lang/ruby19/files/patch-mkconfig.rb
--- /usr/ports/lang/ruby19.orig/files/patch-mkconfig.rb 2008-04-06 16:58:13.000000000 +0800
+++ /usr/ports/lang/ruby19/files/patch-mkconfig.rb 1970-01-01 08:00:00.000000000 +0800
@@ -1,11 +0,0 @@
---- mkconfig.rb.orig 2007-12-28 02:40:14.000000000 +0300
-+++ mkconfig.rb 2007-12-28 02:40:25.000000000 +0300
-@@ -138,7 +138,7 @@
- print(*v_fast)
- print(*v_others)
- print <<EOS
-- CONFIG["ruby_version"] = "$(MAJOR).$(MINOR).$(TEENY)"
-+ CONFIG["ruby_version"] = "$(MAJOR).$(MINOR)"
- CONFIG["rubylibdir"] = "$(libdir)/ruby/$(ruby_version)"
- CONFIG["archdir"] = "$(rubylibdir)/$(arch)"
- CONFIG["sitelibdir"] = "$(sitedir)/$(ruby_version)"
===> Done
--- ruby19 ends here ---
--- bsd.ruby.mk_diff begins here ---
--- Mk/bsd.ruby.mk 2008-08-16 05:45:55.000000000 +0800
+++ /root/bsd.ruby.mk 2008-12-21 22:08:44.000000000 +0800
@@ -197,7 +197,7 @@
RUBY_RELVERSION= 1.9.0
RUBY_PORTREVISION= 0
RUBY_PORTEPOCH= 1
-RUBY_PATCHLEVEL= 1
+RUBY_PATCHLEVEL= 5
RUBY_VERSION?= ${RUBY_RELVERSION}.${RUBY_PATCHLEVEL}
RUBY_DISTVERSION?= ${RUBY_RELVERSION}-${RUBY_PATCHLEVEL}
--- bsd.ruby.mk_diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list