rpms/R/devel R-2.7.1-javareconf-tmpfix.patch, NONE, 1.1 .cvsignore, 1.16, 1.17 R.spec, 1.46, 1.47 sources, 1.18, 1.19

Tom Callaway spot at fedoraproject.org
Fri Aug 29 15:54:24 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/R/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1361/devel

Modified Files:
	.cvsignore R.spec sources 
Added Files:
	R-2.7.1-javareconf-tmpfix.patch 
Log Message:
update everyone to 2.7.2, fix security bug 460658

R-2.7.1-javareconf-tmpfix.patch:

--- NEW FILE R-2.7.1-javareconf-tmpfix.patch ---
diff -up R-2.7.1/src/scripts/javareconf.BAD R-2.7.1/src/scripts/javareconf
--- R-2.7.1/src/scripts/javareconf.BAD	2008-08-29 11:04:21.000000000 -0400
+++ R-2.7.1/src/scripts/javareconf	2008-08-29 11:05:34.000000000 -0400
@@ -125,16 +125,17 @@ fi
 javac_works='not present'
 if test -n "$JAVAC"; then
     javac_works='not functional'
-    rm -rf /tmp/A.java /tmp/A.class
-    echo "public class A { }" > /tmp/A.java
-    if test -e /tmp/A.java; then
-	if "${JAVAC}" /tmp/A.java >/dev/null; then
-	    if test -e /tmp/A.class; then
+    tempdir=`mktemp -d`
+    echo "public class A { }" > ${tempdir}/A.java
+    if test -e ${tempdir}/A.java; then
+	if "${JAVAC}" ${tempdir}/A.java >/dev/null; then
+	    if test -e ${tempdir}/A.class; then
 		javac_works=yes
 	    fi
 	fi
     fi
-    rm -rf /tmp/A.java /tmp/A.class
+    rm -rf ${tempdir}
+
 fi
 if test "${javac_works}" = yes; then
     echo "Java compiler    : ${JAVAC}"


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/R/devel/.cvsignore,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- .cvsignore	7 Jul 2008 20:56:13 -0000	1.16
+++ .cvsignore	29 Aug 2008 15:53:53 -0000	1.17
@@ -1 +1 @@
-R-2.7.1.tar.gz
+R-2.7.2.tar.gz


Index: R.spec
===================================================================
RCS file: /cvs/pkgs/rpms/R/devel/R.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- R.spec	7 Jul 2008 20:56:13 -0000	1.46
+++ R.spec	29 Aug 2008 15:53:53 -0000	1.47
@@ -1,11 +1,14 @@
 Name: R
-Version: 2.7.1
+Version: 2.7.2
 Release: 1%{?dist}
 Summary: A language for data analysis and graphics
 URL: http://www.r-project.org
 Source0: ftp://cran.r-project.org/pub/R/src/base/R-2/R-%{version}.tar.gz
 Source1: macros.R
 Source2: R-make-search-index.sh
+# Sent upstream:
+# http://bugs.r-project.org/cgi-bin/R/incoming?id=12636
+Patch0: R-2.7.1-javareconf-tmpfix.patch
 License: GPLv2+
 Group: Applications/Engineering
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -99,6 +102,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .javareconf-tmpfix
 
 # Filter false positive provides.
 cat <<EOF > %{name}-prov
@@ -133,7 +137,7 @@
           export F77="gfortran -m64"
           export FC="gfortran -m64"
       ;;
-      ia64)
+      ia64|alpha)
           export CC="gcc"
           export CXX="g++"
           export F77="gfortran"
@@ -283,6 +287,11 @@
 /sbin/ldconfig
 
 %changelog
+* Fri Aug 29 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.7.2-1
+- update to 2.7.2
+- fix spec for alpha compile (bz 458931)
+- fix security issue in javareconf script (bz 460658)
+
 * Mon Jul  7 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.7.1-1
 - update to 2.7.1
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/R/devel/sources,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sources	7 Jul 2008 20:56:13 -0000	1.18
+++ sources	29 Aug 2008 15:53:54 -0000	1.19
@@ -1 +1 @@
-565b06a1f3f11020399934cc7b47a59d  R-2.7.1.tar.gz
+6122945e9301825b97a506151b3cefde  R-2.7.2.tar.gz




More information about the fedora-extras-commits mailing list