From: tolimar Date: Tue, 6 Mar 2012 15:08:04 +0000 (+0000) Subject: Add get-orig-source target to debian/rules X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=094d15cf772adf3f3f7c00e9b7a39ecafa0f299f;p=pkg-nagvis.git Add get-orig-source target to debian/rules git-svn-id: svn://svn.debian.org/svn/pkg-nagios/nagvis/trunk@2015 98d490a6-b407-0410-aaaa-fdee166ba3f5 --- diff --git a/debian/changelog b/debian/changelog index 1665e52..3505be4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,8 +7,9 @@ nagvis (1:1.6.4.dfsg.1-1) UNRELEASED; urgency=low * Fix "Germish" in package description * Remove unbuildable swf files * Add patches/remove-shell-swf to don't use it + * Add get-orig-source target to debian/rules - -- Alexander Reichle-Schmehl Tue, 06 Mar 2012 14:30:34 +0100 + -- Alexander Reichle-Schmehl Tue, 06 Mar 2012 16:07:30 +0100 nagvis (1:1.6.4-1) experimental; urgency=low diff --git a/debian/rules b/debian/rules index 27b1337..b98fd5f 100755 --- a/debian/rules +++ b/debian/rules @@ -60,3 +60,15 @@ override_dh_fixperms: override_dh_clean: dh_clean debconf-updatepo + +get-orig-source: + $(eval TMP := $(shell mktemp -d)) + wget -q -O $(TMP)/nagvis-1.6.4.tar.gz "http://downloads.sourceforge.net/project/nagvis/NagVis%201.6/nagvis-1.6.4.tar.gz" + tar --directory $(TMP) -xzf $(TMP)/nagvis-1.6.4.tar.gz + rm -rf $(TMP)/nagvis-1.6.4/uifx/ + rm -rf $(TMP)/nagvis-1.6.4/share/netmap/shell.swf + rm -rf $(TMP)/nagvis-1.6.4/share/netmap/shell.html + rm -rf $(TMP)/nagvis-1.6.4/share/netmap/modules/gmap/ + mv $(TMP)/nagvis-1.6.4 $(TMP)/nagvis-1.6.4.dfsg.1 + tar --directory $(TMP) -czf nagvis_1.6.4.dfsg.1.orig.tar.gz nagvis-1.6.4.dfsg.1 + rm -rf $(TMP)