From fe46da2abd3474218d80aae82a170f9613fee519 Mon Sep 17 00:00:00 2001 From: ranke Date: Tue, 7 Jul 2009 14:14:33 +0000 Subject: Move old stuff out of the way as it is potentially confusing git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@57 f247ebf9-aa24-0410-a698-f940e971ad2b --- old/backport_rkward.sh | 33 +++++++++++++++++++++++++++++++++ old/build_all_etch.sh | 21 +++++++++++++++++++++ old/build_all_lenny.sh | 21 +++++++++++++++++++++ old/publish_r-base.sh | 11 +++++++++++ old/publish_the_rest.sh | 8 ++++++++ 5 files changed, 94 insertions(+) create mode 100644 old/backport_rkward.sh create mode 100644 old/build_all_etch.sh create mode 100644 old/build_all_lenny.sh create mode 100644 old/publish_r-base.sh create mode 100644 old/publish_the_rest.sh (limited to 'old') diff --git a/old/backport_rkward.sh b/old/backport_rkward.sh new file mode 100644 index 0000000..8aa144c --- /dev/null +++ b/old/backport_rkward.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# Script to automate "backporting" of packages for Debian if the +# only difference to the upstream packages is the signature. + +# For backporting rkward from the version 0.4.9a currently in testing, I +# manually changed /etc/apt/sources list to this source package archive + +# Author: Johannes Ranke + +export DEBEMAIL=jranke@uni-bremen.de +export DEBFULLNAME="Johannes Ranke" + +text="Recompiled on etch for CRAN" + +for i in rkward; do + cd $i + rm -rf $i* + rm *.deb + apt-get source $i + cd $i-* + version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.8.1 + dch -b -v $version -D etch-cran $text + + sed -i '/^Build-Depends/s/r-base-dev (.*)/r-base-dev (>= 2.8.1-1~etchcran.0)/' debian/control + dch -a "debian/control: adapt build dependencies on r-base-dev to current backport" + + sed -i '/^#include "Rdevices.h"/d' rkward/rbackend/rembedinternal.cpp + dch -a "rkward/rbackend/rembedinternal.cpp: remove inclusion of obsolete Rdevices.h" + + fakeroot dpkg-buildpackage -sa + cd ../.. +done diff --git a/old/build_all_etch.sh b/old/build_all_etch.sh new file mode 100644 index 0000000..954f07f --- /dev/null +++ b/old/build_all_etch.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Script to automate building of r-cran-* packages for Debian for architectures +# other than the originally backported i386 packages. +# This worked flawlessly for amd64 with the fresh R 2.8.1 backport to etch, +# if an archive containing the backported source packages is the only deb-src +# entry in /etc/apt/sources.list +# Last Change: 2008 Dez 30 + +# Author: Johannes Ranke and + +for i in rmatrix rodbc; do +#for i in cluster foreign kernsmooth lattice rmatrix mgcv nlme rodbc rpart survival vr littler; do + cd $i + rm -rf $i* + rm *.deb + apt-get source $i + cd $i-* + pdebuild + cd ../.. +done diff --git a/old/build_all_lenny.sh b/old/build_all_lenny.sh new file mode 100644 index 0000000..979ebe6 --- /dev/null +++ b/old/build_all_lenny.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Script to automate building of r-cran-* packages for Debian for architectures +# other than the originally backported i386 packages. +# This worked flawlessly for amd64 with the fresh R 2.8.1 backport to etch, +# if an archive containing the backported source packages is the only deb-src +# entry in /etc/apt/sources.list +# Last Change: 2008 Dez 23 + +# Author: Johannes Ranke and + +for i in rkward littler; do +#for i in cluster foreign kernsmooth lattice mgcv nlme rodbc rpart survival vr littler rpy rkward; do + cd $i + rm -rf $i* + rm *.deb + apt-get source $i + cd $i-* + pdebuild + cd ../.. +done diff --git a/old/publish_r-base.sh b/old/publish_r-base.sh new file mode 100644 index 0000000..e623912 --- /dev/null +++ b/old/publish_r-base.sh @@ -0,0 +1,11 @@ +#!/bin/bash +rsync -avz \ + --include "build_log*" \ + --include "build_errors*" \ + --include "interdiff_to_debian_sid_$DIST" \ + --include "r-base_*$DISTcran*.diff.gz" \ + --include "r-base_*$DISTcran*.dsc" \ + --include "*.deb" \ + --exclude "*" \ + r-base/ \ + ranke@chem:/home/ranke/svn/website/www/ranke/r-cran/$DIST-cran diff --git a/old/publish_the_rest.sh b/old/publish_the_rest.sh new file mode 100644 index 0000000..5daf8c6 --- /dev/null +++ b/old/publish_the_rest.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +# Author: Johannes Ranke + +#scp {boot,cluster,codetools,foreign,kernsmooth,lattice,rmatrix,mgcv,nlme,rpart,survival,vr,rodbc,littler}/*.orig.tar.gz \ + #chem:svn/website/www/ranke/r-cran/etch-cran +scp -v {boot,cluster,codetools,foreign,kernsmooth,lattice,rmatrix,mgcv,nlme,rpart,survival,vr,rodbc,littler}/*etchcran* \ + chem:svn/website/www/ranke/r-cran/etch-cran -- cgit v1.2.1