[Fusionforge-commits] FusionForge branch master updated. 4608f7f28cc2e752132194591d7ae61c064f5092

Sylvain Beucler beuc-inria at fusionforge.org
Wed Sep 17 10:26:57 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  4608f7f28cc2e752132194591d7ae61c064f5092 (commit)
      from  6fa149197b105c7b9c2c70d6973a8eae304451d9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4608f7f28cc2e752132194591d7ae61c064f5092
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Wed Sep 17 10:26:51 2014 +0200

    testsuite: install openssh-server from backports on debian7

diff --git a/autoinstall/common-backports b/autoinstall/common-backports
index 0dccb2b..1786e35 100644
--- a/autoinstall/common-backports
+++ b/autoinstall/common-backports
@@ -22,15 +22,27 @@
 
 
 function backports_deb {
-    # fusionforge-plugin-scmbzr depends on loggerhead (>= 1.19~bzr477~),
-    # but wheezy only has 1.19~bzr461-1, so we need to manually "Backport"
-    # a more recent dependency
-    if grep -q ^7 /etc/debian_version && ! dpkg-query -s loggerhead >/dev/null 2>&1 ; then
-	# install loggerhead with its dependencies
-	# we need gdebi to make sure dependencies are installed too (simple dpkg -i won't)
-	apt-get -y install gdebi-core wget
-	wget -c http://snapshot.debian.org/archive/debian/20121107T152130Z/pool/main/l/loggerhead/loggerhead_1.19%7Ebzr477-1_all.deb
-	gdebi --non-interactive loggerhead_1.19~bzr477-1_all.deb
+    if grep -q ^7 /etc/debian_version; then
+	# Install OpenSSH 6.6 to get AuthorizedKeysCommand support
+	if [ ! -f /etc/apt/sources.list.d/backports.list ]; then
+	    echo 'deb http://http.debian.net/debian wheezy-backports main' \
+		> /etc/apt/sources.list.d/backports.list
+	    apt-get update
+	fi
+	if dpkg-query -s openssh-server | grep -q 'Version: 1:6.0'; then
+	    apt-get -y install openssh-server -t wheezy-backports
+	fi
+
+	# fusionforge-plugin-scmbzr depends on loggerhead (>=
+	# 1.19~bzr477~), but wheezy only has 1.19~bzr461-1, so we need
+	# to manually "Backport" a more recent dependency
+	if ! dpkg-query -s loggerhead >/dev/null 2>&1 ; then
+	    # install loggerhead with its dependencies
+	    # we need gdebi to make sure dependencies are installed too (simple dpkg -i won't)
+	    apt-get -y install gdebi-core wget
+	    wget -c http://snapshot.debian.org/archive/debian/20121107T152130Z/pool/main/l/loggerhead/loggerhead_1.19%7Ebzr477-1_all.deb
+	    gdebi --non-interactive loggerhead_1.19~bzr477-1_all.deb
+	fi
     fi
 }
 

-----------------------------------------------------------------------

Summary of changes:
 autoinstall/common-backports |   30 +++++++++++++++++++++---------
 1 file changed, 21 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list