diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-01-21 20:08:41 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-01-21 20:08:41 +0000 |
commit | 16c1d585c5a11523b78520a3c607c2184a3baa47 (patch) | |
tree | 5984c5c1294489d7b42bac644b8be6b633b2baf6 /backport_all.sh | |
parent | 45249774120b6506aba8bfe968d5415cecae2c30 (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
Diffstat (limited to 'backport_all.sh')
-rw-r--r-- | backport_all.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/backport_all.sh b/backport_all.sh new file mode 100644 index 0000000..4fe921b --- /dev/null +++ b/backport_all.sh @@ -0,0 +1,23 @@ +#!/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> + +#DEBEMAIL=jranke@uni-bremen.de +#DEBFULLNAME="Johannes Ranke" +text="Recompiled on etch for CRAN" + +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.2.6.1 + dch -b -v $version -D etch-cran $text + fakeroot dpkg-buildpackage -sa + cd ../.. +done |