[Pkg-virtualbox-commits] [virtualbox-ext-pack] 04/05: Remove get-orig-source.sh script

Gianfranco Costamagna locutusofborg-guest at moszumanska.debian.org
Mon Aug 29 06:29:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

locutusofborg-guest pushed a commit to branch master
in repository virtualbox-ext-pack.

commit b764ca4683c603c7a1a7809e044b01a573802bfe
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Fri Aug 26 14:16:37 2016 +0200

    Remove get-orig-source.sh script
---
 debian/get-orig-source.sh | 49 -----------------------------------------------
 1 file changed, 49 deletions(-)

diff --git a/debian/get-orig-source.sh b/debian/get-orig-source.sh
deleted file mode 100755
index bc14fab..0000000
--- a/debian/get-orig-source.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-
-set -ex
-
-if [ $# -ne 2 ]; then
-  echo "Error: 2 parameters are required."
-  exit 1
-fi
-
-if [ "$1" != "--upstream-version" ]; then
-  echo "Error: First parameter needs to be --upstream-version."
-  exit 1
-fi
-
-UPSTREAM_VERSION=$2
-ORIG_TARBALL=`readlink -e ../`/Oracle_VM_VirtualBox_Extension_Pack-${UPSTREAM_VERSION}.vbox-extpack
-
-ORGDIR=`pwd`
-
-cd `dirname $ORIG_TARBALL`
-if ! wget -O - http://download.virtualbox.org/virtualbox/$UPSTREAM_VERSION/SHA256SUMS | grep extpack | sha256sum -c --strict -; then
-  echo "Error: checksum doesn't match."
-  exit 1
-fi
-cd $ORGDIR
-
-PACKAGE_NAME=`awk '/^Source: / { print $2 }' debian/control`
-
-if [ -z "$PACKAGE_NAME" ]; then
-  echo "Error: couldn't determine package name."
-  exit 1
-fi
-
-TMP=`mktemp -d`
-
-if [ -z "$TMP" ]; then
-  echo "Error: couldn't create a tmp dir."
-  exit 1
-fi
-
-trap 'rm -r $TMP' EXIT
-
-mkdir $TMP/${PACKAGE_NAME}-$UPSTREAM_VERSION
-mv $ORIG_TARBALL $TMP/${PACKAGE_NAME}-$UPSTREAM_VERSION/
-cd $TMP
-tar cJf ${PACKAGE_NAME}_$UPSTREAM_VERSION.orig.tar.xz ${PACKAGE_NAME}-$UPSTREAM_VERSION
-mv ${PACKAGE_NAME}_$UPSTREAM_VERSION.orig.tar.xz $ORGDIR/../
-cd $ORGDIR
-echo "Done, now you can run gbp import-orig ../${PACKAGE_NAME}_$UPSTREAM_VERSION.orig.tar.xz"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git



More information about the Pkg-virtualbox-commits mailing list