This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository visualvm.
commit 23beda524f9a9a11ec1fc0f8472a9103baa5565f Author: Emmanuel Bourg <[email protected]> Date: Mon May 5 18:10:51 2014 +0200 Added debian.orig-tar.sh and use uscan to build the upstream tarball --- debian/changelog | 2 +- debian/orig-tar.sh | 22 ++++++++++++++++++++++ debian/watch | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6449b2f..d75bc72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,12 +14,12 @@ visualvm (1.3.7-1) UNRELEASED; urgency=medium * Use the upstream launcher script instead of debian/jvisualvm.sh * Enabled hardening on the native libraries * Added debian/README.source to document the workflow used with this package + * Added debian.orig-tar.sh and use uscan to build the upstream tarball * debian/rules: Revamped to use the dh command sequencer * debian/copyright: - Switched to the Copyright Format 1.0 - Refreshed the source URLs - Replaced Sun Microsystems with Oracle - - Credited the authors of the IcedTea build * Added keywords to the desktop file -- Emmanuel Bourg <[email protected]> Wed, 30 Apr 2014 17:12:50 +0200 diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh new file mode 100755 index 0000000..304422a --- /dev/null +++ b/debian/orig-tar.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +VERSION=$2 +TAG=$(echo $VERSION | sed s/\\.//g) +DIR=visualvm-$VERSION +TAR=../visualvm_$VERSION.orig.tar.xz + +rm -Rf java.net $3 $DIR + +wget --no-verbose --recursive --level 1 \ + --accept 'netbeans-profiler-visualvm_release*' \ + --accept 'visualvm_*-src.tar.gz' \ + https://java.net/downloads/visualvm/release$TAG/ + +mkdir $DIR +mkdir $DIR/netbeans +tar -xf java.net/downloads/visualvm/release$TAG/visualvm_*-src.tar.gz -C $DIR +tar -xf java.net/downloads/visualvm/release$TAG/netbeans-profiler-visualvm_release*.tar.gz -C $DIR/netbeans + +XZ_OPT=--best tar -cJf $TAR --exclude '*.exe' $DIR + +rm -Rf $DIR java.net diff --git a/debian/watch b/debian/watch index e0f8eee..35974e0 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ version=3 opts=uversionmangle=s/(\d)(\d)(\d)/$1.$2.$3/ \ -http://visualvm.java.net/download.html .*/visualvm_(\d+).zip +https://java.net/downloads/visualvm/ release(\d+)/ debian debian/orig-tar.sh -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/visualvm.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

