[Pkg-voip-commits] r1865 - sofia-sip/trunk/debian

George Danchev danchev-guest at costa.debian.org
Tue Jun 13 10:53:45 UTC 2006


Author: danchev-guest
Date: 2006-06-13 10:53:44 +0000 (Tue, 13 Jun 2006)
New Revision: 1865

Modified:
   sofia-sip/trunk/debian/TODO.Debian
   sofia-sip/trunk/debian/changelog
   sofia-sip/trunk/debian/control
   sofia-sip/trunk/debian/rules
Log:
get-orig-source, print-versions, ITP/closes, logs, TODO

Modified: sofia-sip/trunk/debian/TODO.Debian
===================================================================
--- sofia-sip/trunk/debian/TODO.Debian	2006-06-13 07:38:02 UTC (rev 1864)
+++ sofia-sip/trunk/debian/TODO.Debian	2006-06-13 10:53:44 UTC (rev 1865)
@@ -1,8 +1,15 @@
 
-File ITP and close it from debian/changelog
+1 [done] File ITP and close it from debian/changelog
 
-Create print-version, get-orig-source (with hash checking) for debian/rules
+2 [done] Create print-version, get-orig-source (with hash checking) for debian/rules
 
-Add debian/watch file
+3 [done] Adjust Maintainer/Uploadrs
 
-Adjust Maintainer/Uploadrs
+4        avoid a harmless warning from CDBS:
+         debian/rules:12: warning: overriding commands for target `debian/stamp-autotools-files'
+         /usr/share/cdbs/1/class/autotools-files.mk:54: warning: ignoring old commands for 
+         target `debian/stamp-autotools-files'
+
+5.       Do we need a watch file ?
+
+

Modified: sofia-sip/trunk/debian/changelog
===================================================================
--- sofia-sip/trunk/debian/changelog	2006-06-13 07:38:02 UTC (rev 1864)
+++ sofia-sip/trunk/debian/changelog	2006-06-13 10:53:44 UTC (rev 1865)
@@ -1,3 +1,14 @@
+sofia-sip (1.11.9-1) unstable; urgency=low
+
+  * New upstream version
+
+  [ George Danchev ]
+  * Add print-version, get-orig-source targets to rules
+  * Adjust maintainer and uploaders
+  * Initial release (Closes: #373173 -- the ITP for sofia-sip)
+
+ -- George Danchev <danchev at spnet.net>  Tue, 13 Jun 2006 12:32:14 +0300
+
 sofia-sip (1.11.8) unstable; urgency=high
    
   * Updated to 1.11.8 upstream version.

Modified: sofia-sip/trunk/debian/control
===================================================================
--- sofia-sip/trunk/debian/control	2006-06-13 07:38:02 UTC (rev 1864)
+++ sofia-sip/trunk/debian/control	2006-06-13 10:53:44 UTC (rev 1865)
@@ -1,8 +1,9 @@
 Source: sofia-sip
 Priority: optional
-Maintainer: Kai Vehmanen <first.surname at nokia.com>
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: George Danchev <danchev at spnet.net>, Kai Vehmanen <kai.vehmanen at nokia.com>
 Build-Depends: debhelper (>= 4.0.0), cdbs, pkg-config, libglib2.0-dev
-Standards-Version: 3.6.0
+Standards-Version: 3.7.2
 
 Package: sofia-sip
 Architecture: any

Modified: sofia-sip/trunk/debian/rules
===================================================================
--- sofia-sip/trunk/debian/rules	2006-06-13 07:38:02 UTC (rev 1864)
+++ sofia-sip/trunk/debian/rules	2006-06-13 10:53:44 UTC (rev 1865)
@@ -11,3 +11,43 @@
 debian/stamp-autotools-files:
 	./configure
 	touch debian/stamp-autotools-files
+
+# The following is for internal development usage only
+# Update that sum when new releases occur, this
+# catches silent file content forges at the server side
+
+MD5TRUSTED := 66db8b83d7d064f0c41ce1efb473f309
+
+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$$//')
+UPNAME := sofia-sip
+UPFILE := $(UPNAME)-$(UPVERSION).tar.gz
+DEFILE := $(UPNAME)_$(UPVERSION).orig.tar.gz
+URL    := http://heanet.dl.sourceforge.net/sofia-sip
+MD5CURRENT := `md5sum ../tarballs/$(DEFILE) | original-awk '{print $$1}'`
+
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+
+	- at if [ ! -f ../tarballs/$(DEFILE) ] ; then \
+		echo "Downloading $(URL)/$(UPFILE) from $(URL)/$(UPFILE) ..." ; \
+		wget -N -nv -T10 -t3 -O ../tarballs/$(DEFILE) $(URL)/$(UPFILE) ; \
+	else \
+		echo "Upstream source tarball have been already downloaded" ; \
+	fi
+
+	- at if [ "$(MD5CURRENT)" != "$(MD5TRUSTED)" ] ; then \
+		echo "Expecting upstream filename md5sum $(MD5TRUSTED), but $(MD5CURRENT) found" ; \
+		echo "Upstream filename md5sum is NOT trusted! Possible upstream filename forge!" ; \
+		false ; \
+	else \
+		echo "Upstream filename md5sum is trusted!" ; \
+	fi
+
+print-version:
+	@@echo "Debian version:          $(DEBVERSION)"
+	@@echo "Upstream version:        $(UPVERSION)"
+
+




More information about the Pkg-voip-commits mailing list