summaryrefslogtreecommitdiff
path: root/old
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2009-07-07 14:14:33 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2009-07-07 14:14:33 +0000
commitfe46da2abd3474218d80aae82a170f9613fee519 (patch)
tree6f599ef9f8cbce0f9916c6d27a8478f7ab692e47 /old
parent21f32aff61eca7e79b76f9cbccae28efa66d369e (diff)
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
Diffstat (limited to 'old')
-rw-r--r--old/backport_rkward.sh33
-rw-r--r--old/build_all_etch.sh21
-rw-r--r--old/build_all_lenny.sh21
-rw-r--r--old/publish_r-base.sh11
-rw-r--r--old/publish_the_rest.sh8
5 files changed, 94 insertions, 0 deletions
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 <jranke@uni-bremen.de>
+
+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 <jranke@uni-bremen.de> 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 <jranke@uni-bremen.de> 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 <jranke@uni-bremen.de>
+
+#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

Contact - Imprint