summaryrefslogtreecommitdiff
path: root/backport_tk.sh
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2015-12-12 10:38:15 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2015-12-12 10:38:15 +0000
commit1cd094b531ff2a9f1d6acb4b781c118d12b51343 (patch)
tree86682d7e3c76817652ba74b82d3047a75ea8f51f /backport_tk.sh
parent28da2e962565a4ded17c427776529b43f3527186 (diff)
New and simplified organisation of backporting scripts
Now backports for different distributions (squeeze, wheezy, jessie) can be started from the same working directory. Also, single package builds can be done without editing a script. git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@111 f247ebf9-aa24-0410-a698-f940e971ad2b
Diffstat (limited to 'backport_tk.sh')
-rw-r--r--backport_tk.sh42
1 files changed, 0 insertions, 42 deletions
diff --git a/backport_tk.sh b/backport_tk.sh
deleted file mode 100644
index 35759eb..0000000
--- a/backport_tk.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/bin/bash
-
-# Script to automate backporting tk8.6 for CRAN
-
-# Author: Johannes Ranke <jranke@uni-bremen.de>
-
-# Preconditions: - shell variables DIST and ARCH
-# - sid sources in /etc/apt/sources/list
-# - cdbs installed (and maybe more)
-
-export DEBEMAIL="jranke@uni-bremen.de"
-export DEBFULLNAME="Johannes Ranke"
-echo Distribution is $DIST
-echo Architecture is $ARCH
-
-if [ -d tk8.6-* ]
-then
- rm -rf `ls -d tk8.6-*`
-fi
-
-apt-get update
-apt-get source tk8.6
-
-cd tk8.6-*
-
-# Old version
-oldversion=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`
-cranversion=$oldversion"~"$DIST"cran.0"
-
-echo Old version is $oldversion
-echo CRAN version is $cranversion
-
-# Add new version to changelog
-dch -v "${cranversion}" --force-distribution -D $DIST-cran -b "Backport from Debian unstable to Debian $DIST"
-
-pbuilder update
-pdebuild --debbuildopts '-sa' --buildresult /home/ranke/svn/website/www/ranke/r-cran/$DIST-cran3/ -- --distribution $DIST --basetgz /var/cache/pbuilder/$DIST-$ARCH-base.tgz --aptcache /var/cache/pbuilder/$DIST-$ARCH/aptcache --buildplace /var/cache/pbuilder/$DIST-$ARCH/build
-if [ $? -ne 0 ]; then
- exit
-fi
-
-cd ..

Contact - Imprint