summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-01-21 20:08:41 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-01-21 20:08:41 +0000
commit16c1d585c5a11523b78520a3c607c2184a3baa47 (patch)
tree5984c5c1294489d7b42bac644b8be6b633b2baf6
parent45249774120b6506aba8bfe968d5415cecae2c30 (diff)
Update of the backporting and building scripts
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@25 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r--backport_all.sh (renamed from backport_littler.sh)8
-rw-r--r--backport_recommended_etch.sh24
-rw-r--r--build_all_etch.sh4
3 files changed, 7 insertions, 29 deletions
diff --git a/backport_littler.sh b/backport_all.sh
index c1ded0b..4fe921b 100644
--- a/backport_littler.sh
+++ b/backport_all.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-# Script to automate building of littler packages for Debian.
+# Script to automate "backporting" of packages for Debian if the
+# only difference to the upstream packages is the signature.
# Author: Johannes Ranke <jranke@uni-bremen.de>
@@ -8,13 +9,14 @@
#DEBFULLNAME="Johannes Ranke"
text="Recompiled on etch for CRAN"
-for i in littler; do
+for i in rkward; do
+#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr; do
cd $i
rm -rf $i*
rm *.deb
apt-get source -t unstable $i
cd $i-*
- version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.1
+ version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.1
dch -b -v $version -D etch-cran $text
fakeroot dpkg-buildpackage -sa
cd ../..
diff --git a/backport_recommended_etch.sh b/backport_recommended_etch.sh
deleted file mode 100644
index 5adcf6a..0000000
--- a/backport_recommended_etch.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-# Script to automate building of r-cran-* packages for Debian.
-
-# Author: Johannes Ranke <jranke@uni-bremen.de> and
-# Vincent Goulet <vincent.goulet@act.ulaval.ca>
-
-#DEBEMAIL=jranke@uni-bremen.de
-#DEBFULLNAME="Johannes Ranke"
-text="Recompiled on etch for CRAN"
-
-#for i in codetools; do
-#for i in rcompgen rpart survival vr; do
-for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr; do
- cd $i
- rm -rf $i*
- rm *.deb
- apt-get source -t unstable $i
- cd $i-*
- version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.1
- dch -b -v $version -D etch-cran $text
- fakeroot dpkg-buildpackage -sa
- cd ../..
-done
diff --git a/build_all_etch.sh b/build_all_etch.sh
index a4d9046..3218d54 100644
--- a/build_all_etch.sh
+++ b/build_all_etch.sh
@@ -8,8 +8,8 @@
#DEBEMAIL=jranke@uni-bremen.de
#DEBFULLNAME="Johannes Ranke"
-#for i in foreign kernsmooth; do
-for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr littler rkward r-base; do
+for i in rkward; do
+#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rpart survival vr littler rkward r-base; do
cd $i
rm -rf $i*
rm *.deb

Contact - Imprint