From b363c3f696b9ff131ceb5fa1f5a8edabfebb2377 Mon Sep 17 00:00:00 2001 From: ranke Date: Thu, 29 Nov 2007 15:16:21 +0000 Subject: - Added infrastructure for backporting littler - Updated backport script for recommended packages git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@22 f247ebf9-aa24-0410-a698-f940e971ad2b --- backport_littler.sh | 21 +++++++++++++++++++++ backport_recommended_etch.sh | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 backport_littler.sh diff --git a/backport_littler.sh b/backport_littler.sh new file mode 100644 index 0000000..c1ded0b --- /dev/null +++ b/backport_littler.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Script to automate building of littler packages for Debian. + +# Author: Johannes Ranke + +#DEBEMAIL=jranke@uni-bremen.de +#DEBFULLNAME="Johannes Ranke" +text="Recompiled on etch for CRAN" + +for i in littler; 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 + dch -b -v $version -D etch-cran $text + fakeroot dpkg-buildpackage -sa + cd ../.. +done diff --git a/backport_recommended_etch.sh b/backport_recommended_etch.sh index 6799677..5adcf6a 100644 --- a/backport_recommended_etch.sh +++ b/backport_recommended_etch.sh @@ -17,7 +17,7 @@ for i in boot cluster codetools foreign kernsmooth lattice mgcv nlme rcompgen rp rm *.deb apt-get source -t unstable $i cd $i-* - version=`dpkg-parsechangelog | grep ^Version | cut -f2 -d " "`~etchcran.2.6.0 + 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 ../.. -- cgit v1.2.1