[Pkg-voip-commits] r1800 - in pwlib: tags trunk/debian
Kilian Krause
kilian at costa.debian.org
Fri Jun 9 20:09:30 UTC 2006
Author: kilian
Date: 2006-06-09 20:09:30 +0000 (Fri, 09 Jun 2006)
New Revision: 1800
Removed:
pwlib/tags/1.10.1-1/
Modified:
pwlib/trunk/debian/changelog
pwlib/trunk/debian/rules
Log:
redo update without IETF drafts...
Modified: pwlib/trunk/debian/changelog
===================================================================
--- pwlib/trunk/debian/changelog 2006-06-09 20:08:02 UTC (rev 1799)
+++ pwlib/trunk/debian/changelog 2006-06-09 20:09:30 UTC (rev 1800)
@@ -1,13 +1,7 @@
-pwlib (1.10.1-2) UNRELEASED; urgency=low
+pwlib (1.10.1.dfsg-1) unstable; urgency=low
- * NOT RELEASED YET
-
- -- Kilian Krause <kilian at debian.org> Fri, 9 Jun 2006 19:44:49 +0000
-
-pwlib (1.10.1-1) unstable; urgency=low
-
[ Kilian Krause ]
- * New upstream release.
+ * New upstream release. (Closes: #365177)
* debian/rules: Use CURDIR rather than PWD to make sure we can build with
sudo.
Modified: pwlib/trunk/debian/rules
===================================================================
--- pwlib/trunk/debian/rules 2006-06-09 20:08:02 UTC (rev 1799)
+++ pwlib/trunk/debian/rules 2006-06-09 20:09:30 UTC (rev 1800)
@@ -41,6 +41,15 @@
# symbols.
LDFLAGS += -Wl,-z,def
+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$$//')
+URLVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/.dfsg$$//' -e 's/\./_/g')
+
+FILENAME := pwlib_$(UPVERSION).dfsg.orig.tar.gz
+UPFILENAME := pwlib_$(UPVERSION).orig.tar.gz
+URL := http://www.voxgratia.org/releases/pwlib-v$(URLVERSION)-src-tar.gz
+
include /usr/share/dpatch/dpatch.make
@@ -254,5 +263,24 @@
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-strip
$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+
+get-orig-source:
+ @@dh_testdir
+ @@[ -d ../tarballs/. ]||mkdir -p ../tarballs
+ @@echo Downloading $(UPFILENAME) from $(URL) ...
+ @@wget -N -nv -T10 -t3 -O ../tarballs/$(UPFILENAME) $(URL)
+ @@echo Repacking as DFSG-free...
+ @@mkdir -p ../tarballs/pwlib-$(UPVERSION).tmp/
+ @@cd ../tarballs/pwlib-$(UPVERSION).tmp ; \
+ tar xfz ../$(UPFILENAME)
+ @@rm -f ../tarballs/pwlib-$(UPVERSION).tmp/pwlib*/samples/xmpptest/draft-ietf-*
+ @@cd ../tarballs/pwlib-$(UPVERSION).tmp ; \
+ tar cfz ../$(FILENAME) *
+ @@echo Cleaning up...
+ @@$(RM) -rf ../tarballs/pwlib-$(UPVERSION).tmp/
+
binary: binary-arch binary-indep
.PHONY: build clean clean-patched binary-indep binary-arch binary install install-indep install-arch
More information about the Pkg-voip-commits
mailing list