[Pkg-nagios-changes] [pkg-nagios] r2015 - nagvis/trunk/debian
Alexander Reichle-Schmehl
tolimar at alioth.debian.org
Tue Mar 6 15:08:04 UTC 2012
Author: tolimar
Date: 2012-03-06 15:08:04 +0000 (Tue, 06 Mar 2012)
New Revision: 2015
Modified:
nagvis/trunk/debian/changelog
nagvis/trunk/debian/rules
Log:
Add get-orig-source target to debian/rules
Modified: nagvis/trunk/debian/changelog
===================================================================
--- nagvis/trunk/debian/changelog 2012-03-06 14:53:48 UTC (rev 2014)
+++ nagvis/trunk/debian/changelog 2012-03-06 15:08:04 UTC (rev 2015)
@@ -7,8 +7,9 @@
* 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 <tolimar at debian.org> Tue, 06 Mar 2012 14:30:34 +0100
+ -- Alexander Reichle-Schmehl <tolimar at debian.org> Tue, 06 Mar 2012 16:07:30 +0100
nagvis (1:1.6.4-1) experimental; urgency=low
Modified: nagvis/trunk/debian/rules
===================================================================
--- nagvis/trunk/debian/rules 2012-03-06 14:53:48 UTC (rev 2014)
+++ nagvis/trunk/debian/rules 2012-03-06 15:08:04 UTC (rev 2015)
@@ -60,3 +60,15 @@
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)
More information about the Pkg-nagios-changes
mailing list