--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.data
+++ r-base-2.14.2/debian/r-doc-html.doc-base.data
@@ -0,0 +1,9 @@
+Document: r-data
+Title: R Data Import/Export
+Author: R Core 
+Abstract: This is a guide to importing and exporting data to and from R.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-data.html
+Files: /usr/share/doc/r-doc-html/manual/R-data.html
--- r-base-2.14.2.orig/debian/r-base-core-dbg.lintian
+++ r-base-2.14.2/debian/r-base-core-dbg.lintian
@@ -0,0 +1,2 @@
+r-base-core-dbg: file-missing-in-md5sums usr/lib/debug/usr/bin/Rscript
+r-base-core-dbg: file-missing-in-md5sums usr/lib/debug/usr/lib/R/bin/Rscript
--- r-base-2.14.2.orig/debian/r-base-dev.dirs
+++ r-base-2.14.2/debian/r-base-dev.dirs
@@ -0,0 +1 @@
+usr/share/R/debian/
--- r-base-2.14.2.orig/debian/r-base-core-dbg.dirs
+++ r-base-2.14.2/debian/r-base-core-dbg.dirs
@@ -0,0 +1 @@
+usr/share/lintian/overrides
--- r-base-2.14.2.orig/debian/README.mathlib
+++ r-base-2.14.2/debian/README.mathlib
@@ -0,0 +1,89 @@
+
+The Debian package r-mathlib provides the library of standalone mathematical
+functions from the GNU R sources.
+
+Please consult the header file Rmath.h for the full list of available
+functions, and see section "The R API", subection "Using these functions in
+your own code" from the "Writing R Extensions" manual (available in pdf, html
+and info in the r-doc-pdf, r-doc-html and r-doc-info packages, respectively)
+for their usage.
+
+A simple example is provided in the file test.c which, on a Debian system,
+can be built as 
+    $ gcc test.c -o test_mathlib -lRmath -lm
+Running 'ldd test_mathlib' can verify that the library is linked dynamically.
+
+The full README for the source directory R-$VERSION/src/nmath/standalone is
+included below; you can safely ignore the part about building this library as
+it provided by the Debian r-mathlib package.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 13 Jun 2002 21:27:38 -0500
+
+
+----- file R-$VERSION/src/nmath/standalone/README below ---------------------
+
+If you have not yet made R, under Unix you must first configure R, and
+under Windows you need to set up almost all the tools to make R and
+then run (cd .../src/gnuwin32/fixed; make).
+
+
+Under Unix, making in this directory will make standalone libraries
+libRmath.a and libRmath.so.  `make static' and `make shared' make
+just one of them.
+
+Under Windows, use make -f Makefile.win. This makes Rmath.dll with
+import library libRmath.a.
+
+NB: certain compilers are unable to do compile-time IEEE-754
+arithmetic and so cannot compile mlutils.c.  The known example is
+Sun's cc.  Use gcc for mlutils.c (or the whole library).
+
+
+To use the routines in your own C or C++ programs, include
+
+#define MATHLIB_STANDALONE
+#include <Rmath.h>
+
+and link against -lRmath.  The example file test.c does nothing
+useful, but is provided to test the process.  Note that you will
+probably not be able to run it unless you add the directory containing
+libRmath.so to the LD_LIBRARY_PATH.
+
+
+A little care is needed to use the random-number routines. You will
+need to supply the uniform random number generator 
+
+    double unif_rand(void)
+
+or use the one supplied (and with a shared library or DLL you will
+have to use the one supplied, which is the Marsaglia-multicarry with
+an entry point
+
+    set_seed(unsigned int, unsigned int)
+
+to set its seeds).
+
+The facilties to change the normal random number generator are
+available through the constant N01_kind. This takes values
+from the enumeration type
+
+typedef enum {
+    KINDERMAN_RAMAGE,
+    AHRENS_DIETER,
+    BOX_MULLER
+} N01type;
+
+(and USER_NORM is not available).
+
+
+There is full access to R's handling of NaNs, Inf and -Inf via special
+versions of the macros and functions
+
+    ISNAN, R_FINITE, R_log, R_pow and R_pow_di
+
+and (extern) constants R_PosInf, R_NegInf and NA_REAL. These
+facilities work best on IEEE 754 machines, but are available for all.
+
+There is no support for R's notion of missing values, in particular
+not for NA_INTEGER nor the distinction between NA and NaN for doubles.
+ 
--- r-base-2.14.2.orig/debian/r-recommended.dirs
+++ r-base-2.14.2/debian/r-recommended.dirs
@@ -0,0 +1,2 @@
+usr/lib/R/library
+usr/share/lintian/overrides
--- r-base-2.14.2.orig/debian/simulate-buildd
+++ r-base-2.14.2/debian/simulate-buildd
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ ! -d debian ]
+then
+	echo "Needs to run from a build directory."
+fi
+fakeroot debian/rules clean
+debian/rules build
+fakeroot debian/rules binary-arch
+fakeroot debian/rules clean
--- r-base-2.14.2.orig/debian/build-help.pl
+++ r-base-2.14.2/debian/build-help.pl
@@ -0,0 +1,27 @@
+#!/usr/bin/perl -w
+#
+# Under Debian, R add-on packages (i.e. any of the r-cran-* packages) 
+# used to call 'build-help.pl' in postinst and postrm:
+#	    /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
+#
+# However, R changed upstream and html help indices are created on the fly
+# when the user calls help.start() from within R. With that, the call above
+# is no longer needed and has been phased out in most but not yet all of
+# the postinst and postrm scripts.
+#
+# Moreover, starting with R 2.2.1-3, architecture-independent files are placed
+# below /usr/share/R/ --- breaking the call above. 2.2.1-4 introduced a 
+# symbolic link from /usr/share/R/share to /usr/lib/R/share which works
+# on fresh installs but fails on upgrades from older versions of the R
+# package as dpkg cannot replace an existing directory with a softlink.
+#
+# Hence the need for this empty script to provide a place holder until 
+# all r-cran-*, r-omegahat-*, r-other-*, ... packages have been updated.
+#
+# Dirk Eddelbuettel <edd@debian.org>  06 Feb 2005  
+#
+
+use strict;
+
+print STDERR "Ignoring deprecated call to build-help.pl from postinst or postrm script.\n";
+exit 0;
--- r-base-2.14.2.orig/debian/r-base-latex.lintian
+++ r-base-2.14.2/debian/r-base-latex.lintian
@@ -0,0 +1 @@
+r-base-latex: extra-license-file usr/lib/R/library/base/latex/license.tex
--- r-base-2.14.2.orig/debian/r-doc-pdf.links
+++ r-base-2.14.2/debian/r-doc-pdf.links
@@ -0,0 +1,10 @@
+usr/share/R/doc/manual/R-admin.pdf usr/share/doc/r-doc-pdf/manual/R-admin.pdf
+usr/share/R/doc/manual/R-data.pdf  usr/share/doc/r-doc-pdf/manual/R-data.pdf
+usr/share/R/doc/manual/R-exts.pdf  usr/share/doc/r-doc-pdf/manual/R-exts.pdf
+usr/share/R/doc/manual/R-FAQ.pdf   usr/share/doc/r-doc-pdf/manual/R-FAQ.pdf
+usr/share/R/doc/manual/R-intro.pdf usr/share/doc/r-doc-pdf/manual/R-intro.pdf
+usr/share/R/doc/manual/R-ints.pdf  usr/share/doc/r-doc-pdf/manual/R-ints.pdf
+usr/share/R/doc/manual/R-lang.pdf  usr/share/doc/r-doc-pdf/manual/R-lang.pdf
+usr/share/R/doc/manual/refman.pdf  usr/share/doc/r-doc-pdf/manual/refman.pdf
+
+
--- r-base-2.14.2.orig/debian/shlibs.local
+++ r-base-2.14.2/debian/shlibs.local
@@ -0,0 +1,2 @@
+libtk8.4 0 tk8.4 (>= 8.4.16-2)
+libtcl8.4 0 tcl8.4 (>= 8.4.16-2)
--- r-base-2.14.2.orig/debian/watch
+++ r-base-2.14.2/debian/watch
@@ -0,0 +1,5 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+
+# This is one format for an HTTP site, which is the same as the FTP format
+http://cran.r-project.org/src/base/R-2/R-([-0-9\.]*).tar.gz
--- r-base-2.14.2.orig/debian/r-base-core.menu
+++ r-base-2.14.2/debian/r-base-core.menu
@@ -0,0 +1,5 @@
+?package(r-base-core):	\
+	needs="text"	\
+	section="Applications/Science/Data Analysis"	\
+	title="GNU R"	\
+	command="/usr/bin/R"
--- r-base-2.14.2.orig/debian/r-cran.mk
+++ r-base-2.14.2/debian/r-cran.mk
@@ -0,0 +1,119 @@
+#!/usr/bin/make -f
+# 							-*- makefile -*-
+#
+# Generic debian/rules file for the Debian/GNU Linux r-cran-* packages
+#
+# Should be sufficient for Debianization of CRAN (http://cran.r-project.org) 
+# packages. Note that you still need to provide the other files in debian/*,
+# in particular control, changelog and copyright. 
+# 
+# Copyright 2003-2012 by Dirk Eddelbuettel <edd@debian.org>
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/langcore.mk
+## include /usr/share/cdbs/1/rules/dpatch.mk
+## include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# Check whether source format 3.0 (quilt) is used.  If yes, do not include the conflicting simple-patchsys.mk
+formatfile 	:= $(CURDIR)/debian/source/format
+format_3_quilt	= $(shell if [ -f $(formatfile) ] ; then if grep -q '3.0[[:space:]]*(quilt)' $(formatfile) ; then echo 1 ; else echo 0 ; fi else echo 0 ; fi )
+ifeq ($(format_3_quilt),0)
+  include /usr/share/cdbs/1/rules/simple-patchsys.mk
+endif
+
+# awk command to extract word after Package or Bundle, not lowercased
+awkString	:= "'/^(Package|Bundle):/ {print $$2 }'"
+
+# apply it to the upstream meta-info file DESCRIPTION, also generate a lc version
+cranNameOrig    := $(shell awk "$(awkString)" DESCRIPTION)
+cranName        := $(shell echo "$(cranNameOrig)" | tr A-Z a-z)
+
+## if no debRreposname is known, set default to cran -- thanks, Steffen!
+ifeq ($(debRreposname),)
+  debRreposname	:= cran
+endif
+
+## we can define additional flags for R's make, eg "CXXFLAGS=-g0" for 
+## RQuantLib but the default is empty
+##   makeFlags	:=
+## if makeFlags are defined, then we'll use them in this variable
+## which would otherwise be empty
+ifneq ($(makeFlags),)
+  makeFlagsCall	:= MAKEFLAGS=$(makeFlags)
+endif
+
+## and use the results to build the Debian'ized package name
+package		:= r-$(debRreposname)-$(cranName)
+
+## awk command to extract word after Priority
+prioritystr	:= "'/^Priority:/ {print tolower($$2) }'"
+priority        := $(shell awk "$(prioritystr)" DESCRIPTION)
+
+ifeq ($(priority),recommended)
+  debRdir	:= usr/lib/R/library
+else
+  debRdir	:= usr/lib/R/site-library
+endif
+
+## current R version in Debian, with thanks to Charles Plessy for the dpkg-query call
+#rversion	:= $(shell zcat /usr/share/doc/r-base-dev/changelog.Debian.gz | \
+#			dpkg-parsechangelog -l- --count 1  | \
+#			awk '/^Version/ {print $$2}')
+rversion	:= $(shell dpkg-query -W -f='$${Version}' r-base-dev)
+
+## we use these results for the to-be-installed-in directory
+debRlib		:= $(CURDIR)/debian/$(package)/$(debRdir)
+
+## optional installation of a lintian silencer
+lintiandir	:= $(CURDIR)/debian/$(package)/usr/share/lintian/overrides
+
+common-install-indep:: R_any_arch
+common-install-arch:: R_any_arch
+
+R_any_arch:
+                ## create the target directory
+		dh_installdirs		$(debRdir)
+                ##
+                ## support ${R:Depends} via debian/${package}.substvars
+		echo "R:Depends=r-base-core (>= ${rversion})" >> debian/$(package).substvars
+                ##
+                ## call R to install the sources we're looking at
+                ## use this inside xvfb-run if this wrapper is installed
+		if test -f /usr/bin/xvfb-run; then 			\
+			$(makeFlagsCall) xvfb-run -a 			\
+				R CMD INSTALL -l $(debRlib) --clean     \
+					$(extraInstallFlags) . ;	\
+		else							\
+			$(makeFlagsCall) R CMD INSTALL -l $(debRlib) 	\
+					--clean $(extraInstallFlags) . ;\
+		fi
+                ## remove extra files which are present in some packages
+		rm -vf $(debRlib)/R.css 			\
+			$(debRlib)/$(cranNameOrig)/COPYING 	\
+			$(debRlib)/$(cranNameOrig)/LICENSE.txt
+                ## if we have an overrides file for lintian, install it
+		if test -f debian/overrides; then 		\
+			install -d $(lintiandir) ; 		\
+			install -m 0644 debian/overrides 	\
+				$(lintiandir)/$(package); 	\
+		fi
+
+## clean target from patch by Steffen Moeller on 16 May 2009
+clean::
+                ## the re-invocation of a build process should not
+                ## leave a footprint in Debian's diff.gz.
+		if test -d src; then				\
+			find src -regex ".*\..*o" |             \
+                        xargs --no-run-if-empty -r rm;          \
+		fi
+		rm -f config.log config.status
+                ## the configure file is provided by upstream but
+                ## could be recreated by a call to 'autoconf'.
+                #if [ -r configure.in ]; then \
+                #	rm -f configure \
+                #fi
+                ##
+                # if [ -r src/Makevars.in ]; then \
+                # 	rm -f src/Makevars; \
+                # fi
+
--- r-base-2.14.2.orig/debian/r-base-core.shlibs
+++ r-base-2.14.2/debian/r-base-core.shlibs
@@ -0,0 +1 @@
+libR 1 r-base-core (>= 2.9.2)
--- r-base-2.14.2.orig/debian/r-doc-info.files
+++ r-base-2.14.2/debian/r-doc-info.files
@@ -0,0 +1 @@
+usr/share/info/
--- r-base-2.14.2.orig/debian/README.debian
+++ r-base-2.14.2/debian/README.debian
@@ -0,0 +1,13 @@
+r-base for DEBIAN
+----------------------
+
+This Debian package was created from the sources on the Comprehensive R Archive
+Network sites.  The master site is http://cran.r-project.org/
+
+Douglas Bates <bates@stat.wisc.edu>, Wed, 10 Dec 1997 14:17:31 -0600
+
+The executable is called R.
+
+In accordance with the Debian package policy, the executable,
+/usr/lib/R/bin/R.binary, has been stripped.  Trying to use the --debugger
+option to R may not be as useful as hoped.
--- r-base-2.14.2.orig/debian/r-doc-html.links
+++ r-base-2.14.2/debian/r-doc-html.links
@@ -0,0 +1,7 @@
+usr/share/R/doc/manual/R-admin.html usr/share/doc/r-doc-html/manual/R-admin.html
+usr/share/R/doc/manual/R-data.html  usr/share/doc/r-doc-html/manual/R-data.html
+usr/share/R/doc/manual/R-exts.html  usr/share/doc/r-doc-html/manual/R-exts.html
+usr/share/R/doc/manual/R-FAQ.html   usr/share/doc/r-doc-html/manual/R-FAQ.html
+usr/share/R/doc/manual/R-intro.html usr/share/doc/r-doc-html/manual/R-intro.html
+usr/share/R/doc/manual/R-ints.html  usr/share/doc/r-doc-html/manual/R-ints.html
+usr/share/R/doc/manual/R-lang.html  usr/share/doc/r-doc-html/manual/R-lang.html 
--- r-base-2.14.2.orig/debian/libR.conf
+++ r-base-2.14.2/debian/libR.conf
@@ -0,0 +1,2 @@
+# make libR.so and libRlapack.so visible to ld.so
+/usr/lib/R/lib
--- r-base-2.14.2.orig/debian/r-mathlib.lintian
+++ r-base-2.14.2/debian/r-mathlib.lintian
@@ -0,0 +1,3 @@
+r-mathlib: non-dev-pkg-with-shlib-symlink usr/lib/libRmath.so.1.0.0 usr/lib/libRmath.so
+r-mathlib: missing-depends-line
+r-mathlib: package-name-doesnt-match-sonames libRmath1
--- r-base-2.14.2.orig/debian/R.bash_completion
+++ r-base-2.14.2/debian/R.bash_completion
@@ -0,0 +1,498 @@
+### Copyright (C) 2005-2006 Deepayan Sarkar <Deepayan.Sarkar@R-project.org>
+###
+### This file provides programmable completion for R under the bash
+### shell.  It is made available under the terms of the GNU General
+### Public License, version 2, or at your option, any later version,
+### incorporated herein by reference.
+###
+### This program is distributed in the hope that it will be
+### useful, but WITHOUT ANY WARRANTY; without even the implied
+### warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+### PURPOSE.  See the GNU General Public License, available at 
+### http://www.gnu.org/licenses/gpl.txt, for more details.
+
+
+### NOTE: This does NOT provide completion for commands within R, only
+### for R's command-line options.  For example,
+###
+### R CMD build --f[TAB] 
+###
+### will complete to --force and so on. In other words, this is
+### potentially useful (for the most part) to package developers, not
+### regular users.
+
+### NEWS: Updated for R 2.4.0 (October 2006)
+
+### BUGS: As it stands, this is far from perfect.  Known bugs include: 
+###
+### (1) file/directory name completion doesn't work when there is a ~
+### (1) in the name.  Fortunately, in such situations, one can always
+### (1) fall back to standard completion by using M-/ instead of TAB
+###
+### (2) Not all mutually exclusive options are properly handled
+###
+### (3) Doesn't test for the existence of R before defining the
+### (3) completion function (not strictly a bug, but definitely not a
+### (3) good feature)
+
+
+### INSTALLATION AND USAGE: You need to first install and enable bash
+### completion on your system to use this script.  See
+###
+### http://www.caliban.org/bash/index.shtml#completion
+###
+### to learn more about bash completion.  On a modern Debian system,
+### all the necessary files are already installed by the bash package.
+### To enable it, just uncomment the following lines in your .bashrc
+### 
+### # if [ "$PS1" -a -f /etc/bash_completion ]; then
+### #     . /etc/bash_completion
+### # fi
+### 
+### or to try it out in your current shell, type 
+### 
+### . /etc/bash_completion
+### 
+### Once you are using bash completion, you can enable completion for
+### R by similarly sourcing this file.  For permanent use, place it in
+### your $BASH_COMPLETION_DIR (/etc/bash_completion.d in Debian).  If
+### you don't have access to do that, copy the contents of this file
+### in it's entirety to your ~/.bash_completion, which is sourced by
+### the bash_completion script.
+
+
+
+
+_R()
+{
+    local cur loneOpts helpOpts stdOpts argOpts versOpts cmds cmd furtherOpts
+    local fileNames dirNames i lastToken
+    # local IFS=$'\t\n'
+
+    COMPREPLY=()
+    cur=${COMP_WORDS[COMP_CWORD]}
+
+    loneOpts='--version RHOME'
+    versOpts='-v --version' # only on commands
+    helpOpts='-h --help'
+
+    stdOpts='--save --no-save --no-environ --no-site-file            \
+    --no-init-file --restore --no-restore-data --no-restore-history  \
+    --no-restore --vanilla --no-readline -q --quiet --silent --slave \
+    --verbose -d -g --args'
+
+    ## these should end with a '=' and not be followed by a space.
+    ## Unfortunately, I haven't figured out how to make that work.
+    ## -nospace doesn't suppress the space, and if I add = at the end,
+    ## they get completed as "--debugger\= " etc.  Anyway, they are
+    ## kept separate in anticipation of some future fix...
+
+    argOpts='--min-vsize --max-vsize --min-nsize --max-nsize \
+    --encoding --max-ppsize --debugger --debugger-args \
+    --gui --arch'
+
+    cmds='BATCH COMPILE SHLIB INSTALL REMOVE build check LINK Rprof \
+    Rdconv Rd2dvi Rd2txt Sd2Rd Sweave Stangle config'
+
+
+
+
+    fileNames='' # possible to have files in certain commands (e.g. BATCH)
+    dirNames='' 
+
+
+    if [[ $COMP_CWORD -eq 1 ]] ; then
+	COMPREPLY=(
+	    $( compgen -W "CMD $loneOpts $helpOpts $stdOpts" -- $cur )
+	    $( compgen -o nospace -W "$argOpts" -- $cur )
+	)
+	return 0
+    fi
+
+    ## certain tokens preclude further activity
+    if [[ ${COMP_WORDS[$COMP_CWORD-1]} == @(-v|--version|RHOME|-h|--help) ]] ; then
+	return 0
+    fi
+
+    ## more complicated stuff
+    ## keep last token for use later
+    lastToken=${COMP_WORDS[$COMP_CWORD-1]}
+
+
+    ## if [[ $COMP_CWORD -gt 1 ]] && (implied)
+    if [[ ${COMP_WORDS[1]} == "CMD" ]] ; then
+
+	if [[ $COMP_CWORD -eq 2 ]] ; then
+	    COMPREPLY=(
+		$( compgen -W "$cmds" -- $cur )
+	    )
+	    return 0
+	else
+
+	    ## COMP_CWORD >= 3.  cmd=${COMP_WORDS[2]} is (hopefully)
+	    ## one of $cmds.  At this point, all further options
+	    ## (except -v|-h|RHOME etc handled above) will be assumed
+	    ## repeatable (except for duplicates and exclusives, to be
+	    ## handled later).  In the next step, possible completions
+	    ## for each cmd will be derived.
+
+	    ## A largely similar derivation is also needed for the
+	    ## case when ${COMP_WORDS[2]} is not CMD.  A similar
+	    ## completion list will be derived in that case.
+	    ## Afterwards, things will be removed from these as
+	    ## needed, before the final COMPREPLY is computed.
+
+	    cmd=${COMP_WORDS[2]}
+	    case $cmd in
+		BATCH)
+
+		    ## if last word is a filename (not starting with
+		    ## -) then no more options are allowed, but can be
+		    ## followed by any file (outfile)
+
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken != -* ]] ; then
+
+			furtherOpts=""
+			fileNames=$( compgen -f -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    else
+
+			furtherOpts="$versOpts $helpOpts $stdOpts $argOpts"
+			fileNames=$( compgen -f -X '!*.@(R|r|S|s)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    fi
+		    ;;
+
+		COMPILE)
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken != -* ]] ; then
+
+			furtherOpts=""
+			fileNames=$( compgen -f -X '!*.@(c|cc|cpp|C|f)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    else
+
+			furtherOpts="$versOpts $helpOpts -D"
+			fileNames=$( compgen -f -X '!*.@(c|cc|cpp|C|f)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    fi
+		    ;;
+
+		SHLIB)
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken != -* ]] ; then
+
+			furtherOpts=""
+			fileNames=$( compgen -f -X '!*.@(a|o)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    else
+
+			furtherOpts="$versOpts $helpOpts -o --output"
+			fileNames=$( compgen -f -X '!*.@(a|o)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    fi
+
+		    ;;
+
+		INSTALL)
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken == @(-l|--library) ]] ; then
+
+			furtherOpts=""
+			dirNames=$( compgen -d -- "$cur" )
+
+		    else
+
+			furtherOpts="$versOpts $helpOpts --configure-args \
+--configure-vars -c --clean -s --save --no-save --lazy --no-lazy \
+--lazy-data --no-lazy-data -d --debug -l --library --no-configure \
+--no-docs --with-package-versions --use-zip-data --use-zip-help \
+--use-zip --fake --no-lock --build"
+			fileNames=$( compgen -f -X '!*.@(tar.gz|tgz)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    fi
+		    ;;
+
+		REMOVE)
+		    furtherOpts="$versOpts $helpOpts -l --library"
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken == @(-l|--library) ]] ; then
+			dirNames=$( compgen -d -- "$cur" )
+		    fi
+		    ;;
+
+		build)
+
+		    furtherOpts="$versOpts $helpOpts --force \
+		    --no-vignettes --binary --no-docs --use-zip-data \
+		    --use-zip-help --use-zip"
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		check)
+
+		    furtherOpts="$versOpts $helpOpts -l --library -o \
+		    --outdir --no-clean --no-codoc --no-examples \
+		    --no-install --no-tests --no-vignettes --no-latex \
+		    --use-gct --use-valgrind --rcfile"
+
+		    fileNames=$( compgen -f -X '!*.@(tar.gz|tgz)' -- "$cur" )
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		LINK)
+		    furtherOpts="$versOpts $helpOpts"
+		    ;;
+
+		Rprof)
+		    furtherOpts="$versOpts $helpOpts"
+		    fileNames=$( compgen -f -- "$cur" )
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		Rdconv)
+
+		    furtherOpts="$versOpts $helpOpts -d --debug -t \
+		    --type -o --output --os --OS"
+
+		    fileNames=$( compgen -f -X '!*.@(Rd)' -- "$cur" )
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		Rd2dvi)
+
+		    furtherOpts="$versOpts $helpOpts --batch --debug \
+		    --no-clean --no-preview --os --OS -o --output \
+		    --pdf --title -V --verbose"
+
+		    fileNames=$( compgen -f -X '!*.@(Rd)' -- "$cur" )
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		Rd2txt)
+		    furtherOpts="$versOpts $helpOpts"
+		    fileNames=$( compgen -f -X '!*.@(Rd)' -- "$cur" )
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		Sd2Rd)
+		    furtherOpts="$versOpts $helpOpts -n -x"
+		    fileNames=$( compgen -f -X '!*.@(Sd)' -- "$cur" )
+		    dirNames=$( compgen -d -- "$cur" )
+		    ;;
+
+		Sweave)
+
+		    ## if last word is a filename (not starting with
+		    ## -) then nothing more is allowed
+
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken != -* ]] ; then
+
+			return 0
+
+		    else
+
+			furtherOpts=""
+			fileNames=$( compgen -f -X '!*.@(Rnw|rnw|Snw|snw)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    fi
+		    ;;
+
+		Stangle)
+
+		    ## if last word is a filename (not starting with
+		    ## -) then nothing more is allowed
+
+		    if [[ $COMP_CWORD -gt 3 ]] && \
+			[[ $lastToken != -* ]] ; then
+
+			return 0
+
+		    else
+
+			furtherOpts=""
+			fileNames=$( compgen -f -X '!*.@(Rnw|rnw|Snw|snw)' -- "$cur" )
+			dirNames=$( compgen -d -- "$cur" )
+
+		    fi
+		    ;;
+
+		config)
+
+		    if [[ $COMP_CWORD -gt 3 ]] ; then
+			
+			return 0
+
+		    else
+
+			furtherOpts="$versOpts $helpOpts --ldflags  \
+--cppflags BLAS_LIBS CC CFLAGS CPICFLAGS CPP CPPFLAGS CXX CXXCPP    \
+CXXFLAGS CXXPICFLAGS DYLIB_LD DYLIB_LDFLAGS F2C F77 FFLAGS FLIBS    \
+FPICFLAGS LAPACK_LIBS LDFLAGS MAKE SHLIB_CFLAGS SHLIB_CXXLD         \
+SHLIB_CXXLDFLAGS SHLIB_FFLAGS SHLIB_LD SHLIB_LDFLAGS TCLTK_CPPFLAGS \
+TCLTK_LIBS"
+		    fi
+		    ;;
+
+	    esac
+
+	fi
+
+    elif [[ $lastToken == "<" ]] ; then
+
+	## R [options] < <need .R file here>
+	furtherOpts=""
+	fileNames=$( compgen -f -X '!*.@(R|r|S|s)' -- "$cur" )
+	dirNames=$( compgen -d -- "$cur" )
+
+    elif [[ $lastToken == ">" ]] ; then
+
+	## R [options] > <need output file here>
+	furtherOpts=""
+	fileNames=$( compgen -f -- "$cur" )
+	dirNames=$( compgen -d -- "$cur" )
+
+    else
+
+	case $lastToken in 
+
+	    -g|--gui) 
+		furtherOpts="X11 gnome Tk none" 
+		;;
+	    -d|--debugger) ## allow commands
+		furtherOpts=$( compgen -c -- "$cur" )
+		;;
+
+	    *) ## NOT 'R CMD <something> ': see comments above
+		furtherOpts="$versOpts $helpOpts $stdOpts $argOpts" ;;
+
+	esac
+    fi
+
+    ## need some removal, 
+
+    ## take out options already given
+    for (( i=1; i<=$COMP_CWORD-1; ++i )) ; do
+
+	opt=${COMP_WORDS[$i]}
+
+	case $opt in
+	    --*)    optBase=${opt/=*/} ;;
+	    -*)     optBase=${opt:0:2} ;;
+	esac
+
+	## can't seem to do this using case
+	if [[ $opt == "<" ]] ; then
+	    ## no more args allowed
+	    furtherOpts=""
+	elif [[ $opt == ">" ]] ; then
+	    ## no more args allowed
+	    furtherOpts=""
+	fi
+
+
+	allOpts=" $furtherOpts "
+	allOpts=${allOpts/ ${optBase} / }
+
+	#echo $allOpts
+
+        ## take out alternatives and mutually exclusives
+	case $optBase in
+
+# not working
+# 	    "<") ## only filenames allowed
+# 		echo "-----------"
+# 		allOpts=">" ;;
+# 	    ">") ## only filenames allowed
+# 		allOpts="<" ;;
+
+	    -q|--quiet|--silent)       
+		allOpts=${allOpts/ -q / }
+		allOpts=${allOpts/ --quiet / }
+		allOpts=${allOpts/ --silent / }
+		#echo $allOpts
+
+		;;
+	    --save|-s|--no-save)        
+		allOpts=${allOpts/ --save / } 
+		allOpts=${allOpts/ --no-save / } 
+		allOpts=${allOpts/ -s / } 
+		;;
+	    --vanilla)     
+		allOpts=${allOpts/ --no-save / } 
+		allOpts=${allOpts/ --no-restore / } 
+		allOpts=${allOpts/ --no-site-file / } 
+		allOpts=${allOpts/ --no-init-file / } 
+		allOpts=${allOpts/ --no-environ / } 
+		;;
+	    -d)       allOpts=${allOpts/ --debugger / } ;;
+	    --debugger)       allOpts=${allOpts/ -d / } ;;
+	    --restore)        allOpts=${allOpts/ --no-restore / } ;;
+	    --no-restore)        allOpts=${allOpts/ --restore / } ;;
+	    --debugger)       allOpts=${allOpts/ -d / } ;;
+	    -g|--gui)       
+		allOpts=${allOpts/ -g / }
+		allOpts=${allOpts/ --gui / }
+		;;
+
+ 	    BATCH)       
+		allOpts=${allOpts/ --restore / }
+		allOpts=${allOpts/ --save / }
+		allOpts=${allOpts/ --no-readline / }
+		;;
+
+	    ## build
+	    --use-zip)     
+		allOpts=${allOpts/ --use-zip-data / } 
+		allOpts=${allOpts/ --use-zip-help / } 
+		;;
+
+
+	    ## INSTALL
+	    --lazy|--no-lazy)        
+		allOpts=${allOpts/ --lazy / } 
+		allOpts=${allOpts/ --no-lazy / } 
+		;;
+
+	    --lazy-data|--no-lazy-data)        
+		allOpts=${allOpts/ --lazy-data / } 
+		allOpts=${allOpts/ --no-lazy-data / } 
+		;;
+
+	esac
+
+    done
+
+    ## and finally:
+
+
+    COMPREPLY=(
+	$( compgen -W "$allOpts $fileNames $dirNames" -- $cur )
+    )
+    return 0
+
+
+}
+
+
+complete -F _R -o filenames R
+
+## Add more aliases here, e.g. 
+
+#complete -F _R -o filenames R-2.4
+
+
+
+### Local variables:
+### mode: shell-script
+### End:
--- r-base-2.14.2.orig/debian/compat
+++ r-base-2.14.2/debian/compat
@@ -0,0 +1 @@
+7
--- r-base-2.14.2.orig/debian/r-gnome.preinst
+++ r-base-2.14.2/debian/r-gnome.preinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+#
+# r-gnome.preinst
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org> 
+ 
+set -e
+ 
+case "$1" in
+    install|upgrade)
+    # we want symlinks to r-base so old directories cannot exist
+    test -d /usr/share/doc/r-gnome && rm -rf /usr/share/doc/r-gnome
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+ 
+#DEBHELPER#
+ 
+exit 0
--- r-base-2.14.2.orig/debian/r-recommended.links
+++ r-base-2.14.2/debian/r-recommended.links
@@ -0,0 +1 @@
+usr/share/doc/r-base-core usr/share/doc/r-recommended
--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.ints
+++ r-base-2.14.2/debian/r-doc-html.doc-base.ints
@@ -0,0 +1,10 @@
+Document: r-ints
+Title: R Internals 
+Author: R Core 
+Abstract: This is a guide to the internal structures of R ("GNU S"), and the
+ coding standards for the core team working on R itself.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-ints.html
+Files: /usr/share/doc/r-doc-html/manual/R-ints.html
--- r-base-2.14.2.orig/debian/r-base-core.prerm
+++ r-base-2.14.2/debian/r-base-core.prerm
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# prerm script for the Debian GNU/Linux r-base-core package
+# This version written by Dirk Eddelbuettel <edd@debian.org>   
+
+set -e
+
+#DEBHELPER#
+    
+case "$1" in
+    remove|purge)
+	# edd 03 Apr 2003  cf Section 10.1.2 of Debian Policy
+	rmdir /usr/local/lib/R/site-library 2>/dev/null || true
+	rmdir /usr/local/lib/R/ 2>/dev/null || true
+	# edd 10 May 2009  cf Section 10.7.3 of Debian Policy
+	#                  and well as #527618
+	rm /etc/R/Renviron 2>/dev/null || true
+	ucf --purge /etc/R/Renviron
+	ucfr --purge r-base-core /etc/R/Renviron
+    ;;
+    upgrade|abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+    *)
+	echo "prerm called with unknown argument \`$1'" >&2
+    ;;
+esac
--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.faq
+++ r-base-2.14.2/debian/r-doc-html.doc-base.faq
@@ -0,0 +1,10 @@
+Document: r-faq
+Title: R Frequently Asked Questions
+Author: R Core 
+Abstract: This document contains answers to some of the most frequently asked
+ questions about R.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-FAQ.html
+Files: /usr/share/doc/r-doc-html/manual/R-FAQ.html
--- r-base-2.14.2.orig/debian/r-base-dev.preinst
+++ r-base-2.14.2/debian/r-base-dev.preinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+#
+# r-base-dev.preinst
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org> 
+ 
+set -e
+ 
+case "$1" in
+    install|upgrade)
+    # we want symlinks to r-base so old directories cannot exist
+    test -d /usr/share/doc/r-base-dev && rm -rf /usr/share/doc/r-base-dev
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+ 
+#DEBHELPER#
+ 
+exit 0
--- r-base-2.14.2.orig/debian/r-doc-html.preinst
+++ r-base-2.14.2/debian/r-doc-html.preinst
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# preinst script for the Debian GNU/Linux r-doc-html package
+# This version written by Dirk Eddelbuettel <edd@debian.org>   
+
+set -e
+
+#DEBHELPER#
+    
+case "$1" in
+    install|upgrade)
+	# edd 05 Jul 2006  from with the /usr/lib -> /usr/share transition
+	# edd 12 Aug 2006  make sure it is a symlink and not a directory
+	# edd 29 Aug 2006  make sure $dir does not contain trailing slash
+	dir=/usr/share/doc/r-doc-html/manual
+    	if [ -h $dir ]
+	then
+	    echo "Removing symbolic link $dir"
+	    rm $dir
+	fi
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+    ;;
+esac
+
+exit 0
+
--- r-base-2.14.2.orig/debian/r-gnome.links
+++ r-base-2.14.2/debian/r-gnome.links
@@ -0,0 +1 @@
+usr/share/doc/r-base-core usr/share/doc/r-gnome
--- r-base-2.14.2.orig/debian/r-recommended.files
+++ r-base-2.14.2/debian/r-recommended.files
@@ -0,0 +1,14 @@
+usr/lib/R/library/KernSmooth/
+usr/lib/R/library/MASS/
+usr/lib/R/library/class/
+usr/lib/R/library/nnet/
+usr/lib/R/library/spatial/
+usr/lib/R/library/boot/
+usr/lib/R/library/cluster/
+usr/lib/R/library/foreign/
+usr/lib/R/library/grid/
+usr/lib/R/library/lattice/
+usr/lib/R/library/mgcv/
+usr/lib/R/library/nlme/
+usr/lib/R/library/rpart/
+usr/lib/R/library/survival/
--- r-base-2.14.2.orig/debian/r-doc-html.files
+++ r-base-2.14.2/debian/r-doc-html.files
@@ -0,0 +1 @@
+usr/share/R/doc/manual/*.html
--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.intro
+++ r-base-2.14.2/debian/r-doc-html.doc-base.intro
@@ -0,0 +1,17 @@
+Document: r-intro
+Title: R Introduction 
+Author: R Core 
+Abstract: This is an introduction to R ("GNU S"), a language and environment 
+ for statistical computing and graphics. R is similar to the award-winning
+ S system, which was developed at Bell Laboratories by John Chambers et
+ al. It provides a wide variety of statistical and graphical techniques
+ (linear and nonlinear modelling, statistical tests, time series
+ analysis, classification, clustering, ...).
+ .
+ This manual provides information on data types, programming elements,
+ statistical modelling and graphics.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-intro.html
+Files: /usr/share/doc/r-doc-html/manual/R-intro.html
--- r-base-2.14.2.orig/debian/r-doc-pdf.files
+++ r-base-2.14.2/debian/r-doc-pdf.files
@@ -0,0 +1 @@
+usr/share/R/doc/manual/*.pdf
--- r-base-2.14.2.orig/debian/rules,v
+++ r-base-2.14.2/debian/rules,v
@@ -0,0 +1,758 @@
+head	1.3;
+access;
+symbols;
+locks
+	edd:1.3; strict;
+comment	@# @;
+
+
+1.3
+date	2007.05.06.17.13.23;	author edd;	state Exp;
+branches;
+next	1.2;
+
+1.2
+date	2007.05.06.17.06.12;	author edd;	state Exp;
+branches;
+next	1.1;
+
+1.1
+date	2007.05.06.17.03.31;	author edd;	state Exp;
+branches;
+next	;
+
+
+desc
+@@
+
+
+1.3
+log
+@lots of cleanup
+@
+text
+@#!/usr/bin/make -f
+# debian/rules file for the Debian GNU/Linux r-base package
+# Copyright 1997-2007 by Douglas Bates <bates@@stat.wisc.edu> 
+#		     and Dirk Eddelbuettel <edd@@debian.org>
+#
+# $Id: rules,v 1.2 2007/05/06 17:06:12 edd Exp edd $
+
+corepackage	= r-base-core
+devpackage	= r-base-dev
+latexpackage	= r-base-latex
+pdfpackage	= r-doc-pdf
+htmlpackage	= r-doc-html
+nmathpackage	= r-mathlib
+infopackage	= r-doc-info
+recdpackage	= r-recommended
+
+# for the standalone library, no sonames are assigned in the upstream Makefiles
+somaj		= 1
+somin		= 0
+sorel		= 0
+libver		= $(somaj).$(somin).$(sorel)
+
+debbase		:= $(CURDIR)/debian
+debtmp		:= $(debbase)/$(corepackage)
+debdoc		:= $(debbase)/$(corepackage)/usr/share/doc/$(corepackage)
+debmat		:= $(debbase)/$(nmathpackage)
+debetc		:= $(debbase)/$(corepackage)/usr/lib/R/etc
+debinf		:= $(debbase)/$(infopackage)
+
+## edd 24 Oct 2005 use DEB_BUILD_GNU_CPU, not DEB_BUILD_GNU_TYPE 
+##                 updated rules throughout
+arch		:= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+buildarch	:= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+#export DH_VERBOSE = 1
+
+# edd 15 Aug 2001  default to blas, atlas can override it 
+#atlas		= --with-blas=blas
+# dmb 04 Apr 2003  better to use no specify blas
+# atlas			= --with-blas
+# edd 28 Apr 2003  try configuring with atlas
+# atlas		= --with-blas=atlas
+# edd 16 Oct 2003  back to older default
+#atlas		= --with-blas=blas
+# edd 26 Feb 2004  point to refblas3 
+atlas		= --with-blas=-lblas-3
+
+# edd 08 Mar 2003  use the new lapack feature
+# edd 27 Apr 2003  Set this to =no as we currently see numerical errors
+#lapack		= --with-lapack=no
+# edd 26 Feb 2004  point to lapack3 
+#lapack		= --with-lapack=-llapack-3
+# edd 13 Oct 2004  Set this once again to =no as we still see numerical errors
+lapack		= --with-lapack=no
+
+# edd 02 Sep 2001  default to g77 but let m68k use f2c
+# edd 06 Mar 2003  enforce 3.2 versions explicitly 
+#		   so that on testing we will pick them over 2.95
+# edd 07 Jun 2003  let's fall back to the default compilers
+# edd 08 Sep 2005  real defaults, i.e. remove -3.4 strings
+# edd 03 Apr 2006  switch to gfortran
+# edd 04 Apr 2006  use optimflags, build per-compiler flags later
+fortrancompiler	= F77=gfortran
+compiler	= gcc
+cxxcompiler	= g++
+optimflags	= -O3 -pipe
+
+# edd 04 Sep 2001  default compiler flags, lowered for m68k
+#compilerflags	= -O2 
+# m68k barks when using g77, and when gcc use -O2
+# edd 26 Nov 2002  switched back to g77
+# edd 02 Jun 2003  switched back
+# cts 04 Jun 2003  use -O1 on m68k
+#ifeq ($(arch),m68k)
+#fortrancompiler	= F2C=f2c
+#compilerflags	= -O1
+#endif
+
+# edd 14 Nov 2003  turn blas off on arm
+ifeq ($(arch),arm)
+atlas		= --without-blas
+endif
+
+## edd 09 Nov 2001  ia64 needs gcc-3.0, hppa gets it by default
+#ifeq ($(arch),ia64)
+#fortrancompiler = F77=g77-3.0
+#compiler	= gcc-3.0
+#cxxcompiler	= g++-3.0
+#compilerflags	= -O2
+#endif
+
+## lamont@@debian.org 06 Dec 2001  hppa needs -ffunction-sections  
+ifeq ($(arch),hppa)
+optimflags	= -O2 -ffunction-sections
+endif
+
+## edd 20 Jun 2002	no optimisation or debugging on baby systems
+## edd 02 Jun 2003	use this on arm only 
+#ifneq "$(findstring $(arch), m68k arm)" ""
+ifneq "$(findstring $(arch), arm)" ""
+optimflags	= -O0 -g0 
+endif
+
+## edd 09 Apr 2006	per patch from Andreas Jochens in #361604
+ifeq ($(arch),powerpc64)
+optimflags	+= -mminimal-toc
+endif
+
+## edd 04 Apr 2006	generalize from old compilerflags to per-compiler
+cflags		= -std=gnu99 $(optimflags)
+cxxflags	= $(optimflags)
+fcflags		= $(optimflags)
+
+## edd 17 Sep 2006	suggested by Brian Ripley in email dated 15 Sep 2006
+#ldflags		= -Wl,-O1,-Bdirect,--hash-style=both
+# old call: ldflags		= -Wl,-O1
+## edd 06 May 2007  try it
+ldflags		= -Wl,-O1,-Bdirect,--hash-style=both
+
+maketest:
+	@@echo "Hi $(arch)"
+	@@echo "$(findstring $(arch), i486 hppa arm)" 
+ifeq "$(findstring $(arch), hppa arm)" ""
+	@@echo "**** TRUE if the arch is NOT in the list as !find == '' ***"
+endif
+ifneq "$(findstring $(arch), i486 hppa arm)" ""
+	@@echo "**** TRUE if the arch is in list as find != '' is TRUE ***"
+endif
+	@@echo Bye
+
+get-orig-source: upstream
+upstream:
+        #links http://cran.us.r-project.org/src/base
+	links http://cran.r-project.org/src/base/?M=D
+
+upstreamdevel:
+	links ftp://ftp.stat.math.ethz.ch/Software/R
+        #links http://cran.us.r-project.org/src/base
+        #rsync -vaC rsync.r-project.org::r-devel .
+
+prerelease:
+	links http://cran.r-project.org/src/base-prerelease
+
+
+## edd 24 Oct 2003  build is invoked by the buildd, so we would prefer to
+##		    not imply build-indep; unfortunately R does not build
+##		    properly without it, so we have to stick with it
+## edd 15 Jan 2004  trying again on build only build: build-arch build-indep
+##		    the main hook is to then have binary depend on both
+##		    binary-arch and binary-indep, and those on their builds
+build: build-arch 
+
+build-arch: make-arch 
+
+build-indep: make-indep 
+
+configure: configure-stamp
+configure-stamp:	
+	@@echo "*** configure ***"
+
+        # we have to disable use of the expanded R_LD_LIBRARY_PATH as it
+        # conflicts with Debian's Atlas-can-replace-Blas scheme
+        # so set R_LD_LIBRARY_PATH to the minimal value R_HOME/bin
+        # and discard what configure finds for it on this machine
+        ## edd 06 May 2007  no longer used in R.sh.in
+        #perl -p -i -e 's|:\@@R_LD_LIBRARY_PATH\@@||' src/scripts/R.sh.in
+
+	dh_testdir
+	R_PAPERSIZE=letter				\
+	R_BROWSER=sensible-browser			\
+	PAGER=/usr/bin/pager				\
+	PERL=/usr/bin/perl				\
+	R_UNZIPCMD=/usr/bin/unzip			\
+	R_ZIPCMD=/usr/bin/zip				\
+	R_PRINTCMD=/usr/bin/lpr				\
+	LIBnn=lib					\
+	AWK=/usr/bin/awk                                \
+	CC=${compiler}						\
+	CXX=${cxxcompiler}						\
+	${fortrancompiler}					\
+	CPPFLAGS=					\
+	LDFLAGS=					\
+	FLIBS=						\
+	rsharedir=/usr/share/R/share			\
+	rincludedir=/usr/share/R/include		\
+	rdocdir=/usr/share/R/doc			\
+	./configure --prefix=/usr			\
+		    --with-system-bzlib			\
+		    --with-jpeg				\
+		    --with-system-pcre			\
+		    --with-png				\
+		    --with-readline			\
+		    --with-tcltk			\
+		    --with-system-zlib			\
+		    --mandir=/usr/share/man		\
+		    --infodir=/usr/share/info		\
+		    --datadir=/usr/share/R/share	\
+		    --includedir=/usr/share/R/include	\
+		    $(atlas)		\
+		    $(lapack)		\
+		    --without-gnome			\
+		    --enable-R-profiling		\
+		    --enable-R-shlib			\
+		    --enable-memory-profiling		\
+		    --without-recommended-packages	\
+		    --build $(buildarch)
+
+	touch configure-stamp
+
+make-arch: configure make-arch-stamp 
+make-arch-stamp: 
+	@@echo "*** make-arch ***"
+	$(MAKE)		CFLAGS="$(cflags)"			\
+			CXXFLAGS="$(cxxflags)"			\
+			FFLAGS="$(fcflags)"			\
+			CC=${compiler}				\
+			CXX=${cxxcompiler}			\
+			${fortrancompiler}			\
+			LDFLAGS="$(ldflags)"			\
+			R
+
+        # the top-level 'make stamp-recommended' target implies 'make docs'
+        # which (for the buildds) implies a lot of time wasted generating 
+        # output we already take from the initial i386 build
+#	$(MAKE)		CFLAGS="$(compilerflags)"		\
+#			CXXFLAGS="$(compilerflags)"		\
+#			FFLAGS="$(compilerflags)"		\
+#			CC=${compiler}				\
+#			CXX=${cxxcompiler}			\
+#			${fortrancompiler}			\
+#			stamp-recommended
+
+        # make standalone math lib
+	(cd src/nmath/standalone;				\
+		$(MAKE)	CFLAGS="$(cflags) -D_REENTRANT"		\
+			CXXFLAGS="$(cxxflags) -D_REENTRANT"	\
+			FFLAGS="$(fcflags) -D_REENTRANT"	\
+			CC=${compiler}				\
+			CXX=${cxxcompiler}			\
+			${fortrancompiler}			\
+			all )
+
+        # edd 25 Jan 2004  make install needs html docs
+        # edd 03 Feb 2004  new test, try without 
+        #make docs
+        # edd 15 Jan 2004  make install needs html docs
+        # edd 25 Jan 2004  not needed as we have 'make docs'
+        ## make html
+	$(MAKE) docs R_CMD_BUILD_HELP_OPTS="--txt --example"
+
+	touch make-arch-stamp
+
+make-indep: configure make-indep-stamp
+make-indep-stamp:
+	@@echo "*** make-indep ***"
+        ## edd 12 Jan 2004 uncommenting 'make docs' to split binary all/any
+        ##	  now that recommended packages aren't made
+        ## edd 25 Jan 2004 make docs and make html are made in make-arch
+        ## edd 05 Feb 2004 finally, this works in pre-1.9.0 with Kurt's
+        ##		   R_CMD_BUILD_HELP_OPTS
+	$(MAKE) docs
+	$(MAKE) html
+	$(MAKE) help
+	$(MAKE) info
+	$(MAKE) pdf
+	touch make-indep-stamp
+
+make: make-stamp
+make-stamp: make-arch make-indep 
+
+check: make-arch check-stamp
+check-stamp: 
+	@@echo "*** check ***"
+#ifneq	($(arch),arm)
+## edd 11 Oct 2005  also disable on hppa
+ifeq "$(findstring $(arch), hppa arm)" ""
+	-make check
+endif
+	touch check-stamp
+
+clean:
+	@@echo "*** clean ***"
+	dh_testdir
+	dh_testroot
+	rm -f	configure-stamp \
+		build-stamp build-indep-stamp build-arch-stamp \
+		make-stamp make-arch-stamp make-indep-stamp \
+		install-indep-stamp install-arch-stamp \
+		check-stamp 
+	-$(MAKE) distclean
+	-rm -f `find . -name "*~"`
+	-rm -rf debian/tmp debian/files* core debian/substvars
+	-rm -f doc/html/function.html doc/html/packages.html
+	-rm -f modules/*.so src/unix/Rscript
+        # left over in CVS from r-base --> r-base-core transition
+        #(cd debian; rm -vf r-base.dirs r-base.files r-base.lintian \
+        #		r-base.menu r-base.postinst)	
+	dh_clean
+
+install: install-arch install-indep 
+
+install-arch: make-arch check install-arch-stamp
+install-arch-stamp: 
+	@@echo "*** install-arch ***"
+	dh_testdir
+	dh_testroot
+	dh_clean -a -k
+	dh_installdirs -A
+	@@echo $(debtmp)
+
+	$(MAKE) DESTDIR=$(debtmp) install
+
+	(cd src/nmath/standalone;				\
+		$(MAKE) DESTDIR=$(debtmp) install )
+
+        # fix permissions (Lintian)
+        # edd 15 Jan 2006 now under /usr/share/R
+        # edd 06 May 2007 seems this is no longer needed either
+#	chmod a+x	$(debtmp)/usr/share/R/share/sh/echo.sh		\
+#			$(debtmp)/usr/share/R/share/sh/help-links.sh	\
+#			$(debtmp)/usr/share/R/share/sh/help-print.sh
+
+        # remove unneeded license file, but link them back
+	rm -v	$(debtmp)/usr/lib/R/COPYING  		
+	(cd $(debtmp)/usr/lib/R/; \
+		ln -s ../../share/common-licenses/GPL COPYING)
+	rm -v	$(debtmp)/usr/share/R/doc/COPYING  	\
+		$(debtmp)/usr/share/R/doc/COPYING.LIB
+	(cd $(debtmp)/usr/share/R/doc; \
+		ln -s ../../../share/common-licenses/GPL COPYING;	\
+		ln -s ../../../share/common-licenses/LGPL COPYING.LIB	)
+
+        # edd 15 Jul 2002 reduce compile load on small machines
+#ifneq "$(findstring $(arch), m68k arm)" ""
+#	perl -p -i -e 's/-g -O2/-g0 -O0/g' $(debtmp)/usr/lib/R/etc/Makeconf
+#endif
+
+        # edd 10 Jan 2003 fix Perl interpreter path
+        # edd 05 May 2005  no longer needed
+# 	(cd $(debtmp)/usr/lib/R/bin;					\
+# 	    for file in Rdconv Rprof Sd2Rd build check; do	\
+# 		perl -p -i -e "s|/usr/local/bin/perl|/usr/bin/perl|"	\
+# 		   $${file};						\
+# 	done)
+
+        # edd 25 Sep 2005  link TeX files into texmf
+	# edd 03 Oct 2006  use link into /usr/share/, not /usr/lib/
+	(cd $(debtmp)/usr/share/texmf/tex/latex && 	\
+	    ln -s ../../../R/share/texmf R)
+
+        # that being done, now install in different sub-packages
+
+        # move files for r-recommended
+
+        # move the html manual files in r-doc-html.files into r-doc-html 
+        # these get built in make-arch too ...
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(htmlpackage)
+
+        # move files for r-base-html
+	dh_movefiles	--sourcedir=debian/$(corepackage) -pr-base-html
+        # move files for r-base-latex
+	dh_movefiles	--sourcedir=debian/$(corepackage) -pr-base-latex
+
+	make		prefix=$(debtmp)/usr			\
+			rdocdir=$(debtmp)/usr/share/R/doc	\
+			install-pdf
+
+        # the indep package r-doc-info is made now 
+	make		prefix=$(debtmp)/usr  \
+			infodir=$(debtmp)/usr/share/info	install-info
+
+        # move the pdf manual files listed in r-doc-pdf.files into r-doc-pdf 
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(pdfpackage)
+
+        # move the html manual files in r-doc-html.files into r-doc-html 
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(htmlpackage)
+
+	touch install-indep-stamp
+        # edd 06 Dec 2006 lintian wants them compressed with -9, and R
+        #                 seems to pre-zip them lower
+	gunzip -9v $(debtmp)/usr/share/info/*.gz
+        # move files for r-doc-info
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(infopackage)
+        # deal with stupid automake / install-info issue (cf #235713)
+	rm -vf	$(debinf)/usr/share/info/dir		\
+		$(debinf)/usr/share/info/dir.old	
+
+        # move all the rest into r-base-core
+        # edd 10 Sep 2005  no longer needed as we install into r-base-core
+        # dh_movefiles	-p$(corepackage)
+
+        # for the standalone library package, move the two libs
+        # as 'make install' ignores these, we have to do it by hand
+	dh_installdirs -p$(nmathpackage) usr/include usr/lib \
+					usr/share/lintian/overrides \
+					usr/lib/pkgconfig
+        # move the libraries made and installed by R, and the pkgconfig file
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(nmathpackage)
+        # move the library to a lib*.so.major.0.0, then link
+	(cd $(debmat)/usr/lib; \
+			mv -v libRmath.so libRmath.so.$(libver); \
+			ln -sv libRmath.so.$(libver) libRmath.so.$(somaj); \
+			ln -sv libRmath.so.$(somaj)  libRmath.so)
+        # and create a link for Rmath.h 
+        # rather copy directly into the more independent package r-mathlib
+	install -m 0644 src/include/Rmath.h			\
+			$(debmat)/usr/include
+
+        # now deal with $R_HOME/etc <--> /etc/R
+        # edd 03 Apr 2003  patch Renviron for new R_LIBS standard
+        # edd 24 Apr 2004  patch Renviron for R_PAPERSIZE (bug #245525)
+        # edd 16 Jun 2004	 nope, doesn't work
+        # edd 09 Apr 2005  also move the new file repositories to /etc/R
+        # edd 24 Sep 2006  idem for ldpaths
+	(cd $(debetc); \
+		cat $(debbase)/Renviron-R_LIBS.patch | patch --verbose;	\
+		mv Makeconf Renviron repositories ldpaths 		\
+					../../../../etc/R/;		\
+		ln -s  /etc/R/Makeconf	.;				\
+		ln -s  /etc/R/Renviron	.;				\
+		ln -s  /etc/R/ldpaths   .;                              \
+		ln -s  /etc/R/repositories .				)
+#		cat $(debbase)/Renviron-R_PAPERSIZE.patch | patch --verbose; 
+
+        # deal with build.help.pl's --htmllists argument
+	(cd $(debtmp)/usr/share/R/share/perl; \
+		cat $(debbase)/build-help.pl.patch | patch --verbose )
+
+        # edd 28 Sep 2006  patch javareconf to modify in /etc/R
+	(cd $(debtmp)/usr/lib/R/bin; \
+		cat $(debbase)/javareconf.patch | patch --verbose )
+
+        # edd 24 Jan 2006  deal with old postinst/postrm scripts 
+        #                  calling the old /usr/lib/R/share/perl path
+        #(cd $(debtmp)/usr/lib/R && ln -s ../../share/R/share . )
+        # edd 06 Feb 2006  softlink fails with upgrades from older versions
+	dh_installdirs -p$(corepackage) usr/lib/R/share/perl
+	install -m 0644 debian/build-help.pl	\
+		debian/$(corepackage)/usr/lib/R/share/perl/
+
+        # add tab completion by Deepayan
+	install -m 0644 debian/R.bash_completion	\
+		debian/$(corepackage)/etc/bash_completion.d/R
+
+        # edd 02 May 2007  add libR.conf for ld.so
+	install -m 0644 debian/libR.conf \
+		debian/$(corepackage)/etc/ld.so.conf.d/libR.conf
+
+	touch install-arch-stamp
+
+#install-indep: make-arch make-indep install-arch install-indep-stamp
+install-indep: make-indep install-indep-stamp
+install-indep-stamp: 
+	@@echo "*** install-indep ***"
+	dh_testdir
+	dh_testroot
+	dh_clean -a -k
+	dh_installdirs -A
+
+#	make		prefix=$(debtmp)/usr			install-pdf
+#
+#	 # the indep package r-doc-info is made now 
+#	make		prefix=$(debtmp)/usr  \
+#			infodir=$(debtmp)/usr/share/info	install-info
+#
+#	 # move the pdf manual files listed in r-doc-pdf.files into r-doc-pdf 
+#	dh_movefiles	-p$(pdfpackage)		
+#	 # move the html manual files in r-doc-html.files into r-doc-html 
+#	dh_movefiles	-p$(htmlpackage)		
+#	touch install-indep-stamp
+#	 # move files for r-doc-info
+#	dh_movefiles	-p$(infopackage)
+
+        # but clean up dir and old.dir	
+	rm -vf		$(debbase)/$(infopackage)/usr/share/info/dir \
+			$(debbase)/$(infopackage)/usr/share/info/dir.old
+
+	touch install-indep-stamp
+
+
+# Build architecture-independent files here.
+# edd 5 Feb 2004 binary-indep: build-indep install-indep
+binary-indep: build-indep install-indep
+	@@echo "*** binary-indep ***"
+	dh_testdir -i
+	dh_testroot -i
+	dh_link -i 
+        #dh_installdebconf -i
+	dh_installdocs -i
+        #dh_installexamples -i
+        #dh_installmenu -i
+        #dh_installemacsen -i
+        #dh_installpam -i
+        #dh_installmime -i
+        #dh_installinit -i
+        #dh_installcron -i
+        #dh_installmanpages -i
+        #dh_installinfo -i
+        #dh_undocumented -i
+	dh_installchangelogs -i	
+        # install lintian "silencer"
+	install -p -m 0644  debian/$(latexpackage).lintian \
+	 $(debbase)/$(latexpackage)/usr/share/lintian/overrides/$(latexpackage)
+
+	dh_installdirs -p$(devpackage) usr/share/R/debian
+	install -p -m 0755  debian/r-cran.mk \
+		$(debbase)/$(devpackage)/usr/share/R/debian
+
+	dh_compress -i
+	dh_fixperms -i
+        #dh_suidregister -i
+	dh_installdeb -i
+        #dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i		-X'usr/bin/R' 
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch check install-arch 
+	@@echo "*** binary-arch ***"
+	dh_testdir -a
+	dh_testroot -a
+        #dh_installdebconf -a
+	#dh_link -a
+        # edd 04 Apr 2006	AUTHORS RESOURCES THANKS Y2K FAQ all gone
+	dh_installdocs -p$(corepackage) NEWS ONEWS OONEWS README \
+					debian/README.Atlas \
+					debian/README.mathlib
+	dh_installdocs -p$(nmathpackage)  NEWS ONEWS OONEWS README \
+					debian/README.mathlib
+        #dh_installexamples -a
+        #dh_installexamples -p$(corepackage)	src/nmath/standalone/test.c
+	dh_installexamples -p$(nmathpackage)	src/nmath/standalone/test.c
+	dh_installmenu -a
+        #dh_installemacsen -a
+        #dh_installpam -a
+        #dh_installmime -a
+        #dh_installinit -a
+        #dh_installcron -a
+        #dh_installmanpages -a	-p$(corepackage) getline.3
+        #dh_installman		-p$(corepackage) doc/R.1
+        ## dh_installinfo -a	-n doc/manual/R-*.info*
+        ## edd 04 Apr 2004 manual is dangling unless r-doc-pdf is installed ...
+        ##(cd $(debdoc)/doc && ln -s ../../../../lib/R/doc/html .)
+        ##(cd $(debdoc)/doc && ln -s ../../../../lib/R/doc/manual .)
+        # ... so install doc as a link, as we already did with library
+	# (cd $(debdoc) && ln -s ../../../lib/R/doc .)
+	(cd $(debdoc) && ln -s ../../R/doc .)
+	(cd $(debdoc) && ln -s ../../../lib/R/library .)
+        # install lintian "silencer"
+	install -p -m 0644  debian/$(corepackage).lintian \
+	   $(debbase)/$(corepackage)/usr/share/lintian/overrides/$(corepackage)
+#	install -p -m 0644  debian/$(recdpackage).lintian \
+#	   $(debbase)/$(recdpackage)/usr/share/lintian/overrides/$(recdpackage)
+	install -p -m 0644  debian/$(nmathpackage).lintian \
+	   $(debbase)/$(nmathpackage)/usr/share/lintian/overrides/$(nmathpackage)
+        #dh_undocumented -a
+	dh_installchangelogs -a	-k NEWS 
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+        #dh_suidregister -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_perl -a
+	dh_shlibdeps -a
+#	@@echo "*** Pruning shlibdeps result from double atlas entry ***"
+#	cat debian/r-base-core.substvars
+#	perl -p -i -e 's/atlas2-base, //' debian/r-base-core.substvars
+#	cat debian/r-base-core.substvars
+#	@@echo "*** Pruning atlas from r-recommended shlibdeps ***"
+#	cat debian/r-recommended.substvars
+#	perl -p -i -e 's/atlas2-base, //' debian/r-recommended.substvars
+#	cat debian/r-recommended.substvars
+#	echo "*** Done ***"
+	dh_gencontrol -a
+	dh_md5sums -a		-X'usr/bin/R' -X'usr/bin/Rscript' \
+					-XLibIndex -Xindex.txt \
+					-Xfunction.html -Xpackages.html
+	dh_builddeb -a
+
+#binary: binary-indep binary-arch install-arch install-indep 
+binary: make-stamp check binary-arch binary-indep
+
+.PHONY: build clean binary-indep binary-arch binary install install-arch install-indep
+@
+
+
+1.2
+log
+@removed gnome package entries
+@
+text
+@d6 1
+a6 1
+# $Id: rules,v 1.1 2007/05/06 17:03:31 edd Exp edd $
+a34 2
+
+
+a35 1
+#export DH_COMPAT  = 4
+d116 3
+a118 1
+ldflags		= -Wl,-O1
+d165 2
+a166 1
+	perl -p -i -e 's|:\@@R_LD_LIBRARY_PATH\@@||' src/scripts/R.sh.in
+a242 3
+#			libRmath_la_LDFLAGS=-Wl,-soname,libRmath.so.$(somaj) \
+#			)
+
+d296 2
+a297 2
+	#(cd debian; rm -vf r-base.dirs r-base.files r-base.lintian \
+	#		r-base.menu r-base.postinst)	
+a315 27
+#	$(MAKE) prefix=$(debtmp)/usr				\
+#		mandir=$(debtmp)/usr/share/man			\
+#		rsharedir=$(debtmp)/usr/share/R/share		\
+#		rincludedir=$(debtmp)/usr/share/R/include	\
+#		rdocdir=$(debtmp)/usr/share/R/doc		\
+#		install
+
+        # link $R_HOME/bin/R to real one, and set R_HOME_DIR env.var. 
+        # edd 05 Sep 2005  expand this to R_SHARE_DIR, R_INCLUDE_DIR, R_DOC_DIR
+        # edd 15 Jan 2006  now let those three point to /usr/share/R
+        # edd 05 May 2007  no longer needed as DESTDIR now supported
+# 	(cd $(debtmp)/usr/lib/R/bin/;					\
+# 		ln -svf ../../../bin/R R;				\
+# 		cd ../../../bin;					\
+# 		perl -p -i -e						\
+# 		    's|^R_HOME_DIR=.*|R_HOME_DIR=/usr/lib/R|;\
+# 		     s|^R_SHARE_DIR=.*|R_SHARE_DIR=/usr/share/R/share|;\
+# 		     s|^R_INCLUDE_DIR=.*|R_INCLUDE_DIR=/usr/share/R/include|;\
+# 		     s|^R_DOC_DIR=.*|R_DOC_DIR=/usr/share/R/doc|' 	R)
+
+        # set browser to mozilla as mozilla-1.0.0 works with help.start()
+        # (we're now using /usr/bin/sensible-browser, see above)
+#	(cd $(debtmp)/usr/lib/R/etc; \
+#		perl -p -i -e \
+#			"s|R_BROWSER-'.*'|R_BROWSER-'/usr/bin/mozilla'|" \
+#			Renviron)
+
+d318 4
+a321 3
+	chmod a+x	$(debtmp)/usr/share/R/share/sh/echo.sh		\
+			$(debtmp)/usr/share/R/share/sh/help-links.sh	\
+			$(debtmp)/usr/share/R/share/sh/help-print.sh
+a350 5
+        # edd 02 May 2007  fix includedir in libR.pc
+	(cd $(debtmp)/usr/lib/pkgconfig;				\
+	    perl -p -i -e "s|/usr/lib/R/include|/usr/share/R/include|"	\
+		libR.pc )
+
+a353 2
+        # doing this before html/latex moves ensure they keep their tex/latex
+#	dh_movefiles	-p$(recdpackage)
+a396 4
+#	install -m 0644 src/nmath/standalone/libRmath.a		\
+#			$(debmat)/usr/lib
+#	install -m 0644 src/nmath/standalone/libRmath.so	\
+#			$(debmat)/usr/lib/libRmath.so.$(libver)
+a403 2
+#	install -m 0644 src/nmath/standalone/libRmath.pc	\
+#			$(debmat)/usr/lib/pkgconfig/libRmath.pc
+a404 2
+        #(cd $(debmat)/usr/include; \
+        #		ln -s ../lib/R/include/Rmath.h .)
+d408 1
+@
+
+
+1.1
+log
+@Initial revision
+@
+text
+@d6 1
+a6 1
+# $Id$
+a12 1
+gnomepackage	= r-gnome
+a34 8
+# set this to 1 (default) if you want the Gnome GUI package
+# edd 27 Feb 2005  as of R 2.1.0, the Gnome GUI is no longer included
+gnome		= 0
+ifeq ($(gnome),0)
+gnomeconfig	= --without-gnome
+else
+gnomeconfig	= --with-gnome
+endif
+d201 1
+a201 1
+		    $(gnomeconfig)			\
+a386 5
+        # move the GNOME version to the r-gnome package
+#ifeq ($(gnome),1)
+#	dh_movefiles	-p$(gnomepackage)	usr/lib/R/modules/R_gnome.so
+#endif
+
+a429 3
+#ifeq ($(gnome),1)
+#	dh_installdirs -p$(gnomepackage) usr/share/lintian/overrides
+#endif
+a520 4
+#ifeq ($(gnome),1)
+#	dh_installdirs $(gnomepackage)
+#	dh_installchangelogs -p$(gnomepackage) 
+#endif
+d530 1
+a530 1
+	dh_link -i -N$(gnomepackage)
+a567 3
+#ifeq ($(gnome),1)
+#	dh_link -p$(gnomepackage)
+#endif
+d583 1
+a583 1
+        #dh_installmanpages -a	-N$(gnomepackage) -p$(corepackage) getline.3
+a599 4
+#ifeq ($(gnome),1)
+#	install -p -m 0644  debian/$(gnomepackage).lintian \
+#	   $(debbase)/$(gnomepackage)/usr/share/lintian/overrides/$(gnomepackage)
+#endif
+@
--- r-base-2.14.2.orig/debian/override-bz2-version-check.patch
+++ r-base-2.14.2/debian/override-bz2-version-check.patch
@@ -0,0 +1,22 @@
+--- r-base-2.13.1.orig/configure
++++ r-base-2.13.1/configure
+@@ -32899,7 +32899,7 @@
+ #endif
+ int main() {
+     char *ver = BZ2_bzlibVersion();
+-    exit(strcmp(ver, "1.0.6") < 0);
++    exit(0); /* edd: override, Debian's 1.0.5 is patched  strcmp(ver, "1.0.6") < 0); */
+ }
+ 
+ _ACEOF
+--- r-base-2.13.1.orig/m4/R.m4
++++ r-base-2.13.1/m4/R.m4
+@@ -3049,7 +3049,7 @@
+ #endif
+ int main() {
+     char *ver = BZ2_bzlibVersion();
+-    exit(strcmp(ver, "1.0.6") < 0);
++    exit(0); /* edd: override, Debian's 1.0.5 is patched  strcmp(ver, "1.0.6") < 0); */
+ }
+ ]])], [r_cv_have_bzlib=yes], [r_cv_have_bzlib=no], [r_cv_have_bzlib=no])
+ LIBS="${r_save_LIBS}"
--- r-base-2.14.2.orig/debian/r-gnome.menu
+++ r-base-2.14.2/debian/r-gnome.menu
@@ -0,0 +1,4 @@
+?package(r-gnome):needs="x11"	\
+	section="Apps/Math"	\
+	title="GNU R (Gnome)"	\
+	command="/usr/bin/R --gui=GNOME --no-save"
--- r-base-2.14.2.orig/debian/changelog
+++ r-base-2.14.2/debian/changelog
@@ -0,0 +1,2772 @@
+r-base (2.14.2-3) unstable; urgency=low
+
+  * debian/control: Really change Build-Depends: to libpng-dev this time
+  * debian/control: Also update Depends: for (virtual) r-base-dev
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 07 Mar 2012 14:52:20 -0600
+
+r-base (2.14.2-2) unstable; urgency=low
+
+  * debian/control: Change Build-Depends: to libpng-dev	(Closes: #662488)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 07 Mar 2012 14:27:40 -0600
+
+r-base (2.14.2-1) unstable; urgency=low
+
+  * New upstream release
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+  * debian/control: Set Standards-Version: to current version 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 29 Feb 2012 06:52:40 -0600
+
+r-base (2.14.2~20120222-1) unstable; urgency=low
+
+  * Initial rc build (r58449) of R 2.14.2 expected for Feb 29
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+  
+  * debian/r-cran.mk: Include simple-patchsys.mk only if quilt not used
+    as requested by Andreas Tille		 	(Closes: #652456)
+  
+  * debian/r-cran.mk: Support "R:Depends" expansion in debian/substvars
+    as requested by Andreas Tille and Charles Plessy	(Closes: #659163)				
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 22 Feb 2012 08:51:46 -0600
+
+r-base (2.14.1-1) unstable; urgency=low
+
+  * New upstream release
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 22 Dec 2011 06:32:24 -0600
+
+r-base (2.14.1~20111215-1) unstable; urgency=low
+
+  * Initial rc build (r57901) of R 2.14.1 expected for Dec 22
+  
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+  * debian/control: Added the battery of texlive-* packages in
+    Build-Depends: to 'Suggests:' for r-base-dev so that users can build
+    all related documentation too
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 15 Dec 2011 21:57:29 -0600
+
+r-base (2.14.0-1) unstable; urgency=low
+
+  * New upstream release
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 31 Oct 2011 05:00:31 -0500
+
+r-base (2.14.0~20111027-1) unstable; urgency=low
+
+  * Initial rc build (r57443) of R 2.14.0 expected for Oct 31
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+  * debian/control: Set Standards-Version: to current version 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 27 Oct 2011 12:59:54 -0500
+
+r-base (2.14.0~20111021-1) unstable; urgency=low
+
+  * Initial beta build (r57355) of R 2.14.0 expected for Oct 31
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 21 Oct 2011 14:56:51 -0500
+
+r-base (2.14.0~20111015-1) unstable; urgency=low
+
+  * Initial alpha release (r57258) of R 2.14.0 expected for Oct 31
+
+  * debian/rules: Setting '-std=gnu99' as part of CC, not CFLAGS (with
+    thanks to Kurt Hornik for the suggestion)
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 16 Oct 2011 00:39:15 -0500
+
+r-base (2.13.2-1) unstable; urgency=low
+
+  * New upstream release
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+  * debian/control: Added 'texlive-fonts-extra' to Build-Depends which R
+    2.14.0 will need for the inconsolate font used in vignettes.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 30 Sep 2011 07:02:04 -0500
+
+r-base (2.13.2~20110922-1) unstable; urgency=low
+
+  [ Dirk Eddelbuettel ]
+  * First rc build (r57046) of R 2.13.2 expected for Sep 30
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+  * Applied patch by Jonathan Nieder re 'make check'	(Closes: #638265)
+
+  [ Jonathan Nieder ] 
+  * debian/rules: Run tests in build target, not the install target (since
+    they do not require root privileges).
+  * debian/rules: Do not run tests when DEB_BUILD_OPTIONS contains
+    "nocheck".
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 23 Sep 2011 07:23:10 -0500
+
+r-base (2.13.1-1) unstable; urgency=low
+
+  * New upstream release
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 08 Jul 2011 06:17:17 -0500
+
+r-base (2.13.0-4) unstable; urgency=low
+
+  * debian/r-cran.mk: Make call to xvfb-run more robust by adding '-a'
+    option to allow automatic switching to free virtual server; with thanks
+    to Salvatore Bonaccorso for the suggestions		(Closes: #630869)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 22 Jun 2011 08:59:55 -0500
+
+r-base (2.13.0-3) unstable; urgency=low
+
+  * debian/control: Switch Build-Depends: (and Depends: for r-base-dev)
+    from libjpeg62-dev to libjpeg-dev for libjpeg8 transition -- with
+    thanks to Bill Allombert for the heads-up		(Closes: #629978)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 09 Jun 2011 17:43:27 -0500
+
+r-base (2.13.0-2) unstable; urgency=low
+
+  * debian/control: Add 'Depends: cdbs' to r-base-dev so that the r-cran-*
+    packages do not need to depend on it individually; it is a feature
+    of the r-cran.mk script sourced from r-base-dev 	(Closes: #627831)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 24 May 2011 19:28:19 -0500
+
+r-base (2.13.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 13 Apr 2011 06:24:26 -0500
+
+r-base (2.13.0~20110407-1) unstable; urgency=low
+
+  * First rc build (r55373) of R 2.13.0 expected for Apr 13
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 08 Apr 2011 12:10:17 -0500
+
+r-base (2.13.0~20110401-1) unstable; urgency=low
+
+  * First beta build (r55246) of R 2.13.0 expected for Apr 13
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 02 Apr 2011 07:38:54 -0500
+
+r-base (2.13.0~20110324-1) unstable; urgency=low
+
+  * Second alpha build (r55004) of R 2.13.0 expected for Apr 13
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 25 Mar 2011 07:15:21 -0500
+
+r-base (2.13.0~20110316-1) unstable; urgency=low
+
+  * Initial alpha release (r54827) of R 2.13.0 expected for Apr 13
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 17 Mar 2011 08:05:43 -0500
+
+r-base (2.12.2-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 25 Feb 2011 07:16:46 -0600
+
+r-base (2.12.2~20110218-1) unstable; urgency=low
+
+  * First rc built (r54487) of R 2.12.2 expected for Feb 25
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 19 Feb 2011 10:50:12 -0600
+
+r-base (2.12.2~20110215-1) unstable; urgency=low
+
+  * First beta built (r54439) of R 2.12.2 expected for Feb 25
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 15 Feb 2011 17:45:22 -0600
+
+r-base (2.12.1-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 16 Dec 2010 06:15:09 -0600
+
+r-base (2.12.1~20101208-1) unstable; urgency=low
+
+  * First rc built (r53817) of R 2.12.1 expected for Dec 16
+
+  * R/m4, configure: Override bzip2 test for 1.0.6 to let our patched
+    1.0.5 version pass as lintian does not like the embedded library
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 09 Dec 2010 06:44:18 -0600
+
+r-base (2.12.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+  
+  * As a new major release, this will go to unstable despite the freeze
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 15 Oct 2010 05:11:09 -0500
+
+r-base (2.12.0~20101007-1) experimental; urgency=low
+
+  * First rc built (r53048) of R 2.12.0 expected for Oct 15
+
+  * Distribution still set to 'experimental' as release freeze is ongoing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 07 Oct 2010 20:44:50 -0500
+
+r-base (2.11.1-7) unstable; urgency=low
+
+  * debian/control: Add 'liblzma-dev' to Build-Depends	(Closes: #599120)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 04 Oct 2010 16:12:19 -0500
+
+r-base (2.12.0~20101002-1) experimental; urgency=low
+
+  * First beta built (r53048) of R 2.12.0 expected for Oct 15
+
+  * Distribution still set to 'experimental' as release freeze is ongoing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 02 Oct 2010 14:27:42 -0500
+
+r-base (2.12.0~20100928-1) experimental; urgency=low
+
+  * Third alpha built (r53048) of R 2.12.0 expected for Oct 15
+
+  * Distribution still set to 'experimental' as release freeze is ongoing
+  
+  * debian/control: Added liblzma-dev to Build-Depends
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 28 Sep 2010 14:59:37 -0500
+
+r-base (2.12.0~20100924-1) experimental; urgency=low
+
+  * Second alpha built (r52983) of R 2.12.0 expected for Oct 15
+
+  * Distribution still set to 'experimental' as release freeze is ongoing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 24 Sep 2010 09:28:16 -0500
+
+r-base (2.12.0~20100917-1) experimental; urgency=low
+
+  * Initial alpha release (r52529) of R 2.12.0 expected for Oct 15
+     
+  * Distribution set to 'experimental' as release freeze is ongoing
+
+  * R/m4, configure: Check zlib version for 1.2.3.4, not 1.2.3
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 17 Sep 2010 06:52:33 -0500
+
+r-base (2.11.1-6) unstable; urgency=low
+
+  * debian/control: Add [!mips] to the list architectures that do not have
+    a Build-Depends: on openjdk-6-jdk (per request of release team)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 15 Aug 2010 08:09:11 -0500
+
+r-base (2.11.1-5) unstable; urgency=low
+
+  * debian/rules: Also set ${cflags}, ${cxxflags}, ${fcflags} during 
+    configure in light of #590126
+  * debian/rules: Set FCFLAGS as well as FFLAGS
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 06 Aug 2010 07:10:57 -0500
+
+r-base (2.11.1-4) unstable; urgency=low
+
+  * debian/rules: Impose '-g0' for mips and mipsel in light of #590126
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 05 Aug 2010 13:06:00 -0500
+
+r-base (2.11.1-3) unstable; urgency=low
+
+  * m4/R.m4: Apply patch Arnaud Patard to suppress -g flag during
+    configure which currently upsets tcl/tk on the mips and mipsel
+    platform (see the release-critical bug report #590126).
+    A big thanks to Arnaud for the patch and detailed analysis.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 01 Aug 2010 13:50:21 -0500
+
+r-base (2.11.1-2) unstable; urgency=low
+
+  * debian/rules: Re-apply arm fixes from 2.11.0-2 below which 
+    inadvertently slipped. Thanks once again to Modestas for 
+    spotting this.					 (Closes: #581237)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 03 Jun 2010 17:19:17 -0500
+
+r-base (2.11.1-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 31 May 2010 06:52:52 -0500
+
+r-base (2.11.1~20100525-1) unstable; urgency=low
+
+  * Release Candidate (r52102) of R 2.11.1 expected for May 31
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 26 May 2010 06:48:15 -0500
+
+r-base (2.11.0-2) unstable; urgency=low
+
+  * debian/rules: Withdraw old hack to let armel build without system blas
+    and lapack as these now work. With special thanks to Modestas Vainius 
+    for spotting this and testing the fix.		 (Closes: #581237)
+
+  * debian/rules: Also withdraw setting of radical -O0 -g0 on armel
+    which was once needed due to poor Fortran compiler performance.
+    Once again thanks to  Modestas Vainius for spotting and checking!
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 12 May 2010 21:25:38 -0500
+
+r-base (2.11.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 22 Apr 2010 06:29:47 -0500
+
+r-base (2.11.0~20100419-1) unstable; urgency=low
+
+  * Initial rc release (r51778) of R 2.11.0 expected for April 22
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 20 Apr 2010 10:04:38 -0500
+
+r-base (2.11.0~20100409-1) unstable; urgency=low
+
+  * Initial beta release (r51661) of R 2.11.0 expected for April 22
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 10 Apr 2010 14:35:56 -0500
+
+r-base (2.11.0~20100402-1) unstable; urgency=low
+
+  * Initial alpha release (r51564) of R 2.11.0 expected for April 22
+
+  * debian/control: Fix typo / editing mistake in Description for r-base
+							(Closes: #563234)
+
+  * debian/rules: Add softlink from /usr/lib/R/lib/libR.so into /usr/lib
+    to make the R library visible as /etc/ld.so.conf.d/ is no longer used
+							(Closes: #575913)
+
+  * debian/control: Set Standards-Version: to current version 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 03 Apr 2010 08:44:29 -0500
+
+r-base (2.10.1-2) unstable; urgency=low
+
+  * configure: Apply patch by Nobuhiro Iwamatsu to allow for builds
+    on the sh4 architecture				(Closes: #561180)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 14 Dec 2009 21:30:07 -0600
+
+r-base (2.10.1-1) unstable; urgency=low
+
+  * New upstream version released this morning
+  
+  * debian/control: For r-recommended, replace r-cran-vr with the four
+    unbundled packages r-cran-{mass,class,nnet,spatial}
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 14 Dec 2009 06:14:03 -0600
+
+r-base (2.10.1~20091210-1) unstable; urgency=low
+
+  * New upstream release candidate for R 2.10.1 expected for December 14
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 10 Dec 2009 13:42:48 -0600
+
+r-base (2.10.1~20091206-1) unstable; urgency=low
+
+  * New upstream beta release for R 2.10.1 expected for December 14
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 06 Dec 2009 15:27:49 -0600
+
+r-base (2.10.0-2) unstable; urgency=low
+
+  * debian/control: Replace Build-Depends: on xpdf-reader with xdg-utils
+    with thanks to Moritz Muehlenhoff
+
+  * debian/r-base-core.postinst: Switch from texhash to mktexlsr with
+    thanks to Julian Gilbey				(Closes: #555187)
+
+  * debian/control: Fix grammar error by switching to 'This package provides'
+    in five of the package entries (which still does not quite call for this
+    somewhat inflationary use of automated bug filing seen here ...)
+  	 (Closes: #557842 #557843 #557844 #557845 #557846 #557847 #55849)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 28 Nov 2009 03:37:58 -0600
+
+r-base (2.10.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 26 Oct 2009 07:31:30 -0500
+
+r-base (2.10.0~20091019-1) unstable; urgency=low
+
+  * First release candidate of R 2.10.0 expected for October 26
+
+  * debian/rules: Configure with R_BROWSER=xdg-open as default HTML browser
+  
+  * debian/control: As html documentation is now dynamically generated, the 
+    r-doc-html package is no longer six mb in size and can be promoted from
+    Suggested: to Recommended: (thanks to Michael Rutter for the suggestion).
+
+  * debian/control: Add Conflicts/Provides/Replaces for r-base-core 
+    on r-base-latex to uninstall existing (and now redundant) packages.
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 19 Oct 2009 10:15:03 -0500
+
+r-base (2.10.0~20091013-1) unstable; urgency=low
+
+  * First beta release of R 2.10.0 expected for October 26
+  
+  * debian/rules: No longer call 'make html' or 'make help' as starting 
+    with R 2.10.0, documentation is now rendered on-demand by the R engine
+  * debian/rules: No longer fix modes on help-{links,print}.sh as these
+    script are no longer shipped
+  
+  * debian/control: Removed entry for package r-base-latex
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 13 Oct 2009 12:41:48 -0500
+
+r-base (2.9.2-4) unstable; urgency=low
+
+  * configure: Re-insert xdg-open into list of pdf viewers tested
+    for at build time -- thanks to Sebastian P. Luque for the heads-up!
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 06 Oct 2009 17:21:20 -0500
+
+r-base (2.9.2-3) unstable; urgency=low
+
+  * debian/control: Also change Depends: in r-base-dev from
+    from 'libreadline5-dev' to 'libreadline-dev'
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 16 Sep 2009 20:56:57 -0500
+
+r-base (2.9.2-2) unstable; urgency=low
+
+  * debian/control: As requested by Matthias Klose, change 
+    Build-Depends: from 'libreadline5-dev' to 'libreadline-dev'
+
+  * debian/rules: Soft link from /usr/lib/R/COPYING against GPL-2
+    instead of GPL, with thanks to Isaac for spotting this.
+
+  * debian/control: Set Standards-Version: to current version 
+
+  * debian/control: Add Depends: for r-doc-info on 
+    'dpkg (>= 1.15.4) | install-info'
+  
+  * debian/rules: No longer install /etc/ld.so.conf.d/libR.conf
+  
+  * debian/r-base-core.postinst:  Call paperconf without prepended path
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 13 Sep 2009 20:27:45 -0500
+
+r-base (2.9.2-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+  * r-doc-{info,html}.{postinst,prerm}: Omit calls to install-docs
+    and install-info which is now handled by dpkg triggers.
+  * debian/control: Builds-Depends: on debhelper (>= 7.2.3)
+  
+  * debian/control: Add 'xdg-utils' to Depends: for r-base-core
+  
+  * debian/r-cran.mk: Improved find command in clean target
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 24 Aug 2009 06:15:24 -0500
+
+r-base (2.9.1-2) unstable; urgency=low
+
+  * Re-activated Java support using an updated ca-certificates-java 
+    package by Matthias Klose -- Thanks!
+  * debian/control: Build-Depends: on openjdk-6-jdk added back in
+
+  * debian/control: Update Standards-Version: to current value.
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 29 Jun 2009 19:20:13 -0500
+
+r-base (2.9.1-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+  * configure,m4/R.m4: Add xdg-open to set of pdf viewers checked by configure
+    (and this change has been committed upstream for 2.10.0 as well).
+
+  * As of this morning, the Debian Java toolchain is broken (#534520) so 
+    support for Java is disabled by temporarily removing 
+      openjdk-6-jdk [!arm !hppa !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
+    from Build-Depends: --- a new upload will be provided once this problem
+    is fixed.
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 26 Jun 2009 09:34:58 -0500
+
+r-base (2.9.1~20090621-1) unstable; urgency=low
+
+  * First beta release of R 2.9.1 which should be released on June 26
+
+  * configure,m4/R.m4: Add xdg-open to set of pdf viewers checked by configure
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 21 Jun 2009 21:21:25 -0500
+
+r-base (2.9.1~20090618-1) unstable; urgency=low
+
+  * First beta release of R 2.9.1 which should be released on June 26
+
+  * debian/control: Switched (Build-)Depends: from xpdf-reader to xdg-utils; 
+    pdf files will now be opened with xdg-open to reflect desktop choices.
+  
+  * debian/README.Atlas: Further editing, added test script
+
+  * debian/r-cran.mk: Do not remove src/Makevars.in in clean step as this was 
+    seen to upset some packages when used by cran2deb for all of CRAN
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 18 Jun 2009 07:00:11 -0500
+
+r-base (2.9.0-4) unstable; urgency=low
+
+  * debian/r-cran.mk: Applied suggestion by Julian Gilbey to correct 
+    accidental lowercasing of CRAN package names which can prevent removal
+    ot extra license files				(Closes: #531224)
+  
+  * debian/README.Atlas: Updated to current packages	(Closes: #531223)
+  
+  * debian/r-cran.mk: Small correction to previously added 'clean' target
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 31 May 2009 21:15:27 -0500
+
+r-base (2.9.0-3) unstable; urgency=low
+
+  * debian/r-cran.mk: Applied patch by Steffen Moeller that adds a 
+    'clean' target which is useful if one builds outside of pbuilder.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 16 May 2009 18:07:02 -0500
+
+r-base (2.9.0-2) unstable; urgency=low
+
+  * debian/r-base-core.prerm: Remove /etc/R/Renviron on remove or purge to
+    not leave unowned files around. Also make sure ucf forgets all about it.
+    Special Thanks! to Holger Levsen.			(Closes: #527618)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 10 May 2009 19:00:28 -0500
+
+r-base (2.9.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+  * debian/rules: Turn optimisation back to -O3 on alpha (as elsewhere) 
+    with thanks to Kurt Roeckx for applying a fix to gcc
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 17 Apr 2009 06:56:48 -0500
+
+r-base (2.9.0~20090410-1) unstable; urgency=low
+ 
+  * First release candidate of R 2.9.0 expected for April 17
+
+  * debian/rules: Lower optimisation to -O2 on alpha
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 11 Apr 2009 16:10:24 -0500
+
+r-base (2.9.0~20090403-1) unstable; urgency=low
+
+  * First beta release of R 2.9.0 expected for April 17
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 04 Apr 2009 10:52:59 -0500
+
+r-base (2.9.0~20090327-1) unstable; urgency=low
+
+  * Second alpha release of R 2.9.0 expected for April 17
+
+  * debian/control: Update Standards-Version: to current value.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 28 Mar 2009 13:53:36 -0500
+
+r-base (2.9.0~20090320-1) unstable; urgency=low
+
+  * Initial alpha release of R 2.9.0 expected for April 17
+
+  * debian/control: Changed Section: of r-base, r-base-core, and r-base-dev to 
+    new section 'gnu-r'
+  
+  * debian/control: Add r-cran-matrix to r-recommended as the upstream package 
+    'Matrix' is part of the core R release as of 2.9.0.
+
+  * debian/control: Change Depends: on 'ucf' to 'ucf (>= 3.0)'	(Closes: #516508)
+  
+  * debian/rules: No longer apply build-help.pl.patch, and no longer install 
+    build-help.pl as the R help system was rewritten (mostly in R itself).
+  
+  * debian/{control,compat}: Switch to debhelper compat level 7, and hence
+    set Build-Depends: on 'debhelper (>= 7.0.0)'
+
+  * debian/r-doc-html.{postinst,prerm}: Created manually as debhelper seemingly
+    stopped creating these from dh_installdocs
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Mar 2009 13:06:30 -0500
+
+r-base (2.8.1-2) unstable; urgency=low
+
+  * debian/control: Add another Build-Depends: exclusion for the 
+    'kfreebsd-i386 kfreebsd-amd64 hurd-i386' architecture to openjdk-6-jdk.
+    Thanks to Petr Salinger for the heads-up.		(Closes: 512324)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 19 Jan 2009 12:40:24 -0600
+
+r-base (2.8.1-1) unstable; urgency=low
+
+  * New upstream version released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 22 Dec 2008 20:10:19 -0600
+
+r-base (2.8.1~20081219-1) unstable; urgency=low
+
+  * Updated to Dec 19 release candidate of R 2.8.1 expected for Dec 22
+
+  * r-doc-pdf expected to be empty due to the tex/texinfo bug below
+  
+  * debian/control: Change Build-Depends: on openjdk-6-jdk to 
+    'openjdk-6-jdk [!arm !hppa]' as arm and hppa do not have one.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 20 Dec 2008 09:26:38 -0600
+
+r-base (2.8.1~20081212) unstable; urgency=low
+
+  * Initial beta release of R 2.8.1 expected for Dec 22
+  * Fixes 'dev2bitmap fails with gsexe related error'	(Closes: #505698)
+
+  * As #487974 is still open, the r-doc-pdf documentation package is again
+    almost empty due to the tilde in the Debian revision number which breaks
+    the texinfo-to-pdf conversions.  Users are advised to hold onto the
+    2.8.0 version of the package until 2.8.1 comes out in ten days.
+  
+  * debian/control: Added 'openjdk-6-jdk' to Build-Depends:
+  * debian/r-cran.mk:  Removed commented-out code that attempted to 
+    configure Java at package build-time, we now do that at R builds 
+
+  * debian/rules: Set softlinks for COPYING and COPYING.LIB to GPL-2 and 
+    LGPL-2.1, respectively, to ensure the correct versions are linked. 
+    Thanks to Deepayan Sarkar for the suggestion.
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 12 Dec 2008 11:36:22 -0600
+
+r-base (2.8.0-1) unstable; urgency=low
+
+  * New upstream version released a few hours ago
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 20 Oct 2008 06:07:59 -0500
+
+r-base (2.8.0~20081013-1) unstable; urgency=low
+
+  * Initial 'Release Candidate' package of R 2.8.0 expected for October 20
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 13 Oct 2008 10:07:47 -0500
+
+r-base (2.8.0~20081006-1) unstable; urgency=low
+
+  * Initial 'Beta' package of R 2.8.0 expected to be released on October 20
+
+  * debian/control: Updated Description: text; with thanks to Doug Bates
+    and Martin Maechler for helpful suggestions and comments.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 05 Oct 2008 15:15:44 -0500
+
+r-base (2.7.2-2) unstable; urgency=low
+
+  * debian/r-cran.mk: Switch from cdbs snippet dpatch.mk to simple-patchsys.mk
+
+  * debian/{Renviron.site,Rprofile.site}: Install simple stanza files with 
+    example usage into /etc/R/ with softlinks from $R_HOME/etc as for the
+    other config files. Thanks to Christian Hudon for the suggestion.
+  							(Closes: #498520)
+  
+  * src/library/base/R/dcf.R: Correct regexp for Debian-style control field
+    writing as per the one-line patch by Charles Blundell to r-devel / r-bugs
+    which should help us in cran2deb as well
+
+  * debian/control: Switched Build-Depends from tcl/tk 8.4 to 8.5 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 13 Sep 2008 17:07:31 -0500
+
+r-base (2.7.2-1) unstable; urgency=low
+
+  * New upstream version released a few hours ago
+  
+  * src/scripts/javareconf: Replace use of /tmp with result of 
+    `mktemp -t -d` to avoid symlink attacks		(Closes: #496418)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 25 Aug 2008 06:37:14 -0500
+
+r-base (2.7.2~20080816-1) unstable; urgency=low
+
+  * Initial 'beta' release of R 2.7.2 expected to be released on August 25
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 17 Aug 2008 10:15:43 -0500
+
+r-base (2.7.1-2) unstable; urgency=low
+
+  * debian/r-doc-{info,html,pdf}: Added R-ints and R-admin manuals
+  * debian/r-doc-html.doc-base.ints: Added new doc-base file
+  
+  * debian/rules: Exclude usr/lib/R/etc/Renviron.ucf from md5sums
+							(Closes: #491637)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 21 Jul 2008 06:42:27 -0500
+
+r-base (2.7.1-1) unstable; urgency=low
+
+  * New upstream version released a few hours ago
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 23 Jun 2008 06:10:26 -0500
+
+r-base (2.7.1~20080621-1) unstable; urgency=low
+
+  * New 'rc' release of R 2.7.1 expected to be released on June 23
+  
+  * debian/{rules,r-base-core.postinst}: Changed to have /etc/R/Renviron
+    be handled by ucf, with thanks to Aaron M. Ucko	(Closes: #476420)
+  * debian/control: Added Depends: on ucf to r-base-core
+  
+  * debian/control: Build-Depends updated from 'x-dev, xbase-clients' to
+    'x11proto-core-dev, xauth'
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Jun 2008 11:26:48 -0500
+
+r-base (2.7.1~20080614-1) unstable; urgency=low
+
+  * Initial 'beta' release of R 2.7.1 expected to be released on June 23
+
+  * debian/control: Added Homepage: field as suggested by Andreas Tille
+							(Closes: #481058)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 14 Jun 2008 11:45:22 -0500
+
+r-base (2.7.0-1) unstable; urgency=low
+
+  * New upstream version released a few hours ago
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 22 Apr 2008 08:40:44 -0500
+
+r-base (2.7.0~20080416-1) unstable; urgency=low
+
+  * Second 'rc' release of R 2.7.0 expected to be released on April 22
+
+  * debian/rules: Explicit rebuild and copying of Rscript to prevent seepage
+    of a bad R_HOME setting from build-time		(Closes: #475343)
+  
+  * debian/control: Add new package 'r-base-core-dbg' with stripped debugging 
+    symbols; thanks to Soeren for the suggestion	(Closes: #476345)
+  * debian/rules: Modified dh_strip call accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 16 Apr 2008 13:01:21 -0500
+
+r-base (2.7.0~20080415-1) unstable; urgency=low
+
+  * Initial 'rc' release of R 2.7.0 expected to be released on April 22
+
+  * debian/r-doc.html.doc-base.*: Changed section to 'Science/Data Analysis'
+  
+  * debian/control: Added 'xvfb, xbase-clients, xfonts-base' to Build-Depends:
+  * debian/rules: Change 'make check' into 'xvfb-run make check-all'
+
+  * debian/control: Replace 'tetex-bin, tetex-extra' in Build-Depends: with
+    'texlive-base, texlive-latex-base, texlive-generic-recommended, 
+     texlive-fonts-recommended, texlive-extra-utils, texlive-latex-recommended, 
+     texlive-latex-extra, texinfo, texi2html' 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 15 Apr 2008 14:32:08 -0500
+
+r-base (2.7.0~20080408-1) unstable; urgency=low
+
+  * Initial 'beta' release of R 2.7.0 expected to be released on April 22
+  
+  * debian/rules: Configure and build with Debian's lapack
+  * debian/control: Upgraded Build-Depends: to liblapack-dev (>= 3.1.1)
+  
+  * debian/rules: Add new configure options --with-cairo and --with-pango
+  * debian/control: Added Build-Depends: on 'libpango1.0-dev, libcairo2-dev'
+  * debian/control: Revert Depends: for 'quasi-virtual' r-base-dev to 
+    'libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev'
+    as the transition to gfortran-built lapack/blas/atlas is complete.
+  							(Closes: #473695)
+
+  * debian/control: r-recommended no longer Depends: on r-cran-rcompgen as
+    per upstream having integrated the rcomgen packaged into r-base-core.
+  * debian/control: Added Conflicts/Provides/Replaces for r-base-core 
+    on r-cran-rcompgen to uninstall existing (and now redundant) packages.
+
+  * debian/control: Added Build-Depends on 'libtiff4-dev'
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 08 Apr 2008 21:24:42 -0500
+
+r-base (2.6.2-2) unstable; urgency=low
+
+  * debian/{rules,control}: Reverting the use of Debian's lapack as we got 
+    a SVD-related bug report with a day -- thanks, Ben!	(Closes: #464833)
+     - remove 'liblapack-dev' from Build-Depends
+     - call configure with 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 09 Feb 2008 10:05:24 -0600
+
+r-base (2.6.2-1) unstable; urgency=low
+
+  * New upstream version released this morning 
+  
+  * debian/control: Added 'liblapack-dev' to Build-Depends: to switch back 
+    to using Debian's Lapack rather than the version supplied by R.
+  * debian/rules: Dito, call configure with '--with-lapack'
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 08 Feb 2008 09:40:02 -0600
+
+r-base (2.6.1-2) unstable; urgency=low
+
+  * debian/control: Replace Build-Depends: on 'refblas3-dev | atlas3-base-dev' 
+    with 'libblas-dev' to use the new gfortran-built BLAS libraries. Thanks 
+    to Riku Voipio for the heads-up and patch.		(Closes: #461767)
+
+  * debian/control: Likewise set the Depends: for the quasi-virtual
+    r-base-dev on 'libblas-dev' to enfore use of the new BLAS.
+
+  * debian/control: Update Standards-Version: to current value.
+  
+  * debian/{r-base-core,r-recommended}.lintian: Add a few silencers for
+    the 'package-contains-empty-directory' warnings.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 20 Jan 2008 20:24:52 -0600
+
+r-base (2.6.1-1) unstable; urgency=low
+
+  * New upstream version released this morning
+  
+  * debian/rules: As gcc-4.2 is now, unset suffix '-4.2' on gcc et al
+  * debian/control: Likewise, removed '-4.2' from gcc et al in Build-Depends 
+    and Depends for r-base-dev and used versioned Depends (>= 4:4.1.0) 
+    which are also suitable for backports and Ubuntu port -- and Debian
+    will get 4.2 anyway as it is the default in testing and unstable
+
+  * debian/rules: Define FC=gfortran as the Fortran95 compiler for packages
+
+  * debian/r-base-core.shlibs: Point libR.so and libRlapack.so to r-base-core
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 26 Nov 2007 11:20:57 -0600
+
+r-base (2.6.0-4) unstable; urgency=medium
+  
+  * Urgency medium as a "Depends: tk8.4 (>= 8.4.16-2)" is needed to undo
+    the breakage introduced by the version in testing (tk8.4_8.4.16-1).
+    This build does not introduce any new code or configuration settings
+    and should migrate to testing as soon as possible.
+  
+  * Rebuild R to obtain Depends on newer Tk		(Closes: #451152)
+
+  * debian/shlibs.local: New file, added for Depends on newer tk8.4 which 
+    is not (yet) provided via the package's shlibs file, also filed a 
+    bugreport against tk8.4
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 13 Nov 2007 19:45:59 -0600
+
+r-base (2.6.0-3) unstable; urgency=low
+
+  * debian/r-cran.mk: Retiring the experimental javareconf support for now.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 10 Oct 2007 08:46:43 -0500
+
+r-base (2.6.0-2) unstable; urgency=low
+
+  * debian/r-cran.mk: Set Java (re-)conf. call to "R CMD javareconf -e ''" 
+    to not require write to Makeconf file 		(Closes: #445722)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 09 Oct 2007 14:20:12 -0500
+
+r-base (2.6.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 03 Oct 2007 10:25:43 -0500
+
+r-base (2.6.0~20070930-1) unstable; urgency=low
+
+  * Second 'rc' release of R 2.6.0 expected to be released on October 3
+  
+  * debian/r-cran.mk:
+    - Apply patch by David Vernazobres to permit additional argument
+    - Add test for Java compiler and run R CMD javareconf if found
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 01 Oct 2007 16:38:49 -0500
+
+r-base (2.6.0~20070925-1) unstable; urgency=low
+
+  * Initial 'rc' release of R 2.6.0 expected to be released on October 3
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 26 Sep 2007 10:08:33 -0500
+
+r-base (2.6.0~20070918-1) unstable; urgency=low
+
+  * Initial 'beta' release of R 2.6.0 expected to be released on October 3
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 19 Sep 2007 09:50:17 -0500
+
+r-base (2.6.0~20070910-3) unstable; urgency=low
+
+  * debian/r-cran.mk: Fix another syntax error
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 12 Sep 2007 21:54:10 -0500
+
+r-base (2.6.0~20070910-2) unstable; urgency=low
+
+  * debian/r-cran.mk: Add missing escape to if/else/fi statement for xvfb-run
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 12 Sep 2007 21:01:19 -0500
+
+r-base (2.6.0~20070910-1) unstable; urgency=low
+
+  * Initial 'alpha' release of R 2.6.0 expected to be released on October 3
+
+  * Debian changes:
+    - debian/control: Added 'cdbs, debhelper' as Suggests: for r-base-dev
+
+    - r-cran.mk: If the xvfb-run script is found, use it to wrap the call
+      to 'R CMD INSTALL ...' to provide (virtual) X11 for packages that may
+      need it, this even works in a pbuilder setting. If not found, just
+      proceed as usual with a straight-up 'R CMD INSTALL ...'. Packages
+      using this feature need Build-Depends on xvfb, xbase-clients (for
+      xauth) and xfonts-base (for basic fonts).
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 11 Sep 2007 16:24:33 -0500
+
+r-base (2.5.1-2) unstable; urgency=low
+
+  * debian/control: Add r-cran-codetools to Depends: for r-recommends
+
+  * debian/r-base-core.menu: Section now "Applications/Science/Data Analysis"
+
+  * debian/Renviron-R_LIBS.patch: With R 2.5.*, modify R_LIBS_SITE not R_LIBS
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 18 Jul 2007 14:26:06 -0500
+
+r-base (2.5.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 28 Jun 2007 09:45:43 -0500
+
+r-base (2.5.1~20070625-1) unstable; urgency=low
+
+  * Second release candidate for R 2.5.1 expected for June 28
+
+  * To ensure successful builds involving Fortran, we need to explicitly 
+    select the gcc-4.2 versions of the the compiler suite in debian/rules, 
+    and per Build-Depends in debian/control as well as the Depends for 
+    r-base-dev.  Backporters will probably need to revert this to 4.1.
+    Thanks to Michael Ablassmeier and Lucas Nussbaum for the heads-up.
+
+  * debian/control: Changed Build-Depends from 'gcc (>= 4:4.0), 
+    gfortran (>= 4.0.2)' to 'gcc-4.2, g++-4.2, gfortran-4.2'
+  * debian/control: Changed Depends for r-base-dev from 'gfortran (>= 4.0.2), 
+    gcc (>= 4:4.0), g++ (>= 4:4.0)' to 'gcc-4.2, g++-4.2, gfortran-4.2'
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 26 Jun 2007 09:36:23 -0500
+
+r-base (2.5.1~20070622-1) unstable; urgency=low
+
+  * First release candidate for R 2.5.1 expected for June 28
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 23 Jun 2007 20:13:22 -0500
+
+r-base (2.5.1~20070618-1) unstable; urgency=low
+
+  * New beta release candidate for R 2.5.1 expected for June 28
+  
+  * debian/control: Add 'dpatch' to Depends: for r-base-dev to ensure
+    that the r-cran.mk stanza can use dpatch 		(Closes: #429464)
+
+  * debian/control: Switch from $Source-Version to $source:Version and
+    $binary:Version 					(lintian)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 18 Jun 2007 08:09:11 -0500
+
+r-base (2.5.1~20070614-1) unstable; urgency=low
+
+  * First 'beta' of R 2.5.1 expected to be released on June 28
+
+  * debian/r-cran.mk: Add dpatch.mk to debian/rules stanza
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 14 Jun 2007 21:36:05 -0500
+
+r-base (2.5.1~20070530-1) unstable; urgency=low
+
+  * R-patched as of 2007-05-30
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 31 May 2007 16:05:30 -0500
+
+r-base (2.5.1~20070513-1) unstable; urgency=low
+
+  * R-patched as of 2007-05-13
+  
+  * First release with new upstream support for DESTDIR 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 14 May 2007 08:57:08 -0500
+
+r-base (2.5.0-2) unstable; urgency=low
+
+  * src/nmath/standalone/Makefile.in,src/scripts/Makefile.in,
+    src/unix/Makefile.in: Applied patch by Martyn Plummer which 
+    brings R closer to standard GNU behaviour with respect to
+    'make install' redirection. In particular, this fixes the 
+    new binary /usr/bin/Rscript which was broken in 2.5.0-1, also
+    corrects /usr/pkgconfig/libR.pc, adds the a new file 
+    /usr/pkgconfig/libRmath.pc (for r-mathlib) and also corrects
+    /usr/bin/R which we used to patch post-'make install'.
+  
+  * debian/control: Added Depends: for r-recommended on r-cran-rcompgen
+    as this package is now in Debian unstable.
+  
+  * /etc/ld.so.conf.d/R.conf: Added new file so that libR.so and 
+    libRlapack.so will be known to ld.so
+
+  * debian/rules: Call configure with --enable-memory-profiling
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  2 May 2007 21:17:47 -0500
+
+r-base (2.5.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 24 Apr 2007 06:09:00 -0500
+
+r-base (2.5.0~20070422-1) unstable; urgency=low
+
+  * First 'rc' package of R 2.5.0 expected to be released next week
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 23 Apr 2007 08:12:25 -0500
+
+r-base (2.5.0~20070412-1) unstable; urgency=low
+
+  * First 'beta release of R 2.5.0 expected to be released later this month
+
+  * debian/r-cran.mk: Added test for value of 'Priority: in DESCRIPTION which 
+    is used for the choice of the install directory below $R_HOME
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 13 Apr 2007 14:14:41 -0500
+
+r-base (2.5.0~20070407-1) unstable; urgency=low
+
+  * First 'alpha' release of R 2.5.0 expected to be released later this month
+    
+  * debian/rules: Configure R to use original zip and unzip instead
+    of the 'mini' variant as some packages want a -q option for unzip.
+  * debian/control: Switch Depends: from zlib-bin to 'zip, unzip'
+
+  * debian/r-cran.mk: Allow for optional $(debRreposname) to allow
+    automated switching from CRAN builds to BioC builds. 
+    Thanks to Steffen Moeller for the patch.
+
+  * debian/r-cran.mk: Allow for options $(makeFlags) to be passed to
+    R CMD INSTALL -- for example the RQuantLib package makes use of this
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  8 Apr 2007 06:56:08 -0500
+
+r-base (2.4.1-2) unstable; urgency=low
+
+  * src/main.c: Applied patch provided by Samuel Thibault to allow builds
+    on hurd-i386 which (still) lacks SA_SIGINFO. Bug report also forwarded
+    upstream, and R 2.5.0 should have a fix too.	(Closes: #407358)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 27 Jan 2007 13:12:13 -0600
+
+r-base (2.4.1-1) unstable; urgency=low
+
+  * New upstream version released this morning
+  
+  * Debian package for 'unstable' as Debian 4.0 ('etch') is frozen
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 18 Dec 2006 08:53:09 -0600
+
+r-base (2.4.1~20061205-1) unstable; urgency=low
+
+  * First beta package of the upcoming R 2.4.1 scheduled for December 18
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  6 Dec 2006 22:51:18 -0600
+
+r-base (2.4.0.20061125-1) unstable; urgency=low
+
+  * New upstream version patch version dated 2006-11-03
+    -- a new R 2.4.1 release should arrive in just a few weeks
+  * debian/r-base-core.postinst: Rewrote paperconf handling one 
+    more, with thanks to Marc Glisse for another good suggestion
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 26 Nov 2006 18:21:16 -0600
+
+r-base (2.4.0.20061103-1) unstable; urgency=low
+
+  * New upstream version patch version dated 2006-11-03
+    -- a new R 2.4.1 release may arrive in a few weeks
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  2 Nov 2006 21:50:13 -0600
+
+r-base (2.4.0.20061029-2) unstable; urgency=low
+
+  * debian/r-cran.mk: Another brown paperbag fix, this time for the logic
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 29 Oct 2006 17:36:36 -0600
+
+r-base (2.4.0.20061029-1) unstable; urgency=low
+
+  * New upstream version patch version taken from svn as of 2006-10-29 
+    -- a new R 2.4.1 release may arrive in a few weeks
+  
+  * debian/r-cran.mk: Brown paperbag fix replacing space with tabs
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 29 Oct 2006 11:35:16 -0600
+
+r-base (2.4.0.20061027-1) unstable; urgency=low
+
+  * New upstream version patch version dated 2006-10-27
+    -- a proper R 2.4.1 is not expected until December 2006
+  
+  * debian/r-base-core.postinst: Rewrote paperconf handling (Closes: #394114)
+  * debian/R.bash_completion: use updated version from Deepayan Sarkar
+  * debian/r-cran.mk: If present, also install lintian overrides file
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 28 Oct 2006 20:11:10 -0500
+
+r-base (2.4.0-1) unstable; urgency=low
+
+  * New upstream version released this morning
+  
+  * debian/rules: Link /usr/share/texmf/tex/latex/R to ../../../R/share/texmf, 
+    instead of the older link into /usr/lib 		(Closes: #390751)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  3 Oct 2006 07:07:02 -0500
+
+r-base (2.4.0~rc20060926-1) unstable; urgency=low
+
+  * First release candidate of the upcoming R 2.4.0 planned for October 3
+
+  * debian/rules: Install ldpaths in /etc/R and link back to $R_HOME/etc
+  * debian/rules: Patch javareconf to use /etc/R instead of $R_HOME/etc
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 28 Sep 2006 20:15:03 -0500
+
+r-base (2.4.0~rc20060922-1) unstable; urgency=low
+
+  * First beta release of the upcoming R 2.4.0 planned for October 3
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 23 Sep 2006 10:59:39 -0500
+
+r-base (2.4.0~rc20060919-1) unstable; urgency=low
+
+  * First alpha release of the upcoming R 2.4.0 planned for October 3
+  
+  * debian/rules: Updated CFLAGS and FFLAGS to -O3, and set LDFLAGS 
+    to -Wl,-O1 as suggested by upstream.
+  * debian/rules: Additional LDFLAGS options '-Bdirect,--hash-style=both' 
+    will be added once binutils support them.
+  
+  * debian/control: Use a '>=' instead of '=' in Depends: on r-base-core 
+    for arch-independent package r-base, r-base-dev, r-recommend [lintian]
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 19 Sep 2006 14:51:47 -0500
+
+r-base (2.3.1-3) unstable; urgency=low
+
+  * debian/r-doc-html.preinst: Apply one-char fix suggested by 
+    Don Armstrong				 (Closes: #382696)
+  * debian/control: Added forgotten Conflicts: r-gnome
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 29 Aug 2006 19:35:07 -0500
+
+r-base (2.3.1-2) unstable; urgency=low
+
+  * debian/control: Removed obsolete and deprecated r-gnome entry
+  * debian/control: Added Conflicts:, Replaces: and Provides: for 
+    'r-gnome (<= 2.3.1)' to r-base-core to finally replace r-gnome
+
+  * debian/r-doc-html.preinst: Added file with test for symlink
+    /usr/share/doc/r-doc-html/manual/ which may be left over from
+    a previous installation and needs to be removed for a clean
+    current installation			(Closes: #376940)
+
+  * debian/rules: Correct softlink for /usr/share/doc/r-base-core/doc 
+    into /usr/share/R/doc			(Closes: #380126)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 28 Jul 2006 19:52:13 -0500
+
+r-base (2.3.1-1) unstable; urgency=low
+
+  * New upstream release released this morning
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  1 Jun 2006 06:14:26 -0500
+
+r-base (2.3.0.svn38197-1) unstable; urgency=low
+
+  * Second beta release of the upcoming R 2.3.1 scheduled for June 1
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 26 May 2006 06:09:03 -0500
+
+r-base (2.3.0.svn38119-1) unstable; urgency=low
+
+  * First beta release of the upcoming R 2.3.1 scheduled for June 1
+
+  * debian/control: Standards-Version: increased to 3.7.2
+  
+  * debian/r-cran.mk: Small improvements 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 19 May 2006 20:15:30 -0500
+
+r-base (2.3.0-1) unstable; urgency=low
+
+  * New upstream version 2.3.0 released this morning
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 24 Apr 2006 09:30:57 -0500
+
+r-base (2.2.1.svn37779-1) unstable; urgency=low
+
+  * Second beta release of the upcoming R 2.3.0 scheduled for April 24
+  
+  * src/main/version.c: Upstream fix for 'R --version' (Closes: #361968)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 15 Apr 2006 16:30:20 -0500
+
+r-base (2.2.1.svn37715-1) unstable; urgency=low
+
+  * First beta release of the upcoming R 2.3.0 scheduled for April 24
+  
+  * debian/rules: On ppc64, add -mminimal-toc to compiler flags
+    Thanks to Andreas Jochens for the patch.  		(Closes: #361604)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  9 Apr 2006 07:40:48 -0500
+
+r-base (2.2.1.svn37668-1) unstable; urgency=low
+
+  * Second alpha release of the upcoming R 2.3.0 planned for April 24
+
+  * configure{,.ac}: Upstream fix also selecting -fPIC on s390* which is
+    less invasive than the rushed and uncoordinated binary NMU below. Please
+    consider talking to the Debian maintainer, or R Core, before making 
+    undifferentiated wholesale changes to the build process. (Closes: #361219)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  8 Apr 2006 09:18:09 -0500
+
+r-base (2.2.1.svn37642-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Always build with -fPIC. (closes: #361219) 
+
+ -- Bastian Blank <waldi@debian.org>  Fri,  7 Apr 2006 08:59:15 +0000
+
+r-base (2.2.1.svn37642-1) unstable; urgency=low
+
+  * First alpha release of the upcoming R 2.3.0 planned for April 24
+  
+  * debian/r-cran.mk: New file to be used as debian/rules for r-cran-*
+  * debian/rules: Accomodate installation of cran.mk into r-base-dev
+  
+  * debian/control: Set gcc and gfortran Build-Depends: to version 4
+  * debian/control: Likewise for Depends: of r-base-dev
+  
+  * debian/rules:  Add -std=gnu99 to C compiler flags, and split and
+    slightly reorganize compiler flags and optimization options
+
+  * debian/{r-base-core,r-mathlib}.lintian: Added a few entries
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  4 Apr 2006 17:55:51 -0500
+
+r-base (2.2.1-6) unstable; urgency=medium
+
+  * debian/r-base-core.preinst: The symbolic link /usr/lib/R/share 
+    introduced in -4 prevents the directory added in -5 to be created
+    so remove if found in the preinst.
+
+  * Urgency still set up to medium so that testing and unstable users get 
+    the fix quickly. 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  6 Feb 2006 12:00:21 -0600
+
+r-base (2.2.1-5) unstable; urgency=medium
+
+  * debian/build-help.pl: Empty stanza to just print warning when called.
+  * debian/rules: Install that quasi-empty file debian/build-help.pl as 
+    /usr/lib/R/share/perl/build-help.pl  so that the not-yet-updated 
+    r-cran-* et al add-on packages for R do not fail now that the upstream
+    build-help.pl is install in /usr/share/R/share/perl/.  The softlink
+    solution introduced in 2.2.1-4 fails for upgrades on testing where
+    /usr/lib/R/share/ already exists as a directory.
+  
+  * Urgency set up to medium so that testing users get the fix quickly. 
+    No other changes than creation of the two-liner build-help.pl 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  6 Feb 2006 09:23:14 -0600
+
+r-base (2.2.1-4) unstable; urgency=low
+
+  * debian/rules: Until the postinst and postrm calls in all r-cran-* 
+    packages have been updated, add a transitional link so we can call
+    /usr/lib/R/share/perl/build-help.pl			(Closes: #349637)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 24 Jan 2006 07:13:34 -0600
+
+r-base (2.2.1-3) unstable; urgency=low
+
+  * Re-wrote parts of debian/* to take advantage of recent upstream changes
+    permitting installation of (most) files outside of /usr/lib/R;
+  * debian/rules: Use configure options 
+      --datadir=/usr/share/R/share and 
+      --includedir=/usr/share/R/include
+    as well as 'make install' targets
+      rsharedir, rincludedir, and rdocdir
+  * debian/r-{base-html.{files,dirs}, doc-pdf.{files,links},
+    doc-html.{file,links}}:
+    updated accordingly to refer to /usr/share/R/* instead of /usr/lib/R
+  * For R itself (but not for packages), architecture-independent files 
+    of r-base-core now install below /usr/share/R 	(Closes: #300765)
+  
+  * debian/control: Added Build-Depends: for libx11-dev, libxt-dev, x-dev
+    (though the existing Build-Depends on tcl/tk effectively cover this).
+    Credits for the suggestion go to the xlibs-split-check script .
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 21 Jan 2006 18:14:37 -0600
+
+r-base (2.2.1-2) unstable; urgency=low
+
+  * debian/control: Remove Build-Depends: on libpaperg-dev as we do not
+    actually build against libpaper anyway 		(Closes: #346403)
+  * debian/control: Add Depends: on libpaper-utils to r-base-core, 
+    and remove different Suggests: of libpaperg
+
+  * debian/control: Update Standards-Version: to 3.6.2
+  * debian/control: Change Architecture: any for empty r-recommended
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  7 Jan 2006 20:18:06 -0600
+
+r-base (2.2.1-1) unstable; urgency=low
+
+  * New upstream version 2.2.1 released this morning
+  
+  * debian/control: Remove unnecessary f2c from Depends: in r-base-dev 
+  * debian/rules: Set DH_COMPAT=4
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 20 Dec 2005 06:18:38 -0600
+
+r-base (2.2.0.rc.20051214-1) unstable; urgency=low
+
+  * Second beta release of the upcoming R 2.2.1 planned for December 20
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 15 Dec 2005 16:25:43 -0600
+
+r-base (2.2.0.rc.20051206-1) unstable; urgency=low
+
+  * First beta release of the upcoming R 2.2.1 planned for December 20
+
+  * debian/rules: Install bash completion file debian/R.bash_completion 
+    by Deepayan Sarkar and announced to r-devel on 2005-11-30
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  7 Dec 2005 19:34:47 -0600
+
+r-base (2.2.0.final-4) unstable; urgency=low
+
+  * debian/rules: Really skip 'make check' on hppa	(Closes: #333462)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 24 Oct 2005 18:59:16 -0500
+
+r-base (2.2.0.final-3) unstable; urgency=low
+
+  * debian/rules: Skip 'make check' on hppa		(Closes: #333462)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 24 Oct 2005 08:53:22 -0500
+
+r-base (2.2.0.final-2) unstable; urgency=low
+
+  * Rebuilt with properly renamed .orig.tar.gz          (Closes: #332586)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  7 Oct 2005 21:20:16 -0500
+
+r-base (2.2.0.final-1) unstable; urgency=low
+
+  * New upstream version 2.2.0 released today, following six
+    Debian pre-releases  (and a repeat of a version number snafu made
+    years ago, hence the need for the '.final')
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  6 Oct 2005 21:18:53 -0500
+
+r-base (2.2.0.beta.20050929-1) unstable; urgency=low
+
+  * Second weekly beta release (using 2005-09-22 candidate) of R 2.2.0 
+
+  * debian/rules: Call configure with LIBnn=lib to enforce use of
+    /usr/lib everywhere, including amd64  		(Closes: #329952)
+
+  * share/perl/build-help.pl: Wrote patch to re-enable deprecated --htmllists
+    argument as a no-op so that our r-cran-* postinst files can call it.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 29 Sep 2005 21:45:12 -0500
+
+r-base (2.2.0.beta.20050922-2) unstable; urgency=low
+
+  * debian/rules:  Create softlink from R's TeX files (used for doc.
+    and Sweave) into the texmf hierarchy. (Thanks, Gregor Gorjanc)
+  * debian/r-base-core.dirs: Add 'usr/share/texmf/tex/latex'
+  * debian/r-base-core.postinst: Call texhash if it exists
+  
+  * Really re-apply the Perl fix (share/perl/{build-help.pl,R/Rdlists.pm)
+    to maintain compatibility with all the r-cran-* packages postinst
+    							(Closes: #330085)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 25 Sep 2005 16:07:07 -0500
+
+r-base (2.2.0.beta.20050922-1) unstable; urgency=low
+
+  * First beta release candidate (dated 2005-09-22) of R 2.2.0 
+
+  * Following prior practice, this release is designated for unstable
+    after the two first alpha releases in experiment. 
+
+  * share/perl/build-help.pl, share/perl/R/Rdlists.pm: As in the previous
+    snapshot, fall back to R 2.1.1 code to support other r-cran-* packages
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 22 Sep 2005 21:10:12 -0500
+
+r-base (2.2.0.alpha.20050915-1) experimental; urgency=low
+
+  * Second alpha release of the upcoming R 2.2.0 planned for October 6
+
+  * share/perl/build-help.pl, share/perl/R/Rdlists.pm: As in the previous
+    snapshot, fall back to R 2.1.1 code to support other r-cran-* packages
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 15 Sep 2005 19:37:11 -0500
+
+r-base (2.2.0.alpha.20050908-2) experimental; urgency=low
+
+  * debian/rules: Also re-set the newly added variables R_SHARE_DIR, 
+    R_INCLUDE_DIR and R_DOC_DIR in /usr/bin/R 		(Closes: #327446)
+
+  * share/perl/build-help.pl: Revert to the version from R 2.1.1 as
+    we need the now deprecated --htmllists argument in the postinst
+    and postrm scripts of several dozen r-cran-* packages.
+  * share/perl/R/Rdlists.pm: Carry build_htmlpkglists() and read_titles()
+    over from 2.1.1 to support the --htmllists code
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 10 Sep 2005 13:12:08 -0500
+
+r-base (2.2.0.alpha.20050908-1) experimental; urgency=low
+
+  * First alpha release of the upcoming R 2.2.0 planned for October 6
+
+  * debian/{control,rules}: Build-Depends switched to gcc-4.0 
+    by removing "gcc-3.4, g++-3.4, g77-3.4" 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  8 Sep 2005 22:35:50 -0500
+
+r-base (2.1.1-1) unstable; urgency=low
+
+  * New upstream version 2.1.1 released today
+  
+  * debian/control: Remove redundant Build-Depends on 'mawk | gawk | awk'
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 20 Jun 2005 18:50:41 -0500
+
+r-base (2.1.0.beta.20050613-1) unstable; urgency=low
+
+  * Upgraded to the R 2.1.1 beta release candidate dated 2005-06-13
+
+  * debian/rules: configure call with AWK="/usr/bin/awk" (Closes: #307683)
+  * debian/control: New Build-Depends on 'mawk | gawk | awk'
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 13 Jun 2005 21:04:50 -0500
+
+r-base (2.1.0-1) unstable; urgency=low
+
+  * New upstream version 2.1.0 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 18 Apr 2005 20:24:26 -0500
+
+r-base (2.0.1.beta.20050410-1) unstable; urgency=low
+
+  * Upgraded to the R 2.1.0 beta release candidate dated 2005-04-10
+
+  * With R 2.1.0 scheduled to be released on April 18, this release
+    candidate will be uploaded to unstable to allow for wider testing
+  
+  * debian/rules: Also copy new file 'repositories' to /etc/R and link back
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 10 Apr 2005 21:12:25 -0500
+
+r-base (2.0.1.alpha.20050403-1) experimental; urgency=low
+
+  * Upgraded to the R 2.1.0 alpha release candidate dated 2005-04-03
+
+  * This upload is still slated for experimental; beta release 
+    candidates of 2.1.0 will go into unstable
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  3 Apr 2005 16:04:29 -0500
+
+r-base (2.0.1.alpha.20050322-1) experimental; urgency=low
+
+  * Initial attempt at packaging the upcoming R 2.1.0
+
+  * debian/rules: No longer install $RHOME/bin/Rdindex
+  
+  * debian/rules: No longer build the Gnome GUI which has been
+    unbundled upstream as it was never fully completed
+  * debian/control: Update r-gnome Description
+  * debian/control: r-gnome is now Binary: all, removed ${shlibs:Depends}
+    and versioned (= ${Source-Version}) part of Depends on r-base-core 
+  * debian/control: Reduce Build-Depends by libgnome-dev, libzvt-dev, 
+    libgtkxmhtml-dev, libglade-gnome0-dev
+  * debian/r-gnome.NEWS: New file with message about removeal of UI
+  
+  * debian/control: For r-base-dev, switched from the black magic
+    "g77 | m68k, f2c | not+m68k, type-handling" to "g77, f2c" as
+    type-handling no longer allows this (Closes: #296287)
+
+  * debian/r-mathlib.shlibs: Correct to 'libRmath 1 r-mathlib (>= 2.0)'
+    with thanks to Chris Lawrence
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 21 Mar 2005 21:20:09 -0600
+
+r-base (2.0.1-4) unstable; urgency=low
+
+  * Removed erroneously left-over doc-base file (Closes: #296194)
+  * debian/r-doc-{html,pdf}.links: Link individual files, not the
+    entire manual directory, in order to circumvent a dhelp bug 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 20 Feb 2005 17:24:07 -0600
+
+r-base (2.0.1-3) unstable; urgency=low
+
+  * debian/r-doc-html.doc-base.*: Added five doc-base control files
+    to register the html documentation with doc-base (Closes: #296089)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 20 Feb 2005 07:59:53 -0600
+
+r-base (2.0.1-2) unstable; urgency=low
+
+  * debian/control: Switch the Depends: on the helper package r-base-dev
+    to libreadline5-dev to help readline5 migration (Closes: #291655)
+  * debian/control: Also switch Build-Depends: to libreadline5-dev
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 23 Jan 2005 13:39:50 -0600
+
+r-base (2.0.1-1) unstable; urgency=medium
+
+  * New upstream release
+  * Urgency medium as this version contains numerous upstream fixes, 
+    as well as Debian fixes from 2.0.0-4 that have are not yet in testing 
+
+  * debian/control: Add r-recommended to Depends: for r-base
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 15 Nov 2004 09:39:01 -0600
+
+r-base (2.0.0-4) unstable; urgency=medium
+
+  * Urgency medium to get the fix into the testing distribution in which 
+    r-recommended currently has insufficiently detailed Depends:
+  * debian/control: Change Depends: for r-recommended to be versioned, and
+    impose a minimum standard of package versions rebuilt under R 2.0.0 
+    as required by the underlying lazyloading changes (Closes: #278528)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 27 Oct 2004 20:26:31 -0500
+
+r-base (2.0.0-3) unstable; urgency=low
+  
+  * Two improvements suggested by Kurt Hornik:
+    - debian/control: r-base now Depends: on r-base-core (= ${Source-Version})
+    - debian/control: Fix MASS book title in Description: of r-recommends
+
+  * Reorganisation of r-mathlib suggested and tested by Faheem Mitha:
+    - debian/control: r-mathlib now only Recommends: insteads of Depends:
+      on r-base-core and r-base-dev (Closes: #276038)
+    - debian/rules: Small changes to give r-mathlib its own doc directory
+    - debian/r-mathlib.links: Renamed to r-mathlib.links.unused disable
+  
+  * Update to use of Lapack code as suggested by Doug Bates:
+    - debian/rules: Set Lapack back to --with-lapack=no
+    - debian/control: Remove "lapack3-dev | atlas3-base-dev" from Build-Depends
+    - debian/control: Remove "lapack3-dev | atlas3-base-dev | liblapack-3.so"
+      from Depends for r-base-dev as well
+    - debian/rules: Turn 'make check' back on (outside of arm)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 13 Oct 2004 20:12:30 -0500
+
+r-base (2.0.0-2) unstable; urgency=low
+
+  * src/main/startup.c: Removed 'static' on RestoreAction declaration
+    as recommend by Brian Ripley in bug report follow-up (Closes: #275791)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 11 Oct 2004 09:55:11 -0500
+
+r-base (2.0.0-1) unstable; urgency=low
+
+  * New upstream release
+  
+  * src/library/tools/R/admin.R, src/scripts/INSTALL.in: Applied
+    small patch by Brian Ripley to address package build issues
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  5 Oct 2004 17:53:51 -0500
+
+r-base (1.9.1.beta.20040929-1) experimental; urgency=low
+
+  * Upgraded to the R 2.0.0 beta release candidate dated 2004-09-29
+  * Still uploading to 'experimental' to keep 1.9.1-3 in testing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 29 Sep 2004 15:40:10 -0500
+
+r-base (1.9.1.beta.20040928-1) experimental; urgency=low
+
+  * Upgraded to the R 2.0.0 beta release candidate dated 2004-09-28
+  * Still uploading to 'experimental' to keep 1.9.1-3 in testing
+  * debian/rules: No longer install BUGS which is no longer in upstream sources
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 28 Sep 2004 22:22:52 -0500
+
+r-base (1.9.1.beta.20040925-1) experimental; urgency=low
+
+  * Upgraded to the R 2.0.0 beta release candidate dated 2004-09-25
+  * Still uploading to 'experimental' to keep 1.9.1-3 in testing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 25 Sep 2004 08:43:01 -0500
+
+r-base (1.9.1.beta.20040921-1) experimental; urgency=low
+
+  * Upgraded to the R 2.0.0 beta release candidate dated 2004-09-21
+  * Still uploading to 'experimental' to keep 1.9.1-3 in testing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 21 Sep 2004 21:00:41 -0500
+
+r-base (1.9.1.alpha.20040912-1) experimental; urgency=low
+
+  * Upgraded to the R 2.0.0 alpha release candidate dated 2004-09-12
+  * Still uploading to 'experimental' as 1.9.1-3 is not yet in testing
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 12 Sep 2004 15:44:38 -0500
+
+r-base (1.9.1.alpha.20040906-1) experimental; urgency=low
+
+  * Upgraded to the initial R 2.0.0 alpha release candidate dated 2004-09-06 
+
+  * Distribution set to 'experimental' as we would like the previous release
+    1.9.1-3 to migrate to 'testing' first; as that has happened we will make
+    alpha and/or beta releases of 2.0.0 to 'unstable' prior to the formal 
+    release  
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  6 Sep 2004 22:00:56 -0500
+
+r-base (1.9.1-3) unstable; urgency=low
+
+  * debian/control: Expanded Depends for r-base-dev to include virtual
+    packages libblas-3.so and liblapack-3.so as final alternatives.
+  * debian/copyright: Author list updated as suggested by Kurt Hornik
+  * src/modules/gnome/system.c: Change 'R_Interactive = 1' instead of the 
+    isatty() call, as suggested by Brian D. Ripley (Closes: #269107)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 31 Aug 2004 21:49:39 -0500
+
+r-base (1.9.1-2) unstable; urgency=low
+
+  * debian/r-base-core.postinst: Papersize code conditional on paperconf
+  * debian/control: Added Suggests for libpaper-utils
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 22 Jun 2004 06:33:26 -0500
+
+r-base (1.9.1-1) unstable; urgency=low
+
+  * Upgraded to version 1.9.1 released today
+
+  * debian/rules: Configure with R_PAPERSIZE='letter' 
+  * debian/r-base-core.postinst: Re-wrote papersize setting code
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 21 Jun 2004 09:31:02 -0500
+
+r-base (1.9.0.beta.20040614-1) unstable; urgency=low
+
+  * Upgraded to the initial 1.9.1 beta release candidate of 2004-06-14
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 14 Jun 2004 15:02:14 -0500
+
+r-base (1.9.0.alpha.20040607-1) unstable; urgency=low
+
+  * Upgraded to the initial 1.9.1 alpha release candidate of 2004-06-07
+
+  * Contains upstream fix for version number in search entry of CRAN
+    packages, with thanks to Kurt Hornik (Closes: #248430)
+  
+  * debian/Renviron-R_PAPERSIZE.patch: New patch to set R_PAPERSIZE in 
+    /etc/R/Renviron by respecting both a prior setting and the value
+    in /etc/papersize, with thanks to Matej Cepl  (Closes: #245525)
+
+  * debian/control: Remove unversioned g++ from Build-Depends [ lintian ]
+  * debian/control: r-mathlib, r-recommended get versioned Depends
+    on r-base-core as doc directories are symlinked [ lintian ]
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  8 Jun 2004 07:00:41 -0500
+
+r-base (1.9.0-1) unstable; urgency=low
+
+  * Upgraded to version 1.9.0 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 12 Apr 2004 07:30:12 -0500
+
+r-base (1.8.1.cvs.20040410-1) unstable; urgency=low
+
+  * Upgraded to beta release candidate 2004-04-10 of R 1.9.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 11 Apr 2004 22:27:32 -0500
+
+r-base (1.8.1.cvs.20040331-1) unstable; urgency=low
+
+  * Upgraded to beta release candidate 2004-03-31 of R 1.9.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  1 Apr 2004 14:50:52 -0600
+
+r-base (1.8.1.cvs.20040321-1) unstable; urgency=low
+
+  * Upgraded to beta release candidate 2004-03-21 of R 1.9.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 21 Mar 2004 18:35:03 -0600
+
+r-base (1.8.1.cvs.20040314-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2004-03-14 of R 1.9.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 14 Mar 2004 17:37:03 -0600
+
+r-base (1.8.1.cvs.20040307-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2004-03-07 of R 1.9.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  7 Mar 2004 08:29:00 -0600
+
+r-base (1.8.1.cvs.20040229-2) unstable; urgency=low
+
+  * debian/control: Declare Replaces: r-recommended as well for r-base-html
+    and r-base-latex as they contain parts of 'grid' which used to be in
+    r-recommended, but is now in r-base-core and these two (Closes: #235891)
+  
+  * debian/rules: Do not ship usr/share/info/dir(.old) (Closes: #235713)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  2 Mar 2004 20:33:18 -0600
+
+r-base (1.8.1.cvs.20040229-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2004-02-29 of R 1.9.0
+  
+  * debian/rules changes to configure call
+     --without-r-recommended (as r-recommended is now a meta-package)
+     --with-bzlib to override default of no
+     --with-pcre to override default of no
+     --with-zlib to override default of no
+     R_BROWSER=sensible-browser to not depend on mozilla
+
+  * debian/control: r-base-core Replace r-recommended (<= 1.8.1-1) as 
+    the grid package moved 
+  
+  * debian/control: r-recommended is now a metapackage that depends on the
+    individual packages which are now part of the Debian distribution; 
+    and added appropriate Depends for all of them
+  * debian/rules: Hence 'configure [...] --without-recommended-packages	[...]'
+  * debian/control: Added Conflicts: r-recommended (<< 1.9.0) to r-base-core
+  
+  * debian/rules: In make-arch target, now call "make docs" with 
+    R_CMD_BUILD_HELP_OPTS="--txt --example" to build only the documentation 
+    needed for binary-arch targets (thanks to Kurt Hornik for enabling this)
+  
+  * debian/rules: configure with PAGER=/usr/bin/pager as all the good
+    reasons pointed out in #230524 regarding octave2.1 apply to R too
+  
+  * debian/control: Depends for r-base-dev changed from the imperfect 
+    "g77 | f2c" to to "g77 | m68k, f2c | not+m68k, type-handling" with 
+    thanks to Wouter Verhelst
+  
+  * debian/control: Changed Build-Depends from 'blas-dev (>=1.0-9),lapack-dev'
+     to 'refblas3-dev | atlas3-base-dev, lapack3-dev | atlas3-base-dev'
+  * debian/control: Dito for Depends: for r-base-dev 
+  * debian/rules: Set configure arguments for refblas3/atlas3 and 
+    lapack3/atlas3, respectively, instead of blas/atlas v2.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 29 Feb 2004 16:55:55 -0600
+
+r-base (1.8.1-2) unstable; urgency=low
+
+  * debian/control: Added to Build-Depends
+     libpaper-utils for paperconf
+     libjpeg62-dev for jpeg (thanks to Kurt Hornik for the suggestion)
+     libprce3-dev for pcre
+     linpng12-dev for png
+     zlib1g-dev for zlib
+    
+  * debian/control: Added to Depends for r-base-dev
+     libjpeg62-dev, libpcre3-dev  (thanks to Kurt Hornik for the suggestion)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 19 Jan 2004 10:45:47 -0600
+  
+r-base (1.8.1-1) unstable; urgency=low
+
+  * Upgraded to version 1.8.1 released today
+  
+  * debian/control: Move r-base-html and r-base-latex from the Depends: for
+    r-base to Recommends: as one cannot depend on packages of lower priority
+  * debian/rules: Use --without-blas on arm
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 21 Nov 2003 10:09:48 -0600
+
+r-base (1.8.0.cvs.20031114-1) unstable; urgency=low
+
+  * Upgraded to the initial 1.8.1 beta release of 2003-11-14
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 14 Nov 2003 19:13:43 -0600
+
+r-base (1.8.0.cvs.20031107-1) unstable; urgency=low
+
+  * Upgraded to the initial 1.8.1 alpha release of 2003-11-07
+  * debian/rules: Configure with R_PRINTCMD=/usr/bin/lpr (Closes: #219419)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  7 Nov 2003 19:56:48 -0600
+
+r-base (1.8.0.cvs.20031101-1) unstable; urgency=low
+
+  * Upgraded to 1.8.0 patched aka pre-1.8.1 as of 2003-11-01
+  * Also upgraded R-recommended via rsync
+  * debian/rules: make docs has to be called when binary-arch is built 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  1 Nov 2003 18:58:09 -0600
+
+r-base (1.8.0.cvs.20031024-1) unstable; urgency=low
+
+  * Upgraded to 1.8.0 patched as of 2003-10-24
+  * Also upgraded R-recommended via rsync
+  * To avoid possible upgrade conflicts with pre-releases of 1.8.1, we 
+    use previously used ".cvs.YYYYMMDD" naming convention for the package
+  * debian/rules: 'make {docs,help,html}' are now called in binary-indep
+    which was not possible with earlier versions of R; however as make
+    recommended implies make doc, we manually descend into its top dir.
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 23 Oct 2003 15:21:35 -0500
+
+r-base (1.8.0-2) unstable; urgency=low
+
+  * With a big thanks to Camm Maguire for investigating this problem,
+    we are reverting back to the previously used setup of defaulting to 
+    Blas while automagically switching to Atlas where installed:
+    - debian/rules: Patch R.sh.in to disable use of R_LD_LIBRARY_PATH (beyond
+      the required $R_HOME/nbin) which conflicts with Debian's transparent 
+      switch of Atlas for Blas (as /usr/lib/libblas would be found instead)
+    - debian/rules: Configure again with --with-blas=blas
+    - debian/control: Hence remove Depends: on atlas2-base-dev | atlas2-dev
+    - debian/shlibs.local: Remove, no longer needed
+    - debian/rules: No longer need to postprocess Depends
+    - debian/rules: Other small cleanups
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 16 Oct 2003 20:13:32 -0500
+
+r-base (1.8.0-1) unstable; urgency=low
+
+  * Upgraded to version 1.8.0 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  8 Oct 2003 10:10:41 -0500
+
+r-base (1.7.1.cvs.20031004-1) unstable; urgency=low
+
+  * Upgraded to release candidate 1.8.0beta_2003-10-04 of R 1.8.0
+  * debian/control: Change Depends: to atlas2-base-dev | atlas2-dev 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  4 Oct 2003 07:39:13 -0500
+
+r-base (1.7.1.cvs.20030927-1) unstable; urgency=low
+
+  * Upgraded to release candidate 1.8.0beta_2003-09-27 of R 1.8.0
+  * debian/control: Add Depends: on atlas2-dev for r-base-dev
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 27 Sep 2003 15:58:45 -0500
+
+r-base (1.7.1.cvs.20030920-1) unstable; urgency=low
+
+  * Upgraded to release candidate 1.8.0alpha_2003-09-20 of R 1.8.0
+  * debian/{r-base-core,r-gnome}.menu: Small beautifications
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 20 Sep 2003 08:02:54 -0500
+
+r-base (1.7.1.cvs.20030913-1) unstable; urgency=low
+
+  * Upgraded to release candidate 1.8.0alpha_2003-09-13 of R 1.8.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 13 Sep 2003 09:59:45 -0500
+
+r-base (1.7.1.cvs.20030906-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2003-09-06 of R 1.8.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  6 Sep 2003 15:21:02 -0500
+
+r-base (1.7.1.cvs.20030830-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2003-08-30 of R 1.8.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 30 Aug 2003 09:56:10 -0500
+
+r-base (1.7.1.cvs.20030822-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2003-08-22 of R 1.8.0
+  * debian/control: Standards-Version increased to 3.6.1.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 22 Aug 2003 20:25:52 -0500
+
+r-base (1.7.1.cvs.20030814-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2003-08-14 of R 1.7.2 (or 1.8.0)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 14 Aug 2003 20:39:05 -0500
+
+r-base (1.7.1.cvs.20030808-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2003-08-08 of R 1.7.2 (or 1.8.0)
+  * Upstream release candidate sources do not contain the source for the
+    r-recommended package so tools/rsync-recommended was used to obtain
+    these and a new, Debian-only, orig.tar.gz of both was created
+  * debian/control: r-base-dev now has a versioned Depends on r-base-core
+    which requires equal version numbers between the two (Closes: #199295)
+  * debian/control: Upgraded Standards-Version to 3.6.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  8 Aug 2003 20:08:49 -0500
+
+r-base (1.7.1-1) unstable; urgency=low
+
+  * New upstream version 1.7.1 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 16 Jun 2003 19:36:45 -0500
+
+r-base (1.7.0.cvs.20030607-1) unstable; urgency=low
+
+  * Upgraded to initial release candidate (dated 2003-06-07) of R 1.7.1
+  * debian/{control,rules}: Switch back to default compiler version as 3.3 
+    is in unstable and testing; m68k still needs f2c for Fortan code
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  7 Jun 2003 12:23:59 -0500
+
+r-base (1.7.0.cvs.20030602-1) unstable; urgency=low
+
+  * Upgraded to initial release candidate (dated 2003-06-02) of R 1.7.1
+  * debian/{rules,control}: Try f2c on m68k as a last resort
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  2 Jun 2003 21:31:42 -0500
+
+r-base (1.7.0.cvs.20030526-1) unstable; urgency=low
+
+  * Upgraded to release candidate 2003-05-26 of R 1.7.1
+  * Manually rsync'ed r-recommendeds sources as R-patched pre-release do
+    not comprise r-recommended, also manually re-built upstream tarball
+  * debian/control: Require gcc/g++/g77-3.2 as version 3.3 is in unstable
+    gcc 3.2 works fine everywhere with the exception of m68k (Closes: #194175)
+  * debian/shlibs.local: Have libatlas imply either the actual atlas2-base 
+    or the virtual atlas2 provided by tuned libraries (Closes: #193831)
+  * debian/control: Added 'xpdf-reader | pdf-viewer' to Build-Depends
+  * debian/control: Upgraded Standards-Version to 3.5.10
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 26 May 2003 19:47:20 -0500
+
+r-base (1.7.0-3) unstable; urgency=low
+
+  * debian/rules: No longer configure for use of an external lapack library
+    as some numerical infelicities have come up on shore.
+  * debian/rules: Now call configure --with-blas=atlas for Atlas / Blas 
+  * debian/shlibs.local: add '| blas | blas2' to 'libatlas 2 atlas2-base'
+  * debian/control: r-gnome Recommends: r-cran-gtkdevice (Closes: #190735)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 28 Apr 2003 20:56:54 -0500
+
+r-base (1.7.0-2) unstable; urgency=low
+
+  * debian/control: r-recommended Description updates w.r.t. MASS edition
+  * debian/rules: Remove Depends of r-recommended on atlas2-base as it is 
+    neither 'virtual' nor required as r-recommnded itself depends on 
+    r-base-core so that we get its Depends on atlas2-base | blas2 | blas
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 20 Apr 2003 20:18:56 -0500
+
+r-base (1.7.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 16 Apr 2003 10:43:57 -0500
+
+r-base (1.6.2.cvs.20030413-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-04-13 of R 1.7.0
+  * debian/control: Section set to gnome for r-gnome
+  * debian/r-recommended.preinst: rm doc dir (Closes: #188995)
+ 
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 14 Apr 2003 20:35:32 -0500
+
+r-base (1.6.2.cvs.20030409-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-04-09 of R 1.7.0
+  * debian/rules: Hack result of dh_shlibdeps with Perl to remove the
+    double atlas2 entry caused by the virtual depends on blas and lapack
+  * debian/rules: Small improvement to R_LIBS patch to conform with
+    standard of respecting prior settings, if any, of the variable
+  * debian/control: Upgraded Standards-Version to 3.5.9
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed,  9 Apr 2003 23:09:00 -0500
+
+r-base (1.6.2.cvs.20030405-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-04-05 of R 1.7.0
+  * debian/rules: Configure with --with-blas, not --with-blas=blas
+  * debian/r-base-core.prerm: s/treu/true/
+  * debian/rules: Link $R_HOME/doc into /usr/share/doc/r-base-core, rather
+    than its subdirectories doc and manual as e.g. manual link could be
+    dangling if r-doc-pdf is not installed (Closes: #187573)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sat,  5 Apr 2003 08:35:37 -0600
+
+r-base (1.6.2.cvs.20030403-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-04-03 of R 1.7.0
+  * debian/rules: Add R_LIBS setting to /etc/R/Renviron such that 
+    user-installed packages will be in /usr/local/lib/R/site-library,
+    Debian packages will install into /usr/lib/R/site-library and
+    the r-base-core and r-recommended packages will use the standard
+    /usr/lib/R/library directory
+  * debian/r-base-core.dirs: Add /usr/lib/R/site-library
+  * debian/r-base-core.postinst: Add failsafe creation of directory
+    /usr/local/lib/R/site-library as per Policy section 10.1.2
+  * debian/r-base-core.prerm: Add failsafe creation of directory
+    /usr/local/lib/R/site-library as per Policy section 10.1.2
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu,  3 Apr 2003 10:16:06 -0600
+
+r-base (1.6.2.cvs.20030331-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-03-30 of R 1.7.0
+  * debian/control: Added lapack-dev to Depends for r-base-dev
+  * debian/rules: Removed rrecommended tests
+   
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 31 Mar 2003 09:01:22 -0600
+
+r-base (1.6.2.cvs.20030330-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-03-30 of R 1.7.0
+  * Upstream sources fix the problem reported in #186857 (Closes: #186857)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun, 30 Mar 2003 16:08:48 -0600
+
+r-base (1.6.2.cvs.20030326-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-03-26 of R 1.7.0
+  * debian/rules: Configure with --with-lapack
+  * debian/control: Build-Depends on lapack-dev
+  * debian/rules: Explicitly use gcc/g77/g++-3.2 for builds on testing
+  * debian/r-gnome.menu: The Needs: entry was corrected to "x11"
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 26 Mar 2003 09:19:07 -0600
+
+r-base (1.6.2-2) unstable; urgency=low
+
+  * Rebuilding on Debian unstable with gcc/g++/g77 as the new default
+  * debian/control: Depends g77 (>= 3.2.2), g++ (>= 3.2.2) for r-base{,-dev}
+  * debian/rules: Adjusted accordingly by defaulting to gcc, g++, g77
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 18 Jan 2003 20:21:21 -0600
+
+r-base (1.6.2-1) unstable; urgency=low
+
+  * New upstream version 1.6.2 released today
+  * debian/r-base-core.lintian: Added exceptions for 
+    image-file-in-usr-lib usr/lib/R/doc/html/{left,logo,logosm,right,up}.jpg
+  * debian/rules: Substitute Perl path to /usr/bin/perl for 
+    usr/lib/R/bin/{Rdconv,Rdindex,Rprof,Sd2Rd,build,check}
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 10 Jan 2003 20:30:26 -0600
+
+r-base (1.6.1.cvs.20030103-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2003-01-03 of R 1.6.2
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri,  3 Jan 2003 09:42:18 -0600
+
+r-base (1.6.1.cvs.20021230-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2002-12-30 of R 1.6.2
+  * Added Douglas Bates as an Uploader following email discussion with Dirk
+  
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon, 30 Dec 2002 20:43:24 -0600
+
+r-base (1.6.1-3) unstable; urgency=low
+
+  * debian/{control,rules}: Configure switch from f2c to g77 for m68k
+  * debian/{control,rules}: Configure switch from tcl/tk8.3 to tcl/tk8.4
+  * debian/control: Added libpaperg-dev to Build-Depends (Closes: #168259)
+  * debian/r-base-control: Substitute result from paperconf call 
+    into $R_HOME/etc/Renviron, not /usr/bin/R 
+  * debian/rules: Move $R_HOME/etc/* files into /etc/R/ (Closes: #170018)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 28 Nov 2002 07:49:49 -0600
+
+r-base (1.6.1-2) unstable; urgency=low
+
+  * Rebuilt with support for bzip2 (compression) and pcre (reg.expressions)
+  * debian/control: Added libbz2-dev and libpcre3-dev to Build-Depends
+  * debian/rules: Set R_BROWSER to /usr/bin/mozilla in $R_HOME/etc/Renviron
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 11 Nov 2002 13:26:27 -0600
+
+r-base (1.6.1-1) unstable; urgency=low
+
+  * Upgraded to R version 1.6.1 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  1 Nov 2002 16:56:50 -0600
+
+r-base (1.6.0.rel.20021024-1) unstable; urgency=low
+
+  * Upgraded to release candidate dated 2002-10-24 of R 1.6.1
+  * debian/control: Set section for r-base-dev to devel
+  * debian/r-doc-info.prerm: Add upgrade target
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 24 Oct 2002 21:01:49 -0500
+
+r-base (1.6.0.rel.20021017-1) unstable; urgency=low
+
+  * Upgraded to first release candidate (dated 2002-10-17) of R 1.6.1
+  * Since 1.6.0, the R Core upstream stream now bundles the sources 
+    of the r-recommended package directly in the r-base sources -- thus 
+    the source package r-recommended will be replaced by a binary 
+    package derived from these sources
+  * debian/control: Added new package r-recommended
+  * debian/r-recommended.{files,links}: Defined accordingly
+  * debian/copyright: Include the copyright file from r-recommended
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 17 Oct 2002 20:53:49 -0500
+
+r-base (1.6.0.rel-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.6.0 [ which we need to rename
+    1.6.0.rel so that is sorts higher than 1.6.0.rc.20020927 ]
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  1 Oct 2002 21:18:52 -0500
+
+r-base (1.6.0.rc.20020927-1) unstable; urgency=low
+
+  * Upgraded to new release candidate of R 1.6.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 26 Sep 2002 20:49:34 -0500
+
+r-base (1.6.0.rc.20020917-1) unstable; urgency=low
+
+  * Upgraded to new release candidate of R 1.6.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 16 Sep 2002 20:41:58 -0500
+
+r-base (1.6.0.rc.20020910-1) unstable; urgency=low
+
+  * First release candidate of R 1.6.0 which is scheduled to be released on
+    October 1, 2002 -- this release corresponds to the first feature freeze
+  * debian/control: More Suggests: of the r-doc-* packages
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  9 Sep 2002 20:53:41 -0500
+
+r-base (1.5.1-0woody1) woody-proposed-updates; urgency=low
+
+  * Backport for woody built against atlas with corrected virtual Depends 
+    on blas/atlas to prevent bugs like #150253 and #152284 in woody
+  * debian/rules: Use "-O0 -g0" on arm and m68k to shorten compile time
+  * debian/control: Added lib{ncurses5,readline4}-dev to r-base-dev Depends 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 15 Jul 2002 21:19:51 -0500
+
+r-base (1.5.1-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.5.1
+  * debian/rules: Also create link from libRmath.so to libRmath.so.1
+  * debian/rules: Include test.c example in r-mathlib (Closes: #149723)
+  * debian/README.mathlib: Added, includes src/nmath/standalone/README
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 17 Jun 2002 19:24:59 -0500
+
+r-base (1.5.0-3) unstable; urgency=low
+
+  * debian/r-doc-html.links: Link into /usr/lib/R/doc/manual (Closes: #148628)
+  * debian/r-doc-pdf.links: Idem
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  8 Jun 2002 11:52:14 -0500
+
+r-base (1.5.0-2) unstable; urgency=low
+
+  * debian/rules: Remove usr/share/info/dir{,.old} (Closes: #148054)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 27 May 2002 15:31:22 -0500
+
+r-base (1.5.0-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.5.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 29 Apr 2002 18:23:59 -0500
+
+r-base (1.4.1.cvs20020421-1) unstable; urgency=low
+
+  * Upgraded to new release candidate 2002-04-21 of R 1.5.0
+  * debian/control: Added virtual fortran77-compiler, c-compiler to the
+    list of alternative compilers that r-base-dev Depends: on
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 21 Apr 2002 19:01:57 -0500
+
+r-base (1.4.1.cvs20020414-1) unstable; urgency=low
+
+  * Upgraded to new release candidate 2002-04-14 of R 1.5.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 13 Apr 2002 20:48:59 -0500
+
+r-base (1.4.1.cvs20020407-1) unstable; urgency=low
+
+  * Upgraded to new release candidate 2002-04-07 of R 1.5.0
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  7 Apr 2002 07:59:43 -0500
+
+r-base (1.4.1.cvs20020331-1) unstable; urgency=low
+
+  * Upgraded to new release candidate 2002-03-23 of R 1.5.0
+
+  * debian/control: Build-Depends on texinfo (>= 4.1-2) to ensure that 
+    we will not be bitten by the epsf.tex bug 
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 31 Mar 2002 08:55:08 -0600
+
+r-base (1.4.1.cvs20020323-1) unstable; urgency=low
+
+  * Upgraded to new release candidate 2002-03-23 of R 1.5.0
+
+  * debian/control: New packages r-base-core, r-base-html, r-base-latex 
+    and r-doc-info have been split from the old r-base package which now 
+    Depends: on these, but can also be removed -- this adds some extra
+    flexibility and can save over eight megabytes of installed files.
+  * debian/control: Replaces: r-base (<= 1.4.1-1) for the new packages
+
+  * debian/rules: Fortan compiler selection adapted to new upstream configure
+  * debian/control: r-base Suggests: r-base-dev instead of gcc
+  * debian/copyright: Updated and included current COPYRIGHTS file ...
+  * debian/rules: ... and therefore do not install COPYRIGHTS separately
+  * debian/control: Added Build-Depends on texi2html (split from tetex-bin)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 23 Mar 2002 11:17:48 -0600
+
+r-base (1.4.1-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.4.1
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 30 Jan 2002 18:50:34 -0600
+
+r-base (1.4.0.cvs20020124-1) unstable; urgency=low
+
+  * Upgraded to the R-patched_2002-01-24 release candidate for 1.4.1
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 24 Jan 2002 19:38:34 -0600
+
+r-base (1.4.0-1) unstable; urgency=low
+
+  * Upgraded to new upstream release 1.4.0
+  * debian/control: Add lib{zvt,gtkxmhtml}-dev to Build-Depends [thanks, Doug]
+  * debian/control: Fixed hppa Build-Depends [thanks, Matthew Wilcox]
+  * debian/rules: Minor cleanup regarding configuration options
+  * debian/control: Changed Priority: from extra to optional
+  * debian/control: Corrected r-doc-html Description [thanks, Doug Bates]
+  * debian/control: Spelling corrections (Closes: #125300)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 19 Dec 2001 18:47:46 -0600
+
+r-base (1.3.1-6) unstable; urgency=low
+
+  * debian/rules: Also apply s/-lg2c/-lg2c-pic/ on etc/Makeconf
+  * debian/control: Revert to Arch: all for doc packages, no Depends r-base
+  * debian/control: r-base-dev Depends remodelled on r-base Build-Depends
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  3 Dec 2001 21:58:40 -0600
+
+r-base (1.3.1-5) unstable; urgency=low
+
+  * debian/rules: Unset CPPFLAGS, LIBS before calling configure to not
+    leave traces of /usr/local. Thanks, Kurt Hornik (Closes: #71917)
+  * debian/rules: More s/-lg2c/-lg2c-pic/ substitution in src/library/
+  * debian/control: Added new package r-mathlib (Closes: #119701)
+  * debian/control: Added new package r-doc-html (R manuals in html format)
+  * debian/rules: Added suitable rules for r-mathlib and r-doc-html
+  * debian/rules: Rewritten/cleaned for DH_COMPAT=3
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 16 Nov 2001 20:43:24 -0600
+
+r-base (1.3.1-4) unstable; urgency=low
+
+  * debian/control: Corrected maintainer email
+  * debian/rules: Do not run 'make check' on arm as it stumbles over the
+    Bessel example; this known misfeature has long been reported upstream
+  * debian/README.Atlas: Updated to reflect autoMAGIC loading of Atlas lib
+    with ldconfig from libc6_2.2.4-5 or later -- thanks, Ben Collins!
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 11 Nov 2001 11:19:10 -0600
+
+r-base (1.3.1-3) unstable; urgency=low
+
+  * New maintainer
+  * debian/rules: Substitute -lg2c-pic for -lg2c in Makeconf [Thanks, Jeff!]
+  * debian/control: Following advice from the Release Manager, let r-doc-pdf
+    and r-base-dev be Arch: any as they Depends: on r-base itself 
+  * debian/rules: configure with tkConfig.sh,tclConfig.sh for 8.3 support
+  * debian/control: Build-Depends on tcl8.3-dev and tk8.3-dev
+  * debian/rules: Let ia64 use gcc-3.0, g77-3.0, g++-3.0
+  * debian/control: Build-Depends adjusted accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  9 Nov 2001 20:17:43 -0600
+
+r-base (1.3.1-2) unstable; urgency=low
+
+  * Non-maintainer upload, coordinated with the maintainer
+  * Fixed local teTeX issue so that pdf manuals are built (Closes: #112184)
+  * debian/*.links: link r-doc-pdf, r-gnome, r-base-dev doc dir to r-base
+  * debian/*.preinst: rm doc dir for r-doc-pdf, r-gnome, r-base-dev 
+  * debian/control: r-base-dev and r-doc-pdf now depend on r-base
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 14 Sep 2001 21:53:24 -0500
+
+r-base (1.3.1-1) unstable; urgency=low
+
+  * Non-maintainer upload, coordinated with the maintainer
+  * Upgraded to new upstream release 1.3.1
+  * src/scripts/R.sh.in: Modified to detect libs from /etc/ld.so.conf so
+    that Atlas is now used automatically when installed, providing very
+    significant performance gains. Thanks for Kurt Hornik for the sed magic. 
+  * debian/control: Build-Depends for f2c on m68k, g77 everywhere else
+  * debian/rules: Use f2c on m68k, g77 everywhere else
+  * debian/rules: Compile with -O on m68k, -O2 everywhere else. Thanks 
+    to Christian Steigies for countless m68k tests and compilations 
+  * debian/r-base.lintian: Added Lintian excpeptions clauses:
+    -- for files not under md5sum creation as their content changes
+    -- for spurious 'extra license' on license() command documentation
+  * debian/rules: Also remove redundant /usr/lib/R/COPYING.LIB, but add
+    soft links for both GPL (to COPYING) and LGPL (to COPYING.LIB)
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  4 Sep 2001 22:28:49 -0500
+
+r-base (1.3.0-4) unstable; urgency=low
+
+  * Non-maintainer brown-bag release
+  * debian/control: Revert back to tcl and tk version 8.0
+  * debian/rules: Split off distinct configure and make targets
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 24 Aug 2001 09:30:17 -0500
+
+r-base (1.3.0-3) unstable; urgency=low
+
+  * Non-maintainer upload, coordinated with the maintainer
+  * debian/rules: Default to --with-blas=blas (available on 9 architectures), 
+    Atlas can dynamically override this where available (Closes: #105366)
+  * debian/control: Changed atlas reference to blas for Build-Depends,
+    requires versioned Build-Depends on blas-dev (>= 1.0-9) 
+  * debian/rules: Added link for manual below r-base/doc (Closes: #106315)
+  * debian/control: Upgraded Build-Depends: on tk and tcl to versions 8.3
+  * debian/control: Upgraded Standards-Version: to 3.5.0
+  * debian/control: Added r-recommended to Suggests:
+  * debian/rules: Remove modules/*.so on clean
+  * debian/README.Atlas: Added simple README file on Atlas
+  * doc/manual/Makefile.in: Added --no-split to makeinfo --html calls
+  * config.site: gcc-3.0 removed in -2 (Closes: #109030)
+  * debian/control: Make was added to Depends in -2 (Closes: #102831)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 21 Aug 2001 22:33:00 -0500
+
+r-base (1.3.0-2) unstable; urgency=low
+
+  * Changed compiler back to gcc from gcc-3.0
+  * Added dependency of r-base-dev on make (Closes: #102831)
+  * Removed dependency of r-base-dev on wget|lynx
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri,  6 Jul 2001 17:33:20 -0500
+
+r-base (1.3.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed build-depends on groff to groff-base
+  * Changed build of r-gnome package for R's new module architecture
+  * Added Dirk E.'s changes to rules and control so atlas is used only on
+    selected architectures.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 29 Jun 2001 09:29:47 -0500
+
+r-base (1.2.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun, 20 May 2001 20:51:58 -0500
+
+r-base (1.2.2-2) unstable; urgency=low
+
+  * Corrected format of Closes line (see 1.2.2-1). (Closes: #83876)
+  * Added more build-depends entries.  (Closes: #89267)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun, 11 Mar 2001 10:26:36 -0600
+
+r-base (1.2.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added build-depends entries. (Closes #83876)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Tue, 27 Feb 2001 12:50:13 -0600
+
+r-base (1.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon, 15 Jan 2001 07:01:21 -0600
+
+r-base (1.2.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added the r-base-dev package to create the correct dependencies for
+    installing R packages from CRAN (Comprehensive R Archive Network)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 15 Dec 2000 07:20:51 -0600
+    
+r-base (1.1.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sat, 17 Jun 2000 13:11:26 -0500
+
+r-base (1.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Includes fix for problem with xaxt and yaxt (Closes #61984)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun, 16 Apr 2000 13:50:06 -0500
+
+r-base (1.0.0-2) unstable; urgency=low
+
+  * The pdf documentation is now in a new package r-doc-pdf
+  * A GNOME-enabled version is available in a new package r-gnome (Closes #44503)
+  * debian/{rules,control}: Modified accordingly
+  * Thanks to Dirk Eddelbuettel who did most of the work for this.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu, 16 Mar 2000 16:28:07 -0600
+
+r-base (1.0.0-1) unstable; urgency=low
+
+  * New upstream version
+  * Fixed names of info files, readline support (Closes: #57774)
+  * Added pdf files to doc directory (Closes: #20227)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu,  9 Mar 2000 16:28:29 -0600
+
+r-base (0.99.0-2) unstable; urgency=low
+
+  * Small but important bug fixes in upstream sources
+  * Removed dependence on atlas2 - using blas1 instead
+  * Recompiled to use the readline library
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun, 13 Feb 2000 14:23:25 -0600
+
+r-base (0.99.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Added creation and installation of info documentation
+  * Created the PDF documentation and added it to the doc directory
+  * Added dependence on the atlas2 package and used the atlas blas
+  * Added /usr/bin/X11 to the path before configuring so imake is found
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon,  7 Feb 2000 10:36:44 -0600
+
+r-base (0.90.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Tue, 14 Dec 1999 10:51:10 -0600
+
+r-base (0.90.0-2) unstable; urgency=low
+
+  * added Conflicts: r-cran in control (Closes: #51673)
+  * Reinstated -Xfoo flags in call to dh_md5sums for Bug#35744
+  * Set up --mandir so package builds with -rfakeroot (Closes: #51901)
+  * Undid Dirk's marking of Rd2txt.1 Rdindex.1 Sd2Rd.1 as undocumented
+    (the manual pages are symbolic links to the Rdconv.1 page)
+  
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun,  5 Dec 1999 15:03:52 -0600
+
+r-base (0.90.0-1) unstable; urgency=low
+
+  * Non-maintainer upload dealing with the usr/doc to usr/share/doc
+    transition, as well as a  few other lintian errors and warnings 
+  * debian/postinst: added #DEBHELPER# stub
+  * debian/rules: configure with mandir=/usr/share/man
+  * debian/rules: remove extra licenses 
+  * debian/rules: also install docs BUGS PLATFORMS VERSION Y2K
+  * debian/rules: mark Rd2txt.1 Rdindex.1 Sd2Rd.1 as undocumented
+  * debian/dirs: change usr/doc to usr/share/doc
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 25 Nov 1999 20:46:56 -0500
+
+r-base (0.90.0-0) unstable; urgency=low
+
+  * new upstream release
+  * Added a "suggests" entry in control for the ess package
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu, 25 Nov 1999 13:08:19 -0600
+
+r-base (0.65.1-2) unstable; urgency=low
+
+  * Changed from use of zip/unzip to minizip/miniunzip (Bug#48742)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sat, 30 Oct 1999 15:04:42 -0500
+
+r-base (0.65.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 8 Oct 1999 10:04:55 -0500
+
+r-base (0.65.0-1) unstable; urgency=low
+
+  * New upstream release
+  * Added dependency on unzip package
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 27 Aug 1999 09:30:14 -0500
+
+r-base (0.64.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Changed dependency from perl to perl5 as per new policy.	
+	
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu,  1 Jul 1999 09:05:03 -0500
+
+r-base (0.64.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Change definition of RHOME in /usr/lib/R/bin/R shell script (Bug#37339)
+  * Add links so /usr/lib/R/doc/manual .tex files can be LaTeX'd (Hubert Palme)
+  * Re-introduced md5sum's but with files that can change removed (Bug#35744)
+  * Removed arbitrary --vsize and --nsize flags in R script.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 12 May 1999 11:48:22 -0500
+    
+r-base (0.64.0-2) unstable; urgency=low
+
+  * removed md5sums from control information (Bug#35744)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu,  8 Apr 1999 08:48:32 -0500
+
+r-base (0.64.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu,  1 Apr 1999 11:03:17 -0600
+
+r-base (0.63.3-2) unstable; urgency=low
+
+  * Recompile for glibc2.1 to fix __setfpucw bug (Bug#34598)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 17 Mar 1999 13:42:41 -0600
+
+r-base (0.63.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu,  4 Mar 1999 09:20:41 -0600
+
+r-base (0.63.2-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 15 Jan 1999 09:25:20 -0600
+
+r-base (0.63.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Linked html directory to /usr/doc/r-base/doc/html (Dirk Eddelbuettel)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri,  4 Dec 1998 14:22:19 -0600
+
+r-base (0.63.0-2) unstable; urgency=low
+
+  * recompiled against libc6-dev_2.0.7u-6 for __register_frame_info fix
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun, 29 Nov 1998 15:39:48 -0600
+
+r-base (0.63.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 18 Nov 1998 13:33:58 -0600
+
+r-base (0.62.4-1) frozen unstable; urgency=low
+
+  * New upstream release
+  * Fixed link to html directory in /usr/doc (Closes: Bug#26444)
+  * Check for /usr/bin/paperconf in postinst and set default R_PAPERSIZE (Closes: #26447)
+  * Remove src/lib directory in debian/rules clean (Closes: #28545)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon,  2 Nov 1998 09:29:20 -0600
+
+r-base (0.62.3-0) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 19 Aug 1998 10:38:08 -0500
+
+r-base (0.62.2-2) unstable; urgency=low
+
+  * Cleaned up the build process by removing redundancies in config.site
+    and debian/rules.
+  * Changed C compiler to gcc instead of egcs.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 14 Aug 1998 13:52:34 -0500
+
+r-base (0.62.2-1) unstable; urgency=low
+
+  * Re-configured to include the readline library
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri, 14 Aug 1998 11:38:35 -0500
+
+r-base (0.62.2-0) unstable; urgency=low
+
+  * New upstream version
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Tue, 14 Jul 1998 13:36:15 -0500
+
+r-base (0.62.1-2) unstable; urgency=low
+
+  * Corrected definition of RHOME in /usr/bin/R (bug#23621)
+  
+  * Changed default heap size to 8 Mb. and number of cons cells to 400000
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 17 Jun 1998 11:48:28 -0500
+
+r-base (0.62.1-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Tue, 16 Jun 1998 10:03:49 -0500
+
+r-base (0.61.3-0) unstable; urgency=low
+
+  * new upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon,  4 May 1998 12:05:53 -0500
+
+r-base (0.61.2-2) frozen unstable; urgency=low
+
+  * recompiled against xlib6g (bug #21027)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon, 13 Apr 1998 14:05:33 -0500
+
+r-base (0.61.2-1) frozen unstable; urgency=low
+
+  * Added symbolic link for /usr/lib/R/library in /usr/doc/r-base/ (bug#20190)
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Thu, 26 Mar 1998 14:01:57 -0600
+
+r-base (0.61.2-0) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon,  9 Mar 1998 15:22:31 -0600
+
+r-base (0.61.1-5) unstable; urgency=low
+
+  * Removed call to dh_du in build rules.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Fri,  6 Mar 1998 13:47:54 -0600
+
+r-base (0.61.1-4) unstable; urgency=low
+
+  * Removed unnecessary call to dh_makeshlibs in build rules
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon, 16 Feb 1998 13:49:44 -0600
+
+r-base (0.61.1-3) unstable; urgency=low
+
+  * Re-compiled to add readline support.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sat, 17 Jan 1998 17:06:52 -0600
+
+r-base (0.61.1-2) unstable; urgency=low
+
+  * Ensured that libraries for the modules are dynamically linked.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Wed, 14 Jan 1998 08:31:53 -0600
+
+r-base (0.61.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Mon, 12 Jan 1998 09:30:04 -0600
+
+r-base (0.61.0-3) unstable; urgency=low
+
+  * Went through all the warnings reported by -Wall to produce a patch
+    file for the developers.
+  * Applied Thomas Lumley's patch for problem with c() applied to ordered.
+  * Changed debian/rules to delete the .in files for autoconf from the
+    package
+  
+  * Changed priority to "optional"
+  * Modified to use pristine original sources.
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Sun,  4 Jan 1998 14:54:04 -0600
+
+r-base (0.61.0-2) unstable; urgency=low
+
+  * Modified the format of the orig.tar.gz file
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Tue, 23 Dec 1997 12:02:09 -0600
+
+r-base (0.61.0-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Douglas Bates <bates@stat.wisc.edu>  Tue, 23 Dec 1997 10:01:21 -0600
+  
--- r-base-2.14.2.orig/debian/r-mathlib.dirs
+++ r-base-2.14.2/debian/r-mathlib.dirs
@@ -0,0 +1 @@
+usr/share/lintian/overrides
--- r-base-2.14.2.orig/debian/r-mathlib.shlibs
+++ r-base-2.14.2/debian/r-mathlib.shlibs
@@ -0,0 +1 @@
+libRmath 1 r-mathlib (>= 2.0)
--- r-base-2.14.2.orig/debian/r-doc-pdf.links.hidden
+++ r-base-2.14.2/debian/r-doc-pdf.links.hidden
@@ -0,0 +1 @@
+usr/share/doc/r-base usr/share/doc/r-doc-pdf
--- r-base-2.14.2.orig/debian/rules
+++ r-base-2.14.2/debian/rules
@@ -0,0 +1,678 @@
+#!/usr/bin/make -f
+# debian/rules file for the Debian GNU/Linux r-base package
+# Copyright 1997-2007 by Douglas Bates <bates@stat.wisc.edu> 
+#		     and Dirk Eddelbuettel <edd@debian.org>
+#
+# $Id: rules,v 1.3 2007/05/06 17:13:23 edd Exp edd $
+
+corepackage	= r-base-core
+devpackage	= r-base-dev
+#latexpackage	= r-base-latex
+pdfpackage	= r-doc-pdf
+htmlpackage	= r-doc-html
+nmathpackage	= r-mathlib
+infopackage	= r-doc-info
+recdpackage	= r-recommended
+dbugpackage	= r-base-core-dbg
+
+# for the standalone library, no sonames are assigned in the upstream Makefiles
+somaj		= 1
+somin		= 0
+sorel		= 0
+libver		= $(somaj).$(somin).$(sorel)
+
+debbase		:= $(CURDIR)/debian
+debtmp		:= $(debbase)/$(corepackage)
+debdoc		:= $(debbase)/$(corepackage)/usr/share/doc/$(corepackage)
+debmat		:= $(debbase)/$(nmathpackage)
+debetc		:= $(debbase)/$(corepackage)/usr/lib/R/etc
+debinf		:= $(debbase)/$(infopackage)
+debcnf		:= $(debbase)/$(corepackage)/etc/R
+
+## edd 24 Oct 2005 use DEB_BUILD_GNU_CPU, not DEB_BUILD_GNU_TYPE 
+##                 updated rules throughout
+arch		:= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+buildarch	:= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+#export DH_VERBOSE = 1
+
+# edd 15 Aug 2001  default to blas, atlas can override it 
+#atlas		= --with-blas=blas
+# dmb 04 Apr 2003  better to use no specify blas
+# atlas			= --with-blas
+# edd 28 Apr 2003  try configuring with atlas
+# atlas		= --with-blas=atlas
+# edd 16 Oct 2003  back to older default
+#atlas		= --with-blas=blas
+# edd 26 Feb 2004  point to refblas3 
+#atlas		= --with-blas=-lblas-3
+# edd 05 Feb 2008  default blas
+atlas           = --with-blas
+
+# edd 08 Mar 2003  use the new lapack feature
+# edd 27 Apr 2003  Set this to =no as we currently see numerical errors
+#lapack		= --with-lapack=no
+# edd 26 Feb 2004  point to lapack3 
+#lapack		= --with-lapack=-llapack-3
+# edd 13 Oct 2004  Set this once again to =no as we still see numerical errors
+#lapack		= --with-lapack=no
+# edd 05 Feb 2008  switched back
+# edd 05 Feb 2008  oh, no switch back to internal lapack -- see #464833
+#lapack		= --with-lapack=no
+# edd 05 Mar 2008  with lapack as we can now use lapack 3.1 in unstable
+lapack		= --with-lapack
+
+# edd 02 Sep 2001  default to g77 but let m68k use f2c
+# edd 06 Mar 2003  enforce 3.2 versions explicitly 
+#		   so that on testing we will pick them over 2.95
+# edd 07 Jun 2003  let's fall back to the default compilers
+# edd 08 Sep 2005  real defaults, i.e. remove -3.4 strings
+# edd 03 Apr 2006  switch to gfortran
+# edd 04 Apr 2006  use optimflags, build per-compiler flags later
+# edd 26 Jun 2007  need 4.2 for fortran linking
+# edd 26 Nov 2007  4.2 is now default, so no longer set -4.2 explictly; also add f95compiler
+# edd 11 Oct 2011  setting -std=gnu99 with compiler (thanks, Kurt Hornik)
+fortrancompiler	= F77=gfortran
+f95compiler     = gfortran
+compiler	= "gcc -std=gnu99"
+cxxcompiler	= g++
+optimflags	= -O3 -pipe 
+
+# edd 04 Sep 2001  default compiler flags, lowered for m68k
+#compilerflags	= -O2 
+# m68k barks when using g77, and when gcc use -O2
+# edd 26 Nov 2002  switched back to g77
+# edd 02 Jun 2003  switched back
+# cts 04 Jun 2003  use -O1 on m68k
+#ifeq ($(arch),m68k)
+#fortrancompiler	= F2C=f2c
+#compilerflags	= -O1
+#endif
+
+# edd 14 Nov 2003  turn blas off on arm
+# edd 12 May 2010  no longer needed -- thx to Modestas Vainius
+#ifeq ($(arch),arm)
+#atlas		= --without-blas
+#endif
+
+## edd 09 Nov 2001  ia64 needs gcc-3.0, hppa gets it by default
+#ifeq ($(arch),ia64)
+#fortrancompiler = F77=g77-3.0
+#compiler	= gcc-3.0
+#cxxcompiler	= g++-3.0
+#compilerflags	= -O2
+#endif
+
+## lamont@debian.org 06 Dec 2001  hppa needs -ffunction-sections  
+ifeq ($(arch),hppa)
+optimflags	= -O2 -ffunction-sections 
+endif
+
+## edd 20 Jun 2002	no optimisation or debugging on baby systems
+## edd 02 Jun 2003	use this on arm only 
+## edd 12 May 2010	no longer use it on arm either -- thx Modestas
+## edd 04 Aug 2010	on mips and mipsel, don't use -g
+##ifneq "$(findstring $(arch), m68k arm)" ""
+#ifneq "$(findstring $(arch), arm)" ""
+ifneq "$(findstring $(arch), mips mipsel)" ""
+optimflags	= -g0 
+#optimflags	= -O0 -g0 
+endif
+
+## edd 04 Apr 2009	Alpha dies on deriv.c, trying will less optimisation
+## edd 16 Apr 2009      commented-out as Kurt Roeckx applied a gcc patch
+#ifeq ($(arch),alpha)
+#optimflags	= -O2 -g0
+#endif
+
+## edd 09 Apr 2006	per patch from Andreas Jochens in #361604
+ifeq ($(arch),powerpc64)
+optimflags	+= -mminimal-toc
+endif
+
+## edd 04 Apr 2006	generalize from old compilerflags to per-compiler
+## edd 11 Oct 2011      -std=gnu goes to CC (thanks to Kurt Hornik)
+cflags		= $(optimflags)
+cxxflags	= $(optimflags)
+fcflags		= $(optimflags)
+
+## edd 17 Sep 2006	suggested by Brian Ripley in email dated 15 Sep 2006
+#ldflags		= -Wl,-O1,-Bdirect,--hash-style=both
+ldflags		= -Wl,-O1
+## edd 06 May 2007  try it
+## edd 05 Feb 2008  still no go under gcc 4.3
+#ldflags		= -Wl,-O1,-Bdirect,--hash-style=both
+
+## edd 16 Apr 2008	add -g to optim flags to allow for -dbg package
+optimflags	+= -g
+
+maketest:
+	@echo "Hi $(arch)"
+	@echo "$(findstring $(arch), i486 hppa arm)" 
+ifeq "$(findstring $(arch), hppa arm)" ""
+	@echo "**** TRUE if the arch is NOT in the list as !find == '' ***"
+endif
+ifneq "$(findstring $(arch), i486 hppa arm)" ""
+	@echo "**** TRUE if the arch is in list as find != '' is TRUE ***"
+endif
+	@echo Bye
+
+get-orig-source: upstream
+upstream:
+        #links http://cran.us.r-project.org/src/base
+	links http://cran.r-project.org/src/base/?M=D
+
+upstreamdevel:
+	links ftp://ftp.stat.math.ethz.ch/Software/R
+        #links http://cran.us.r-project.org/src/base
+        #rsync -vaC rsync.r-project.org::r-devel .
+
+prerelease:
+	links http://cran.r-project.org/src/base-prerelease
+
+denmark:
+	links http://www.biostat.ku.dk/~pd/R-release
+
+
+## edd 24 Oct 2003  build is invoked by the buildd, so we would prefer to
+##		    not imply build-indep; unfortunately R does not build
+##		    properly without it, so we have to stick with it
+## edd 15 Jan 2004  trying again on build only build: build-arch build-indep
+##		    the main hook is to then have binary depend on both
+##		    binary-arch and binary-indep, and those on their builds
+build: build-arch 
+
+build-arch: make-arch
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+build-arch: check
+endif
+
+build-indep: make-indep 
+
+configure: configure-stamp
+configure-stamp:	
+	@echo "*** configure ***"
+
+        # we have to disable use of the expanded R_LD_LIBRARY_PATH as it
+        # conflicts with Debian's Atlas-can-replace-Blas scheme
+        # so set R_LD_LIBRARY_PATH to the minimal value R_HOME/bin
+        # and discard what configure finds for it on this machine
+        ## edd 06 May 2007  no longer used in R.sh.in
+        #perl -p -i -e 's|:\@R_LD_LIBRARY_PATH\@||' src/scripts/R.sh.in
+
+        # edd 15 Dec 2009  the sh4 architecture needs newer configure than 
+        #                  R Core uses, so following Kurt's recommendation to
+        #                  simply re-run configure here
+        # edd 03 Apr 2010  added automake
+        #                  nope, commented both out
+	#automake
+	#autoconf
+
+	dh_testdir
+	R_PAPERSIZE=letter				\
+	R_BROWSER=xdg-open				\
+	PAGER=/usr/bin/pager				\
+	PERL=/usr/bin/perl				\
+	R_UNZIPCMD=/usr/bin/unzip			\
+	R_ZIPCMD=/usr/bin/zip				\
+	R_PRINTCMD=/usr/bin/lpr				\
+	LIBnn=lib					\
+	AWK=/usr/bin/awk                                \
+	CC=$(compiler)					\
+	CXX=${cxxcompiler}						\
+	${fortrancompiler}					\
+	FC=${f95compiler}					\
+	CFLAGS="$(cflags)"				\
+	CXXFLAGS="$(cxxflags)"				\
+	FFLAGS="$(fcflags)"				\
+	FCFLAGS="$(fcflags)"				\
+	CPPFLAGS=					\
+	LDFLAGS=					\
+	FLIBS=						\
+	rsharedir=/usr/share/R/share			\
+	rincludedir=/usr/share/R/include		\
+	rdocdir=/usr/share/R/doc			\
+	./configure --prefix=/usr			\
+		    --with-cairo			\
+		    --with-jpeglib			\
+		    --with-readline			\
+		    --with-tcltk			\
+		    --with-system-bzlib			\
+		    --with-system-pcre			\
+		    --with-system-zlib			\
+		    --mandir=/usr/share/man		\
+		    --infodir=/usr/share/info		\
+		    --datadir=/usr/share/R/share	\
+		    --includedir=/usr/share/R/include	\
+		    $(atlas)		\
+		    $(lapack)		\
+		    --enable-R-profiling		\
+		    --enable-R-shlib			\
+		    --enable-memory-profiling		\
+		    --without-recommended-packages	\
+		    --build $(buildarch)
+
+        ## Old options now ignore: --with-pango, --with-png, --without-gnome
+
+	touch configure-stamp
+
+make-arch: configure make-arch-stamp 
+make-arch-stamp: 
+	@echo "*** make-arch ***"
+	$(MAKE)		CFLAGS="$(cflags)"			\
+			CXXFLAGS="$(cxxflags)"			\
+			FFLAGS="$(fcflags)"			\
+			FCFLAGS="$(fcflags)"			\
+			CC=${compiler}				\
+			CXX=${cxxcompiler}			\
+			${fortrancompiler}			\
+			LDFLAGS="$(ldflags)"			\
+			R
+
+        # the top-level 'make stamp-recommended' target implies 'make docs'
+        # which (for the buildds) implies a lot of time wasted generating 
+        # output we already take from the initial i386 build
+#	$(MAKE)		CFLAGS="$(compilerflags)"		\
+#			CXXFLAGS="$(compilerflags)"		\
+#			FFLAGS="$(compilerflags)"		\
+#			CC=${compiler}				\
+#			CXX=${cxxcompiler}			\
+#			${fortrancompiler}			\
+#			stamp-recommended
+
+        # make standalone math lib
+	(cd src/nmath/standalone;				\
+		$(MAKE)	CFLAGS="$(cflags) -D_REENTRANT"		\
+			CXXFLAGS="$(cxxflags) -D_REENTRANT"	\
+			FFLAGS="$(fcflags) -D_REENTRANT"	\
+			CC=${compiler}				\
+			CXX=${cxxcompiler}			\
+			${fortrancompiler}			\
+			libRmath_la_LDFLAGS=-Wl,-soname,libRmath.so.$(somaj) \
+			shared static )
+
+        # edd 25 Jan 2004  make install needs html docs
+        # edd 03 Feb 2004  new test, try without 
+        #make docs
+        # edd 15 Jan 2004  make install needs html docs
+        # edd 25 Jan 2004  not needed as we have 'make docs'
+        ## make html
+	$(MAKE) docs R_CMD_BUILD_HELP_OPTS="--txt --example"
+
+	touch make-arch-stamp
+
+make-indep: configure make-indep-stamp
+make-indep-stamp:
+	@echo "*** make-indep ***"
+        ## edd 12 Jan 2004 uncommenting 'make docs' to split binary all/any
+        ##	  now that recommended packages aren't made
+        ## edd 25 Jan 2004 make docs and make html are made in make-arch
+        ## edd 05 Feb 2004 finally, this works in pre-1.9.0 with Kurt's
+        ##		   R_CMD_BUILD_HELP_OPTS
+	$(MAKE) docs
+#	$(MAKE) html
+#	$(MAKE) help
+	$(MAKE) info
+	$(MAKE) pdf
+	touch make-indep-stamp
+
+make: make-stamp
+make-stamp: make-arch make-indep 
+
+check: make-arch check-stamp
+check-stamp: 
+	@echo "*** check ***"
+#ifneq	($(arch),arm)
+## edd 11 Oct 2005  also disable on hppa
+## edd 15 Apr 2008  call inside of xvfb-run for virtual x11, and switch to check-all
+ifeq "$(findstring $(arch), hppa arm)" ""
+	-xvfb-run make check-all
+endif
+	touch check-stamp
+
+clean:
+	@echo "*** clean ***"
+	dh_testdir
+	dh_testroot
+	rm -f	configure-stamp \
+		build-stamp build-indep-stamp build-arch-stamp \
+		make-stamp make-arch-stamp make-indep-stamp \
+		install-indep-stamp install-arch-stamp \
+		check-stamp 
+	[ ! -f Makefile ] || $(MAKE) distclean
+	-rm -f `find . -name "*~"`
+	-rm -rf debian/tmp debian/files* core debian/substvars
+	-rm -f doc/html/function.html doc/html/packages.html
+	-rm -f modules/*.so src/unix/Rscript
+        # left over in CVS from r-base --> r-base-core transition
+        #(cd debian; rm -vf r-base.dirs r-base.files r-base.lintian \
+        #		r-base.menu r-base.postinst)	
+	dh_clean
+
+install: install-arch install-indep 
+
+install-arch: build-arch install-arch-stamp
+install-arch-stamp: 
+	@echo "*** install-arch ***"
+	dh_testdir
+	dh_testroot
+	dh_prep -a
+	dh_installdirs -A
+	@echo $(debtmp)
+
+	$(MAKE) DESTDIR=$(debtmp) install
+
+        # edd 16 Apr 2008  make Rscript _again_ as the build is broken
+        #                  and we need an explicit RHOME
+	(cd src/unix; 						\
+		rm -vf Rscript $(debtmp)/usr/bin/Rscript;	\
+		$(MAKE)	CFLAGS="$(cflags) -D_REENTRANT"		\
+			CXXFLAGS="$(cxxflags) -D_REENTRANT"	\
+			FFLAGS="$(fcflags) -D_REENTRANT"	\
+			CC=${compiler}				\
+			CXX=${cxxcompiler}			\
+			${fortrancompiler}			\
+			RHOME=/usr/lib/R			\
+			DESTDIR=$(debtmp)			\
+			install-Rscript )
+	#ls -ltr $(debtmp)/usr/bin/
+	#strings src/unix/Rscript					
+	cp -vax src/unix/Rscript $(debtmp)/usr/bin/
+	#ls -ltr $(debtmp)/usr/bin/
+	#strings $(debtmp)/usr/bin/Rscript
+
+	(cd src/nmath/standalone;				\
+		$(MAKE) DESTDIR=$(debtmp) install )
+
+        # fix permissions (Lintian)
+        # edd 15 Jan 2006 now under /usr/share/R
+        # edd 13 Oct 2009 no longer have help-{links,print}.sh
+	chmod a+x	$(debtmp)/usr/share/R/share/sh/echo.sh		
+#			$(debtmp)/usr/share/R/share/sh/help-links.sh	\
+#			$(debtmp)/usr/share/R/share/sh/help-print.sh
+
+        # remove unneeded license file, but link them back
+	rm -v	$(debtmp)/usr/lib/R/COPYING  		
+	(cd $(debtmp)/usr/lib/R/; \
+		ln -s ../../share/common-licenses/GPL-2 COPYING)
+	rm -v	$(debtmp)/usr/share/R/doc/COPYING  	
+	(cd $(debtmp)/usr/share/R/doc; \
+		ln -s ../../../share/common-licenses/GPL-2 COPYING)
+
+        # edd 15 Jul 2002 reduce compile load on small machines
+#ifneq "$(findstring $(arch), m68k arm)" ""
+#	perl -p -i -e 's/-g -O2/-g0 -O0/g' $(debtmp)/usr/lib/R/etc/Makeconf
+#endif
+
+        # edd 10 Jan 2003 fix Perl interpreter path
+        # edd 05 May 2005  no longer needed
+# 	(cd $(debtmp)/usr/lib/R/bin;					\
+# 	    for file in Rdconv Rprof Sd2Rd build check; do	\
+# 		perl -p -i -e "s|/usr/local/bin/perl|/usr/bin/perl|"	\
+# 		   $${file};						\
+# 	done)
+
+        # edd 25 Sep 2005  link TeX files into texmf
+	# edd 03 Oct 2006  use link into /usr/share/, not /usr/lib/
+	(cd $(debtmp)/usr/share/texmf/tex/latex && 	\
+	    ln -s ../../../R/share/texmf R)
+
+        # that being done, now install in different sub-packages
+
+        # move files for r-recommended
+
+        # move the html manual files in r-doc-html.files into r-doc-html 
+        # these get built in make-arch too ...
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(htmlpackage)
+
+        # move files for r-base-html
+	dh_movefiles	--sourcedir=debian/$(corepackage) -pr-base-html
+        # move files for r-base-latex
+	dh_movefiles	--sourcedir=debian/$(corepackage) -pr-base-latex
+
+	make		prefix=$(debtmp)/usr			\
+			rdocdir=$(debtmp)/usr/share/R/doc	\
+			install-pdf
+
+        # the indep package r-doc-info is made now 
+	make		prefix=$(debtmp)/usr  \
+			infodir=$(debtmp)/usr/share/info	install-info
+
+        # move the pdf manual files listed in r-doc-pdf.files into r-doc-pdf 
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(pdfpackage)
+
+        # move the html manual files in r-doc-html.files into r-doc-html 
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(htmlpackage)
+
+	touch install-indep-stamp
+        # edd 06 Dec 2006 lintian wants them compressed with -9, and R
+        #                 seems to pre-zip them lower
+	gunzip -9v $(debtmp)/usr/share/info/*.gz
+        # move files for r-doc-info
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(infopackage)
+        # deal with stupid automake / install-info issue (cf #235713)
+	rm -vf	$(debinf)/usr/share/info/dir		\
+		$(debinf)/usr/share/info/dir.old	
+
+        # move all the rest into r-base-core
+        # edd 10 Sep 2005  no longer needed as we install into r-base-core
+        # dh_movefiles	-p$(corepackage)
+
+        # for the standalone library package, move the two libs
+        # as 'make install' ignores these, we have to do it by hand
+	dh_installdirs -p$(nmathpackage) usr/include usr/lib \
+					usr/share/lintian/overrides \
+					usr/lib/pkgconfig
+        # move the libraries made and installed by R, and the pkgconfig file
+	dh_movefiles	--sourcedir=debian/$(corepackage) -p$(nmathpackage)
+        # move the library to a lib*.so.major.0.0, then link
+	(cd $(debmat)/usr/lib; \
+			ls -l ; \
+			mv -v  libRmath.so 	     libRmath.so.$(libver); \
+			ln -sv libRmath.so.$(libver) libRmath.so.$(somaj); \
+			ln -sv libRmath.so.$(somaj)  libRmath.so)
+
+        # and create a link for Rmath.h 
+        # rather copy directly into the more independent package r-mathlib
+	install -m 0644 src/include/Rmath.h			\
+			$(debmat)/usr/include
+
+        # now deal with $R_HOME/etc <--> /etc/R
+        # edd 03 Apr 2003  patch Renviron for new R_LIBS standard
+        # edd 24 Apr 2004  patch Renviron for R_PAPERSIZE (bug #245525)
+        # edd 16 Jun 2004	 nope, doesn't work
+        # edd 09 Apr 2005  also move the new file repositories to /etc/R
+        # edd 24 Sep 2006  idem for ldpaths
+        # edd 21 Jun 2008  do not move Renviron to /etc/R as ucf will handle this, 
+        #                  but still provide the softlink from /etc/R here
+        # edd 13 Sep 2008  install Rprofile.site and Renviron.site and link back
+	install -m 0644 debian/Rprofile.site $(debcnf)
+	install -m 0644 debian/Renviron.site $(debcnf)
+	(cd $(debetc); \
+		cat $(debbase)/Renviron-R_LIBS.patch | patch --verbose;	\
+		mv Makeconf repositories ldpaths ../../../../etc/R/;	\
+		mv Renviron Renviron.ucf;				\
+		ln -s  /etc/R/Makeconf	.;				\
+		ln -s  /etc/R/Renviron	.;				\
+		ln -s  /etc/R/Renviron.site .;				\
+		ln -s  /etc/R/Rprofile.site .;				\
+		ln -s  /etc/R/ldpaths   .;                              \
+		ln -s  /etc/R/repositories .				)
+#		cat $(debbase)/Renviron-R_PAPERSIZE.patch | patch --verbose; 
+
+        # deal with build.help.pl's --htmllists argument
+        # edd 29 Jan 2009  Not needed as of R 2.9.0
+        #(cd $(debtmp)/usr/share/R/share/perl; \
+        #	cat $(debbase)/build-help.pl.patch | patch --verbose )
+
+        # edd 28 Sep 2006  patch javareconf to modify in /etc/R
+	(cd $(debtmp)/usr/lib/R/bin; \
+		cat $(debbase)/javareconf.patch | patch --verbose )
+
+        # edd 24 Jan 2006  deal with old postinst/postrm scripts 
+        #                  calling the old /usr/lib/R/share/perl path
+        #(cd $(debtmp)/usr/lib/R && ln -s ../../share/R/share . )
+        # edd 06 Feb 2006  softlink fails with upgrades from older versions
+        # edd 29 Jan 2009  Not needed as of R 2.9.0
+        # dh_installdirs -p$(corepackage) usr/lib/R/share/perl
+        # install -m 0644 debian/build-help.pl	\
+        #	debian/$(corepackage)/usr/lib/R/share/perl/
+
+        # add tab completion by Deepayan
+	install -m 0644 debian/R.bash_completion	\
+		debian/$(corepackage)/etc/bash_completion.d/R
+
+        # edd 02 May 2007  add libR.conf for ld.so
+        # edd 13 Sep 2009  no more under Policy 3.8.3
+#	install -m 0644 debian/libR.conf \
+#		debian/$(corepackage)/etc/ld.so.conf.d/libR.conf
+        # edd 03 Apr 2010  add a link from usr/lib
+	(cd $(debtmp)/usr/lib/; \
+		ln -sv R/lib/libR.so . )
+
+	touch install-arch-stamp
+
+#install-indep: make-arch make-indep install-arch install-indep-stamp
+install-indep: make-indep install-indep-stamp
+install-indep-stamp: 
+	@echo "*** install-indep ***"
+	dh_testdir
+	dh_testroot
+	dh_prep -a
+	dh_installdirs -A
+
+#	make		prefix=$(debtmp)/usr			install-pdf
+#
+#	 # the indep package r-doc-info is made now 
+#	make		prefix=$(debtmp)/usr  \
+#			infodir=$(debtmp)/usr/share/info	install-info
+#
+#	 # move the pdf manual files listed in r-doc-pdf.files into r-doc-pdf 
+#	dh_movefiles	-p$(pdfpackage)		
+#	 # move the html manual files in r-doc-html.files into r-doc-html 
+#	dh_movefiles	-p$(htmlpackage)		
+#	touch install-indep-stamp
+#	 # move files for r-doc-info
+#	dh_movefiles	-p$(infopackage)
+
+        # but clean up dir and old.dir	
+	rm -vf		$(debbase)/$(infopackage)/usr/share/info/dir \
+			$(debbase)/$(infopackage)/usr/share/info/dir.old
+
+	touch install-indep-stamp
+
+
+# Build architecture-independent files here.
+# edd 5 Feb 2004 binary-indep: build-indep install-indep
+binary-indep: build-indep install-indep
+	@echo "*** binary-indep ***"
+	dh_testdir -i
+	dh_testroot -i
+	dh_link -i 
+        #dh_installdebconf -i
+	dh_installdocs -i
+	dh_installdocs -v -p$(htmlpackage)				
+        #dh_installexamples -i
+        #dh_installmenu -i
+        #dh_installemacsen -i
+        #dh_installpam -i
+        #dh_installmime -i
+        #dh_installinit -i
+        #dh_installcron -i
+        #dh_installmanpages -i
+        #dh_installinfo -i
+        #dh_undocumented -i
+	dh_installchangelogs -i	
+        # install lintian "silencer"
+        # edd 13 Oct 2009  this package is no longer needed / created
+#	install -p -m 0644  debian/$(latexpackage).lintian $(debbase)/$(latexpackage)/usr/share/lintian/overrides/$(latexpackage)
+
+	dh_installdirs -p$(devpackage) usr/share/R/debian
+	install -p -m 0755  debian/r-cran.mk \
+		$(debbase)/$(devpackage)/usr/share/R/debian
+
+	dh_compress -i
+	dh_fixperms -i
+        #dh_suidregister -i
+	dh_installdeb -i
+        #dh_perl -i
+	dh_gencontrol -i
+	dh_md5sums -i		-X'usr/bin/R' 
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+	@echo "*** binary-arch ***"
+	dh_testdir -a
+	dh_testroot -a
+        #dh_installdebconf -a
+        # edd 04 Apr 2006	AUTHORS RESOURCES THANKS Y2K FAQ all gone
+	dh_installdocs -p$(corepackage) NEWS ONEWS OONEWS README \
+					debian/README.Atlas \
+					debian/README.mathlib
+	dh_installdocs -p$(nmathpackage)  NEWS ONEWS OONEWS README \
+					debian/README.mathlib
+	dh_installdocs -p$(dbugpackage)				
+        #dh_installexamples -a
+        #dh_installexamples -p$(corepackage)	src/nmath/standalone/test.c
+	dh_installexamples -p$(nmathpackage)	src/nmath/standalone/test.c
+	dh_installmenu -a
+        #dh_installemacsen -a
+        #dh_installpam -a
+        #dh_installmime -a
+        #dh_installinit -a
+        #dh_installcron -a
+        #dh_installmanpages -a	-p$(corepackage) getline.3
+        #dh_installman		-p$(corepackage) doc/R.1
+        ## dh_installinfo -a	-n doc/manual/R-*.info*
+        ## edd 04 Apr 2004 manual is dangling unless r-doc-pdf is installed ...
+        ##(cd $(debdoc)/doc && ln -s ../../../../lib/R/doc/html .)
+        ##(cd $(debdoc)/doc && ln -s ../../../../lib/R/doc/manual .)
+        # ... so install doc as a link, as we already did with library
+	# (cd $(debdoc) && ln -s ../../../lib/R/doc .)
+	(cd $(debdoc) && ln -s ../../R/doc .)
+	(cd $(debdoc) && ln -s ../../../lib/R/library .)
+        # install lintian "silencer"
+	install -p -m 0644  debian/$(corepackage).lintian \
+	   $(debbase)/$(corepackage)/usr/share/lintian/overrides/$(corepackage)
+	install -p -m 0644  debian/$(recdpackage).lintian \
+	   $(debbase)/$(recdpackage)/usr/share/lintian/overrides/$(recdpackage)
+	install -p -m 0644  debian/$(nmathpackage).lintian \
+	   $(debbase)/$(nmathpackage)/usr/share/lintian/overrides/$(nmathpackage)
+	install -p -m 0644  debian/$(dbugpackage).lintian \
+	   $(debbase)/$(dbugpackage)/usr/share/lintian/overrides/$(dbugpackage)
+        #dh_undocumented -a
+	dh_installchangelogs -a	-k NEWS 
+#	dh_strip -a
+	dh_strip	--sourcedir=$(debtmp) --dbg-package=r-base-core-dbg
+	dh_strip 	--sourcedir=$(debmat)
+	dh_compress -a
+	dh_fixperms -a
+        #dh_suidregister -a
+	dh_link -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_perl -a
+	dh_shlibdeps -a -l $(debbase)/$(corepackage)/usr/lib/R/lib
+#	@echo "*** Pruning shlibdeps result from double atlas entry ***"
+#	cat debian/r-base-core.substvars
+#	perl -p -i -e 's/atlas2-base, //' debian/r-base-core.substvars
+#	cat debian/r-base-core.substvars
+#	@echo "*** Pruning atlas from r-recommended shlibdeps ***"
+#	cat debian/r-recommended.substvars
+#	perl -p -i -e 's/atlas2-base, //' debian/r-recommended.substvars
+#	cat debian/r-recommended.substvars
+#	echo "*** Done ***"
+	dh_gencontrol -a
+	dh_md5sums -a		-X'usr/bin/R' -X'usr/bin/Rscript' \
+				-X'usr/lib/debug/usr/bin/Rscript' \
+				-X'usr/lib/R/bin/Rscript'  	  \
+				-X'usr/lib/R/etc/Renviron.ucf'    \
+					-XLibIndex -Xindex.txt \
+					-Xfunction.html -Xpackages.html
+	dh_builddeb -a
+
+#binary: binary-indep binary-arch install-arch install-indep 
+binary: make-stamp check binary-arch binary-indep
+
+.PHONY: build clean binary-indep binary-arch binary install install-arch install-indep
--- r-base-2.14.2.orig/debian/r-base-latex.files
+++ r-base-2.14.2/debian/r-base-latex.files
@@ -0,0 +1 @@
+usr/lib/R/library/*/latex
--- r-base-2.14.2.orig/debian/r-mathlib.files
+++ r-base-2.14.2/debian/r-mathlib.files
@@ -0,0 +1,3 @@
+usr/lib/libRmath*
+usr/lib/pkgconfig/libRmath.pc
+
--- r-base-2.14.2.orig/debian/README.Atlas
+++ r-base-2.14.2/debian/README.Atlas
@@ -0,0 +1,186 @@
+
+	     Notes on using Atlas libs with GNU Octave and GNU R
+
+I. Overview
+===========
+
+As of the Debian releases 2.1.34-6 (for GNU Octave) and 1.3.0-3 (for GNU R),
+both Octave and R can be used with Atlas, the Automatically Tuned Linear
+Algebra Software, in order to obtain much faster linear algebra operations.
+
+To make use of Atlas, Debian users need to install the Atlas libraries for
+their given cpu architecture. Concretely, one of
+
+    libatlas3gf-base - Automatically Tuned Linear Algebra Software, generic 
+    libatlas3gf-sse - Automatically Tuned Linear Algebra Software, SSE1
+    libatlas3gf-sse2 - Automatically Tuned Linear Algebra Software, SSE2
+    libatlas3gf-3dnow - Automatically Tuned Linear Algebra Software, 3dnow
+
+must be installed. Here, 'base' provides generic libraries which run on all
+platforms whereas 'sse' and 'sse2' stand for the SSE (v1 and v2) extension
+available on most Intel cpus, and '3dnow' for those made by AMS.  
+
+The Atlas libraries can be loaded dynamically instead of the (non-optimised)
+blas and lapack libraries against which both Octave and R are compiled.
+
+Section III below briefly describes how Atlas libraries can be compiled for
+your specific machine to further optimise performance.
+
+
+II. Using the Atlas libraries
+=============================
+
+II.A New default behaviour with automatic loading of the Atlas libraries
+------------------------------------------------------------------------
+
+Users have to make no changes whatsoever as the Atlas library will be loaded 
+instead of the standard blas and lapack libraries.
+
+An example such as the script below can be useful to test the performance.
+
+II.B Old behaviour requiring LD_LIBRARY_PATH for Octave
+-------------------------------------------------------
+
+[ NB: This section has long been obsolete is kept for the historical record
+  only. ]
+
+For Octave, use the variable LD_LIBRARY_PATH. On a computer with the
+atlas2-base package:
+
+    $ LD_LIBRARY_PATH=/usr/lib/atlas octave2.1 -q
+    octave2.1:1> X=randn(1000,1000);t=cputime();Y=X'*X;cputime-t
+    ans = 7.9600
+
+    $ edd@homebud:~> octave2.1 -q
+    octave2.1:1> X=randn(1000,1000);t=cputime();Y=X'*X;cputime-t
+    ans = 61.520
+
+For R version 1.3.0-4, the R_LD_LIBRARY_PATH variable has to be used, and its
+value needs to be copied out of /usr/bin/R (or edited therein). For R version
+1.3.1 or later this is done automatically in the R startup shell script.  For
+an Athlon machine, and with the explicit definition which is no longer needed
+as of R 1.3.1, the example becomes
+
+    $ R_LD_LIBRARY_PATH=/usr/lib/R/bin:/usr/local/lib:/usr/X11R6/lib:/usr/lib/3dnow/atlas:/usr/lib:/usr/X11R6/lib:/usr/lib/gcc-lib/i386-linux/2.95.4:. R --vanilla -q
+    > mm <- matrix(rnorm(10^6), ncol = 10^3)
+    > system.time(crossprod(mm))
+    [1] 2.38 0.04 2.84 0.00 0.00
+
+    $ R --vanilla -q
+    > mm <- matrix(rnorm(10^6), ncol = 10^3)
+    > system.time(crossprod(mm))
+    [1] 28.28  0.08 33.54  0.00  0.00
+    > 
+
+Running such a small example is highly recommded to ascertain that the
+libraries are indeed found, and to "prove" that the speed gain is real (and
+significant) for problems of at least a medium size as the 1000x1000 examples
+above.
+
+Note that the example use "/usr/lib/atlas" for the atlas2-base package;
+Athlon users should employ "/usr/lib/3dnow/atlas", Pentium III users should
+employ "/usr/lib/xmm/atlas" and Pentium IV users should employ
+"/usr/lib/26/atlas".
+
+Lastly, it should be pointed out that it is probably worthwhile to locally
+compile, and thereby optimise, the Atlas libraries if at least a moderately
+intensive load is expected. This is described in the next section.
+
+
+III. Locally compiling the Atlas libraries
+==========================================
+
+The Debian Atlas packages have been setup to allow for local recompilation of
+the Atlas libraries. This way the behaviour will be tuned exactly to the
+specific CPU rather than the broader class of CPUs. It has been reported that
+this can increase performance by a further 12% on the examples above.
+Detailed instructions are in /usr/share/doc/atlas2-base/README.debian.gz but
+the process is essentially the following  [ courtesy of Doug Bates ]
+
+   apt-get source libatlas3gf-base
+   cd atlas-$VERSION
+   fakeroot debian/rules custom
+   # wait for a *very* long time
+   dpkg -i ../libatlas3gf-base*.deb
+
+
+IV.  See also
+=============
+
+The Atlas packages have a very detailed README.Debian file which should be
+consulted; it also details local recompilation. Sources and documentation for
+Atlas are at   http://www.netlib.org/atlas.
+
+
+V.  Acknowledgements
+====================
+
+Camm Maguire developed the scheme of overloading Atlas over the default blas
+libraries and deserves all the credit. Many thanks to John Eaton for helping
+debug some errors in the initial setup, and to Doug Bates for work on the R
+package. Special thanks to Ben Collins for providing a patched ldconfig as
+part of the libc6 package.
+
+
+VI. Appendix
+============
+
+A simple test script such as the following
+
+-----------------------------------------------------------------------------
+#!/bin/sh
+
+# remove Atlas et al
+sudo dpkg --purge libatlas3gf-base  > /dev/null
+dpkg -l | grep "blas\|lapack\|atlas"
+
+: ${SIZE=1500}
+: ${REPS=20}
+r_cmd="m<-matrix(rnorm(${SIZE}*${SIZE}),ncol=${SIZE}); cat(mean(replicate($REPS,system.time(crossprod(m))[1]),trim=0.1),'\n')"
+
+echo    ""
+echo    "GNU R: $r_cmd"
+echo -n "  Without Atlas: "
+echo -n "$r_cmd" | R --vanilla --slave
+
+sudo apt-get install libatlas3gf-base > /dev/null
+echo -n "  With Atlas base  : "
+echo -n "$r_cmd" | R --vanilla --slave
+
+sudo dpkg --purge libatlas3gf-base  > /dev/null
+sudo apt-get install libatlas3gf-sse  > /dev/null
+echo -n "  With Atlas sse  : "
+echo -n "$r_cmd" | R --vanilla --slave
+
+sudo dpkg --purge libatlas3gf-sse  > /dev/null
+sudo apt-get install libatlas3gf-sse2  > /dev/null
+echo -n "  With Atlas sse2  : "
+echo -n "$r_cmd" | R --vanilla --slave
+
+sudo dpkg --purge libatlas3gf-sse2  > /dev/null
+-----------------------------------------------------------------------------
+
+can be used to test the setup. On a dual Xeon running Debian testing (x86, ie
+32bit) in May 2009, I see the following output:
+
+GNU R: m<-matrix(rnorm(1500*1500),ncol=1500); cat(mean(replicate(20,system.time(crossprod(m))[1]),trim=0.1),'\n')
+  Without Atlas: 4.146438
+  With Atlas base  : 1.788125
+  With Atlas sse  : 1.573625
+  With Atlas sse2  : 0.8465625
+
+indicating about a three-fold increase in speed for the 'base' version and
+even a five-fold increase for the sse2 version.
+
+
+VI. Revision History
+====================
+
+Initial version
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 21 Aug 2001 21:37:15 -0500
+
+First updated
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 11 Nov 2001 11:03:19 -0600
+
+Major update
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 31 May 2009 21:04:47 -0500
--- r-base-2.14.2.orig/debian/javareconf.patch
+++ r-base-2.14.2/debian/javareconf.patch
@@ -0,0 +1,18 @@
+--- javareconf.orig	2008-08-25 06:26:13.000000000 -0500
++++ javareconf	2008-08-25 06:30:49.000000000 -0500
+@@ -292,9 +295,13 @@
+ 
+ test "${dry_run}" = yes && exit 0
+ 
+-echo "Updating Java configuration in ${R_HOME}"
++## edd 28 Sep 2006  Debian's R config is in /etc/R, so overrride where R_HOME was used
+ 
+-files="${R_HOME}/etc${R_ARCH}/Makeconf ${R_HOME}/etc${R_ARCH}/ldpaths"
++#echo "Updating Java configuration in ${R_HOME}"
++echo "Updating Java configuration in /etc/R"
++
++#files="${R_HOME}/etc${R_ARCH}/Makeconf ${R_HOME}/etc${R_ARCH}/ldpaths"
++files="/etc/R/Makeconf /etc/R/ldpaths"
+ for file in $files; do
+     ${SED-sed} -e "s|JAVA =.\{0,\}|JAVA = $JAVA|" -e "s|JAVA_HOME =.\{0,\}|JAVA_HOME = ${JAVA_HOME}|" -e "s|: \${JAVA_HOME=.\{1,\}|: \${JAVA_HOME=${JAVA_HOME}}|" -e "s|: \${R_JAVA_LD_LIBRARY_PATH=.\{1,\}|: \${R_JAVA_LD_LIBRARY_PATH=${JAVA_LD_LIBRARY_PATH_SH}}|" -e "s|JAVA_LIBS =.\{0,\}|JAVA_LIBS = ${JAVA_LIBS}|g" -e "s|JAVA_LD_LIBRARY_PATH =.\{0,\}|JAVA_LD_LIBRARY_PATH = ${JAVA_LD_LIBRARY_PATH}|" -e "s|JAVAC =.\{0,\}|JAVAC = $JAVAC|" -e "s|JAVAH =.\{0,\}|JAVAH = $JAVAH|" -e "s|JAR =.\{0,\}|JAR = $JAR|" "${file}" -e "s|JAVA_CPPFLAGS =.\{0,\}|JAVA_CPPFLAGS = ${JAVA_CPPFLAGS}|g"> "${file}.new"
+     if test -f "${file}.new"; then
--- r-base-2.14.2.orig/debian/r-base-html.files
+++ r-base-2.14.2/debian/r-base-html.files
@@ -0,0 +1 @@
+usr/lib/R/library/*/html/
--- r-base-2.14.2.orig/debian/r-base-core.preinst
+++ r-base-2.14.2/debian/r-base-core.preinst
@@ -0,0 +1,34 @@
+#!/bin/sh
+#
+# preinst script for the Debian GNU/Linux r-base-core package
+# This version written by Dirk Eddelbuettel <edd@debian.org>   
+
+set -e
+
+#DEBHELPER#
+    
+case "$1" in
+    install|upgrade)
+	# edd 06 Feb 2006 2.2.1-4 created this symlink, we now want a directory
+    	if [ -h /usr/lib/R/share ]
+	then
+	    echo "Removing symbolic link /usr/lib/R/share"
+	    rm /usr/lib/R/share
+	fi
+	# edd 27 Jul 2006 this is now a softlink but used to be a dir
+	dir=/usr/share/doc/r-base-core/doc
+    	if [ -d $dir ] && [ ! -h $dir ]
+	then
+	    rmdir $dir
+	fi
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+    ;;
+esac
+
+exit 0
--- r-base-2.14.2.orig/debian/R-2.5.0.patch
+++ r-base-2.14.2/debian/R-2.5.0.patch
@@ -0,0 +1,149 @@
+diff -uNr R-2.5.0/src/nmath/standalone/Makefile.in R-2.5.0-patched/src/nmath/standalone/Makefile.in
+--- R-2.5.0/src/nmath/standalone/Makefile.in	2007-03-26 18:42:08.000000000 +0200
++++ R-2.5.0-patched/src/nmath/standalone/Makefile.in	2007-04-29 14:50:55.000000000 +0200
+@@ -67,7 +67,7 @@
+ libRmath_la_LDFLAGS =
+ 
+ CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES)
+-DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
++DISTCLEANFILES = Makefile libRmath.pc $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
+ 
+ DEFS = -DHAVE_CONFIG_H -DMATHLIB_STANDALONE
+ ALL_CPPFLAGS = $(R_XTRA_CPPFLAGS) -I$(srcdir)/.. $(CPPFLAGS) $(DEFS)
+@@ -78,7 +78,7 @@
+ @r_cc_lo_rules_frag@
+ 
+ 
+-all: Makefile inc static shared
++all: Makefile inc static shared build-pc
+ 
+ inc:
+ 	(cd ../../include; $(MAKE) Rmath.h)
+@@ -100,6 +100,11 @@
+ shared: Makefile ../../include/Rconfig.h Copy Makedeps
+ 	@$(MAKE) $(Rexeclibdir_LTLIBRARIES)
+ 
++build-pc:
++	@$(SED) -e "s:@libdir:$(libdir):" -e "s:@includedir:$(includedir):" \
++	  -e 's/@VERSION/$(VERSION)/' -e 's/@libm/$(LIBM)/' $(srcdir)/libRmath.pc.in \
++	  > "libRmath.pc"
++
+ ../../include/Rconfig.h:
+ 	(cd $(@D); $(MAKE) $(@F))
+ 
+@@ -163,9 +168,7 @@
+ 
+ install-pc:
+ 	@$(MKINSTALLDIRS) "$(libdir)/pkgconfig"
+-	@$(SED) -e "s:@libdir:$(libdir):" -e "s:@includedir:$(includedir):" \
+-	  -e 's/@VERSION/$(VERSION)/' -e 's/@libm/$(LIBM)/' $(srcdir)/libRmath.pc.in \
+-	  > "$(libdir)/pkgconfig/libRmath.pc"
++	@$(INSTALL_DATA) libRmath.pc "$(libdir)/pkgconfig/libRmath.pc"
+ 
+ uninstall:
+ 	@rm -f $(includedir)/Rmath.h $(libdir)/$(libRmath_la) $(libdir)/libRmath.a "$(libdir)/pkgconfig/libRmath.pc"
+diff -uNr R-2.5.0/src/scripts/Makefile.in R-2.5.0-patched/src/scripts/Makefile.in
+--- R-2.5.0/src/scripts/Makefile.in	2007-03-26 18:42:09.000000000 +0200
++++ R-2.5.0-patched/src/scripts/Makefile.in	2007-04-29 14:50:14.000000000 +0200
+@@ -23,17 +23,22 @@
+ DISTFILES = Makefile.in Makefile.win $(SCRIPTS_S) $(SCRIPTS_B_IN) R.sh.in
+ 
+ CLEANFILES =
+-DISTCLEANFILES = Makefile R.fe R.sh $(SCRIPTS_B)
++DISTCLEANFILES = Makefile R.fe R.fe2 R.sh $(SCRIPTS_B)
+ 
+ all: Makefile R
+ 
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ 	@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
+ 
+-R: $(SCRIPTS_B) R.fe
++R: $(SCRIPTS_B) R.fe R.fe2
+ 	@$(MAKE) rhome=$(top_builddir) install-cmds
+ 	@$(INSTALL_SCRIPT) R.fe $(top_builddir)/bin/R
+ 
++R.fe2: 
++	@(d=`echo '$(rhome)' | sed 's,/,\\\/,g';`; \
++	  sed -e "s/\\(R_HOME_DIR=\\).*/\\1$${d}/;" -e "s+\\(R_SHARE_DIR=\\).*+\\1$(rsharedir)+;" -e  "s+\\(R_INCLUDE_DIR=\\).*+\\1$(rincludedir)+;" -e "s+\\(R_DOC_DIR=\\).*+\\1$(rdocdir)+;"\
++	  < R.fe > $@)
++
+ ## <NOTE>
+ ## Seems we need target rules for creating FOO from FOO.in: pattern
+ ## rules ('%:%.in') are not portable, and some versions of Make do not
+@@ -95,10 +100,8 @@
+ 
+ install: installdirs install-cmds
+ 	@rm -f $(bindir)/R
+-	@(d=`echo '$(rhome)' | sed 's,/,\\\/,g';`; \
+-	  sed -e "s/\\(R_HOME_DIR=\\).*/\\1$${d}/;" -e "s+\\(R_SHARE_DIR=\\).*+\\1$(rsharedir)+;" -e  "s+\\(R_INCLUDE_DIR=\\).*+\\1$(rincludedir)+;" -e "s+\\(R_DOC_DIR=\\).*+\\1$(rdocdir)+;"\
+-	  < R.fe > "$(Rexecbindir)/R")
+-	@$(INSTALL_SCRIPT)  "$(Rexecbindir)/R" "$(bindir)/R"
++	@$(INSTALL_SCRIPT)  R.fe2 "$(Rexecbindir)/R"
++	@$(INSTALL_SCRIPT)  R.fe2 "$(bindir)/R"
+ 	@chmod 755 "$(bindir)/R" "$(Rexecbindir)/R"
+ ## why of all the scriots does this alone chmod just one copy?
+ installdirs:
+diff -uNr R-2.5.0/src/unix/Makefile.in R-2.5.0-patched/src/unix/Makefile.in
+--- R-2.5.0/src/unix/Makefile.in	2007-03-26 18:41:33.000000000 +0200
++++ R-2.5.0-patched/src/unix/Makefile.in	2007-04-29 14:51:55.000000000 +0200
+@@ -26,7 +26,7 @@
+ 
+ @WANT_R_SHLIB_TRUE@ALL_CFLAGS = $(ALL_CFLAGS_LO)
+ 
+-all: Makefile Makedeps R
++all: Makefile Makedeps R 
+ 
+ Makefile: $(srcdir)/Makefile.in \
+   $(top_builddir)/config.status \
+@@ -38,11 +38,23 @@
+ 	@cat $(DEPENDS) >> Makefile
+ 	@touch $@
+ 
+-R: Makefile
++R: Makefile 
+ 	@$(MAKE) Makedeps
+ @WANT_R_SHLIB_FALSE@	@$(MAKE) libunix.a
+ @WANT_R_SHLIB_TRUE@	@$(MAKE) stamp-lo
++	@$(MAKE) rhome=$(abs_top_builddir) build-Rscript
+ 	@$(MAKE) rhome=$(abs_top_builddir) install-Rscript
++	@$(MAKE) build-Rscript
++	@$(MAKE) build-pc
++
++build-pc:
++	@$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
++	  -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
++	  > "libR.pc"
++
++build-Rscript:
++	$(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -DR_HOME='"$(rhome)"' -o Rscript \
++	  $(srcdir)/Rscript.c
+ 
+ ## is this portable?
+ ../include/Rversion.h:
+@@ -60,22 +72,19 @@
+ clean:
+ 	@-rm -rf .libs _libs
+ 	@-rm -f Makedeps *.d *.o *.a *.lo *.la stamp-lo
++	@-rm -f Rscript libR.pc
+ distclean: clean
+ 	@-rm -f Makefile
+ maintainer-clean: distclean
+ 
+-## we need to build at install time to capture the correct 'rhome'
++## install previously built Rscript
+ install-Rscript:
+-	$(CC) $(ALL_CPPFLAGS) $(ALL_CFLAGS) -DR_HOME='"$(rhome)"' -o Rscript \
+-	  $(srcdir)/Rscript.c
+ 	@$(MKINSTALLDIRS) "$(Rexecbindir)"
+ 	@$(INSTALL_PROGRAM) Rscript "$(Rexecbindir)/Rscript"
+-## substitute at install time to allow 'prefix' to be overridden
++## install previously built libR.pc
+ install-pc:
+ 	@$(MKINSTALLDIRS) "$(libdir)/pkgconfig"
+-	@$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
+-	  -e 's/@VERSION/$(VERSION)/' $(srcdir)/libR.pc.in \
+-	  > "$(libdir)/pkgconfig/libR.pc"
++	@$(INSTALL_DATA) libR.pc "$(libdir)/pkgconfig/libR.pc"
+ install: install-Rscript @WANT_R_SHLIB_TRUE@ install-pc
+ 	@$(MKINSTALLDIRS) "$(bindir)"
+ 	@$(INSTALL_PROGRAM) Rscript "$(bindir)/Rscript"
--- r-base-2.14.2.orig/debian/r-base-core.files
+++ r-base-2.14.2/debian/r-base-core.files
@@ -0,0 +1,3 @@
+usr/bin
+usr/lib/R/
+usr/share
--- r-base-2.14.2.orig/debian/shlibs.local.hidden
+++ r-base-2.14.2/debian/shlibs.local.hidden
@@ -0,0 +1 @@
+libatlas 2 atlas2-base | atlas2
--- r-base-2.14.2.orig/debian/r-recommended.preinst
+++ r-base-2.14.2/debian/r-recommended.preinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+#
+# r-recommended.preinst
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org> 
+ 
+set -e
+ 
+case "$1" in
+    install|upgrade)
+    # we want symlinks to r-base so old directories cannot exist
+    test -d /usr/share/doc/r-recommended && rm -rf /usr/share/doc/r-recommended
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+ 
+#DEBHELPER#
+ 
+exit 0
--- r-base-2.14.2.orig/debian/build-help.pl.patch
+++ r-base-2.14.2/debian/build-help.pl.patch
@@ -0,0 +1,38 @@
+--- build-help.pl.orig	2005-07-27 15:10:08.000000000 -0500
++++ build-help.pl	2005-09-28 20:28:08.000000000 -0500
+@@ -17,6 +17,10 @@
+ # writing to the Free Software Foundation, Inc., 59 Temple Place,
+ # Suite 330, Boston, MA  02111-1307  USA.
+ 
++# edd Sep 2005  R 2.2.0 no longer supports (or needs) --htmllists, yet all
++#               of the r-cran-* postinst still call it so we need this patch
++#               implementing a null-op function to show it is recognised.
++
+ use File::Basename;
+ use Cwd;
+ use Getopt::Long;
+@@ -33,11 +37,12 @@
+ ($name = $0) =~ s|.*/||;
+ 
+ @knownoptions = ("rhome:s", "html", "txt", "latex", "example", "debug|d",
+-		 "dosnames", "help|h", "version|v", "os|OS:s", 
++		 "dosnames", "help|h", "version|v", "os|OS:s", "htmllists",
+ 		 "index");
+ GetOptions (@knownoptions) || usage();
+ &R_version($name, $version) if $opt_version;
+ &usage() if $opt_help;
++htmllists() if $opt_htmllists;
+ 
+ $OSdir ="unix";
+ $OSdir = $opt_os if $opt_os;
+@@ -268,3 +273,10 @@
+ END
+   exit 0;
+ }
++
++sub htmllists {
++  print STDERR <<END;
++Ignoring deprecated option --htmllists called from postinst or postrm script.
++END
++  exit 0;
++}
--- r-base-2.14.2.orig/debian/copyright
+++ r-base-2.14.2/debian/copyright
@@ -0,0 +1,660 @@
+This is the Debian GNU/Linux r-base package of the GNU R system for
+statistical computing and graphics.
+
+R has a home page at `http://www.r-project.org/'.  It is free software
+distributed under a GNU-style copyleft, and an official part of the GNU
+project ("GNU S").
+
+This package was initially debianized by Douglas Bates bates@stat.wisc.edu on
+Wed, 10 Dec 1997 14:17:31 -0600. 
+
+Dirk Eddelbuettel <edd@debian.org> currently maintaines the package.  
+
+Sources were downloaded from http://cran.r-project.org/src/ and changes,
+typically only to files in the debian/ directory are fully documented in the
+file /usr/share/doc/r-base/changelog.Debian.gz.
+
+R was initially written by Robert Gentleman and Ross Ihaka of the
+Statistics Department of the University of Auckland.
+Since mid-1997 there has been a core group with write access to the R
+source, currently consisting of
+Douglas Bates		<bates@stat.wisc.edu>
+John Chambers		<jmc@R-project.org>
+Peter Dalgaard		<p.dalgaard@biostat.ku.dk>
+Seth Falcon		<sfalcon@fhcrc.org>
+Robert Gentleman	<rgentlem@fhcrc.org>
+Kurt Hornik		<Kurt.Hornik@wu-wien.ac.at>
+Stefano Iacus		<stefano.iacus@unimi.it>
+Ross Ihaka		<ihaka@stat.auckland.ac.nz>
+Friedrich Leisch	<Friedrich.Leisch@tuwien.ac.at>
+Thomas Lumley		<tlumley@u.washington.edu>
+Martin Maechler		<maechler@stat.math.ethz.ch>
+Duncan Murdoch		<murdoch@stats.uwo.ca>
+Paul Murrell		<paul@stat.auckland.ac.nz>
+Martyn Plummer		<plummer@iarc.fr>
+Brian Ripley		<ripley@stats.ox.ac.uk>
+Deepayan Sarkar		<deepayan@stat.wisc.edu>
+Duncan Temple Lang	<duncan@wald.ucdavis.edu>
+Luke Tierney		<luke@stat.uiowa.edu>
+Simon Urbanek		<urbanek@research.att.com>
+plus Heiner Schwarte <h.schwarte@bluewin.ch> up to October 1999
+and Guido Masarotto <guido@hal.stat.unipd.it> up to June 2003.
+
+Copyright (C) 1995, 1996  Robert Gentleman and Ross Ihaka 
+Copyright (C) 1995 - 2008 The R Development Core Team
+Copyright (C) 1995 - 2008 The R Core Development Team
+Copyright (C) 2002 - 2008 The R Foundation
+
+As a rought breakdown between R Core members (and not excluding
+double-counting), we have for R 2.7.0 and the src/ directory 
+
+   1276 files with Copyright (C) The R Development Core Team
+    338 files with Copyright (C) The R Core Development Team
+    287 files with Copyright (C) Ross Ihaka
+    215 files with Copyright (C) The R Foundation
+    201 files with Copyright (C) Robert Gentleman
+     33 files with Copyright (C) Brian D. Ripley
+     29 files with Copyright (C) Guido Masarotto
+     13 files with Copyright (C) Paul Murrell
+      5 files with Copyright (C) Martin Maechler
+      4 files with Copyright (C) Douglas M. Bates
+      1 file  with Copyright (C) Friedrich Leisch
+      1 file  with Copyright (C) Martyn Plummer
+      1 file  with Copyright (C) Deepayan Sarkar
+      1 file  with Copyright (C) Luke Tierney
+      
+As for non-R Core members
+
+      4 files with Copyright (C) Adrian Trapletti
+      3 files with Copyright (C) Jose C. Pinheiro
+      2 files with Copyright (C) Berwin A. Turlach
+
+License: GPL-2
+Portions License: LGPL
+Portions License: Artistic
+
+R ships with the following file doc/COPYRIGHTS and refers to doc/COPYING, a 
+copy of the GPL-2.
+
+========= begin doc/COPYRIGHTS ==============================================
+
+COPYRIGHT STATUS
+
+The bulk of this code is copyright by members of or all of the R
+Development Core Team.
+
+See the file COPYING for the exact conditions under which you may
+redistribute it.
+
+The status of files used only in the Windows port is in file
+src/gnuwin32/COPYRIGHTS.win, which is appended to this file in binary
+Windows distributions.
+
+	---------------------------------------------------
+
+The some of the public header files are distributed under the more
+permissive terms of the file COPYING.LIB.  This applies only to the
+files
+
+src/include/R.h
+src/include/Rdefines.h
+src/include/Rgraphics.h
+src/include/Rinternals.h
+src/include/Rmath.h
+src/include/S.h
+src/include/R_ext/*.h
+
+From the announcement of the change (2001-Feb-05)
+
+    It came to our attention that some projects are interpreting GPL to
+    mean that compiling against the header files or linking against a
+    Windows import library brings the compiled code under the scope of
+    GPL.  This would mean it would be impossible to distribute binary
+    versions of non-GPL packages with compiled code which called entry
+    points in the R executable or DLL, of which there are many on CRAN.
+
+    We encourage packages to be distributed under Open Source conditions,
+    but accept that this is not possible for some contributions.  Our
+    intention is that export files and import libraries be `accessors'
+    under clause 5 of the LGPL, so that in most cases no (additional)
+    restrictions are imposed by compiling a package using the LGPL-ed
+    components of R.
+
+    To avoid any anomalies, the versions of the same files in R versions
+    1.0.0 to 1.2.1 may also be used under LGPL or GPL.
+
+As from R 2.3.0 import libraries are no longer used under Windows, and
+as from R 2.4.0 fewer export files are used under AIX.
+
+
+Some contributed files are also covered by the Library General Public License.
+These include (see also below)
+
+src/library/stats/R/embed.R
+src/library/stats/src/PPsum.c
+
+	---------------------------------------------------
+
+
+
+
+Some of the code contains different copyright statements.  It is used
+here in accordance with the copyright conditions in that code.
+
+src/library/grDevices/inst/afm/*___.afm
+
+	Copyright (c) 1984 to 1992 Adobe Systems Incorporated.
+
+src/library/grDevices/inst/afm/MustRead.html
+src/library/grDevices/inst/afm/Courier*.afm
+src/library/grDevices/inst/afm/Helvetica*.afm
+src/library/grDevices/inst/afm/Times*.afm
+src/library/grDevices/inst/afm/Symbol.afm
+src/library/grDevices/inst/afm/ZapfDingbats.afm
+
+	Copyright (c) 1985, 1987, 1989, 1990, 1993, 1997 Adobe Systems
+	Incorporated.  All Rights Reserved.
+
+src/library/grDevices/inst/afm/*l.afm
+
+	Copyright 1999 by (URW)++ Design & Development
+
+src/library/grDevices/inst/afm/CM_*.afm
+src/library/grDevices/inst/afm/cm*.afm
+
+	are derived from afms which are copyright by the American
+	Mathematical Society, but `the AMS does require that the
+	AMS copyright notice be removed from any derivative versions
+	of the fonts which have been altered in any way'.
+
+doc/html/search/*.java
+
+	Copyright (C), 1998 Thomas Baier
+or	Copyright (C), 1998-2000, Thomas Baier, R Core Development Team
+
+doc/manual/R-intro.texi
+
+	Copyright (C) 1990 W. N. Venables
+	Copyright (C) 1992 W. N. Venables & D. M. Smith
+	Copyright (C) 1997 R. Gentleman & R. Ihaka
+	Copyright (C) 1997, 1998 M. Maechler
+
+share/texmf/upquote.sty
+
+	Copyright 2000 Michael A. Covington.
+	Copyright 2003 Michael A. Covington, Frank Mittelbach.
+
+src/library/graphics/R/mosaicplot.R
+
+	Copyright (C) 1998 John W. Emerson
+
+src/library/graphics/R/pairs.R
+
+	In part, Copyright 1999 Dr. Jens Oehlschlaegel-Akiyoshi
+
+src/library/graphics/R/polygon.R
+
+	Copyright (C) 2001 by Kevin Buhr <buhr@stat.wisc.edu>
+
+src/library/stats/R/bandwidths.R
+src/library/stats/src//bandwidths.c
+src/appl/maxcol.c
+
+	Copyright (C) various dates W. N. Venables and B. D. Ripley
+
+
+src/appl/interv.c : moved to API from code originally in
+		    src/library/stats/src/bvalue.f, see
+		    src/library/stats/COPYRIGHTS.modreg
+
+src/library/stats:
+
+	See the files src/library/stats/COPYRIGHTS.modreg and
+	src/library/stats/COPYRIGHTS.portsrc for further details
+
+
+src/library/stats/R/diffinv.R
+src/library/stats/R/embed.R
+src/library/stats/R/kernel.R
+src/library/stats/src/PPsum.c
+
+	Copyright (C) 1997-1999	 Adrian Trapletti
+
+
+src/library/stats/src/carray.c, mburg.c, myw.c, qr.c
+
+	Copyright (C) 1999 Martyn Plummer
+
+
+src/library/stats/R/nls.R
+
+	In part, Copyright 1999-1999 Saikat DebRoy
+
+
+src/library/stats/R/nlsFunc.R
+src/library/stats/R/selfStart.R
+src/library/stats/R/zzModels.R
+
+	Copyright 1997,1999 Jose C. Pinheiro
+
+src/library/stats/src/Trunmed.c
+
+	In part Copyright (C) 1995 Berwin A. Turlach
+
+src/library/tcltk/exec/*.tcl
+
+	Copyright (c) various dates Jeffrey Hobbs
+
+
+src/modules/X11/rotated.[ch]
+
+	Copyright (c) 1993 Alan Richardson
+
+
+src/appl/loglin.c
+src/library/stats/src/chisqsim.c
+src/library/stats/src/nscor.c
+src/library/stats/src/prho.c
+src/library/stats/src/swilk.c
+src/library/stats/src/kmns.f
+src/library/ts/src/starma.c
+src/nmath/pgamma.c
+src/nmath/pnbeta.c
+src/nmath/pnchisq.c
+src/nmath/pnt.c
+src/nmath/qbeta.c
+src/nmath/qgamma.c
+src/nmath/qnorm.c
+src/nmath/qtukey.c
+src/nmath/sunif.c
+  are based in whole or in part on Applied Statistics algorithms
+  (C) Royal Statistical Society
+
+src/nmath/stirlerr.c
+src/nmath/dbinom.c
+src/nmath/dpois.c
+  are partly based on Clive Loader's (1999) work,
+  (C) 1999-2000 Lucent Technologies, Bell Laboratories.
+
+
+src/main/RNG.c
+
+  The Mersenne-Twister part is
+  Copyright (C) 1997, 1999 Makoto Matsumoto and Takuji Nishimura.
+
+
+src/main/xspline.c
+
+ * Copyright (c) 1985-1988 by Supoj Sutanthavibul
+ * Parts Copyright (c) 1989-2002 by Brian V. Smith
+ * Parts Copyright (c) 1991 by Paul King
+ * Parts Copyright (c) 1992 by James Tough
+ * Parts Copyright (c) 1998 by Georg Stemmer
+ * Parts Copyright (c) 1995 by C. Blanc and C. Schlick
+  
+ * Any party obtaining a copy of these files is granted, free of charge, a
+ * full and unrestricted irrevocable, world-wide, paid up, royalty-free,
+ * nonexclusive right and license to deal in this software and
+ * documentation files (the "Software"), including without limitation the
+ * rights to use, copy, modify, merge, publish and/or distribute copies of
+ * the Software, and to permit persons who receive copies from any such 
+ * party to do so, with the only requirement being that this copyright 
+ * notice remain intact.
+
+
+src/modules/lapack/dlapack[0123].f, cmplx.f, dlamc.f
+
+  Extracted from
+  *  -- LAPACK routine (version 3.1) --
+  *     Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
+  *     Courant Institute, Argonne National Lab, and Rice University
+
+  The README says
+
+    It is freely-available software, and is copyrighted.
+
+  although no actual copyright statement appears in the code.
+
+
+src/main/vsnprintf.c
+
+  Taken from the wget 1.8.1 distribution: only used on platforms
+  without vsnprintf.
+  /*
+   * Copyright Patrick Powell 1995
+   * This code is based on code written by Patrick Powell (papowell@astart.com)
+   * It may be used for any purpose as long as this notice remains intact
+   * on all source code distributions
+   */
+
+
+src/main/regex.c
+   Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+src/main/Rregex.h
+   Copyright (C) 1985,1989-93,1995-98,2000,2001,2002,2003
+   Free Software Foundation, Inc.
+
+
+src/extra/xdr/*
+
+	Copyright (undated) Sun Microsystems, Inc.
+
+	See the file src/extra/xdr/copyrght.txt
+
+
+src/extra/zlib/README, *.c, *.h
+
+  Taken from zlib-1.2.3 (C) 1995-2005 Jean-loup Gailly and Mark Adler
+  See src/extra/zlib/README for the licence.
+
+
+src/main/dounzip.c, unzip.h
+
+  Contains code Copyright (C) 1998 Gilles Vollant from contrib/minizip
+  in the zlib 1.1.3 distribution.
+
+
+src/main/acosh.c, asinh.c, atanh.c
+
+used as substitution code only.  Based on
+
+  Cephes Math Library Release 2.8:  June, 2000
+  Copyright 1984, 1995, 2000 by Stephen L. Moshier
+
+According to http://www.netlib.org/cephes/readme
+
+  What you see here may be used freely but it comes with no support or
+  guarantee.
+
+
+src/main/apse.c
+src/main/apse.h
+
+  Copyright (C) Jarkko Hietaniemi, 1998,1999,2000,2001.
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of either:
+
+  a) the GNU Library General Public License as published by the Free
+     Software Foundation; either version 2, or (at your option) any
+     later version, or
+
+  b) the "Artistic License" which comes with Perl source code.
+
+
+
+src/extra/pcre/LICENCE
+src/extra/pcre/*.[ch]
+
+   Copyright (c) 1997-2008 University of Cambridge
+   All rights reserved.
+
+See file src/extra/pcre/LICENCE.  For binary builds of R that requires
+us to include
+
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are met:
+
+      * Redistributions of source code must retain the above copyright notice,
+	this list of conditions and the following disclaimer.
+
+      * Redistributions in binary form must reproduce the above copyright
+	notice, this list of conditions and the following disclaimer in the
+	documentation and/or other materials provided with the distribution.
+
+      * Neither the name of the University of Cambridge nor the name of Google
+	Inc. nor the names of their contributors may be used to endorse or
+	promote products derived from this software without specific prior
+	written permission.
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+  AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+  IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+  ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+  LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+  CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+  SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+  INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+  CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+  POSSIBILITY OF SUCH DAMAGE.
+
+
+src/extra/bzip2/LICENSE
+src/extra/bzip2/blocksort.c
+src/extra/bzip2/bzlib.c
+src/extra/bzip2/bzlib.h
+src/extra/bzip2/bzlib_private.h
+src/extra/bzip2/compress.c
+src/extra/bzip2/crctable.c
+src/extra/bzip2/decompress.c
+src/extra/bzip2/huffman.c
+src/extra/bzip2/randtable.c
+
+   copyright (C) 1996-2007 Julian R Seward.
+
+
+src/library/tools/src/md5.[ch]
+
+    Copyright (C) 1995, 1996, 2001 Free Software Foundation, Inc.
+
+
+src/extra/intl/*
+
+Based on gettextize from gettext 0.17
+   Copyright (C) various dates Free Software Foundation, Inc.
+   Distributed under the GNU Library General Public License
+   version 2 or later.
+
+src/include/memcheck.h
+src/include/valgrind.h
+
+From valgrind,
+
+   Copyright (C) 2000-2005 Julian Seward.  All rights reserved.
+
+
+src/main/mkdtemp.c
+
+From glibc via
+http://lists.gnu.org/archive/html/bug-gnulib/2003-02/msg00019.html
+
+   Copyright (C) 1999, 2001-2003 Free Software Foundation, Inc.
+   Distributed under the GNU Library General Public License
+   version 2 or later.
+
+src/main/Rstrptime.c
+
+   Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Distributed under the GNU Library General Public License
+   version 2 or later.
+
+share/perl/File/Copy/Recursive.pm
+
+   Copyright 2004 by Daniel Muey
+
+   This library is free software; you can redistribute it and/or modify
+   it under the same terms as Perl itself.
+
+
+share/perl/Text/Delimiter.pm
+
+   Copyright (C) Small Planet Software and Norman Walsh.
+   All rights reserved.  This program is free software; you can
+   redistribute it and/or modify it under the same terms as Perl itself.
+
+po/*.po
+src/library/*/po/*.po
+
+   Some of the translations are (C) the translator as marked in the files.
+
+COPYING
+doc/COPYING
+doc/COPYING.LIB
+m4/codeset.m4
+m4/gettext.m4
+m4/gettext-lib.m4
+share/licenses/GPL-2
+share/licenses/GPL-3
+share/licenses/LGPL-2
+share/licenses/LGPL-2.1
+share/licenses/LGPL-3
+src/main/strdup.c
+tools/config.quess
+tools/config.rpath
+tools/config.sub
+tools/help2man.pl
+tools/ltmain.sh
+tools/mdate-sh
+tools/missing
+
+   Copyright various dates Free Software Foundation
+
+
+tools/install-sh:
+
+   Copyright (C) 1994 X Consortium
+
+
+========= end doc/COPYRIGHTS ================================================
+
+
+The windows32 port includes the following file src/gnuwin32/COPYRIGHTS.win
+========= begin src/gnuwin32/COPYRIGHTS.win =================================
+
+Windows version
+===============
+
+src/gnuwin32/e_pow.S
+
+is distributed under the Lesser GNU Public Licence (file COPYING.LIB),
+being based closely on code in the GNU C Library.
+
+
+src/gnuwin32/getline/*
+
+/*
+ * Copyright (C) 1991, 1992, 1993 by Chris Thewalt (thewalt@ce.berkeley.edu)
+ *
+ * Permission to use, copy, modify, and distribute this software 
+ * for any purpose and without fee is hereby granted, provided
+ * that the above copyright notices appear in all copies and that both the
+ * copyright notice and this permission notice appear in supporting
+ * documentation.  This software is provided "as is" without express or
+ * implied warranty.
+ *
+ * Thanks to the following people who have provided enhancements and fixes:
+ *   Ron Ueberschaer, Christoph Keller, Scott Schwartz, Steven List,
+ *   DaviD W. Sanderson, Goran Bostrom, Michael Gleason, Glenn Kasten,
+ *   Edin Hodzic, Eric J Bivona, Kai Uwe Rommel, Danny Quah, Ulrich Betzler
+ */
+
+
+
+src/extra/graphapp/*
+src/gnuwin32/front-ends/graphappmain.c
+
+The files {arith, array, bitmap, buttons, context, controls, cursors,
+drawing, drawtext, events, fonts, image, init, menus, objects,
+strings, windows}.c, {graphapp, internal}.h are in part
+
+	Copyright (C) 1993-1998 Lachlan Patrick
+	Distributed under the GNU Library General Public License
+
+
+src/gnuwin32/psignal.[ch]
+
+Based on files which are
+	Freely redistributable and modifiable.  Use at your own risk.
+	Copyright 1994-1999 The Downhill Project
+	http://www.ede.com/free/u2nt
+
+
+src/gnuwin32/front-ends/SC_*.h, bdx*.[ch], com_util.[ch], rproxy*.[ch]
+
+	Copyright (C) 1999-2005 Thomas Baier
+	Distributed under the GNU Library General Public License
+	version 2 or later.
+
+
+
+R_HOME/Tcl:
+
+Files compiled and installed from Tcl 8.4.15 and Tk 8.4.15.
+see R_HOME/Tcl/license.terms for the license.
+
+    This software is copyrighted by the Regents of the University of
+    California, Sun Microsystems, Inc., and other parties. [...]
+
+
+src/extra/trio/* (except compat.c)
+
+From trio-1.12 (http://daniel.haxx.se/projects/trio/)
+
+ Copyright (C) 1998-2001 by Bjorn Reese and Daniel Stenberg.
+
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
+ MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE AUTHORS AND
+ CONTRIBUTORS ACCEPT NO RESPONSIBILITY IN ANY CONCEIVABLE MANNER.
+
+
+src/gnuwin32/dos_glob.[ch]
+
+Modified from perl's ext/File/Glob/bsd_glob.[ch].
+
+/*
+ * Copyright (c) 1989, 1993
+ *	The Regents of the University of California.  All rights reserved.
+ *
+ * This code is derived from software contributed to Berkeley by
+ * Guido van Rossum.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ * 3. Neither the name of the University nor the names of its contributors
+ *    may be used to endorse or promote products derived from this software
+ *    without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+src/fixed/h/iconv.h
+
+From GNU libiconv-1.11, distributed under LGPL>=2,
+Copyright (C) 1999-2003, 2005-2006 Free Software Foundation, Inc.
+========= end src/gnuwin32/COPYRIGHTS.win ===================================
+
+
+
+On a Debian GNU/Linux system, the GPL licenses (version 2 and 3) are
+included in the files 
+	/usr/share/common-licenses/GPL-2 and
+	/usr/share/common-licenses/GPL-3. 
+The LGPL licenses are included in the files 
+	/usr/share/common-licenses/LGPL-2,
+	/usr/share/common-licenses/LGPL-2.1 and
+	/usr/share/common-licenses/LGPL-3
+The Artistic license is in 
+	/usr/share/common-licenses/Artistic.
+  
--- r-base-2.14.2.orig/debian/r-base-core.dirs
+++ r-base-2.14.2/debian/r-base-core.dirs
@@ -0,0 +1,10 @@
+etc/R
+etc/ld.so.conf.d
+etc/bash_completion.d
+usr/bin
+usr/lib/R
+usr/lib/R/site-library
+usr/share/doc/r-base-core
+usr/share/lintian/overrides
+usr/share/R/include/
+usr/share/texmf/tex/latex
--- r-base-2.14.2.orig/debian/r-gnome.lintian
+++ r-base-2.14.2/debian/r-gnome.lintian
@@ -0,0 +1 @@
+r-gnome: menu-command-not-in-package /usr/lib/menu/r-gnome:4 /usr/bin/R
--- r-base-2.14.2.orig/debian/r-gnome.NEWS
+++ r-base-2.14.2/debian/r-gnome.NEWS
@@ -0,0 +1,13 @@
+r-gnome (2.0.1.alpha.20050403-1) experimental; urgency=low
+
+  * The experimental and incomplete Gnome UI is no longer included 
+    in the upstream R sources as of the R 2.1.0 release. 
+  
+    Hence, this Debian package is now an empty transition package 
+    which will eventually disappear.
+  
+    The old code for the R Gnome frontend is still available via
+    svn co https://svn.r-project.org/R-packages/trunk/gnomeGUI
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  3 Apr 2005 16:04:29 -0500
+
--- r-base-2.14.2.orig/debian/r-base-latex.dirs
+++ r-base-2.14.2/debian/r-base-latex.dirs
@@ -0,0 +1 @@
+usr/share/lintian/overrides
--- r-base-2.14.2.orig/debian/Renviron.site
+++ r-base-2.14.2/debian/Renviron.site
@@ -0,0 +1,19 @@
+##						Emacs please make this -*- R -*-
+## empty Renviron.site for R on Debian
+##
+## Copyright (C) 2008 Dirk Eddelbuettel and GPL'ed
+##
+## see help(Startup) for documentation on ~/.Renviron and Renviron.site
+
+# ## Example ~/.Renviron on Unix
+# R_LIBS=~/R/library
+# PAGER=/usr/local/bin/less
+
+# ## Example .Renviron on Windows
+# R_LIBS=C:/R/library
+# MY_TCLTK="c:/Program Files/Tcl/bin"
+
+# ## Example of setting R_DEFAULT_PACKAGES (from R CMD check)
+# R_DEFAULT_PACKAGES='utils,grDevices,graphics,stats'
+# # this loads the packages in the order given, so they appear on
+# # the search path in reverse order.
--- r-base-2.14.2.orig/debian/Rprofile.site
+++ r-base-2.14.2/debian/Rprofile.site
@@ -0,0 +1,23 @@
+##						Emacs please make this -*- R -*-
+## empty Rprofile.site for R on Debian
+##
+## Copyright (C) 2008 Dirk Eddelbuettel and GPL'ed
+##
+## see help(Startup) for documentation on ~/.Rprofile and Rprofile.site
+
+# ## Example of .Rprofile
+# options(width=65, digits=5)
+# options(show.signif.stars=FALSE)
+# setHook(packageEvent("grDevices", "onLoad"),
+#         function(...) grDevices::ps.options(horizontal=FALSE))
+# set.seed(1234)
+# .First <- function() cat("\n   Welcome to R!\n\n")
+# .Last <- function()  cat("\n   Goodbye!\n\n")
+
+# ## Example of Rprofile.site
+# local({
+#  # add MASS to the default packages, set a CRAN mirror
+#  old <- getOption("defaultPackages"); r <- getOption("repos")
+#  r["CRAN"] <- "http://my.local.cran"
+#  options(defaultPackages = c(old, "MASS"), repos = r)
+#})
--- r-base-2.14.2.orig/debian/r-base-dev.links
+++ r-base-2.14.2/debian/r-base-dev.links
@@ -0,0 +1 @@
+usr/share/doc/r-base-core usr/share/doc/r-base-dev
--- r-base-2.14.2.orig/debian/control
+++ r-base-2.14.2/debian/control
@@ -0,0 +1,375 @@
+Source: r-base
+Section: gnu-r
+Priority: optional
+Maintainer: Dirk Eddelbuettel <edd@debian.org>
+Standards-Version: 3.9.3
+Build-Depends: gcc (>= 4:4.1.0), g++ (>= 4:4.1.0), gfortran (>= 4:4.1.0), libblas-dev, liblapack-dev (>= 3.1.1), tcl8.5-dev, tk8.5-dev, bison, groff-base, libncurses5-dev, libreadline-dev, debhelper (>= 7.2.3), texi2html, texinfo (>= 4.1-2), libbz2-dev, liblzma-dev, libpcre3-dev, xdg-utils, zlib1g-dev, libpng-dev, libjpeg-dev, libx11-dev, libxt-dev, x11proto-core-dev, libpango1.0-dev, libcairo2-dev, libtiff4-dev, xvfb, xauth, xfonts-base, texlive-base, texlive-latex-base, texlive-generic-recommended, texlive-fonts-recommended, texlive-fonts-extra, texlive-extra-utils, texlive-latex-recommended, texlive-latex-extra, texinfo, texi2html, openjdk-6-jdk [!arm !hppa !kfreebsd-i386 !kfreebsd-amd64 !hurd-i386 !mips]
+Homepage: http://www.r-project.org/
+
+Package: r-base
+Architecture: all
+Depends: ${misc:Depends}, r-base-core (>= ${source:Version}), r-recommended (= ${source:Version})
+Recommends: r-base-html, r-doc-html
+Suggests: ess, r-doc-info | r-doc-pdf  
+Description: GNU R statistical computation and graphics system
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package is a metapackage which eases the transition from the 
+ pre-1.5.0 package setup with its larger r-base package. Once installed, it 
+ can be safely removed and apt-get will automatically upgrade its components
+ during future upgrades.  Providing this package gives a way to users to 
+ then only install r-base-core if they so desire.
+
+Package: r-base-core
+Architecture: any
+Depends: ${misc:Depends}, ${perl:Depends}, zip, unzip, libpaper-utils, xdg-utils, ${shlibs:Depends}, ucf (>= 3.0)
+Replaces: r-base (<= 1.4.1-1), r-recommended (<< 1.9.0), r-gnome (<= 2.3.1), r-cran-rcompgen (<= 0.1-17-1), r-base-latex (<= 2.9.2-4)
+Provides:  r-gnome, r-cran-rcompgen, r-base-latex
+Conflicts:  r-gnome, r-cran-rcompgen, r-base-latex
+Recommends: r-recommended, r-base-dev, r-doc-html
+Suggests: ess, r-doc-info | r-doc-pdf, r-mathlib, r-base-html
+Description: GNU R core of statistical computation and graphics system
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over two thousand extension "packages" are available
+ from CRAN, the Comprehensive R Archive Network, many also as Debian
+ packages, named 'r-cran-<name>'.
+ .
+ This package provides the core GNU R system from which only the optional
+ documentation packages r-base-html, r-doc-html, r-doc-pdf and r-doc-info 
+ have been split off to somewhat reduce the size of this package. 
+
+Package: r-base-dev
+Architecture: all
+Depends: ${misc:Depends}, r-base-core (>= ${source:Version}), build-essential, gcc, g++, gfortran, libblas-dev | libatlas-base-dev, liblapack-dev | libatlas-base-dev, libncurses5-dev, libreadline-dev, libjpeg-dev, libpcre3-dev, libpng-dev, zlib1g-dev, libbz2-dev, dpatch, cdbs
+Suggests: debhelper, texlive-base, texlive-latex-base, texlive-generic-recommended, texlive-fonts-recommended, texlive-fonts-extra, texlive-extra-utils, texlive-latex-recommended, texlive-latex-extra, texinfo, texi2html
+Description: GNU R installation of auxiliary GNU R packages 
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package ensures that other Debian packages needed for installation of
+ some auxiliary R packages are installed.
+
+Package: r-mathlib
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: r-base-core (= ${binary:Version}), r-base-dev (= ${binary:Version})
+Description: GNU R standalone mathematics library
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package provides the libRmath shared and static libraries which can
+ be called from standalone C or C++ code.
+
+Package: r-base-html
+Architecture: all
+Priority: extra
+Section: doc
+Depends: ${misc:Depends}, r-base-core
+Replaces: r-base (<= 1.4.1-1), r-recommended (<< 1.9.0)
+Suggests: r-doc-html, mozilla | www-browser
+Description: GNU R html docs for statistical computing system functions
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package provides html documentation suitable for browsing with a 
+ web-browser for the libraries included in the r-base package. It is not 
+ a required package as the same documentation is already included for 
+ on-line browsing. 
+
+Package: r-doc-pdf
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: r-base-core, xdg-utils | pdf-viewer
+Description: GNU R pdf manuals for statistical computing system
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package provides the R manuals in pdf format. The sibling packages
+ r-doc-html and r-doc-info provides the same manuals.
+
+Package: r-doc-html
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: r-base-core, mozilla | www-browser
+Replaces: r-base (<= 1.4.1-1)
+Description: GNU R html manuals for statistical computing system
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package provides the R manuals in html format. The sibling packages
+ r-doc-pdf and r-doc-info provides the same manuals.
+
+Package: r-doc-info
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}, dpkg (>= 1.15.4) | install-info
+Replaces: r-base (<= 1.4.1-1)
+Suggests: r-base-core, info (>= 3.12) | info-browser
+Description: GNU R info manuals statistical computing system
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package provides the R manuals in info format. The sibling packages
+ r-doc-html and r-doc-pdf provide the same manuals.
+
+Package: r-recommended
+Architecture: all
+Depends: ${misc:Depends}, r-base-core (>= ${binary:Version}), r-cran-boot (>= 1.2.19), r-cran-cluster (>= 1.9.6-2), r-cran-foreign (>= 0.7-2), r-cran-kernsmooth (>= 2.2.14), r-cran-lattice (>= 0.10.11), r-cran-mgcv (>= 1.1.5), r-cran-nlme (>= 3.1.52), r-cran-rpart (>= 3.1.20), r-cran-survival (>= 2.13.2-1), r-cran-mass, r-cran-class, r-cran-nnet, r-cran-spatial, r-cran-codetools, r-cran-matrix
+Description: GNU R collection of recommended packages [metapackage]
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This Debian package is now a metapackage that depends on a set of 
+ packages that are recommended by the upstream R core team as part of a 
+ complete R distribution, and distributed along with the source of R 
+ itself, as well as directly via the CRAN network of mirrors. This set
+ comprises the following packages (listed in their upstream names):
+  - KernSmooth: Functions for kernel smoothing for Wand & Jones (1995)
+  - Matrix: Classes and methods for dense and sparse matrices and 
+    operations on them using Lapack and SuiteSparse
+  - MASS, class, nnet and spatial: packages from Venables and Ripley, 
+    `Modern Applied Statistics with S' (4th edition).
+  - boot: Bootstrap R (S-Plus) Functions from the book "Bootstrap Methods 
+    and Their Applications" by A.C. Davison and D.V. Hinkley (1997).
+  - cluster: Functions for clustering (by Rousseeuw et al.)
+  - codetools: Code analysis tools for R
+  - foreign: Read data stored by Minitab, S, SAS, SPSS, Stata, ...
+  - lattice: Implementation of Trellis (R) graphics
+  - mgcv: Multiple smoothing parameter estimation and GAMs by GCV
+  - nlme: Linear and nonlinear mixed effects models
+  - rpart: Recursive partitioning and regression trees
+  - survival: Survival analysis, including penalised likelihood.
+
+
+Package: r-base-core-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: ${misc:Depends}, r-base-core (= ${binary:Version}), r-base-dev (= ${source:Version})
+Description: GNU R debug symbols for statistical comp. language and environment
+ R is a system for statistical computation and graphics.  It consists 
+ of a language plus a run-time environment with graphics, a debugger, 
+ access to certain system functions, and the ability to run programs 
+ stored in script files.
+ .
+ The design of R has been heavily influenced by two existing languages:
+ Becker, Chambers & Wilks' S and Sussman's Scheme.  Whereas the 
+ resulting language is very similar in appearance to S, the underlying 
+ implementation and semantics are derived from Scheme.
+ .
+ The core of R is an interpreted computer language which allows 
+ branching and looping as well as modular programming using functions.  
+ Most of the user-visible functions in R are written in R.  It is 
+ possible for the user to interface to procedures written in the 
+ C, C++, or FORTRAN languages for efficiency, and many of R's core 
+ functions do so.  The R distribution contains functionality for a 
+ large number of statistical procedures and underlying applied math 
+ computations.  There is also a large set of functions which provide 
+ a flexible graphical environment for creating various kinds of data 
+ presentations. 
+ .
+ Additionally, over thousand extension "packages" are available from 
+ CRAN, the Comprehensive R Archive Network, many also as Debian packages, 
+ named 'r-cran-<name>'.
+ .
+ This package contains debugging symbol tables for the binaries and dynamic
+ libraries in the r-base-core package.
--- r-base-2.14.2.orig/debian/papersize.sh
+++ r-base-2.14.2/debian/papersize.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+cp /etc/R/Renviron /tmp/
+Sysfile=/etc/papersize
+Rfile=/tmp/Renviron
+
+syspaper=`cat $Sysfile`
+echo "Papersize in /etc is $syspaper"
+
+rpaper=`grep ^R_PAPERSIZE $Rfile | cut -d"'" -f2`
+echo "Papersize in Renviron is $rpaper"
+
+if [ "$syspaper" != "$rpaper" ]; then
+    echo "Need to replace $rpaper with $syspaper"
+
+    perl -p -i -e "s|\'$rpaper\'|\'$syspaper\'|"    "$Rfile"
+fi
+
+grep PAPERSIZE $Rfile
--- r-base-2.14.2.orig/debian/Renviron-R_LIBS.patch
+++ r-base-2.14.2/debian/Renviron-R_LIBS.patch
@@ -0,0 +1,14 @@
+--- Renviron.orig	2003-04-04 06:52:22.000000000 -0500
++++ Renviron	2003-04-04 06:49:05.000000000 -0500
+@@ -33,6 +33,11 @@
+ PERL=${PERL-'/usr/bin/perl'}
+ TAR=${TAR-'tar'}
+ 
++# edd Apr 2003  Allow local install in /usr/local, also add a directory for
++#               Debian packaged CRAN packages, and finally the default dir 
++# edd Jul 2007  Now use R_LIBS_SITE, not R_LIBS
++R_LIBS_SITE=${R_LIBS_SITE-'/usr/local/lib/R/site-library:/usr/lib/R/site-library:/usr/lib/R/library'}
++
+ ### Local Variables: ***
+ ### mode: sh ***
+ ### sh-indentation: 2 ***
--- r-base-2.14.2.orig/debian/r-doc-pdf.preinst
+++ r-base-2.14.2/debian/r-doc-pdf.preinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+#
+# r-doc-pdf.preinst
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org> 
+ 
+set -e
+ 
+case "$1" in
+    install|upgrade)
+    # we want symlinks to r-base so old directories cannot exist
+    test -d /usr/share/doc/r-doc-pdf && rm -rf /usr/share/doc/r-doc-pdf
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+ 
+#DEBHELPER#
+ 
+exit 0
--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.admin
+++ r-base-2.14.2/debian/r-doc-html.doc-base.admin
@@ -0,0 +1,9 @@
+Document: r-admin
+Title: R Installation and Administration
+Author: R Core 
+Abstract: This guide describes installation and administration for R.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-admin.html
+Files: /usr/share/doc/r-doc-html/manual/R-admin.html
--- r-base-2.14.2.orig/debian/r-recommended.lintian
+++ r-base-2.14.2/debian/r-recommended.lintian
@@ -0,0 +1,8 @@
+r-recommended: extra-license-file usr/lib/R/library/MASS/LICENCE
+r-recommended: extra-license-file usr/lib/R/library/class/LICENCE
+r-recommended: extra-license-file usr/lib/R/library/nnet/LICENCE
+r-recommended: extra-license-file usr/lib/R/library/spatial/LICENCE
+r-recommended: extra-license-file usr/lib/R/library/nlme/COPYING
+r-recommended: extra-license-file usr/lib/R/library/survival/COPYING
+r-recommended: package-contains-empty-directory usr/lib/R/library/
+r-recommended: package-contains-empty-directory usr/share/lintian/overrides/
--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.exts
+++ r-base-2.14.2/debian/r-doc-html.doc-base.exts
@@ -0,0 +1,11 @@
+Document: r-extensions
+Title: R Writing Extensions
+Author: R Core 
+Abstract: This is a guide to extending R, describing the process of creating R
+ add-on packages, writing R documentation, R's system and foreign
+ language interfaces, and the R API.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-exts.html
+Files: /usr/share/doc/r-doc-html/manual/R-exts.html
--- r-base-2.14.2.orig/debian/r-doc-html.links.hidden
+++ r-base-2.14.2/debian/r-doc-html.links.hidden
@@ -0,0 +1 @@
+usr/share/doc/r-base usr/share/doc/r-doc-html
--- r-base-2.14.2.orig/debian/r-base-core.lintian
+++ r-base-2.14.2/debian/r-base-core.lintian
@@ -0,0 +1,82 @@
+r-base-core: shlib-with-non-pic-code usr/lib/R/modules/internet.so
+r-base-core: shlib-with-non-pic-code usr/lib/R/modules/lapack.so
+r-base-core: shlib-with-non-pic-code usr/lib/R/modules/vfonts.so
+r-base-core: shlib-with-non-pic-code usr/lib/R/library/modreg/libs/modreg.so
+r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/function.html
+r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/is.function.html
+r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/remove.packages.html
+r-base-core: file-missing-in-md5sums usr/lib/R/doc/html/function.html 
+r-base-core: file-missing-in-md5sums usr/share/R/doc/html/packages.html
+r-base-core: file-missing-in-md5sums usr/share/R/doc/html/search/index.txt
+r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/as.function.html
+r-base-core: file-missing-in-md5sums usr/bin/R
+r-base-core: file-missing-in-md5sums usr/lib/R/library/base/html/update.packages.html
+r-base-core: file-missing-in-md5sums usr/lib/R/library/base/help/make.packages.html
+r-base-core: file-missing-in-md5sums usr/lib/R/library/utils/help/make.packages.html
+r-base-core: file-missing-in-md5sums usr/bin/Rscript
+r-base-core: file-missing-in-md5sums usr/lib/R/library/utils/R-ex/make.packages.html.R
+r-base-core: file-missing-in-md5sums usr/lib/R/bin/Rscript
+r-base-core: file-missing-in-md5sums usr/lib/R/etc/Renviron.ucf
+r-base-core: extra-license-file usr/lib/R/library/base/help/license
+r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/left.jpg
+r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/logo.jpg
+r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/logosm.jpg
+r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/right.jpg
+r-base-core: image-file-in-usr-lib usr/lib/R/doc/html/up.jpg
+r-base-core: script-not-executable usr/lib/R/share/perl/build-help.pl
+r-base-core: lengthy-symlink usr/share/R/doc/COPYING ../../../share/common-licenses/GPL
+r-base-core: lengthy-symlink usr/share/R/doc/COPYING.LIB ../../../share/common-licenses/LGPL
+r-base-core: script-not-executable ./usr/lib/R/share/perl/build-help.pl
+r-base-core: menu-item-creates-new-root-section Applications /usr/share/menu/r-base-core:5
+r-base-core: pkg-has-shlibs-control-file-but-no-actual-shared-libs
+r-base-core: extra-license-file usr/share/R/share/licenses/license.db
+r-base-core: package-contains-empty-directory usr/lib/R/library/graphics/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/base/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/tools/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/methods/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/splines/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/tcltk/html/
+r-base-core: package-contains-empty-directory usr/share/info/
+r-base-core: package-contains-empty-directory usr/share/R/doc/manual/
+r-base-core: package-contains-empty-directory usr/lib/R/library/grid/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/site-library/
+r-base-core: package-contains-empty-directory usr/lib/R/library/graphics/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/stats/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/stats4/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/stats/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/grDevices/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/utils/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/datasets/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/datasets/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/grDevices/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/tcltk/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/methods/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/splines/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/base/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/stats4/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/grid/html/
+r-base-core: package-contains-empty-directory usr/lib/R/library/tools/latex/
+r-base-core: package-contains-empty-directory usr/lib/R/library/utils/html/
+r-base-core: executable-not-elf-or-script usr/share/R/share/sh/help-print.sh
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/REMOVE
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Sweave
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/config
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/SHLIB
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/LINK
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/javareconf.orig
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/INSTALL
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/rtags
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/BATCH
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Stangle
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Rd2dvi
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/COMPILE
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/javareconf
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Rd2txt
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Rdconv
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/build
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Rprof
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/check
+r-base-core: executable-not-elf-or-script usr/lib/R/bin/Rdiff
+r-base-core: image-file-in-usr-lib usr/lib/R/library/graphics/help/figures/mai.png
+r-base-core: image-file-in-usr-lib usr/lib/R/library/graphics/help/figures/oma.png
+r-base-core: image-file-in-usr-lib usr/lib/R/library/graphics/help/figures/pch.png
--- r-base-2.14.2.orig/debian/r-mathlib.links.hidden
+++ r-base-2.14.2/debian/r-mathlib.links.hidden
@@ -0,0 +1 @@
+usr/share/doc/r-base-core usr/share/doc/r-mathlib
--- r-base-2.14.2.orig/debian/r-base-core.postinst
+++ r-base-2.14.2/debian/r-base-core.postinst
@@ -0,0 +1,68 @@
+#!/bin/sh
+#
+# postinst script for the Debian GNU/Linux r-base-core package
+# This version originally written by Douglas Bates <bates@stat.wisc.edu>
+# and now written and maintained by Dirk Eddelbuettel <edd@debian.org>
+
+set -e
+
+#DEBHELPER#
+    
+    
+case "$1" in
+  configure)
+    # edd 19 June 2004  deal with papersize 
+    # edd 22 June 2004  make that conditional on paperconf
+    # edd 25 Oct 2006   rewritten for R 2.4.0 and R_PAPERSIZE_USER
+    # edd 21 Jun 2008   rewritten for R 2.7.1 and ucf input 
+    if [ -x /usr/bin/paperconf ]; then
+      ## get the value we want from Debian's paperconf utility
+      papersize=`paperconf`
+      ## this is the file we need to set it in
+      #Renviron=/etc/R/Renviron
+      Renviron=/usr/lib/R/etc/Renviron.ucf
+      if [ -f $Renviron ]; then
+    	## test if the file is unmodified `as shipped'
+	if grep -q -E "^R_PAPERSIZE_USER=\\$\{R_PAPERSIZE\}" $Renviron; then
+	  echo "Setting R_PAPERSIZE_USER default to '$papersize'"
+	  ## have perl subst. second expression with $papersize for first
+	  ## uses the x mod. and curlies to denote the usual s|1st|2nd|
+	  perl -p -i -e "s{^R_PAPERSIZE_USER=\\$\{R_PAPERSIZE\}}
+		{R_PAPERSIZE_USER=\\$\{R_PAPERSIZE-'$papersize'\}}x" $Renviron
+    	fi
+      fi
+    fi
+    # edd 21 Jun 2008  whether or not Renviron was modified, ucf will handle it, 
+    #                  so tell ucf that file Renviron.ucf is the source for 
+    #                  conffile in /etc and register it
+    ucf /usr/lib/R/etc/Renviron.ucf /etc/R/Renviron
+    ucfr r-base-core /etc/R/Renviron
+    #
+    if [ -x /usr/bin/update-menus ]; then
+      update-menus 
+    fi
+
+    # edd 03 Apr 2003  cf Section 10.1.2 of Debian Policy
+    if [ ! -e /usr/local/lib/R ]; then
+      if mkdir /usr/local/lib/R 2>/dev/null; then
+	chown root:staff /usr/local/lib/R
+	chmod 2775 /usr/local/lib/R
+      fi
+    fi
+    if [ ! -e /usr/local/lib/R/site-library ]; then
+      if mkdir /usr/local/lib/R/site-library 2>/dev/null; then
+	chown root:staff /usr/local/lib/R/site-library
+	chmod 2775 /usr/local/lib/R/site-library
+      fi
+    fi
+
+    if [ -x /usr/bin/mktexlsr ]; then
+      mktexlsr /usr/share/texmf
+    fi
+    ;;
+  abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+  *)
+    echo "postinst called with unknown argument \`$1'" >&2
+    ;;
+esac
--- r-base-2.14.2.orig/debian/r-doc-html.doc-base.lang
+++ r-base-2.14.2/debian/r-doc-html.doc-base.lang
@@ -0,0 +1,11 @@
+Document: r-language
+Title: R Language Definition
+Author: R Core
+Abstract: This is an introduction to the R language, explaining evaluation,
+ parsing, object oriented programming, computing on the language, and
+ so forth.
+Section: Science/Data Analysis
+
+Format: HTML
+Index: /usr/share/doc/r-doc-html/manual/R-lang.html
+Files: /usr/share/doc/r-doc-html/manual/R-lang.html
--- r-base-2.14.2.orig/debian/unused/makeLazyLoad.R.patch
+++ r-base-2.14.2/debian/unused/makeLazyLoad.R.patch
@@ -0,0 +1,79 @@
+Message-ID: <16731.1755.857376.453277@mithrandir.hornik.net>
+Date: Wed, 29 Sep 2004 21:02:51 +0200
+To: Dirk Eddelbuettel <edd@debian.org>
+Cc: Prof Brian Ripley <ripley@stats.ox.ac.uk>,
+        Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>,
+        Chris Lawrence <chris@lordsutch.com>, bates@stat.wisc.edu,
+        kurt.hornik@r-project.org, martin.maechler@r-project.org
+Subject: Re: Still fails under 2.0.0 beta 2004.09.28 (Re: Build failures with R 2.0.0 beta)
+Reply-To: Kurt.Hornik@wu-wien.ac.at
+From: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
+
+>>>>> Dirk Eddelbuettel writes:
+
+> On Wed, Sep 29, 2004 at 01:32:28PM +0100, Prof Brian Ripley wrote:
+>> I am effectively offline until Friday, but could try to look then.
+
+> I would _greatly_ appreciate your help. I applied Kurt's patch, but
+> that didn't fix it. I may have picked the wrong branch.
+
+Interesting.  I just tried the effect of applying
+
+--- makeLazyLoad.R      (revision 31251)
++++ makeLazyLoad.R      (working copy)
+@@ -60,9 +60,13 @@
+             stop(paste("There is no package called", sQuote(package)))
+         dataDir <- file.path(pkgpath, "data")
+     } else {
+-        pkgpath <- sub("/data$", "", dataDir)
+-        package <- basename(pkgpath)
+-       # avoid builddir != srcdir problems -- assume package has been installed
++        pkgpath <- dirname(dataDir)        
++        package <- Sys.getenv("R_PACKAGE_NAME")
++        if(!nchar(package)) {
++            package <- basename(pkgpath)
++        }
++        ## avoid builddir != srcdir problems -- assume package has been
++        ## installed
+         lib.loc <- c(dirname(pkgpath), .libPaths())
+     }
+     if(file_test("-d", dataDir)) {
+
+and that seems to do the job for me.
+
+Can you pls try again?
+
+Brian: I am not sure about the intentions of the subsequent
+
+        lib.loc <- c(dirname(pkgpath), .libPaths())
+
+Is dirname(pkgpath) supposed to be the path to the library installed
+into?  The Unix INSTALL script makes this available in the environment
+variable R_PACKAGE_DIR, so we might want to use this as well ...
+
+Best
+-k
+
+> I'd be happy to for now apply a patch in Debian's package only, but I
+> would not be surprise if the bug hit in other places too.  I really
+> think that should be fixed before 2.0.0.
+
+>> I don't understand why this has not been resolved in the alpha period, 
+>> though.
+
+> Because of an unfortunate combination of factors:
+
+> i)  2.0.0 breaks old packages, so I have _not_ inserted 2.0.0 into Debian
+>     unstable yet, so no autobuilder reports.
+    
+> ii) When I reported the cluster build failure, Martin could not replicate it
+>     as I hadn't realized yet that it was tied also using $Package-$Version/
+>     directories.
+    
+> Dirk
+
+> -- 
+> Those are my principles, and if you don't like them... well, I have others.
+>                                                 -- Groucho Marx
+
+
--- r-base-2.14.2.orig/debian/unused/r-gnome.preinst
+++ r-base-2.14.2/debian/unused/r-gnome.preinst
@@ -0,0 +1,26 @@
+#! /bin/sh
+#
+# r-gnome.preinst
+#
+# Written and GPL'ed by Dirk Eddelbuettel <edd@debian.org> 
+ 
+set -e
+ 
+case "$1" in
+    install|upgrade)
+    # we want symlinks to r-base so old directories cannot exist
+    test -d /usr/share/doc/r-gnome && rm -rf /usr/share/doc/r-gnome
+    ;;
+ 
+    abort-upgrade)
+    ;;
+ 
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+ 
+#DEBHELPER#
+ 
+exit 0
--- r-base-2.14.2.orig/debian/unused/r-gnome.links
+++ r-base-2.14.2/debian/unused/r-gnome.links
@@ -0,0 +1 @@
+usr/share/doc/r-base-core usr/share/doc/r-gnome
--- r-base-2.14.2.orig/debian/unused/Renviron-R_PAPERSIZE.patch
+++ r-base-2.14.2/debian/unused/Renviron-R_PAPERSIZE.patch
@@ -0,0 +1,12 @@
+--- Renviron.orig	2005-09-08 23:00:58.000000000 -0500
++++ Renviron	2006-01-07 11:31:07.000000000 -0600
+@@ -6,7 +6,8 @@
+ 
+ R_PLATFORM=${R_PLATFORM-'i486-pc-linux-gnu'}
+ ## Default printer paper size
+-R_PAPERSIZE=${R_PAPERSIZE-'letter'}
++## edd 07 Jan 2006  try determining this at start-time based on paperconf
++R_PAPERSIZE=${R_PAPERSIZE-`paperconf`}
+ ## Default print command
+ R_PRINTCMD=${R_PRINTCMD-'/usr/bin/lpr'}
+ ## Default TeXMF stuff
--- r-base-2.14.2.orig/debian/unused/control.r-gnome
+++ r-base-2.14.2/debian/unused/control.r-gnome
@@ -0,0 +1,27 @@
+
+Package: r-gnome
+Section: gnome
+Architecture: all
+Depends: r-base-core 
+Recommends: r-cran-gtkdevice
+Description: GNU R Gnome gui for statistical computing system
+ R is `GNU S' - A language and environment for statistical computing
+ and graphics. R is similar to the award-winning S system, which was
+ developed at Bell Laboratories by John Chambers et al. It provides a
+ wide variety of statistical and graphical techniques (linear and
+ nonlinear modelling, statistical tests, time series analysis,
+ classification, clustering, ...).
+ .
+ R is designed as a true computer language with control-flow
+ constructions for iteration and alternation, and it allows users to
+ add additional functionality by defining new functions. For
+ computationally intensive tasks, C, C++ and Fortran code can be
+ linked and called at run time.
+ .
+ This package used to provide the dynamic link libraries needed to start 
+ GNU R with the GNOME libraries frontend as in "R --gui=GNOME".
+ .
+ As of R 2.1.0, this interface is no longer provided with the upstream
+ sources. As such, this package is now an empty stub that will be removed
+ in a subsequent revision of the Debian package.
+
--- r-base-2.14.2.orig/debian/unused/r-gnome.menu
+++ r-base-2.14.2/debian/unused/r-gnome.menu
@@ -0,0 +1,4 @@
+?package(r-gnome):needs="x11"	\
+	section="Apps/Math"	\
+	title="GNU R (Gnome)"	\
+	command="/usr/bin/R --gui=GNOME --no-save"
--- r-base-2.14.2.orig/debian/unused/r-gnome.lintian
+++ r-base-2.14.2/debian/unused/r-gnome.lintian
@@ -0,0 +1 @@
+r-gnome: menu-command-not-in-package /usr/lib/menu/r-gnome:4 /usr/bin/R
--- r-base-2.14.2.orig/debian/source/format
+++ r-base-2.14.2/debian/source/format
@@ -0,0 +1 @@
+1.0
