[Pkg-voip-commits] r8996 - in /ptlib/trunk/debian: changelog control rules
kilian at alioth.debian.org
kilian at alioth.debian.org
Tue Jun 21 07:38:16 UTC 2011
Author: kilian
Date: Tue Jun 21 07:38:16 2011
New Revision: 8996
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=8996
Log:
* Bump Standards-Version to 3.9.2 - no changes required
* Update VCS browser field to anonscm.d.o
* Repack as DFSG to remove upstream's windows binaries
Modified:
ptlib/trunk/debian/changelog
ptlib/trunk/debian/control
ptlib/trunk/debian/rules
Modified: ptlib/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/debian/changelog?rev=8996&op=diff
==============================================================================
--- ptlib/trunk/debian/changelog (original)
+++ ptlib/trunk/debian/changelog Tue Jun 21 07:38:16 2011
@@ -1,12 +1,15 @@
-ptlib (2.10.1-1) UNRELEASED; urgency=low
+ptlib (2.10.1~dfsg-1) UNSTABLE; urgency=low
* Re-Add myself to Uploaders
* New upstream release: 2.10.1 (Luyten)
* Bump debhelper compat to 8
* Fix debian/watch to allow double digit minor versions
* Drop Changelog-ptlib from docs as upstream doesn't ship it
-
- -- Kilian Krause <kilian at debian.org> Mon, 20 Jun 2011 14:28:13 +0200
+ * Bump Standards-Version to 3.9.2 - no changes required
+ * Update VCS browser field to anonscm.d.o
+ * Repack as DFSG to remove upstream's windows binaries
+
+ -- Kilian Krause <kilian at debian.org> Tue, 21 Jun 2011 09:36:39 +0200
ptlib (2.8.4-1) experimental; urgency=low
Modified: ptlib/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/debian/control?rev=8996&op=diff
==============================================================================
--- ptlib/trunk/debian/control (original)
+++ ptlib/trunk/debian/control Tue Jun 21 07:38:16 2011
@@ -10,10 +10,10 @@
libv4l-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386]
Build-Conflicts: libpt-dev, libpt2.8.4, libpt2.8.3, libpt2.10.1
-Standards-Version: 3.9.1
+Standards-Version: 3.9.2
Homepage: http://www.opalvoip.org/
Vcs-Svn: svn://svn.debian.org/pkg-voip/ptlib/trunk/
-Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/?opt=dir&sc=1
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-voip/ptlib/trunk/
Package: libpt2.10.1
Architecture: any
Modified: ptlib/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/ptlib/trunk/debian/rules?rev=8996&op=diff
==============================================================================
--- ptlib/trunk/debian/rules (original)
+++ ptlib/trunk/debian/rules Tue Jun 21 07:38:16 2011
@@ -1,4 +1,12 @@
#!/usr/bin/make -f
+
+DEBVERSION := $(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION := $(shell echo $(DEBVERSION) | sed 's/~dfsg-.//')
+
+FILENAME := ptlib_$(UPVERSION)~dfsg.orig.tar.gz
+UPFILENAME := ptlib_$(UPVERSION).orig.tar.gz
+URL := http://transact.dl.sourceforge.net/sourceforge/opalvoip/ptlib-$(UPVERSION).tar.bz2
%:
dh $@
@@ -24,5 +32,22 @@
# if this won't work, we needn't even try going any further...
rm lib
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+ @@#echo "svn REV: $(REV)"
+
get-orig-source:
- uscan --force-download
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@#this is for stable versions
+ @@echo Downloading $(UPFILENAME) from $(URL) ...
+ @@wget -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
+ @@echo 'Repacking as DFSG-free (removing windows EXEs)...'
+ @@mkdir -p ../tarballs/ptlib-$(UPVERSION).tmp/
+ @@cd ../tarballs/ptlib-$(UPVERSION).tmp ; tar xfj ../$(UPFILENAME)
+ @@find ../tarballs/ptlib-$(UPVERSION).tmp/ -iname '*.exe' -delete
+ @@echo Writing archive ../tarballs/$(FILENAME) ...
+ @@cd ../tarballs/ptlib-$(UPVERSION).tmp ; tar cfz ../$(FILENAME) *
+ @@echo Cleaning up...
+ @@$(RM) -rf ../tarballs/ptlib-$(UPVERSION).tmp/ ../tarballs/$(UPFILENAME)
More information about the Pkg-voip-commits
mailing list