r319 - in /unstable/madwifi/debian: changelog rules

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Mon Feb 11 10:48:34 UTC 2008


Author: kelmo-guest
Date: Mon Feb 11 10:48:34 2008
New Revision: 319

URL: http://svn.debian.org/wsvn/pkg-madwifi/?sc=1&rev=319
Log:
* Port get-orig-source debian/rules target from the previous cdbs style
  package with cleanups. [debian/rules]

Modified:
    unstable/madwifi/debian/changelog
    unstable/madwifi/debian/rules

Modified: unstable/madwifi/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-madwifi/unstable/madwifi/debian/changelog?rev=319&op=diff
==============================================================================
--- unstable/madwifi/debian/changelog (original)
+++ unstable/madwifi/debian/changelog Mon Feb 11 10:48:34 2008
@@ -1,4 +1,4 @@
-madwifi (1:0.9.4~rc1-1) UNRELEASED; urgency=low
+madwifi (1:0.9.4~rc2-1) unstable; urgency=low
 
   * New upstream release candidate.
   * Drop all patches applied upstream.
@@ -20,8 +20,10 @@
     to claim priority over ath5k.
   * Drop Alex Wallis from Uploaders, he hasn't been active for too long.
     [debian/control*]
-
- -- Kel Modderman <kel at otaku42.de>  Fri, 01 Feb 2008 22:53:51 +1000
+  * Port get-orig-source debian/rules target from the previous cdbs style
+    package with cleanups. [debian/rules]
+
+ -- Kel Modderman <kel at otaku42.de>  Mon, 11 Feb 2008 20:47:26 +1000
 
 madwifi (1:0.9.3.2-2) unstable; urgency=high
 

Modified: unstable/madwifi/debian/rules
URL: http://svn.debian.org/wsvn/pkg-madwifi/unstable/madwifi/debian/rules?rev=319&op=diff
==============================================================================
--- unstable/madwifi/debian/rules (original)
+++ unstable/madwifi/debian/rules Mon Feb 11 10:48:34 2008
@@ -58,3 +58,22 @@
 
 binary: binary-indep binary-arch
 .PHONY: build clean install binary-indep binary-arch binary
+
+DEBVERS := $(shell dpkg-parsechangelog | sed -n 's/^Version: .*:\(.*\)-.*/\1/p')
+UPSVERS := $(shell echo $(DEBVERS) | cut -d'+' -f1 | tr '~' '-')
+SVNVERS := $(shell echo $(DEBVERS) | sed -n 's/.*+\(.*\)/\1/p' | tr '.' '-')
+ifneq "$(SVNVERS)" ""
+ORIGTAR := madwifi-ng-$(SVNVERS).tar.gz
+ORIGURL := http://snapshots.madwifi.org/madwifi-ng/
+else
+ORIGTAR := madwifi-$(UPSVERS).tar.gz
+#ORIGURL := http://optusnet.dl.sourceforge.net/sourceforge/madwifi/$(ORIGTAR)
+ORIGURL := http://snapshots.madwifi.org/special/
+endif
+DEBTAR := madwifi_$(DEBVERS).orig.tar.gz
+
+get-orig-source:
+	@dh_testdir
+	
+	@test -d ../tarballs || mkdir -p ../tarballs
+	@wget -Nc -O ../tarballs/$(DEBTAR) $(ORIGURL)/$(ORIGTAR)




More information about the Pkg-madwifi-maintainers mailing list