[Pkg-voip-commits] r1472 - iax/trunk/debian

Kilian Krause kilian at costa.debian.org
Mon Mar 20 22:15:05 UTC 2006


Author: kilian
Date: 2006-03-20 22:15:05 +0000 (Mon, 20 Mar 2006)
New Revision: 1472

Modified:
   iax/trunk/debian/changelog
   iax/trunk/debian/control
   iax/trunk/debian/rules
Log:
add get-orig-source target


Modified: iax/trunk/debian/changelog
===================================================================
--- iax/trunk/debian/changelog	2006-03-20 21:56:33 UTC (rev 1471)
+++ iax/trunk/debian/changelog	2006-03-20 22:15:05 UTC (rev 1472)
@@ -1,3 +1,10 @@
+iax (0.2.2-5) UNRELEASED; urgency=low
+
+  * NOT YET RELEASED.
+  * debian/rules: add get-orig-source target.
+
+ -- Kilian Krause <kilian at debian.org>  Mon, 20 Mar 2006 23:12:42 +0100
+
 iax (0.2.2-4) unstable; urgency=low
 
   * New maintainer: the VoIP team takes the package from Matt, thanks!

Modified: iax/trunk/debian/control
===================================================================
--- iax/trunk/debian/control	2006-03-20 21:56:33 UTC (rev 1471)
+++ iax/trunk/debian/control	2006-03-20 22:15:05 UTC (rev 1472)
@@ -1,7 +1,7 @@
 Source: iax
 Priority: optional
 Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
-Uploaders: Julien BLACHE <jblache at debian.org>
+Uploaders: Julien BLACHE <jblache at debian.org>, Kilian Krause <kilian at debian.org>
 Build-Depends: debhelper (>> 4.0.0), dpatch, autotools-dev
 Standards-Version: 3.6.2
 

Modified: iax/trunk/debian/rules
===================================================================
--- iax/trunk/debian/rules	2006-03-20 21:56:33 UTC (rev 1471)
+++ iax/trunk/debian/rules	2006-03-20 22:15:05 UTC (rev 1472)
@@ -27,6 +27,14 @@
 	CFLAGS += -O2
 endif
 
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+		    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//')
+
+FILENAME := iax_$(UPVERSION).orig.tar.gz
+URL := http://ftp2.digium.com/pub/libiax/iax-$(UPVERSION).tar.gz
+
+
 autotools-stamp:
 	rm -f config.sub config.guess
 	ln -s /usr/share/misc/config.guess
@@ -97,5 +105,15 @@
 	dh_md5sums
 	dh_builddeb
 
+print-version:
+	@@echo "Debian version:          $(DEBVERSION)"
+	@@echo "Upstream version:        $(UPVERSION)"
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+	@@echo Downloading $(FILENAME) from $(URL) ...
+	@@wget -N -nv -T10 -t3 -O ../tarballs/$(FILENAME) $(URL)
+
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install patch unpatch real-clean




More information about the Pkg-voip-commits mailing list