[Pkg-voip-commits] r7225 - in /zaptel-firmware/trunk/debian: changelog rules zaptel-firmware.install

tzafrir-guest at alioth.debian.org tzafrir-guest at alioth.debian.org
Sat May 16 15:18:54 UTC 2009


Author: tzafrir-guest
Date: Sat May 16 15:18:54 2009
New Revision: 7225

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7225
Log:
Packaging from upstream SVN.

Modified:
    zaptel-firmware/trunk/debian/changelog
    zaptel-firmware/trunk/debian/rules
    zaptel-firmware/trunk/debian/zaptel-firmware.install

Modified: zaptel-firmware/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel-firmware/trunk/debian/changelog?rev=7225&op=diff
==============================================================================
--- zaptel-firmware/trunk/debian/changelog (original)
+++ zaptel-firmware/trunk/debian/changelog Sat May 16 15:18:54 2009
@@ -1,3 +1,9 @@
+zaptel-firmware (1:1.4.12.9.svn.r4635-1) UNRELEASED; urgency=low
+
+  * Packaging from upstream SVN.
+
+ -- Tzafrir Cohen <tzafrir.cohen at xorcom.com>  Sat, 16 May 2009 18:15:04 +0300
+
 zaptel-firmware (1:1.4.11-1) UNRELEASED; urgency=low
 
   * Initial package version.

Modified: zaptel-firmware/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel-firmware/trunk/debian/rules?rev=7225&op=diff
==============================================================================
--- zaptel-firmware/trunk/debian/rules (original)
+++ zaptel-firmware/trunk/debian/rules Sat May 16 15:18:54 2009
@@ -14,7 +14,10 @@
 DEBVERSION_DFSG:=$(echo $(DEBVERSION) | sed -e 's/^$(UPVERSION)/&~$(DFSG_STR)/')
 
 FILENAME := zaptel-firmware_$(UPVERSION).orig.tar.gz
+SVN_REV := $(shell echo $(UPVERSION) | sed -e 's/.*\.svn\.r\([0-9]*\)$$/\1/')
 URL := http://downloads.digium.com/pub/zaptel/releases/zaptel-$(UPVERSION).tar.gz
+TARBALL_SCRIPT		:= zaptel_svn_tarball
+TARBALL_SCRIPT_URL	:= http://svn.asterisk.org/svn/zaptel/branches/1.4/build_tools/$(TARBALL_SCRIPT)
 
 
 build: build-stamp
@@ -61,11 +64,16 @@
 print-version:
 	@@echo "Debian version:          $(DEBVERSION)"
 	@@echo "Upstream version:        $(UPVERSION)"
+	@@echo "Subversion revision:     $(SVN_REV)"
 
 get-orig-source:
 	@@dh_testdir
 	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
-	@@echo Downloading $(FILENAME) from $(URL) ...
-	@@wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
+	@@echo Creating $(FILENAME) from SVN rev. $(SVN_REV) ...
+	@@wget -q -O $(TARBALL_SCRIPT) $(TARBALL_SCRIPT_URL)
+	@@sh $(TARBALL_SCRIPT) -r $(SVN_REV)
+	@@mv zaptel-$(UPVERSION).tar.gz ../tarballs/$(UPFILENAME)
+	@@#echo Downloading $(FILENAME) from $(URL) ...
+	@@#wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
 
 .PHONY: build clean binary install binary-arch binary-indep

Modified: zaptel-firmware/trunk/debian/zaptel-firmware.install
URL: http://svn.debian.org/wsvn/pkg-voip/zaptel-firmware/trunk/debian/zaptel-firmware.install?rev=7225&op=diff
==============================================================================
--- zaptel-firmware/trunk/debian/zaptel-firmware.install (original)
+++ zaptel-firmware/trunk/debian/zaptel-firmware.install Sat May 16 15:18:54 2009
@@ -1,1 +1,2 @@
 kernel/xpp/firmwares/*.hex usr/share/zaptel/
+firmwares usr/sahre/zaptel/digium-firmware




More information about the Pkg-voip-commits mailing list