[Pkg-voip-commits] r6840 - in /misdnv2user/trunk: ./ branches/ debian/ tags/ trunk/ trunk/debian/

dorchain-guest at alioth.debian.org dorchain-guest at alioth.debian.org
Mon Mar 2 14:50:56 UTC 2009


Author: dorchain-guest
Date: Mon Mar  2 14:50:56 2009
New Revision: 6840

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=6840
Log:
Adapted package to repository rules
Deleted example files

Added:
    misdnv2user/trunk/branches/
    misdnv2user/trunk/build-area   (with props)
    misdnv2user/trunk/tags/
    misdnv2user/trunk/tarballs   (with props)
    misdnv2user/trunk/trunk/
    misdnv2user/trunk/trunk/debian/   (props changed)
      - copied from r6839, misdnv2user/trunk/debian/
Removed:
    misdnv2user/trunk/debian/
    misdnv2user/trunk/trunk/debian/manpage.1.ex
    misdnv2user/trunk/trunk/debian/manpage.sgml.ex
    misdnv2user/trunk/trunk/debian/manpage.xml.ex
    misdnv2user/trunk/trunk/debian/misdnuser.debhelper.log
    misdnv2user/trunk/trunk/debian/misdnuser.default.ex
    misdnv2user/trunk/trunk/debian/misdnuser.doc-base.EX
    misdnv2user/trunk/trunk/debian/misdnuser.substvars
    misdnv2user/trunk/trunk/debian/postinst.ex
    misdnv2user/trunk/trunk/debian/postrm.ex
    misdnv2user/trunk/trunk/debian/preinst.ex
    misdnv2user/trunk/trunk/debian/prerm.ex
    misdnv2user/trunk/trunk/debian/watch.ex
Modified:
    misdnv2user/trunk/trunk/debian/changelog
    misdnv2user/trunk/trunk/debian/control
    misdnv2user/trunk/trunk/debian/rules

Added: misdnv2user/trunk/build-area
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/build-area?rev=6840&op=file
==============================================================================
--- misdnv2user/trunk/build-area (added)
+++ misdnv2user/trunk/build-area Mon Mar  2 14:50:56 2009
@@ -1,0 +1,1 @@
+link ../build-area

Propchange: misdnv2user/trunk/build-area
------------------------------------------------------------------------------
    svn:special = *

Added: misdnv2user/trunk/tarballs
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/tarballs?rev=6840&op=file
==============================================================================
--- misdnv2user/trunk/tarballs (added)
+++ misdnv2user/trunk/tarballs Mon Mar  2 14:50:56 2009
@@ -1,0 +1,1 @@
+link ../tarballs

Propchange: misdnv2user/trunk/tarballs
------------------------------------------------------------------------------
    svn:special = *

Propchange: misdnv2user/trunk/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Propchange: misdnv2user/trunk/trunk/debian/
------------------------------------------------------------------------------
    svn:mergeinfo = 

Modified: misdnv2user/trunk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/trunk/debian/changelog?rev=6840&op=diff
==============================================================================
--- misdnv2user/trunk/trunk/debian/changelog (original)
+++ misdnv2user/trunk/trunk/debian/changelog Mon Mar  2 14:50:56 2009
@@ -1,7 +1,8 @@
-misdnv2user (0.0.20090107-1) unstable; urgency=low
+misdnv2user (1.3~20090107-1) unstable; urgency=low
 
   * New upstream version
   * renamed to avoid clash with existing package
+  * Adapted in same way as lcr, to provide the build-dependancy
 
  -- Joerg Dorchain <joerg at dorchain.net>  Sun, 21 Feb 2009 14:12:17 +0100
 

Modified: misdnv2user/trunk/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/trunk/debian/control?rev=6840&op=diff
==============================================================================
--- misdnv2user/trunk/trunk/debian/control (original)
+++ misdnv2user/trunk/trunk/debian/control Mon Mar  2 14:50:56 2009
@@ -1,10 +1,13 @@
 Source: misdnv2user
 Section: devel
 Priority: extra
-Maintainer: Joerg Dorchain <joerg at dorchain.net>
+Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Uploaders: Joerg Dorchain <joerg at dorchain.net>
 Build-Depends: debhelper (>= 7), dpatch
 Standards-Version: 3.7.3
-Homepage: http://isdn.eversberg.eu/download/
+Homepage: http://isdn.eversberg.eu/download/lcr-1.3/
+Vcs-Svn: svn://svn.debian.org/pkg-voip/misdnv2user/trunk
+Vcs-Browser: svn://svn.debian.org/pkg-voip/misdnv2user/?op=log
 
 Package: misdnv2user
 Architecture: any

Modified: misdnv2user/trunk/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-voip/misdnv2user/trunk/trunk/debian/rules?rev=6840&op=diff
==============================================================================
--- misdnv2user/trunk/trunk/debian/rules (original)
+++ misdnv2user/trunk/trunk/debian/rules Mon Mar  2 14:50:56 2009
@@ -10,6 +10,25 @@
 #export DH_VERBOSE=1
 
 
+DEBVERSION:=$(shell head -n 1 debian/changelog \
+                    | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
+LOCAL_TAR_VER:=$(shell echo $(DEBVERSION) | sed -e 's/^.*://' -e 's/-[0-9.]*$$//')
+UP_MAJOR_VER:=$(shell echo $(LOCAL_TAR_VER) | sed -e 's/~[0-9.]*//')
+UP_DATE_VER:=$(shell echo $(LOCAL_TAR_VER) | sed -e 's/[0-9.]*~//')
+
+UPFILENAME := mISDNuser_$(UP_DATE_VER).tar.gz
+FILENAME := misdnv2user_$(LOCAL_TAR_VER).orig.tar.gz
+URL := http://isdn.eversberg.eu/download/lcr-$(UP_MAJOR_VER)/$(UPFILENAME)
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
 
 
 
@@ -97,4 +116,14 @@
 	dh_builddeb
 
 binary: binary-indep binary-arch
+
+print-version:
+	@@echo "Debian version:          $(DEBVERSION)"
+	@@echo "Upstream version:        $(UP_DATE_VER)"
+
+get-orig-source:
+	@@dh_testdir
+	@@[ -d ../tarballs/. ] || mkdir -p ../tarballs
+	@@wget -nv -T10 -t3 --verbose -O ../tarballs/$(FILENAME) $(URL)
+
 .PHONY: build clean binary-indep binary-arch binary install configure




More information about the Pkg-voip-commits mailing list