[Pkg-voip-commits] r5662 - in /misdn-user/branches/maniac-guest/debian: ./ changelog control rules watch xcontrol
maniac-guest at alioth.debian.org
maniac-guest at alioth.debian.org
Sat May 3 16:51:05 UTC 2008
Author: maniac-guest
Date: Sat May 3 16:51:05 2008
New Revision: 5662
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5662
Log:
Added watch file. Added Vcs-*. Added get-orig-source rule.
Added:
misdn-user/branches/maniac-guest/debian/watch
Modified:
misdn-user/branches/maniac-guest/debian/ (props changed)
misdn-user/branches/maniac-guest/debian/changelog
misdn-user/branches/maniac-guest/debian/control
misdn-user/branches/maniac-guest/debian/rules
misdn-user/branches/maniac-guest/debian/xcontrol
Propchange: misdn-user/branches/maniac-guest/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Modified: misdn-user/branches/maniac-guest/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/misdn-user/branches/maniac-guest/debian/changelog?rev=5662&op=diff
==============================================================================
--- misdn-user/branches/maniac-guest/debian/changelog (original)
+++ misdn-user/branches/maniac-guest/debian/changelog Sat May 3 16:51:05 2008
@@ -3,9 +3,15 @@
* Non-maintainer upload.
* New upstream release
* Move to quilt. Patches from previous version.
- - subdirs ( no build for some subdirs )
+ - subdirs ( no build for some subdirs, clean on example )
- testlog ( more verbose ? )
- static ( library static built with pic )
+ * Added watch file.
+ * Added Vcs-Svn and Vcs-Browser stanzas.
+ with those fields "xcontrol test" fails.
+ I temporally comment that line. I need to see if
+ xcontrol could be patched to solve this.
+ * Added get-orig-source and print-version rules.
-- Victor Seva <linuxmaniac at torreviejawireless.org> Sat, 03 May 2008 08:42:34 +0200
Modified: misdn-user/branches/maniac-guest/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/misdn-user/branches/maniac-guest/debian/control?rev=5662&op=diff
==============================================================================
--- misdn-user/branches/maniac-guest/debian/control (original)
+++ misdn-user/branches/maniac-guest/debian/control Sat May 3 16:51:05 2008
@@ -4,6 +4,9 @@
Maintainer: Simon Richter <sjr at debian.org>
Build-Depends: linux-headers-misdn (>= 1.1.5), quilt, debhelper (>= 4.0.0), debian-xcontrol (>= 0.0.2~pre1)
Standards-Version: 3.7.2
+Vcs-Svn: svn://svn.debian.org/pkg-voip/misdn-user/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/misdn-user/?op=log
+Homepage: http://www.misdn.org
Package: misdn-utils
Section: comm
Modified: misdn-user/branches/maniac-guest/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/misdn-user/branches/maniac-guest/debian/rules?rev=5662&op=diff
==============================================================================
--- misdn-user/branches/maniac-guest/debian/rules (original)
+++ misdn-user/branches/maniac-guest/debian/rules Sat May 3 16:51:05 2008
@@ -2,6 +2,17 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+ | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//')
+URLVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//' -e 's/\./_/g')
+
+UPFILENAME := mISDNuser-$(URLVERSION).tar.gz
+FILENAME := misdn-user_$(UPVERSION).orig.tar.gz
+URL := http://www.misdn.org/downloads/releases/$(UPFILENAME)
CFLAGS = -Wall -Werror -g
@@ -15,13 +26,15 @@
endif
build: build-stamp
-build-stamp:
+build-stamp: patch
dh_testdir
- xcontrol check
+ # TODO: xcontol fails with Vcs-* fields
+ #xcontrol check
$(MAKE)
touch build-stamp
-clean:
+clean: clean-stamp unpatch
+clean-stamp: patch
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
@@ -66,4 +79,13 @@
dh_builddeb
binary: binary-indep binary-arch
+print-version:
+ @@echo "Debian version: $(DEBVERSION)"
+ @@echo "Upstream version: $(UPVERSION)"
+
+get-orig-source:
+ @@dh_testdir
+ @@mkdir -p ../tarballs
+ @@wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
+
.PHONY: build clean binary-indep binary-arch binary install configure
Added: misdn-user/branches/maniac-guest/debian/watch
URL: http://svn.debian.org/wsvn/pkg-voip/misdn-user/branches/maniac-guest/debian/watch?rev=5662&op=file
==============================================================================
--- misdn-user/branches/maniac-guest/debian/watch (added)
+++ misdn-user/branches/maniac-guest/debian/watch Sat May 3 16:51:05 2008
@@ -1,0 +1,3 @@
+version=3
+opts="uversionmangle=s/_/./g" \
+http://www.misdn.org/downloads/releases/mISDNuser-([\d_]+)\.tar\.gz
Modified: misdn-user/branches/maniac-guest/debian/xcontrol
URL: http://svn.debian.org/wsvn/pkg-voip/misdn-user/branches/maniac-guest/debian/xcontrol?rev=5662&op=diff
==============================================================================
--- misdn-user/branches/maniac-guest/debian/xcontrol (original)
+++ misdn-user/branches/maniac-guest/debian/xcontrol Sat May 3 16:51:05 2008
@@ -5,6 +5,9 @@
Build-Depends-Tools: debhelper (>= 4.0.0), debian-xcontrol (>= 0.0.2~pre1), quilt
Build-Depends: linux-headers-misdn (>= 1.1.5)
Standards-Version: 3.7.2
+Vcs-Svn: svn://svn.debian.org/pkg-voip/misdn-user/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-voip/misdn-user/?op=log
+Homepage: http://www.misdn.org
Package: misdn-utils
Section: comm
More information about the Pkg-voip-commits
mailing list