summaryrefslogtreecommitdiff
path: root/backport_rkward.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backport_rkward.sh')
-rw-r--r--backport_rkward.sh24
1 files changed, 24 insertions, 0 deletions
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

Contact - Imprint