summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-06-25 08:49:21 +0000
committerranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b>2008-06-25 08:49:21 +0000
commit133a74e5a4a1d867f9d18c08e79c8130d12dc032 (patch)
tree50de7d2626a851a6a412eb72167f12524ed445ef
parent116cf5d110605b931dfc447e00340c8e34e2d519 (diff)
Script versions used for todays backport to etch i386
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@36 f247ebf9-aa24-0410-a698-f940e971ad2b
-rw-r--r--backport_all.sh6
-rw-r--r--backport_rkward.sh24
-rw-r--r--build_all_etch.sh2
-rw-r--r--publish_r-base.sh9
-rw-r--r--publish_recommended_etch.sh5
-rw-r--r--publish_the_rest.sh8
-rw-r--r--r-base/backport_r-base.sh5
7 files changed, 50 insertions, 9 deletions
diff --git a/backport_all.sh b/backport_all.sh
index b93ce5b..c9e789b 100644
--- a/backport_all.sh
+++ b/backport_all.sh
@@ -10,14 +10,14 @@ export DEBFULLNAME="Johannes Ranke"
text="Recompiled on etch for CRAN"
-for i in rpy; do
-#for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward rpy; do
+#for i in rpy; do
+for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rpart survival vr littler rkward rpy; 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.7.0
+ version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.1
dch -b -v $version -D etch-cran $text
if [ ${i} == "rpy" ]
diff --git a/backport_rkward.sh b/backport_rkward.sh
new file mode 100644
index 0000000..8859b90
--- /dev/null
+++ b/backport_rkward.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+# 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>
+
+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 -t lenny $i
+ cd $i-*
+ version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.7.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 b63d805..9ffb44b 100644
--- a/build_all_etch.sh
+++ b/build_all_etch.sh
@@ -9,7 +9,7 @@
#DEBFULLNAME="Johannes Ranke"
#for i in cluster; do
-for i in cluster foreign kernsmooth lattice mgcv nlme rpart survival vr littler rpy; do
+for i in cluster foreign kernsmooth lattice mgcv nlme rpart survival vr littler rpy rkward; do
cd $i
rm -rf $i*
rm *.deb
diff --git a/publish_r-base.sh b/publish_r-base.sh
new file mode 100644
index 0000000..58e88dc
--- /dev/null
+++ b/publish_r-base.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+rsync -az \
+ --include "build_*" \
+ --include "interdiff_to_debian_sid" \
+ --include "*.orig.tar.gz" \
+ --include "*.deb" \
+ --exclude "*" \
+ r-base/ \
+ chem:/home/ranke/svn/website/www/ranke/r-cran/etch-cran
diff --git a/publish_recommended_etch.sh b/publish_recommended_etch.sh
deleted file mode 100644
index 701e637..0000000
--- a/publish_recommended_etch.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/bash
-
-# Author: Johannes Ranke <jranke@uni-bremen.de>
-
-scp */*tar.gz */*etchcran* chem:svn/website/www/ranke/r-cran/etch
diff --git a/publish_the_rest.sh b/publish_the_rest.sh
new file mode 100644
index 0000000..9f015a4
--- /dev/null
+++ b/publish_the_rest.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Author: Johannes Ranke <jranke@uni-bremen.de>
+
+scp {boot,cluster,codetools,foreign,kernsmooth,lattice,mgcv,nlme,rpart,survival,vr,littler,rkward,rpy}/*.orig.tar.gz \
+ chem:svn/website/www/ranke/r-cran/etch-cran
+scp {boot,cluster,codetools,foreign,kernsmooth,lattice,mgcv,nlme,rpart,survival,vr,littler,rkward,rpy}/*etchcran* \
+ chem:svn/website/www/ranke/r-cran/etch-cran
diff --git a/r-base/backport_r-base.sh b/r-base/backport_r-base.sh
index 3c6963a..e8e0fac 100644
--- a/r-base/backport_r-base.sh
+++ b/r-base/backport_r-base.sh
@@ -64,6 +64,11 @@ dch -a "delete debian/shlibs.local since the dependency on tk8.4 is not an issue
sed -i '/^Build-Depends/s/texlive-base, texlive-latex-base, texlive-generic-recommended, texlive-fonts-recommended, texlive-extra-utils, texlive-latex-recommended, texlive-latex-extra, texinfo, texi2html/tetex-bin, tetex-extra/' debian/control
dch -a "debian/control: revert Build-Depends: to 'tetex-bin, tetex-extra' since etch does not have texlive"
+# 5. xauth is part of xbase-clients in etch
+
+sed -i '/^Build-Depends/s/xauth/xbase-clients/' debian/control
+dch -a "debian/control: replace xauth by xbase-clients in Build-Depends:"
+
# Build package showing all messages and separating output to build and error logs
(dpkg-buildpackage -tc | tee ../build_log_r-base_i386) 3>&1 1>&2 2>&3 | tee ../build_errors_r-base_i386
if [ $? -ne 0 ]; then

Contact - Imprint