X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/11280265c0ce229e5bd617583a06e630901a8617..8600760481ba1724cc18bd9b8be7b99bbca29dea:/jenkins/run-build-packages.sh diff --git a/jenkins/run-build-packages.sh b/jenkins/run-build-packages.sh index 792325af60..82d8d70f54 100755 --- a/jenkins/run-build-packages.sh +++ b/jenkins/run-build-packages.sh @@ -355,42 +355,72 @@ LIBCLOUD_DIR=$(mktemp -d) fpm_build $LIBCLOUD_DIR "$PYTHON2_PKG_PREFIX"-apache-libcloud rm -rf $LIBCLOUD_DIR -# libfuse 2.9.2 on Ubuntu 12.04 if [[ $TARGET =~ ubuntu1204 ]]; then + # port libfuse 2.9.2 to Ubuntu 12.04 LIBFUSE_DIR=$(mktemp -d) ( cd $LIBFUSE_DIR # download fuse 2.9.2 ubuntu 14.04 source package - curl -o fuse_2.9.2.orig.tar.xz http://archive.ubuntu.com/ubuntu/pool/main/f/fuse/fuse_2.9.2.orig.tar.xz - curl -o fuse_2.9.2-4ubuntu4.14.04.1.debian.tar.xz http://archive.ubuntu.com/ubuntu/pool/main/f/fuse/fuse_2.9.2-4ubuntu4.14.04.1.debian.tar.xz - curl -o fuse_2.9.2-4ubuntu4.14.04.1.dsc http://archive.ubuntu.com/ubuntu/pool/main/f/fuse/fuse_2.9.2-4ubuntu4.14.04.1.dsc + file="fuse_2.9.2.orig.tar.xz" && curl -L -o "${file}" "http://archive.ubuntu.com/ubuntu/pool/main/f/fuse/${file}" + file="fuse_2.9.2-4ubuntu4.14.04.1.debian.tar.xz" && curl -L -o "${file}" "http://archive.ubuntu.com/ubuntu/pool/main/f/fuse/${file}" + file="fuse_2.9.2-4ubuntu4.14.04.1.dsc" && curl -L -o "${file}" "http://archive.ubuntu.com/ubuntu/pool/main/f/fuse/${file}" - # install dpkg-dev for dpkg-source and dpkg-buildpackage commands + # install dpkg-source and dpkg-buildpackage commands apt-get install -y dpkg-dev # extract source and apply patches dpkg-source -x fuse_2.9.2-4ubuntu4.14.04.1.dsc + rm -f fuse_2.9.2.orig.tar.xz fuse_2.9.2-4ubuntu4.14.04.1.debian.tar.xz fuse_2.9.2-4ubuntu4.14.04.1.dsc # add new version to changelog cd fuse-2.9.2 - mv debian/changelog debian/changelog.old - echo "fuse (2.9.2-5) precise; urgency=low" > debian/changelog - echo "" >> debian/changelog - echo " * Backported from trusty-security to precise" >> debian/changelog - echo "" >> debian/changelog - echo " -- Joshua Randall Thu, 4 Feb 2016 11:31:00 -0000" >> debian/changelog - echo "" >> debian/changelog - cat debian/changelog.old >> debian/changelog - rm debian/changelog.old - - # install build-deps and build + ( + echo "fuse (2.9.2-5) precise; urgency=low" + echo + echo " * Backported from trusty-security to precise" + echo + echo " -- Joshua Randall Thu, 4 Feb 2016 11:31:00 -0000" + echo + cat debian/changelog + ) > debian/changelog.new + mv debian/changelog.new debian/changelog + + # install build-deps and build apt-get install -y $(awk 'BEGIN {FS=":"} $1=="Build-Depends" {n=split($2,deps,","); for (i=0; i